@marimo-team/islands 0.22.6-dev9 → 0.23.1-dev1

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.
package/dist/main.js CHANGED
@@ -34876,7 +34876,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34876
34876
  (0, import_jsx_runtime.jsx)(PanelRight, {
34877
34877
  className: "w-3.5 h-3.5"
34878
34878
  }),
34879
- "Explorer"
34879
+ "Explore"
34880
34880
  ]
34881
34881
  }),
34882
34882
  w && (0, import_jsx_runtime.jsx)(ExportMenu, {
@@ -36972,10 +36972,14 @@ ${E}`,
36972
36972
  html: c
36973
36973
  }), r[10] = c, r[11] = E);
36974
36974
  let O;
36975
- r[12] !== y || r[13] !== w || r[14] !== E ? (O = (0, import_jsx_runtime.jsx)(Label, {
36976
- htmlFor: y,
36977
- className: w,
36978
- children: E
36975
+ r[12] !== y || r[13] !== w || r[14] !== E ? (O = (0, import_jsx_runtime.jsx)("div", {
36976
+ part: "label",
36977
+ className: "m-0 p-0",
36978
+ children: (0, import_jsx_runtime.jsx)(Label, {
36979
+ htmlFor: y,
36980
+ className: w,
36981
+ children: E
36982
+ })
36979
36983
  }), r[12] = y, r[13] = w, r[14] = E, r[15] = O) : O = r[15];
36980
36984
  let M = O, I = S === "top" && "flex-col items-start gap-y-2", z = S === "left" && "flex-row items-center gap-x-1.5 pr-2", G = S === "right" && "flex-row-reverse items-center gap-x-1.5 pr-2", q = v && "block space-y-2", Z7 = !v && "w-fit", Q7;
36981
36985
  r[16] !== h || r[17] !== I || r[18] !== z || r[19] !== G || r[20] !== q || r[21] !== Z7 ? (Q7 = cn("mo-label inline-flex", "pt-0 pb-0 pl-0", I, z, G, q, Z7, h), r[16] = h, r[17] = I, r[18] = z, r[19] = G, r[20] = q, r[21] = Z7, r[22] = Q7) : Q7 = r[22];
@@ -45449,7 +45453,7 @@ ${c}
45449
45453
  size: "xs",
45450
45454
  onClick: c9,
45451
45455
  className: u9,
45452
- children: "Explorer"
45456
+ children: "Columns"
45453
45457
  }), r[29] = u9, r[30] = c9, r[31] = d9) : d9 = r[31];
45454
45458
  let f9;
45455
45459
  r[32] !== d9 || r[33] !== o9 ? (f9 = (0, import_jsx_runtime.jsx)(Fill, {
@@ -57315,8 +57319,14 @@ ${c}
57315
57319
  }
57316
57320
  function hasPureLineTrace(e) {
57317
57321
  return e ? e.some((e2) => {
57318
- let r = e2.type;
57319
- return r === void 0 || LINE_CLICK_TRACE_TYPES.has(String(r)) ? isPureLineMode(e2.mode) : false;
57322
+ let r = e2;
57323
+ return r.type === void 0 || LINE_CLICK_TRACE_TYPES.has(String(r.type)) ? isPureLineMode(r.mode) : false;
57324
+ }) : false;
57325
+ }
57326
+ function hasAreaTrace(e) {
57327
+ return e ? e.some((e2) => {
57328
+ let r = e2;
57329
+ return r.type !== void 0 && !LINE_CLICK_TRACE_TYPES.has(String(r.type)) ? false : typeof r.fill == "string" && r.fill !== "" && r.fill !== "none" || r.stackgroup != null;
57320
57330
  }) : false;
57321
57331
  }
57322
57332
  function createDragmodeButton(e, r, c, d, f) {
@@ -57349,7 +57359,7 @@ ${c}
57349
57359
  function shouldHandleClickSelection(e) {
57350
57360
  return e.some((e2) => {
57351
57361
  let r = getTraceSource(e2).type;
57352
- return r === "bar" || r === "heatmap" || r === "histogram" || r === "waterfall" || isLinePoint(e2);
57362
+ return r === "bar" || r === "heatmap" || r === "histogram" || r === "waterfall" || r === "violin" || isLinePoint(e2);
57353
57363
  });
57354
57364
  }
57355
57365
  function extractIndices(e) {
@@ -57523,7 +57533,7 @@ ${c}
57523
57533
  }));
57524
57534
  }, r[7] = w, r[8] = f, r[9] = I) : I = r[9];
57525
57535
  let z = useEvent_default(I), G = useDeepCompareMemoize(h), q;
57526
- r[10] === y.data ? q = r[11] : (q = hasPureLineTrace(y.data), r[10] = y.data, r[11] = q);
57536
+ r[10] === y.data ? q = r[11] : (q = hasPureLineTrace(y.data) || hasAreaTrace(y.data), r[10] = y.data, r[11] = q);
57527
57537
  let Z7 = q, Q7, $7, e9;
57528
57538
  if (r[12] !== G || r[13] !== M || r[14] !== z || r[15] !== Z7) {
57529
57539
  let e2 = [
@@ -65645,7 +65655,7 @@ ${c}
65645
65655
  return Logger.warn("Failed to get version from mount config"), null;
65646
65656
  }
65647
65657
  }
65648
- const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.6-dev9"), showCodeInRunModeAtom = atom(true);
65658
+ const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.1-dev1"), showCodeInRunModeAtom = atom(true);
65649
65659
  atom(null);
65650
65660
  var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
65651
65661
  constructor() {