@marimo-team/islands 0.12.1-dev2 → 0.12.1-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 (92) hide show
  1. package/dist/{ConnectedDataExplorerComponent-BUkHSSQ3.js → ConnectedDataExplorerComponent-DNQoDjFe.js} +8 -8
  2. package/dist/{VegaLite-D2gsHKuf.js → VegaLite-C61XFnJy.js} +2456 -2455
  3. package/dist/{_baseUniq-CGdEI3Nv.js → _baseUniq-BVJ8xAuG.js} +1 -1
  4. package/dist/{any-language-editor-CKyudq2-.js → any-language-editor-OJReD1ph.js} +176 -177
  5. package/dist/architectureDiagram-IEHRJDOE-C5szj5L-.js +4634 -0
  6. package/dist/assets/{save-worker-J2nVA3vw.js → save-worker-CYdkP5Ic.js} +5 -5
  7. package/dist/assets/{worker-6ypxTHEH.js → worker-CH7zxkMA.js} +5 -5
  8. package/dist/assets/{worker-0hM8VAjI.js → worker-DEw2ZetQ.js} +5 -5
  9. package/dist/{blockDiagram-ZHA2E4KO-BlCDChLH.js → blockDiagram-JOT3LUYC-6huJKNk4.js} +4 -4
  10. package/dist/{c4Diagram-6F5ED5ID-niLscHfK.js → c4Diagram-VJAJSXHY-DLdlB4_f.js} +2 -2
  11. package/dist/{channel-Bt8mGm9q.js → channel-C4MpN-FJ.js} +1 -1
  12. package/dist/{chunk-TMUBEWPD-CQLP9BEl.js → chunk-4BMEZGHF-CczBKfna.js} +1 -1
  13. package/dist/chunk-A2AXSNBT-BsMPztSQ.js +1372 -0
  14. package/dist/chunk-AEK57VVT-B6c3n8K2.js +1415 -0
  15. package/dist/{chunk-ASOPGD6M-DCxLLtgf.js → chunk-D6G4REZN-X8xBS5rG.js} +1 -1
  16. package/dist/{chunk-5HRBRIJM-DjjlC6eW.js → chunk-RZ5BOZE2-CUqnF2K6.js} +1 -1
  17. package/dist/{chunk-KFBOBJHC-DPkQurpv.js → chunk-XZIHB7SX-CSouwcyb.js} +1 -1
  18. package/dist/classDiagram-GIVACNV2-CG_R_HQh.js +16 -0
  19. package/dist/classDiagram-v2-COTLJTTW-CG_R_HQh.js +16 -0
  20. package/dist/{clike-BLr83cjT.js → clike-BUuHEmgZ.js} +19 -17
  21. package/dist/{clone-COI_V4qE.js → clone-DK3J-MiR.js} +1 -1
  22. package/dist/{dagre-4EVJKHTY-DPsWdzds.js → dagre-OKDRZEBW-D8zhCeNW.js} +46 -46
  23. package/dist/{data-editor-D2rMsHxb.js → data-editor-BHWBseKi.js} +27 -22
  24. package/dist/diagram-SSKATNLV-pHZ4gvQ1.js +221 -0
  25. package/dist/{diagram-QW4FP2JN-D4dzrYii.js → diagram-VNBRO52H-D5_43LWo.js} +28 -28
  26. package/dist/{dockerfile-CFG_IPGn.js → dockerfile-DIy8NleC.js} +1 -1
  27. package/dist/erDiagram-Q7BY3M3F-CqUXZyK-.js +841 -0
  28. package/dist/{factor-DJHfQ4a1.js → factor-DDOC7X6P.js} +1 -1
  29. package/dist/flowDiagram-4HSFHLVR-DwhP_PW-.js +1622 -0
  30. package/dist/ganttDiagram-APWFNJXF-Coo7g8mK.js +1681 -0
  31. package/dist/{gitGraphDiagram-NRZ2UAAF-CO9Yfk-1.js → gitGraphDiagram-7IBYFJ6S-CJM5LDZc.js} +55 -55
  32. package/dist/{graph-j21MX5m5.js → graph-DXseY-wc.js} +3 -3
  33. package/dist/{groovy-CdgvOO23.js → groovy-DZeT_VM-.js} +1 -1
  34. package/dist/{index-DwhNQhNY.js → index-B-lvhTmE.js} +1 -1
  35. package/dist/{index-CZoype9l.js → index-B4nMPVvH.js} +1 -1
  36. package/dist/{index-C-FP0asF.js → index-BJcH72DF.js} +1 -1
  37. package/dist/{index-DATq7mzH.js → index-BUjAylGO.js} +1 -1
  38. package/dist/{index-CNYIP8n0.js → index-BeNQgFqm.js} +1 -1
  39. package/dist/{index-CqtUFj8g.js → index-BfQvDHaW.js} +1 -1
  40. package/dist/{index-D83p58Zi.js → index-BnGDaicg.js} +1 -1
  41. package/dist/{index-CxqVUOhW.js → index-C2ispfH7.js} +1 -1
  42. package/dist/{index-Cr0IVnKP.js → index-C31uOHRg.js} +3 -3
  43. package/dist/{index-4YXC3aOd.js → index-CwJWNsd3.js} +1 -1
  44. package/dist/{index-Wlh2yRsy.js → index-DC3Cnx5t.js} +1 -1
  45. package/dist/{index-_v--1fvH.js → index-DCcdmTNw.js} +1 -1
  46. package/dist/{index-Ec1JnxMr.js → index-DMfwuBgb.js} +1 -1
  47. package/dist/{index-VZAogpU3.js → index-DWPlo8vh.js} +1 -1
  48. package/dist/{index-B8argTgS.js → index-DYFTJIXf.js} +1 -1
  49. package/dist/{infoDiagram-A4XQUW5V-D6HtVB0K.js → infoDiagram-PH2N3AL5-CAFARnGi.js} +5 -5
  50. package/dist/{journeyDiagram-G5WM74LC-DMj7UaUs.js → journeyDiagram-U35MCT3I-CxCG-gu9.js} +34 -35
  51. package/dist/{kanban-definition-QRCXZQQD-C9sAvwvv.js → kanban-definition-NDS4AKOZ-DXWk4fBs.js} +26 -25
  52. package/dist/{layout-DnpJ8ssh.js → layout-DCbiAC-B.js} +4 -4
  53. package/dist/{linear-C7S_zUSg.js → linear-C-BjrWtA.js} +1 -1
  54. package/dist/{main-jjvPwD9F.js → main-VRYALaFR.js} +31084 -30575
  55. package/dist/main.js +1 -1
  56. package/dist/mermaid-3srgUkji.js +11991 -0
  57. package/dist/{min-DNi_26db.js → min-C6jNU-8q.js} +2 -2
  58. package/dist/{mindmap-definition-GWI6TPTV-Bbg64FAI.js → mindmap-definition-ALO5MXBD-ItSGCYxS.js} +3 -2
  59. package/dist/{nsis-BtA0qkjU.js → nsis-fePjrhq7.js} +1 -1
  60. package/dist/{pascal-ixanSKUz.js → pascal-De0D6mP7.js} +1 -1
  61. package/dist/{pieDiagram-YF2LJOPJ-Cr3o9epk.js → pieDiagram-IB7DONF6-DvX9YZO3.js} +38 -38
  62. package/dist/{quadrantDiagram-OS5C2QUG-CTdokV-X.js → quadrantDiagram-7GDLP6J5-BbXv1kiZ.js} +2 -2
  63. package/dist/{gitGraph-YCYPL57B-C6vjpJLv.js → radar-MK3ICKWK-Chc5umY2.js} +3259 -2897
  64. package/dist/{react-plotly-D7fFNQUF.js → react-plotly--Re2eJt2.js} +1 -1
  65. package/dist/requirementDiagram-KVF5MWMF-0r_3Jc_R.js +851 -0
  66. package/dist/{sankeyDiagram-Y46BX6SQ-CtGs7dt9.js → sankeyDiagram-QLVOVGJD-eycVAOR9.js} +152 -149
  67. package/dist/sequenceDiagram-X6HHIX6F-DQpYFs9_.js +2281 -0
  68. package/dist/{simple-mode-HGTvdazT.js → simple-mode-B0dvCdAA.js} +15 -14
  69. package/dist/slides-component-BM71y3QA.js +3782 -0
  70. package/dist/{stateDiagram-MAYHULR4-HCOwrhPJ.js → stateDiagram-DGXRK772--5awulBB.js} +41 -39
  71. package/dist/stateDiagram-v2-YXO3MK2T-CrxS4RqA.js +16 -0
  72. package/dist/style.css +1 -1
  73. package/dist/{time-Cf454IRV.js → time-aNhcx3m7.js} +2 -2
  74. package/dist/{timeline-definition-U7ZMHBDA-AcXJneLr.js → timeline-definition-BDJGKUSR-D5qQYaXU.js} +25 -25
  75. package/dist/{vega-component-DN01b8IT.js → vega-component-IC6ZSnx9.js} +2 -2
  76. package/dist/{xquery-xQxle02u.js → xquery-BUQdORAS.js} +72 -76
  77. package/dist/{xychartDiagram-6QU3TZC5-B3SwzwIL.js → xychartDiagram-VJFVF3MP-Ceb_sCs0.js} +11 -11
  78. package/package.json +25 -23
  79. package/dist/architectureDiagram-UYN6MBPD-C8FCwy4e.js +0 -4595
  80. package/dist/chunk-7U56Z5CX-D1T9hvBU.js +0 -1215
  81. package/dist/chunk-T2TOU4HS-DcM_xxju.js +0 -1303
  82. package/dist/classDiagram-LNE6IOMH-XbDq3sOW.js +0 -14
  83. package/dist/classDiagram-v2-MQ7JQ4JX-XbDq3sOW.js +0 -14
  84. package/dist/erDiagram-6RL3IURR-13ULGiOU.js +0 -938
  85. package/dist/flowDiagram-7ASYPVHJ-CMtLojGE.js +0 -1484
  86. package/dist/ganttDiagram-NTVNEXSI-Crv4rrPG.js +0 -1679
  87. package/dist/mermaid-BwpuxK20.js +0 -12937
  88. package/dist/requirementDiagram-MIRIMTAZ-Bz15K_7J.js +0 -769
  89. package/dist/sequenceDiagram-G6AWOVSC-D0hnYjDZ.js +0 -2274
  90. package/dist/slides-component-DM7nuuqG.js +0 -3776
  91. package/dist/stateDiagram-v2-4JROLMXI-Cj6uqksM.js +0 -14
  92. package/dist/stex-92raWT1r.js +0 -129
