@marimo-team/islands 0.21.2-dev69 → 0.21.2-dev71
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
|
@@ -31074,12 +31074,12 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
31074
31074
|
}, r[9] = d, r[10] = h, r[11] = S, r[12] = c, r[13] = w) : w = r[13];
|
|
31075
31075
|
let E = useEvent_default(w), O;
|
|
31076
31076
|
r[14] !== d || r[15] !== c ? (O = (e2, r2) => {
|
|
31077
|
-
e2.buttons !== 2 && d.handleCellMouseDown({
|
|
31077
|
+
e2.buttons !== 2 && (isInteractiveTarget(e2) || d.handleCellMouseDown({
|
|
31078
31078
|
cell: r2,
|
|
31079
31079
|
isShiftKey: e2.shiftKey,
|
|
31080
31080
|
isCtrlKey: e2.ctrlKey,
|
|
31081
31081
|
table: c
|
|
31082
|
-
});
|
|
31082
|
+
}));
|
|
31083
31083
|
}, r[14] = d, r[15] = c, r[16] = O) : O = r[16];
|
|
31084
31084
|
let M = useEvent_default(O), I;
|
|
31085
31085
|
r[17] === d ? I = r[18] : (I = () => {
|
|
@@ -31103,6 +31103,11 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
31103
31103
|
clearSelection: d.clearSelection
|
|
31104
31104
|
}, r[22] = d.clearSelection, r[23] = M, r[24] = q, r[25] = z, r[26] = E, r[27] = h, r[28] = v, r[29] = e9) : e9 = r[29], e9;
|
|
31105
31105
|
};
|
|
31106
|
+
var INTERACTIVE_SELECTOR = 'input, button, select, textarea, a, label, [role="checkbox"], [role="button"], [contenteditable="true"], marimo-ui-element';
|
|
31107
|
+
function isInteractiveTarget(e) {
|
|
31108
|
+
let r = e.target;
|
|
31109
|
+
return r === e.currentTarget || !(r instanceof Element) ? false : r.closest(INTERACTIVE_SELECTOR) !== null;
|
|
31110
|
+
}
|
|
31106
31111
|
var import_compiler_runtime$101 = require_compiler_runtime(), focusedCellAtom = atom((e) => e(cellSelectionStateAtom).focusedCell);
|
|
31107
31112
|
function useScrollIntoViewOnFocus(e) {
|
|
31108
31113
|
let r = (0, import_compiler_runtime$101.c)(2), c;
|
|
@@ -64761,7 +64766,7 @@ ${c}
|
|
|
64761
64766
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
64762
64767
|
}
|
|
64763
64768
|
}
|
|
64764
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.21.2-
|
|
64769
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.21.2-dev71"), showCodeInRunModeAtom = atom(true);
|
|
64765
64770
|
atom(null);
|
|
64766
64771
|
var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
|
|
64767
64772
|
constructor() {
|