@marimo-team/islands 0.14.11-dev2 → 0.14.11-dev21

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 (71) hide show
  1. package/dist/{ConnectedDataExplorerComponent-Dl7Gx8nj.js → ConnectedDataExplorerComponent-B98UAJGl.js} +4 -4
  2. package/dist/{ImageComparisonComponent-IsA0pccG.js → ImageComparisonComponent-3rx-X1eA.js} +1 -1
  3. package/dist/{VegaLite-C3jfIIJl.js → VegaLite-bssctYsi.js} +6961 -7180
  4. package/dist/{_baseUniq-DXGCzwrs.js → _baseUniq-n5nuGCm-.js} +36 -36
  5. package/dist/{any-language-editor-BbtP_crK.js → any-language-editor-CTuUQiXP.js} +1 -1
  6. package/dist/{architectureDiagram-IEHRJDOE-B5UTatfK.js → architectureDiagram-NQ2NVSRB-Ghs-gTjF.js} +897 -894
  7. package/dist/assets/{worker-BcyuOSTi.js → save-worker-fI5ofStJ.js} +1076 -1649
  8. package/dist/assets/{save-worker-BIDtxCd1.js → worker-Bfk1FrzG.js} +1627 -1747
  9. package/dist/assets/worker-BldghCZh.js +3752 -0
  10. package/dist/{blockDiagram-JOT3LUYC-BsdaPVqe.js → blockDiagram-PHRCVELO-BJrdpvE8.js} +534 -522
  11. package/dist/{c4Diagram-VJAJSXHY-mAt84R4z.js → c4Diagram-6F6E4RAY-C3mvzJPu.js} +4 -4
  12. package/dist/{channel-BQIWHLpc.js → channel-Dv_KwBSx.js} +1 -1
  13. package/dist/{chunk-4BMEZGHF-CKIxJWxP.js → chunk-353BL4L5-DE1uUKLI.js} +1 -1
  14. package/dist/{chunk-D6G4REZN-CgGV16Ao.js → chunk-67H74DCK-BSe-uUSS.js} +1 -1
  15. package/dist/chunk-6OLS64BW-lmSfyWue.js +1383 -0
  16. package/dist/{chunk-XZIHB7SX-Bwue5JjE.js → chunk-AACKK3MU-DAmuROVD.js} +1 -1
  17. package/dist/chunk-BFAMUDN2-D9C6R9UM.js +8 -0
  18. package/dist/chunk-E2GYISFI-BzFDmP6o.js +19 -0
  19. package/dist/{chunk-A2AXSNBT-wMvlVMnZ.js → chunk-QEP2MXWD-BILXx23p.js} +30 -27
  20. package/dist/chunk-SKB7J2MH-CxMkQppY.js +20 -0
  21. package/dist/{classDiagram-GIVACNV2-DOmcKRwM.js → classDiagram-BGRH5UQR-BbYr5aD9.js} +2 -2
  22. package/dist/{classDiagram-v2-COTLJTTW-DOmcKRwM.js → classDiagram-v2-O24JOBDK-BbYr5aD9.js} +2 -2
  23. package/dist/{clone-PHSHUhb-.js → clone-DuBujAk0.js} +1 -1
  24. package/dist/{dagre-OKDRZEBW-D5HNBllU.js → dagre-FFZHY6LT-DO5nLpLx.js} +8 -8
  25. package/dist/{data-editor-Coz_zrsX.js → data-editor-C8yM5wyh.js} +213 -201
  26. package/dist/diagram-3EMPZRKU-B1rYMJMS.js +313 -0
  27. package/dist/diagram-5UYTHUR4-BUu8PsmE.js +137 -0
  28. package/dist/{diagram-SSKATNLV-BsO89QJN.js → diagram-ZTM2IBQH-lz_uZrYh.js} +3 -3
  29. package/dist/{erDiagram-Q7BY3M3F-DWIMKTfS.js → erDiagram-R3QVA2FD-D_A2jrJV.js} +6 -5
  30. package/dist/{flowDiagram-4HSFHLVR-CnO0wmaL.js → flowDiagram-PKI6S5ZS-Bv6D_bIf.js} +283 -278
  31. package/dist/{ganttDiagram-APWFNJXF-otclLFL4.js → ganttDiagram-EK5VF46D-CbkaARm4.js} +453 -439
  32. package/dist/{gitGraphDiagram-7IBYFJ6S-C7F3RAja.js → gitGraphDiagram-GW3U2K7C-B8ZGoOT-.js} +35 -35
  33. package/dist/{graph-Btsdly6D.js → graph-txVVq_De.js} +3 -3
  34. package/dist/{index-BreCkhLm.js → index-BI6tloBb.js} +3 -3
  35. package/dist/{index-CcRF-HlA.js → index-CFJazcU-.js} +4 -4
  36. package/dist/{index-BGmzdYRo.js → index-OiR0LgXX.js} +6 -3
  37. package/dist/{index-z8OyYHEh.js → index-fJDj-gSp.js} +1 -1
  38. package/dist/index-pBmAzQJl.js +235 -0
  39. package/dist/{infoDiagram-PH2N3AL5-BwcXDzwE.js → infoDiagram-RLU2ROGC-DJw6nWp0.js} +5 -3
  40. package/dist/journeyDiagram-EWQZEKCU-1oCDdLcB.js +836 -0
  41. package/dist/{kanban-definition-NDS4AKOZ-3NJYjnpz.js → kanban-definition-ILFWEQ3N-nKJ02Ox0.js} +41 -39
  42. package/dist/{layout-qfivsCI_.js → layout-CbUwX9d6.js} +49 -49
  43. package/dist/{linear-D_Kojy5s.js → linear-sn9_bxtB.js} +22 -22
  44. package/dist/{main-DLuap1gp.js → main-D9-48wlP.js} +45053 -45130
  45. package/dist/main.js +1 -1
  46. package/dist/{mermaid-DCIbF0Rd.js → mermaid-CRRCnedu.js} +4925 -4853
  47. package/dist/min-CYaGuxZ4.js +80 -0
  48. package/dist/{mindmap-definition-ALO5MXBD-BtSBR7-c.js → mindmap-definition-CZNETY7S-CV62GMPJ.js} +3 -3
  49. package/dist/{pieDiagram-IB7DONF6-TiB_3g9z.js → pieDiagram-NIOCPIFQ-Bcs4p6kX.js} +3 -3
  50. package/dist/{quadrantDiagram-7GDLP6J5-B0DPjp7Z.js → quadrantDiagram-2OG54O6I-BlY5yea6.js} +2 -2
  51. package/dist/{react-plotly-BXWB3UQ5.js → react-plotly-B1SKP2B-.js} +1 -1
  52. package/dist/{requirementDiagram-KVF5MWMF-D_IlbRr_.js → requirementDiagram-SO3GGRV7-rmiJc5mh.js} +5 -4
  53. package/dist/{sankeyDiagram-QLVOVGJD-BHm9uvp_.js → sankeyDiagram-4UZDY2LN-TVzOLFCA.js} +11 -11
  54. package/dist/{sequenceDiagram-X6HHIX6F-3wcWWNtl.js → sequenceDiagram-ZIKVLSP4-POBNIgPB.js} +151 -149
  55. package/dist/{slides-component-JEGZbKgL.js → slides-component-5Y9DQzeV.js} +969 -962
  56. package/dist/stateDiagram-XX37X6EN-lR-7TG5f.js +264 -0
  57. package/dist/{stateDiagram-v2-YXO3MK2T-DTdt4vFc.js → stateDiagram-v2-GD6S3NHB-CYV2YCSY.js} +2 -2
  58. package/dist/style.css +1 -1
  59. package/dist/{time-DyZM4tB4.js → time-BytuUgXk.js} +2 -2
  60. package/dist/{timeline-definition-BDJGKUSR-Of4cvbYH.js → timeline-definition-RI47OAVP-DOrNrVHk.js} +99 -102
  61. package/dist/{radar-MK3ICKWK-BMSp8zaN.js → treemap-FKARHQ26-BOli4yXg.js} +2469 -2330
  62. package/dist/{vega-component-Dwc_9OTG.js → vega-component-KZ-3GH6H.js} +21 -21
  63. package/dist/{xychartDiagram-VJFVF3MP-5Jc993Va.js → xychartDiagram-H2YORKM3-CUOFDcIy.js} +409 -375
  64. package/package.json +37 -37
  65. package/dist/assets/worker-Dz6PPEGc.js +0 -4115
  66. package/dist/chunk-AEK57VVT-BAi7QtEw.js +0 -1416
  67. package/dist/chunk-RZ5BOZE2-D7Ag0UF8.js +0 -24
  68. package/dist/diagram-VNBRO52H-CA8VTm7L.js +0 -126
  69. package/dist/journeyDiagram-U35MCT3I-Co4hTdu9.js +0 -809
  70. package/dist/min-CQBZldos.js +0 -80
  71. package/dist/stateDiagram-DGXRK772-DbH3Rdz4.js +0 -271
