@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.
@@ -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 { S as logNever, i as SelectContent, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, u as SelectValue } from "./strings-Bu3vlb6W.js";
10
- import { G as marked, W as useNonce, _ as DropdownMenuSub, d as DropdownMenuContent, g as DropdownMenuSeparator, h as DropdownMenuPortal, p as DropdownMenuItem, r as Input, u as DropdownMenu, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-_2sjvfne.js";
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: S, 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;
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] !== S || t[57] !== u || t[58] !== a ? (X = () => {
10879
- N && (S(N.col), u((e2) => modifyColumnFields({
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] = S, t[57] = u, t[58] = a, t[59] = X) : X = t[59];
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;