@marimo-team/islands 0.23.10-dev18 → 0.23.10-dev20
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/{ConnectedDataExplorerComponent-CyV83R2m.js → ConnectedDataExplorerComponent-DdeG-Hi-.js} +23 -23
- package/dist/{chat-ui-C7ZYD6Uw.js → chat-ui-BTobdMRF.js} +58 -58
- package/dist/{code-visibility-CsR8644L.js → code-visibility-51MFr9ZL.js} +467 -455
- package/dist/{glide-data-editor-CgIxTzAP.js → glide-data-editor-CRvL2R9l.js} +6 -6
- package/dist/{html-to-image-BqJ4c852.js → html-to-image-CjsdUYrb.js} +2205 -2202
- package/dist/{input-_2sjvfne.js → input-DVkbXbIX.js} +183 -181
- package/dist/main.js +1560 -1358
- package/dist/{process-output-DzDBuKrN.js → process-output-CI8a-CUx.js} +2 -2
- package/dist/{reveal-component-IUUJ4Dzx.js → reveal-component-ZPJ8w6yK.js} +5 -5
- package/dist/{spec-B96zNUEA.js → spec-DMRQmLOc.js} +2 -2
- package/dist/{strings-Bu3vlb6W.js → strings-GCJA9n6d.js} +25 -24
- package/dist/style.css +1 -1
- package/dist/{useDateFormatter-BA4FCquG.js → useDateFormatter-BRcO_TGJ.js} +1 -1
- package/package.json +1 -1
- package/src/components/slides/__tests__/minimap-actions.test.tsx +166 -0
- package/src/components/slides/minimap.tsx +127 -10
|
@@ -6,8 +6,8 @@ import { _ as Logger, h as Events, t as Button } from "./button-C5K9fIPF.js";
|
|
|
6
6
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
8
8
|
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-5jQ_kGE1.js";
|
|
9
|
-
import {
|
|
10
|
-
import { G as
|
|
9
|
+
import { C as logNever, i as SelectContent, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, u as SelectValue } from "./strings-GCJA9n6d.js";
|
|
10
|
+
import { G as useNonce, K as marked, b as DropdownMenuSubTrigger, d as DropdownMenuContent, g as DropdownMenuSeparator, h as DropdownMenuPortal, p as DropdownMenuItem, r as Input, u as DropdownMenu, v as DropdownMenuSub, y as DropdownMenuSubContent } from "./input-DVkbXbIX.js";
|
|
11
11
|
import { n as Trash, r as Pencil, t as BulkEdit } from "./types-CVvp1fKr.js";
|
|
12
12
|
import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-rULOrC_p.js";
|
|
13
13
|
import "./react-dom-BTJzcVJ9.js";
|
|
@@ -10638,7 +10638,7 @@ let __tla = (async () => {
|
|
|
10638
10638
|
}
|
|
10639
10639
|
var import_compiler_runtime = require_compiler_runtime();
|
|
10640
10640
|
GlideDataEditor = (e) => {
|
|
10641
|
-
let t = (0, import_compiler_runtime.c)(107), { data: n, setData: a, columnFields: o, setColumnFields: u, editableColumns: f, edits: m, onAddEdits: h, onAddRows: g, onDeleteRows: y, onRenameColumn: x, onDeleteColumn:
|
|
10641
|
+
let t = (0, import_compiler_runtime.c)(107), { data: n, setData: a, columnFields: o, setColumnFields: u, editableColumns: f, edits: m, onAddEdits: h, onAddRows: g, onDeleteRows: y, onRenameColumn: x, onDeleteColumn: C, onAddColumn: E } = e, { theme: k } = useTheme(), j = (0, import_react.useRef)(null), [N, P] = (0, import_react.useState)(), [I, zr] = (0, import_react.useState)(false), Br;
|
|
10642
10642
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Br = {
|
|
10643
10643
|
columns: CompactSelection.empty(),
|
|
10644
10644
|
rows: CompactSelection.empty()
|
|
@@ -10875,13 +10875,13 @@ let __tla = (async () => {
|
|
|
10875
10875
|
}
|
|
10876
10876
|
}, t[48] = o, t[49] = q, t[50] = N, t[51] = x, t[52] = u, t[53] = a, t[54] = pi) : pi = t[54];
|
|
10877
10877
|
let mi = pi, X;
|
|
10878
|
-
t[55] !== N || t[56] !==
|
|
10879
|
-
N && (
|
|
10878
|
+
t[55] !== N || t[56] !== C || t[57] !== u || t[58] !== a ? (X = () => {
|
|
10879
|
+
N && (C(N.col), u((e2) => modifyColumnFields({
|
|
10880
10880
|
columnFields: e2,
|
|
10881
10881
|
columnIdx: N.col,
|
|
10882
10882
|
type: "remove"
|
|
10883
10883
|
})), a((e2) => removeColumn(e2, N.col)), P(void 0));
|
|
10884
|
-
}, t[55] = N, t[56] =
|
|
10884
|
+
}, t[55] = N, t[56] = C, t[57] = u, t[58] = a, t[59] = X) : X = t[59];
|
|
10885
10885
|
let hi = X, gi;
|
|
10886
10886
|
t[60] !== o || t[61] !== q.length || t[62] !== N || t[63] !== E || t[64] !== u || t[65] !== a ? (gi = (e2) => {
|
|
10887
10887
|
let { direction: t2, columnName: n2, dataType: r } = e2;
|