@@ -1,7 +1,7 @@
1
1
  import { R as P, r as ln, o as W, q as j, C as A, u as D, v as fn } from "./timer-ly3uOrxC.js";
2
- import { c as on, a as hn } from "./linear-C7S_zUSg.js";
2
+ import { c as on, a as hn } from "./linear-C-BjrWtA.js";
3
3
  import { i as bn } from "./init-DxzjmxYy.js";
4
- import { a9 as gn, aa as d, ab as v, ac as k, ad as x, ae as F, af as yn, ag as L, ah as S, ai as R, aj as pn, ak as mn, al as wn, am as Mn, an as dn, ao as vn, ap as kn, aq as B, ar as K, as as X, at as Z, au as $, av as E, aw as xn } from "./main-jjvPwD9F.js";
4
+ import { a9 as gn, aa as d, ab as v, ac as k, ad as x, ae as F, af as yn, ag as L, ah as S, ai as R, aj as pn, ak as mn, al as wn, am as Mn, an as dn, ao as vn, ap as kn, aq as B, ar as K, as as X, at as Z, au as $, av as E, aw as xn } from "./main-VRYALaFR.js";
5
5
  function Wn(n, t) {
6
6
  let i;
7
7
  if (t === void 0)
@@ -1,4 +1,4 @@
1
- import { _ as s, c as xt, l as T, d as q, S as kt, T as vt, V as _t, W as bt, X as wt, Y as St, x as Et } from "./mermaid-BwpuxK20.js";
1
+ import { _ as s, c as xt, l as T, d as q, T as kt, V as vt, W as _t, X as bt, D as wt, Y as St, z as Et } from "./mermaid-3srgUkji.js";
2
2
  import { d as nt } from "./arc-CbMargV8.js";
3
3
  var X = function() {
4
4
  var n = /* @__PURE__ */ s(function(f, i, a, d) {
@@ -74,13 +74,13 @@ var X = function() {
74
74
  d.length = d.length - 2 * I, y.length = y.length - I, o.length = o.length - I;
75
75
  }
76
76
  s(R, "popStack");
77
- function F() {
77
+ function z() {
78
78
  var I;
79
79
  return I = u.pop() || v.lex() || J, typeof I != "number" && (I instanceof Array && (u = I, I = u.pop()), I = a.symbols_[I] || I), I;
80
80
  }
81
- s(F, "lex");
82
- for (var w, C, N, K, V = {}, j, $, et, G; ; ) {
83
- if (C = d[d.length - 1], this.defaultActions[C] ? N = this.defaultActions[C] : ((w === null || typeof w > "u") && (w = F()), N = S[C] && S[C][w]), typeof N > "u" || !N.length || !N[0]) {
81
+ s(z, "lex");
82
+ for (var w, C, N, K, F = {}, j, $, et, G; ; ) {
83
+ if (C = d[d.length - 1], this.defaultActions[C] ? N = this.defaultActions[C] : ((w === null || typeof w > "u") && (w = z()), N = S[C] && S[C][w]), typeof N > "u" || !N.length || !N[0]) {
84
84
  var Q = "";
85
85
  G = [];
86
86
  for (j in S[C])
@@ -102,15 +102,15 @@ Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Q = "
102
102
  d.push(w), y.push(v.yytext), o.push(v.yylloc), d.push(N[1]), w = null, P = v.yyleng, k = v.yytext, M = v.yylineno, L = v.yylloc;
103
103
  break;
104
104
  case 2:
105
- if ($ = this.productions_[N[1]][1], V.$ = y[y.length - $], V._$ = {
105
+ if ($ = this.productions_[N[1]][1], F.$ = y[y.length - $], F._$ = {
106
106
  first_line: o[o.length - ($ || 1)].first_line,
107
107
  last_line: o[o.length - 1].last_line,
108
108
  first_column: o[o.length - ($ || 1)].first_column,
109
109
  last_column: o[o.length - 1].last_column
110
- }, A && (V._$.range = [
110
+ }, A && (F._$.range = [
111
111
  o[o.length - ($ || 1)].range[0],
112
112
  o[o.length - 1].range[1]
113
- ]), K = this.performAction.apply(V, [
113
+ ]), K = this.performAction.apply(F, [
114
114
  k,
115
115
  P,
116
116
  M,
@@ -120,7 +120,7 @@ Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Q = "
120
120
  o
121
121
  ].concat(O)), typeof K < "u")
122
122
  return K;
123
- $ && (d = d.slice(0, -1 * $ * 2), y = y.slice(0, -1 * $), o = o.slice(0, -1 * $)), d.push(this.productions_[N[1]][0]), y.push(V.$), o.push(V._$), et = S[d[d.length - 2]][d[d.length - 1]], d.push(et);
123
+ $ && (d = d.slice(0, -1 * $ * 2), y = y.slice(0, -1 * $), o = o.slice(0, -1 * $)), d.push(this.productions_[N[1]][0]), y.push(F.$), o.push(F._$), et = S[d[d.length - 2]][d[d.length - 1]], d.push(et);
124
124
  break;
125
125
  case 3:
126
126
  return !0;
@@ -366,10 +366,10 @@ wt(at, {
366
366
  getSections: () => dt,
367
367
  getTasks: () => ut
368
368
  });
369
- var z = "", lt = 0, Y = [], U = [], W = [], ot = /* @__PURE__ */ s(() => St, "getCommonDb"), ct = /* @__PURE__ */ s(function() {
370
- Y.length = 0, U.length = 0, z = "", W.length = 0, Et();
369
+ var V = "", lt = 0, Y = [], U = [], W = [], ot = /* @__PURE__ */ s(() => St, "getCommonDb"), ct = /* @__PURE__ */ s(function() {
370
+ Y.length = 0, U.length = 0, V = "", W.length = 0, Et();
371
371
  }, "clear"), ht = /* @__PURE__ */ s(function(n) {
372
- z = n, Y.push(n);
372
+ V = n, Y.push(n);
373
373
  }, "addSection"), dt = /* @__PURE__ */ s(function() {
374
374
  return Y;
375
375
  }, "getSections"), ut = /* @__PURE__ */ s(function() {
@@ -382,8 +382,8 @@ var z = "", lt = 0, Y = [], U = [], W = [], ot = /* @__PURE__ */ s(() => St, "ge
382
382
  }, "getTasks"), pt = /* @__PURE__ */ s(function(n, t, e) {
383
383
  const l = {
384
384
  id: lt++,
385
- section: z,
386
- type: z,
385
+ section: V,
386
+ type: V,
387
387
  task: n,
388
388
  score: t || 0,
389
389
  //if event is defined, then add it the events array
@@ -394,8 +394,8 @@ var z = "", lt = 0, Y = [], U = [], W = [], ot = /* @__PURE__ */ s(() => St, "ge
394
394
  W.find((e) => e.id === lt - 1).events.push(n);
395
395
  }, "addEvent"), gt = /* @__PURE__ */ s(function(n) {
396
396
  const t = {
397
- section: z,
398
- type: z,
397
+ section: V,
398
+ type: V,
399
399
  description: n,
400
400
  task: n,
401
401
  classes: []
@@ -555,7 +555,7 @@ function tt(n, t) {
555
555
  });
556
556
  }
557
557
  s(tt, "wrap");
558
- var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
558
+ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
559
559
  var _;
560
560
  const r = e % Nt - 1, h = n.append("g");
561
561
  t.section = r, h.attr(
@@ -563,12 +563,12 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
563
563
  (t.class ? t.class + " " : "") + "timeline-node " + ("section-" + r)
564
564
  );
565
565
  const c = h.append("g"), g = h.append("g"), p = g.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(tt, t.width).node().getBBox(), x = (_ = l.fontSize) != null && _.replace ? l.fontSize.replace("px", "") : l.fontSize;
566
- return t.height = p.height + x * 1.1 * 0.5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width = t.width + 2 * t.padding, g.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), zt(c, t, r, l), t;
567
- }, "drawNode"), Vt = /* @__PURE__ */ s(function(n, t, e) {
566
+ return t.height = p.height + x * 1.1 * 0.5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width = t.width + 2 * t.padding, g.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), Vt(c, t, r, l), t;
567
+ }, "drawNode"), Ft = /* @__PURE__ */ s(function(n, t, e) {
568
568
  var g;
569
569
  const l = n.append("g"), h = l.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(tt, t.width).node().getBBox(), c = (g = e.fontSize) != null && g.replace ? e.fontSize.replace("px", "") : e.fontSize;
570
570
  return l.remove(), h.height + c * 1.1 * 0.5 + t.padding;
571
- }, "getVirtualNodeHeight"), zt = /* @__PURE__ */ s(function(n, t, e) {
571
+ }, "getVirtualNodeHeight"), Vt = /* @__PURE__ */ s(function(n, t, e) {
572
572
  n.append("path").attr("id", "node-" + t.id).attr("class", "node-bkg node-" + t.type).attr(
573
573
  "d",
574
574
  `M0 ${t.height - 5} v${-t.height + 2 * 5} q0,-5 5,-5 h${t.width - 2 * 5} q5,0 5,5 v${t.height - 5} H0 Z`
@@ -584,8 +584,8 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
584
584
  getTextObj: Ht,
585
585
  getNoteRect: D,
586
586
  initGraphics: Rt,
587
- drawNode: Ft,
588
- getVirtualNodeHeight: Vt
587
+ drawNode: zt,
588
+ getVirtualNodeHeight: Ft
589
589
  }, Wt = /* @__PURE__ */ s(function(n, t, e, l) {
590
590
  var O, v;
591
591
  const r = xt(), h = r.leftMargin ?? 50;
@@ -626,9 +626,9 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
626
626
  }, A = H.getVirtualNodeHeight(p, L, r);
627
627
  T.debug("taskHeight before draw", A), a = Math.max(a, A + 20), M = Math.max(M, b.events.length);
628
628
  let R = 0;
629
- for (const F of b.events) {
629
+ for (const z of b.events) {
630
630
  const w = {
631
- descr: F,
631
+ descr: z,
632
632
  section: b.section,
633
633
  number: b.section,
634
634
  width: 150,
@@ -640,7 +640,7 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
640
640
  P = Math.max(P, R);
641
641
  }
642
642
  T.debug("maxSectionHeight before draw", i), T.debug("maxTaskHeight before draw", a), f && f.length > 0 ? f.forEach((E) => {
643
- const b = x.filter((F) => F.section === E), L = {
643
+ const b = x.filter((z) => z.section === E), L = {
644
644
  number: S,
645
645
  descr: E,
646
646
  section: S,
@@ -1,5 +1,5 @@
1
- import { T as I, U as K, V as z, W as R, X as W, Y as G, J as f, Z as $, H as B, D as k, _ as O, $ as M, a0 as U, a1 as x, a2 as S, a3 as Y, a4 as q, a5 as J, a6 as X, a7 as Q, a8 as ee } from "./main-jjvPwD9F.js";
2
- import { M as d, a as te } from "./VegaLite-D2gsHKuf.js";
1
+ import { T as I, U as K, V as z, W as R, X as W, Y as G, J as f, Z as $, H as B, D as k, _ as O, $ as M, a0 as U, a1 as x, a2 as S, a3 as Y, a4 as q, a5 as J, a6 as X, a7 as Q, a8 as ee } from "./main-VRYALaFR.js";
2
+ import { M as d, a as te } from "./VegaLite-C61XFnJy.js";
3
3
  const T = /* @__PURE__ */ new Set(["boxplot", "errorband", "errorbar"]), v = {
4
4
  getMarkType(e) {
5
5
  const t = typeof e == "string" ? e : e.type;
@@ -1,10 +1,10 @@
1
- var h = function() {
2
- function e(z) {
3
- return { type: z, style: "keyword" };
1
+ var d = function() {
2
+ function e(w) {
3
+ return { type: w, style: "keyword" };
4
4
  }
5
- for (var n = e("operator"), t = { type: "atom", style: "atom" }, i = { type: "punctuation", style: null }, c = { type: "axis_specifier", style: "qualifier" }, a = {
5
+ for (var n = e("operator"), t = { type: "atom", style: "atom" }, i = { type: "punctuation", style: null }, o = { type: "axis_specifier", style: "qualifier" }, l = {
6
6
  ",": i
7
- }, g = [
7
+ }, p = [
8
8
  "after",
9
9
  "all",
10
10
  "allowing",
@@ -174,9 +174,9 @@ var h = function() {
174
174
  "word",
175
175
  "words",
176
176
  "xquery"
177
- ], r = 0, o = g.length; r < o; r++)
178
- a[g[r]] = e(g[r]);
179
- for (var d = [
177
+ ], r = 0, a = p.length; r < a; r++)
178
+ l[p[r]] = e(p[r]);
179
+ for (var g = [
180
180
  "xs:anyAtomicType",
181
181
  "xs:anySimpleType",
182
182
  "xs:anyType",
@@ -233,11 +233,11 @@ var h = function() {
233
233
  "xs:untyped",
234
234
  "xs:untypedAtomic",
235
235
  "xs:yearMonthDuration"
236
- ], r = 0, o = d.length; r < o; r++)
237
- a[d[r]] = t;
238
- for (var f = ["eq", "ne", "lt", "le", "gt", "ge", ":=", "=", ">", ">=", "<", "<=", ".", "|", "?", "and", "or", "div", "idiv", "mod", "*", "/", "+", "-"], r = 0, o = f.length; r < o; r++)
239
- a[f[r]] = n;
240
- for (var m = [
236
+ ], r = 0, a = g.length; r < a; r++)
237
+ l[g[r]] = t;
238
+ for (var f = ["eq", "ne", "lt", "le", "gt", "ge", ":=", "=", ">", ">=", "<", "<=", ".", "|", "?", "and", "or", "div", "idiv", "mod", "*", "/", "+", "-"], r = 0, a = f.length; r < a; r++)
239
+ l[f[r]] = n;
240
+ for (var v = [
241
241
  "self::",
242
242
  "attribute::",
243
243
  "child::",
@@ -250,94 +250,93 @@ var h = function() {
250
250
  "preceding::",
251
251
  "following-sibling::",
252
252
  "preceding-sibling::"
253
- ], r = 0, o = m.length; r < o; r++)
254
- a[m[r]] = c;
255
- return a;
253
+ ], r = 0, a = v.length; r < a; r++)
254
+ l[v[r]] = o;
255
+ return l;
256
256
  }();
257
- function p(e, n, t) {
257
+ function x(e, n, t) {
258
258
  return n.tokenize = t, t(e, n);
259
259
  }
260
260
  function u(e, n) {
261
- var t = e.next(), i = !1, c = _(e);
261
+ var t = e.next(), i = !1, o = _(e);
262
262
  if (t == "<") {
263
263
  if (e.match("!--", !0))
264
- return p(e, n, S);
264
+ return x(e, n, N);
265
265
  if (e.match("![CDATA", !1))
266
- return n.tokenize = N, "tag";
266
+ return n.tokenize = E, "tag";
267
267
  if (e.match("?", !1))
268
- return p(e, n, E);
269
- var a = e.eat("/");
268
+ return x(e, n, A);
269
+ var l = e.eat("/");
270
270
  e.eatSpace();
271
- for (var g = "", r; r = e.eat(/[^\s\u00a0=<>\"\'\/?]/); ) g += r;
272
- return p(e, n, T(g, a));
271
+ for (var p = "", r; r = e.eat(/[^\s\u00a0=<>\"\'\/?]/); ) p += r;
272
+ return x(e, n, S(p, l));
273
273
  } else {
274
274
  if (t == "{")
275
275
  return s(n, { type: "codeblock" }), null;
276
276
  if (t == "}")
277
- return l(n), null;
277
+ return c(n), null;
278
278
  if (b(n))
279
- return t == ">" ? "tag" : t == "/" && e.eat(">") ? (l(n), "tag") : "variable";
279
+ return t == ">" ? "tag" : t == "/" && e.eat(">") ? (c(n), "tag") : "variable";
280
280
  if (/\d/.test(t))
281
281
  return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/), "atom";
282
282
  if (t === "(" && e.eat(":"))
283
- return s(n, { type: "comment" }), p(e, n, w);
284
- if (!c && (t === '"' || t === "'"))
285
- return p(e, n, v(t));
283
+ return s(n, { type: "comment" }), x(e, n, z);
284
+ if (!o && (t === '"' || t === "'"))
285
+ return m(e, n, t);
286
286
  if (t === "$")
287
- return p(e, n, I);
287
+ return x(e, n, T);
288
288
  if (t === ":" && e.eat("="))
289
289
  return "keyword";
290
290
  if (t === "(")
291
291
  return s(n, { type: "paren" }), null;
292
292
  if (t === ")")
293
- return l(n), null;
293
+ return c(n), null;
294
294
  if (t === "[")
295
295
  return s(n, { type: "bracket" }), null;
296
296
  if (t === "]")
297
- return l(n), null;
298
- var o = h.propertyIsEnumerable(t) && h[t];
299
- if (c && t === '"') for (; e.next() !== '"'; )
297
+ return c(n), null;
298
+ var a = d.propertyIsEnumerable(t) && d[t];
299
+ if (o && t === '"') for (; e.next() !== '"'; )
300
300
  ;
301
- if (c && t === "'") for (; e.next() !== "'"; )
301
+ if (o && t === "'") for (; e.next() !== "'"; )
302
302
  ;
303
- o || e.eatWhile(/[\w\$_-]/);
304
- var d = e.eat(":");
305
- !e.eat(":") && d && e.eatWhile(/[\w\$_-]/), e.match(/^[ \t]*\(/, !1) && (i = !0);
303
+ a || e.eatWhile(/[\w\$_-]/);
304
+ var g = e.eat(":");
305
+ !e.eat(":") && g && e.eatWhile(/[\w\$_-]/), e.match(/^[ \t]*\(/, !1) && (i = !0);
306
306
  var f = e.current();
307
- return o = h.propertyIsEnumerable(f) && h[f], i && !o && (o = { type: "function_call", style: "def" }), A(n) ? (l(n), "variable") : ((f == "element" || f == "attribute" || o.type == "axis_specifier") && s(n, { type: "xmlconstructor" }), o ? o.style : "variable");
307
+ return a = d.propertyIsEnumerable(f) && d[f], i && !a && (a = { type: "function_call", style: "def" }), D(n) ? (c(n), "variable") : ((f == "element" || f == "attribute" || a.type == "axis_specifier") && s(n, { type: "xmlconstructor" }), a ? a.style : "variable");
308
308
  }
309
309
  }
310
- function w(e, n) {
311
- for (var t = !1, i = !1, c = 0, a; a = e.next(); ) {
312
- if (a == ")" && t)
313
- if (c > 0)
314
- c--;
310
+ function z(e, n) {
311
+ for (var t = !1, i = !1, o = 0, l; l = e.next(); ) {
312
+ if (l == ")" && t)
313
+ if (o > 0)
314
+ o--;
315
315
  else {
316
- l(n);
316
+ c(n);
317
317
  break;
318
318
  }
319
- else a == ":" && i && c++;
320
- t = a == ":", i = a == "(";
319
+ else l == ":" && i && o++;
320
+ t = l == ":", i = l == "(";
321
321
  }
322
322
  return "comment";
323
323
  }
324
- function v(e, n) {
324
+ function I(e, n) {
325
325
  return function(t, i) {
326
- var c;
327
- if (D(i) && t.current() == e)
328
- return l(i), n && (i.tokenize = n), "string";
329
- if (s(i, { type: "string", name: e, tokenize: v(e, n) }), t.match("{", !1) && x(i))
330
- return i.tokenize = u, "string";
331
- for (; c = t.next(); )
332
- if (c == e) {
333
- l(i), n && (i.tokenize = n);
326
+ for (var o; o = t.next(); )
327
+ if (o == e) {
328
+ c(i), n && (i.tokenize = n);
334
329
  break;
335
- } else if (t.match("{", !1) && x(i))
336
- return i.tokenize = u, "string";
330
+ } else if (t.match("{", !1) && h(i))
331
+ return s(i, { type: "codeblock" }), i.tokenize = u, "string";
337
332
  return "string";
338
333
  };
339
334
  }
340
- function I(e, n) {
335
+ function m(e, n, t, i) {
336
+ let o = I(t, i);
337
+ return s(n, { type: "string", name: t, tokenize: o }), x(e, n, o);
338
+ }
339
+ function T(e, n) {
341
340
  var t = /[\w\$_-]/;
342
341
  if (e.eat('"')) {
343
342
  for (; e.next() !== '"'; )
@@ -347,58 +346,55 @@ function I(e, n) {
347
346
  e.eatWhile(t), e.match(":=", !1) || e.eat(":");
348
347
  return e.eatWhile(t), n.tokenize = u, "variable";
349
348
  }
350
- function T(e, n) {
349
+ function S(e, n) {
351
350
  return function(t, i) {
352
351
  if (t.eatSpace(), n && t.eat(">"))
353
- return l(i), i.tokenize = u, "tag";
352
+ return c(i), i.tokenize = u, "tag";
354
353
  if (t.eat("/") || s(i, { type: "tag", name: e, tokenize: u }), t.eat(">"))
355
354
  i.tokenize = u;
356
355
  else
357
- return i.tokenize = k, "tag";
356
+ return i.tokenize = y, "tag";
358
357
  return "tag";
359
358
  };
360
359
  }
361
- function k(e, n) {
360
+ function y(e, n) {
362
361
  var t = e.next();
363
- return t == "/" && e.eat(">") ? (x(n) && l(n), b(n) && l(n), "tag") : t == ">" ? (x(n) && l(n), "tag") : t == "=" ? null : t == '"' || t == "'" ? p(e, n, v(t, k)) : (x(n) || s(n, { type: "attribute", tokenize: k }), e.eat(/[a-zA-Z_:]/), e.eatWhile(/[-a-zA-Z0-9_:.]/), e.eatSpace(), (e.match(">", !1) || e.match("/", !1)) && (l(n), n.tokenize = u), "attribute");
362
+ return t == "/" && e.eat(">") ? (h(n) && c(n), b(n) && c(n), "tag") : t == ">" ? (h(n) && c(n), "tag") : t == "=" ? null : t == '"' || t == "'" ? m(e, n, t, y) : (h(n) || s(n, { type: "attribute", tokenize: y }), e.eat(/[a-zA-Z_:]/), e.eatWhile(/[-a-zA-Z0-9_:.]/), e.eatSpace(), (e.match(">", !1) || e.match("/", !1)) && (c(n), n.tokenize = u), "attribute");
364
363
  }
365
- function S(e, n) {
364
+ function N(e, n) {
366
365
  for (var t; t = e.next(); )
367
366
  if (t == "-" && e.match("->", !0))
368
367
  return n.tokenize = u, "comment";
369
368
  }
370
- function N(e, n) {
369
+ function E(e, n) {
371
370
  for (var t; t = e.next(); )
372
371
  if (t == "]" && e.match("]", !0))
373
372
  return n.tokenize = u, "comment";
374
373
  }
375
- function E(e, n) {
374
+ function A(e, n) {
376
375
  for (var t; t = e.next(); )
377
376
  if (t == "?" && e.match(">", !0))
378
377
  return n.tokenize = u, "processingInstruction";
379
378
  }
380
379
  function b(e) {
381
- return y(e, "tag");
382
- }
383
- function x(e) {
384
- return y(e, "attribute");
380
+ return k(e, "tag");
385
381
  }
386
- function A(e) {
387
- return y(e, "xmlconstructor");
382
+ function h(e) {
383
+ return k(e, "attribute");
388
384
  }
389
385
  function D(e) {
390
- return y(e, "string");
386
+ return k(e, "xmlconstructor");
391
387
  }
392
388
  function _(e) {
393
389
  return e.current() === '"' ? e.match(/^[^\"]+\"\:/, !1) : e.current() === "'" ? e.match(/^[^\"]+\'\:/, !1) : !1;
394
390
  }
395
- function y(e, n) {
391
+ function k(e, n) {
396
392
  return e.stack.length && e.stack[e.stack.length - 1].type == n;
397
393
  }
398
394
  function s(e, n) {
399
395
  e.stack.push(n);
400
396
  }
401
- function l(e) {
397
+ function c(e) {
402
398
  e.stack.pop();
403
399
  var n = e.stack.length && e.stack[e.stack.length - 1].tokenize;
404
400
  e.tokenize = n || u;
@@ -1,8 +1,8 @@
1
- import { _ as a, s as ui, g as gi, o as Ft, p as xi, a as di, b as pi, l as Xt, I as fi, e as mi, x as yi, F as At, E as Nt, G as bi, L as Ai, i as wi, aa as Ci } from "./mermaid-BwpuxK20.js";
1
+ import { _ as a, s as ui, g as gi, t as Ft, q as xi, a as di, b as pi, l as Xt, K as fi, e as mi, z as yi, G as At, F as Nt, H as bi, M as Ai, i as wi, a9 as Ci } from "./mermaid-3srgUkji.js";
2
2
  import { i as Si } from "./init-DxzjmxYy.js";
3
3
  import { o as _i } from "./ordinal-CYN5qNoq.js";
4
4
  import { r as ki } from "./range-DdOGybNB.js";
5
- import { l as Bt } from "./linear-C7S_zUSg.js";
5
+ import { l as Bt } from "./linear-C-BjrWtA.js";
6
6
  import { l as Wt } from "./timer-ly3uOrxC.js";
7
7
  function pt() {
8
8
  var e = _i().unknown(void 0), t = e.domain, i = e.range, s = 0, n = 1, r, u, f = !1, p = 0, k = 0, R = 0.5;
@@ -905,7 +905,7 @@ var $, Pi = ($ = class {
905
905
  }
906
906
  ] : [];
907
907
  }
908
- }, a($, "LinePlot"), $), G, Li = (G = class {
908
+ }, a($, "LinePlot"), $), q, Li = (q = class {
909
909
  constructor(t, i, s, n, r, u) {
910
910
  this.barData = t, this.boundingRect = i, this.xAxis = s, this.yAxis = n, this.orientation = r, this.plotIndex = u;
911
911
  }
@@ -944,7 +944,7 @@ var $, Pi = ($ = class {
944
944
  }
945
945
  ];
946
946
  }
947
- }, a(G, "BarPlot"), G), q, Ei = (q = class {
947
+ }, a(q, "BarPlot"), q), G, Ei = (G = class {
948
948
  constructor(t, i, s) {
949
949
  this.chartConfig = t, this.chartData = i, this.chartThemeConfig = s, this.boundingRect = {
950
950
  x: 0,
@@ -999,7 +999,7 @@ var $, Pi = ($ = class {
999
999
  }
1000
1000
  return t;
1001
1001
  }
1002
- }, a(q, "BasePlot"), q);
1002
+ }, a(G, "BasePlot"), G);
1003
1003
  function $t(e, t, i) {
1004
1004
  return new Ei(e, t, i);
1005
1005
  }
@@ -1090,7 +1090,7 @@ var j, Ii = (j = class {
1090
1090
  static build(t, i, s, n) {
1091
1091
  return new Ii(t, i, s, n).getDrawableElement();
1092
1092
  }
1093
- }, a(Q, "XYChartBuilder"), Q), J = 0, Gt, tt = _t(), it = St(), b = kt(), bt = it.plotColorPalette.split(",").map((e) => e.trim()), rt = !1, Ct = !1;
1093
+ }, a(Q, "XYChartBuilder"), Q), J = 0, qt, tt = _t(), it = St(), b = kt(), bt = it.plotColorPalette.split(",").map((e) => e.trim()), rt = !1, Ct = !1;
1094
1094
  function St() {
1095
1095
  const e = Ai(), t = At();
1096
1096
  return Nt(e.xyChart, t.themeVariables.xyChart);
@@ -1127,10 +1127,10 @@ function ht(e) {
1127
1127
  return wi(e.trim(), t);
1128
1128
  }
1129
1129
  a(ht, "textSanitizer");
1130
- function qt(e) {
1131
- Gt = e;
1130
+ function Gt(e) {
1131
+ qt = e;
1132
1132
  }
1133
- a(qt, "setTmpSVGG");
1133
+ a(Gt, "setTmpSVGG");
1134
1134
  function jt(e) {
1135
1135
  e === "horizontal" ? tt.chartOrientation = "horizontal" : tt.chartOrientation = "vertical";
1136
1136
  }
@@ -1212,7 +1212,7 @@ a(ei, "setBarData");
1212
1212
  function si() {
1213
1213
  if (b.plots.length === 0)
1214
1214
  throw Error("No Plot to render, please provide a plot with some data");
1215
- return b.title = Ft(), Mi.build(tt, b, it, Gt);
1215
+ return b.title = Ft(), Mi.build(tt, b, it, qt);
1216
1216
  }
1217
1217
  a(si, "getDrawableElem");
1218
1218
  function ni() {
@@ -1242,7 +1242,7 @@ var Vi = /* @__PURE__ */ a(function() {
1242
1242
  setYAxisRangeData: Jt,
1243
1243
  setLineData: ii,
1244
1244
  setBarData: ei,
1245
- setTmpSVGG: qt,
1245
+ setTmpSVGG: Gt,
1246
1246
  getChartThemeConfig: ni,
1247
1247
  getChartConfig: ai
1248
1248
  }, Wi = /* @__PURE__ */ a((e, t, i, s) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/islands",
3
- "version": "0.12.1-dev2",
3
+ "version": "0.12.1-dev21",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -21,6 +21,7 @@
21
21
  "@codemirror/lang-sql": "^6.8.0",
22
22
  "@codemirror/language": "^6.10.8",
23
23
  "@codemirror/language-data": "^6.5.1",
24
+ "@codemirror/legacy-modes": "^6.5.0",
24
25
  "@codemirror/lint": "^6.8.4",
25
26
  "@codemirror/search": "^6.5.10",
26
27
  "@codemirror/state": "^6.5.2",
@@ -39,6 +40,7 @@
39
40
  "@lezer/common": "^1.2.3",
40
41
  "@lezer/highlight": "^1.2.1",
41
42
  "@lezer/lr": "^1.4.2",
43
+ "@lezer/markdown": "^1.4.2",
42
44
  "@lezer/python": "^1.1.16",
43
45
  "@marimo-team/codemirror-ai": "^0.1.11",
44
46
  "@marimo-team/codemirror-languageserver": "^1.15.6",
@@ -73,7 +75,7 @@
73
75
  "@radix-ui/react-use-callback-ref": "~1.1.0",
74
76
  "@radix-ui/react-use-controllable-state": "~1.1.0",
75
77
  "@react-aria/focus": "^3.20.1",
76
- "@replit/codemirror-vim": "^6.2.1",
78
+ "@replit/codemirror-vim": "^6.3.0",
77
79
  "@tailwindcss/typography": "^0.5.16",
78
80
  "@tanstack/react-table": "^8.21.2",
79
81
  "@textea/json-viewer": "^4.0.1",
@@ -83,19 +85,19 @@
83
85
  "@types/react-grid-layout": "^1.3.5",
84
86
  "@uidotdev/usehooks": "^2.4.1",
85
87
  "@uiw/codemirror-extensions-langs": "^4.23.10",
86
- "@uiw/react-codemirror": "^4.23.8",
88
+ "@uiw/react-codemirror": "^4.23.10",
87
89
  "@uwdata/flechette": "^1.1.2",
88
90
  "@valtown/codemirror-codeium": "^1.1.1",
89
91
  "@xterm/addon-attach": "^0.11.0",
90
92
  "@xterm/addon-fit": "^0.10.0",
91
93
  "@xterm/xterm": "^5.5.0",
92
- "ag-grid-community": "^32.3.3",
93
- "ag-grid-react": "^32.3.3",
94
- "ai": "^4.1.46",
94
+ "ag-grid-community": "^32.3.4",
95
+ "ag-grid-react": "^32.3.4",
96
+ "ai": "^4.2.8",
95
97
  "ansi_up": "^6.0.2",
96
98
  "class-variance-authority": "^0.7.1",
97
99
  "clsx": "^2.1.1",
98
- "cmdk": "^1.0.4",
100
+ "cmdk": "^1.1.1",
99
101
  "compassql": "^0.21.2",
100
102
  "cssnano": "^7.0.6",
101
103
  "date-fns": "^4.1.0",
@@ -106,49 +108,49 @@
106
108
  "html-to-image": "^1.11.13",
107
109
  "humanize-duration": "^3.32.1",
108
110
  "iconify-icon": "^2.3.0",
109
- "jotai": "^2.12.1",
111
+ "jotai": "^2.12.2",
110
112
  "js-cookie": "^3.0.5",
111
113
  "katex": "^0.16.21",
112
114
  "lodash-es": "^4.17.21",
113
- "lucide-react": "^0.476.0",
115
+ "lucide-react": "^0.485.0",
114
116
  "lz-string": "^1.5.0",
115
117
  "marked": "^15.0.7",
116
- "mermaid": "^11.4.1",
117
- "partysocket": "1.0.3",
118
+ "mermaid": "^11.6.0",
119
+ "partysocket": "1.1.3",
118
120
  "path-to-regexp": "^8.2.0",
119
121
  "plotly.js": "^2.35.3",
120
- "pyodide": "0.27.3",
122
+ "pyodide": "0.27.4",
121
123
  "react-arborist": "^3.4.3",
122
124
  "react-aria-components": "^1.7.1",
123
- "react-codemirror-merge": "^4.23.8",
125
+ "react-codemirror-merge": "^4.23.10",
124
126
  "react-dropzone": "^14.3.8",
125
127
  "react-error-boundary": "^5.0.0",
126
- "react-grid-layout": "^1.5.0",
127
- "react-hook-form": "^7.54.2",
128
+ "react-grid-layout": "^1.5.1",
129
+ "react-hook-form": "7.54.2",
128
130
  "react-markdown": "^9.1.0",
129
131
  "react-plotly.js": "^2.6.0",
130
132
  "react-resizable-panels": "2.1.7",
131
133
  "react-use-event-hook": "^0.9.6",
132
134
  "react-vega": "^7.6.0",
133
- "react-virtuoso": "^4.12.5",
135
+ "react-virtuoso": "^4.12.6",
134
136
  "reactflow": "^11.11.4",
135
137
  "rpc-anywhere": "^1.7.0",
136
138
  "string-dedent": "^3.0.1",
137
- "swiper": "^11.2.4",
139
+ "swiper": "^11.2.6",
138
140
  "tailwind-merge": "^2.6.0",
139
141
  "tailwindcss-animate": "^1.0.7",
140
142
  "thememirror": "^2.0.1",
141
143
  "timestring": "^7.0.0",
142
144
  "typescript-memoize": "^1.1.1",
143
145
  "use-resize-observer": "^9.1.0",
144
- "vega": "^5.32.0",
146
+ "vega": "^5.33.0",
145
147
  "vega-lite": "^5.23.0",
146
148
  "vega-loader": "^4.5.3",
147
149
  "vscode-languageserver-protocol": "^3.17.5",
148
150
  "web-vitals": "^4.2.4",
149
151
  "y-codemirror.next": "^0.3.5",
150
152
  "y-websocket": "^2.1.0",
151
- "yjs": "^13.6.23",
153
+ "yjs": "^13.6.24",
152
154
  "zod": "^3.24.2"
153
155
  },
154
156
  "scripts": {
@@ -197,8 +199,8 @@
197
199
  "@testing-library/react-hooks": "^8.0.1",
198
200
  "@types/katex": "^0.16.7",
199
201
  "@types/lodash-es": "^4.17.12",
200
- "@types/node": "^20.17.19",
201
- "@types/react": "^18.3.18",
202
+ "@types/node": "^20.17.28",
203
+ "@types/react": "^18.3.20",
202
204
  "@types/react-dom": "^18.3.5",
203
205
  "@types/react-plotly.js": "^2.6.3",
204
206
  "@types/timestring": "^6.0.5",
@@ -229,7 +231,7 @@
229
231
  "react-dom": "^18.3.1",
230
232
  "react-test-renderer": "^18.3.1",
231
233
  "storybook": "^8.6.9",
232
- "stylelint": "^16.14.1",
234
+ "stylelint": "^16.17.0",
233
235
  "stylelint-config-standard": "^36.0.1",
234
236
  "tailwindcss": "^3.4.17",
235
237
  "turbo": "^2.4.4",
@@ -238,7 +240,7 @@
238
240
  "vite-tsconfig-paths": "^5.1.4",
239
241
  "vitest": "^3.0.9"
240
242
  },
241
- "packageManager": "pnpm@9.15.6",
243
+ "packageManager": "pnpm@9.15.9",
242
244
  "pnpm": {
243
245
  "patchedDependencies": {
244
246
  "react-plotly.js": "patches/react-plotly.js.patch"