@@ -1,7 +1,7 @@
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-DLuap1gp.js";
2
- import { M as m, a as ee } from "./VegaLite-C3jfIIJl.js";
1
+ import { U as T, V as F, c as H, W as z, X as R, Y as G, j as d, E as W, K as $, G as k, Z as O, _ as M, $ as U, L as x, a0 as S, a1 as B, a2 as Y, a3 as q, a4 as Q, a5 as X, a6 as J } from "./main-D9-48wlP.js";
2
+ import { M as m, a as ee } from "./VegaLite-bssctYsi.js";
3
3
  function te(e) {
4
- return e.data && "url" in e.data && (e.data.url = N(e.data.url).href), e;
4
+ return e.data && "url" in e.data && (e.data.url = T(e.data.url).href), e;
5
5
  }
6
6
  const L = /* @__PURE__ */ new Set(["boxplot", "errorband", "errorbar"]), v = {
7
7
  getMarkType(e) {
@@ -108,7 +108,7 @@ const h = {
108
108
  name: h.interval(t),
109
109
  select: {
110
110
  type: "interval",
111
- encodings: T(e),
111
+ encodings: C(e),
112
112
  mark: {
113
113
  fill: "#669EFF",
114
114
  fillOpacity: 0.07,
@@ -126,7 +126,7 @@ const h = {
126
126
  name: h.point(t),
127
127
  select: {
128
128
  type: "point",
129
- encodings: T(e),
129
+ encodings: C(e),
130
130
  on: "click[!event.metaKey]"
131
131
  }
132
132
  };
@@ -154,7 +154,7 @@ const h = {
154
154
  };
155
155
  }
156
156
  };
157
- function T(e) {
157
+ function C(e) {
158
158
  switch (v.getMarkType(e.mark)) {
159
159
  case m.image:
160
160
  case m.trail:
@@ -220,7 +220,7 @@ function ie(e, t) {
220
220
  if (!("mark" in l))
221
221
  return l;
222
222
  let u = l;
223
- return u = C(u, n, f), u = P(u), f === 0 && (u = I(u)), u;
223
+ return u = I(u, n, f), u = P(u), f === 0 && (u = N(u)), u;
224
224
  });
225
225
  return {
226
226
  ...e,
@@ -230,7 +230,7 @@ function ie(e, t) {
230
230
  if (!("mark" in e) || !v.isInteractive(e.mark))
231
231
  return e;
232
232
  let s = e;
233
- return s = se(s, o), s = C(s, n, void 0), s = P(s), s = I(s), s;
233
+ return s = se(s, o), s = I(s, n, void 0), s = P(s), s = N(s), s;
234
234
  }
235
235
  function se(e, t) {
236
236
  if (t === false)
@@ -243,7 +243,7 @@ function se(e, t) {
243
243
  params: r
244
244
  };
245
245
  }
246
- function C(e, t, n) {
246
+ function I(e, t, n) {
247
247
  if (t === false)
248
248
  return e;
249
249
  let o;
@@ -263,7 +263,7 @@ function C(e, t, n) {
263
263
  params: s
264
264
  };
265
265
  }
266
- function I(e) {
266
+ function N(e) {
267
267
  let t;
268
268
  try {
269
269
  t = v.getMarkType(e.mark);
@@ -336,11 +336,11 @@ async function ce(e) {
336
336
  return r;
337
337
  let a;
338
338
  try {
339
- a = N(r.data.url);
339
+ a = T(r.data.url);
340
340
  } catch {
341
341
  return r;
342
342
  }
343
- const s = await Z(a.href, r.data.format);
343
+ const s = await F(a.href, r.data.format);
344
344
  return t[a.pathname] = s, {
345
345
  ...r,
346
346
  data: {
@@ -353,9 +353,9 @@ 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
- const t = K.c(11), {
358
+ const t = H.c(11), {
359
359
  value: n,
360
360
  setValue: o,
361
361
  chartSelection: r,
@@ -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;
@@ -401,9 +401,9 @@ const ye = (e) => {
401
401
  });
402
402
  }, 100)), c), {}), [_, y]), D = M((c) => {
403
403
  x.error(c), x.debug(u), l(c);
404
- }), F = M((c) => {
404
+ }), K = M((c) => {
405
405
  x.debug("[Vega view] created", c), s.current = c, l(void 0);
406
- }), H = () => {
406
+ }), Z = () => {
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,7 +412,7 @@ 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: [
@@ -425,8 +425,8 @@ const ye = (e) => {
425
425
  className: "relative",
426
426
  onPointerDown: q.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: K }),
429
+ Z()
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