@marimo-team/islands 0.19.3-dev27 → 0.19.3-dev28

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.
@@ -1,7 +1,7 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
- import { c as useComposedRefs, o as useEventListener, s as composeRefs } from "./button-BlF-78eJ.js";
4
+ import { c as useComposedRefs, o as useEventListener, s as composeRefs } from "./button-D6ZIdUA3.js";
5
5
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
6
6
  import { t as require_react_dom } from "./react-dom-DJW8xUDg.js";
7
7
  /**
@@ -1,14 +1,14 @@
1
1
  import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
- import { N as createLucideIcon } from "./Combination-33P1MEPK.js";
5
- import { A as Badge, B as ListFilter, I as Type, L as ToggleLeft, M as startCase_default, N as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, V as Hash, W as Calendar, j as createReducerAndAtoms, t as augmentSpecWithData, z as SquareFunction } from "./spec-BlMFtDSw.js";
6
- import { E as useOnMount, M as $a916eb452884faea$export$b7a616150fdb9f44, a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Label, u as SelectValue } from "./label-CACbEFdz.js";
7
- import { t as Button, u as cn } from "./button-BlF-78eJ.js";
4
+ import { N as createLucideIcon } from "./Combination-BOmAhdTT.js";
5
+ import { A as Badge, B as ListFilter, I as Type, L as ToggleLeft, M as startCase_default, N as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, V as Hash, W as Calendar, j as createReducerAndAtoms, t as augmentSpecWithData, z as SquareFunction } from "./spec-BY974nhI.js";
6
+ import { E as useOnMount, M as $a916eb452884faea$export$b7a616150fdb9f44, a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Label, u as SelectValue } from "./label-BaX2bLJa.js";
7
+ import { t as Button, u as cn } from "./button-D6ZIdUA3.js";
8
8
  import { o as Objects, s as Logger } from "./hotkeys-C4e3s3sJ.js";
9
9
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
10
10
  import "./react-dom-DJW8xUDg.js";
11
- import { l as Tooltip, n as ErrorBanner } from "./error-banner-UH0Nxilf.js";
11
+ import { l as Tooltip, n as ErrorBanner } from "./error-banner-BhqH4mGj.js";
12
12
  import { S as createStore, g as Provider, n as useTheme, v as useAtomValue, x as atom } from "./useTheme-DdLjooMf.js";
13
13
  import { t as isString_default } from "./isString-B0JuKBai.js";
14
14
  import { a as tooltipHandler, n as vegaLoadData } from "./loader-DH7xXi-E.js";
@@ -1,12 +1,12 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import "./compiler-runtime-DHFVbq0b.js";
4
- import "./Combination-33P1MEPK.js";
4
+ import "./Combination-BOmAhdTT.js";
5
5
  import { s as Logger } from "./hotkeys-C4e3s3sJ.js";
6
6
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
7
7
  import "./react-dom-DJW8xUDg.js";
8
- import { n as ErrorBanner } from "./error-banner-UH0Nxilf.js";
9
- import { d as CopyClipboardIcon, n as loadLanguage, r as esm_default, t as langs } from "./esm-D197NGQX.js";
8
+ import { n as ErrorBanner } from "./error-banner-BhqH4mGj.js";
9
+ import { d as CopyClipboardIcon, n as loadLanguage, r as esm_default, t as langs } from "./esm-DOBJQbuy.js";
10
10
  import "./dist-D7jHtwN8.js";
11
11
  import "./dist-BZXKWoES.js";
12
12
  import "./dist-CZq4mfrw.js";
@@ -1236,7 +1236,7 @@ const Events = {
1236
1236
  },
1237
1237
  fromInput: (e) => {
1238
1238
  let _ = e.target;
1239
- return _.tagName === "INPUT" || _.tagName === "TEXTAREA" || _.tagName.startsWith("MARIMO") || Events.fromCodeMirror(e);
1239
+ return _.tagName === "INPUT" || _.tagName === "TEXTAREA" || _.tagName.startsWith("MARIMO") || _.isContentEditable || Events.fromCodeMirror(e);
1240
1240
  },
1241
1241
  fromCodeMirror: (e) => e.target.closest(".cm-editor") !== null,
1242
1242
  shouldIgnoreKeyboardEvent(e) {
@@ -1,4 +1,4 @@
1
- import { N as createLucideIcon } from "./Combination-33P1MEPK.js";
1
+ import { N as createLucideIcon } from "./Combination-BOmAhdTT.js";
2
2
  var Check = createLucideIcon("check", [["path", {
3
3
  d: "M20 6 9 17l-5-5",
4
4
  key: "1gmf2c"
@@ -1,7 +1,7 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
- import { N as createLucideIcon } from "./Combination-33P1MEPK.js";
4
+ import { N as createLucideIcon } from "./Combination-BOmAhdTT.js";
5
5
  import { s as Logger } from "./hotkeys-C4e3s3sJ.js";
6
6
  require_compiler_runtime(), require_react();
7
7
  var TOAST_LIMIT = 1, TOAST_REMOVE_DELAY = 1e4, count = 0;
@@ -1,8 +1,8 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
- import { A as createContext2, E as Primitive, M as composeEventHandlers, O as createSlot, S as useId, _ as Arrow, b as createPopperScope, c as withSmartCollisionBoundary, d as Root$1, g as Anchor, h as Portal, i as useFocusGuards, j as createContextScope, k as createSlottable, m as Presence, n as hideOthers, p as useControllableState, r as FocusScope, s as withFullScreenAsRoot, t as Combination_default, u as StyleNamespace, v as Content$1, w as DismissableLayer, y as Root2$1 } from "./Combination-33P1MEPK.js";
5
- import { a as cva, c as useComposedRefs, n as buttonVariants, u as cn } from "./button-BlF-78eJ.js";
4
+ import { A as createContext2, E as Primitive, M as composeEventHandlers, O as createSlot, S as useId, _ as Arrow, b as createPopperScope, c as withSmartCollisionBoundary, d as Root$1, g as Anchor, h as Portal, i as useFocusGuards, j as createContextScope, k as createSlottable, m as Presence, n as hideOthers, p as useControllableState, r as FocusScope, s as withFullScreenAsRoot, t as Combination_default, u as StyleNamespace, v as Content$1, w as DismissableLayer, y as Root2$1 } from "./Combination-BOmAhdTT.js";
5
+ import { a as cva, c as useComposedRefs, n as buttonVariants, u as cn } from "./button-D6ZIdUA3.js";
6
6
  import { s as Logger } from "./hotkeys-C4e3s3sJ.js";
7
7
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
8
8
  import { P as object, R as string } from "./zod-LbXVxiL9.js";
@@ -1,11 +1,11 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-B5nooU3m.js";
5
- import { t as Check } from "./check-DDykH_Yi.js";
6
- import { l as Events, u as cn } from "./button-BlF-78eJ.js";
4
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-ACOJ1BXr.js";
5
+ import { t as Check } from "./check-S8ldILuD.js";
6
+ import { l as Events, u as cn } from "./button-D6ZIdUA3.js";
7
7
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
8
- import { l as Tooltip } from "./error-banner-UH0Nxilf.js";
8
+ import { l as Tooltip } from "./error-banner-BhqH4mGj.js";
9
9
  import { $ as ViewPlugin, A as indentString, At as RangeSet, B as tags, Bt as countColumn, C as foldKeymap, Ct as CharCategory, D as getIndentation, Dt as Facet, E as getIndentUnit, Et as EditorState, F as syntaxHighlighting, Ft as Text, H as NodeProp, Ht as fromCodePoint, I as syntaxTree, It as Transaction, J as parseMixed, Lt as codePointAt, N as matchBrackets, Nt as StateEffect, O as indentNodeProp, Pt as StateField, R as Tag, Rt as codePointSize, S as foldInside, St as ChangeSet, Tt as EditorSelection, Vt as findClusterBreak, X as Direction, Y as Decoration, Z as EditorView, _t as showPanel, a as HighlightStyle, bt as Annotation, ct as highlightActiveLineGutter, dt as keymap, et as WidgetType, f as StreamLanguage, ft as lineNumbers, g as defaultHighlightStyle, gt as runScopeHandlers, h as continuedIndent, ht as rectangularSelection, it as getPanel, j as indentUnit, jt as RangeSetBuilder, k as indentOnInput, kt as Prec, lt as highlightSpecialChars, mt as placeholder, n as ExternalTokenizer, nt as drawSelection, o as IndentContext, p as bracketMatching, pt as logException, r as LRParser, rt as dropCursor, s as LRLanguage, st as highlightActiveLine, t as ContextTracker, tt as crosshairCursor, u as LanguageSupport, ut as hoverTooltip, v as delimitedIndent, w as foldNodeProp, x as foldGutter, xt as ChangeDesc, yt as crelt, z as styleTags, zt as combineConfig } from "./dist-D7jHtwN8.js";
10
10
  import { a as closeBracketsKeymap, c as completionKeymap, f as snippetCompletion, i as closeBrackets, l as ifNotIn, r as autocompletion, s as completeFromList } from "./dist-g1p2PEVs.js";
11
11
  import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-DsOyFflT.js";
@@ -4,11 +4,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4
4
  import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
5
5
  import { t as require_react } from "./react-DdA8EBol.js";
6
6
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
7
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-B5nooU3m.js";
8
- import "./Combination-33P1MEPK.js";
9
- import { A as logNever, E as useOnMount, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, t as Label, u as SelectValue } from "./label-CACbEFdz.js";
10
- import { S as DropdownMenuSubTrigger, W as ErrorBoundary, b as DropdownMenuSub, fn as Trash, g as DropdownMenuItem, hn as Pencil, ht as capitalize_default, i as Input, m as DropdownMenuContent, mn as Plus, mt as marked, p as DropdownMenu, pt as useNonce, t as BulkEdit, v as DropdownMenuPortal, x as DropdownMenuSubContent, y as DropdownMenuSeparator } from "./types-BPXrSAML.js";
11
- import { l as Events, t as Button } from "./button-BlF-78eJ.js";
7
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-ACOJ1BXr.js";
8
+ import "./Combination-BOmAhdTT.js";
9
+ import { A as logNever, E as useOnMount, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, t as Label, u as SelectValue } from "./label-BaX2bLJa.js";
10
+ import { S as DropdownMenuSubTrigger, W as ErrorBoundary, b as DropdownMenuSub, fn as Trash, g as DropdownMenuItem, hn as Pencil, ht as capitalize_default, i as Input, m as DropdownMenuContent, mn as Plus, mt as marked, p as DropdownMenu, pt as useNonce, t as BulkEdit, v as DropdownMenuPortal, x as DropdownMenuSubContent, y as DropdownMenuSeparator } from "./types-BtvDfOR-.js";
11
+ import { l as Events, t as Button } from "./button-D6ZIdUA3.js";
12
12
  import { s as Logger } from "./hotkeys-C4e3s3sJ.js";
13
13
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
14
14
  import "./react-dom-DJW8xUDg.js";
@@ -1,9 +1,9 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
- import { C as useLayoutEffect2, E as Primitive$1, M as composeEventHandlers, N as createLucideIcon, O as createSlot$1, S as useId, T as useCallbackRef, _ as Arrow, b as createPopperScope, c as withSmartCollisionBoundary, f as VISUALLY_HIDDEN_STYLES, g as Anchor, h as Portal, i as useFocusGuards, j as createContextScope, n as hideOthers, p as useControllableState, r as FocusScope, s as withFullScreenAsRoot, t as Combination_default, u as StyleNamespace, v as Content, w as DismissableLayer, y as Root2$1 } from "./Combination-33P1MEPK.js";
5
- import { t as Check } from "./check-DDykH_Yi.js";
6
- import { a as cva, c as useComposedRefs, i as createSlot, l as Events, u as cn } from "./button-BlF-78eJ.js";
4
+ import { C as useLayoutEffect2, E as Primitive$1, M as composeEventHandlers, N as createLucideIcon, O as createSlot$1, S as useId, T as useCallbackRef, _ as Arrow, b as createPopperScope, c as withSmartCollisionBoundary, f as VISUALLY_HIDDEN_STYLES, g as Anchor, h as Portal, i as useFocusGuards, j as createContextScope, n as hideOthers, p as useControllableState, r as FocusScope, s as withFullScreenAsRoot, t as Combination_default, u as StyleNamespace, v as Content, w as DismissableLayer, y as Root2$1 } from "./Combination-BOmAhdTT.js";
5
+ import { t as Check } from "./check-S8ldILuD.js";
6
+ import { a as cva, c as useComposedRefs, i as createSlot, l as Events, u as cn } from "./button-D6ZIdUA3.js";
7
7
  import { s as Logger } from "./hotkeys-C4e3s3sJ.js";
8
8
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
9
9
  import { t as require_react_dom } from "./react-dom-DJW8xUDg.js";
package/dist/main.js CHANGED
@@ -4,21 +4,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4
4
  import { a as __toCommonJS, n as __esmMin, o as __toDynamicImportESM, r as __export$1, s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
5
5
  import { t as require_react } from "./react-DdA8EBol.js";
6
6
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
7
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-B5nooU3m.js";
7
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-ACOJ1BXr.js";
8
8
  import { h as require_cjs$1, i as Go$1, __tla as __tla_0 } from "./chunk-OGVTOU66-RMy3tlM6.js";
9
- import { C as useLayoutEffect2, D as dispatchDiscreteCustomEvent, E as Primitive$1, M as composeEventHandlers, N as createLucideIcon, O as createSlot, S as useId$12, T as useCallbackRef, _ as Arrow, a as __awaiter, b as createPopperScope, c as withSmartCollisionBoundary, d as Root$5, g as Anchor, h as Portal, i as useFocusGuards, j as createContextScope$1, l as isInVscodeExtension, m as Presence, n as hideOthers, o as MAX_HEIGHT_OFFSET, p as useControllableState, r as FocusScope, s as withFullScreenAsRoot, t as Combination_default, u as StyleNamespace, v as Content$3, w as DismissableLayer, x as useSize, y as Root2$6 } from "./Combination-33P1MEPK.js";
10
- import { A as Badge, B as ListFilter, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as $5a387cc49350e6db$export$722debc0e56fea39, H as ChartPie, I as Type, L as ToggleLeft, M as startCase_default, N as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, O as TIME_UNIT_DESCRIPTIONS, P as $fb18d541ea1ad717$export$ad991b66133851cf, R as Table$1, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, U as ChartColumn, V as Hash, W as Calendar, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as createReducerAndAtoms, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON, z as SquareFunction } from "./spec-BlMFtDSw.js";
11
- import { t as Check } from "./check-DDykH_Yi.js";
12
- import { A as logNever, B as ChevronDown, C as useDirection, D as useOnUnmount, E as useOnMount, F as $18f2051aff69b9bf$export$a54013f0d02a8f82, I as $b5e257d569688ac6$export$535bd6ca7f90a273, M as $a916eb452884faea$export$b7a616150fdb9f44, O as usePrevious, P as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, R as X, S as Trigger$5, T as clamp$2, _ as menuItemVariants, a as SelectGroup, b as menuSubTriggerVariants, c as SelectSeparator, d as NativeSelect, f as selectStyles, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, k as assertNever, l as SelectTrigger, m as menuContentCommon, n as Primitive, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, s as SelectLabel, t as Label, u as SelectValue, v as menuLabelVariants, w as createCollection, x as Icon, y as menuSeparatorVariants } from "./label-CACbEFdz.js";
13
- import { $ as $514c0188e459b4c0$export$9afb8bc826b033ea, $t as $7215afc6de606d6b$export$de79e2c695e052f3, A as ItemIndicator, At as $6db58dc88e78b024$export$2f817fcdc4b89ae0, B as createMenuScope, Bt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, C as DropdownMenuTrigger, Ct as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, D as Content2$3, Dt as $6c7bd7858deea686$export$cd11ab140839f11d, E as CheckboxItem, Et as $701a24aa0da5b062$export$ea18c227d4417cc3, F as Root3, Ft as $507fabe10e71c6fb$export$630ff653c5ada6a9, G as $3985021b0ad6602f$export$37fb8590cf2c088c, Gt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, H as Root$6, Ht as $b4b717babfbb907b$export$bebd5a1431fec25d, I as Separator, It as $f6c31cce2adf654f$export$45712eceda6fad21, J as $a049562f99e7db0e$export$f9c6924e160136d1, Jt as $c87311424ea30a05$export$6446a186d09e379e, K as $3985021b0ad6602f$export$f5b8910cec6cf069, Kt as $df56164dff5785e2$export$4338b53315abf666, L as Sub, Lt as _class_private_field_init, M as Portal$2, Mt as $6179b936705e76d3$export$ae780daf29e6d456, N as RadioGroup$2, Nt as $9ab94262bd0047c7$export$420e68273165f4ec, O as Group$1, Ot as $fca6afa0e843324b$export$87b761675e8eaa10, P as RadioItem, Pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, Q as $514c0188e459b4c0$export$5f1af8db9871e1d6, Qt as $c87311424ea30a05$export$fedb369cb70207f1, R as SubContent, Rt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, S as DropdownMenuSubTrigger, St as $e5be200c675c3b3a$export$dad6ae84456c676a, T as Arrow2, Tt as $f7dceffc5ad7768b$export$4e328f61c538687f, U as createRovingFocusGroupScope, Ut as $99facab73266f662$export$5add1d006293d136, V as Item$2, Vt as $b4b717babfbb907b$export$4c063cf1350e6fed, W as ErrorBoundary, Wt as $e9faafb641e167db$export$90fc3a17d93f704c, X as $ee014567cb39d3f0$export$f551688fc98f2e09, Xt as $c87311424ea30a05$export$9ac100e40613ea10, Y as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Yt as $c87311424ea30a05$export$78551043582a6a98, Z as $ee014567cb39d3f0$export$ff05c3ac10437e03, Zt as $c87311424ea30a05$export$a11b0059900ceec8, _ as DropdownMenuLabel, _n as ChevronRight, _t as $2baaea4c71418dea$export$294aa081a6c6f55d, a as OnBlurredInput, an as $f4e2df6bd15f8569$export$98658e8c59125e6a, at as $64fa3d84918910a7$export$2881499e37b75b9a, b as DropdownMenuSub, bt as $e5be200c675c3b3a$export$a763b9476acd3eb, c as NumberField, cn as $ff5963eb1fccf552$export$e08e3b67e392101e, ct as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, d as prettyNumber, dn as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, dt as $64fa3d84918910a7$export$ef03459518577ad4, en as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, et as $d2b4bc8c273e7be6$export$24d547caef80ccd1, f as prettyScientificNumber, fn as Trash, ft as $64fa3d84918910a7$export$fabf2dc03a41866e, g as DropdownMenuItem, gn as Circle, gt as $d2e8511e6f209edf$export$e908e06f4b8e3402, h as DropdownMenuGroup, hn as Pencil, ht as capitalize_default, i as Input, in as $d4ee10de306f2510$export$e58f029f0fbfdb29, it as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, j as Label$2, jt as $5b160d28a433310d$export$c17fa47878dc55b6, k as Item2$2, kt as $fca6afa0e843324b$export$f12b703ca79dfbb1, l as maxFractionalDigits, ln as $bdb11010cef70236$export$b4cc09c592e8fdb8, lt as $64fa3d84918910a7$export$c245e6201fed2f75, m as DropdownMenuContent, mn as Plus, mt as marked, n as DebouncedInput, nn as $d4ee10de306f2510$export$4282f70798064fe0, nt as $01b77f81d0f07f68$export$75b6ee27786ba447, o as useDebounceControlledState, on as $431fbd86ca7dc216$export$b204af158042fbac, ot as $64fa3d84918910a7$export$29f1550f4b0d4415, p as DropdownMenu, pn as Search, pt as useNonce, q as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, qt as $313b98861ee5dd6c$export$d6875122194c7b44, r as DebouncedNumberInput, rn as $d4ee10de306f2510$export$cd4e5573fbe2b576, rt as $01b77f81d0f07f68$export$b04be29aa201d4f5, s as useDebouncedCallback, sn as $431fbd86ca7dc216$export$f21a1ffae260145a, st as $64fa3d84918910a7$export$4d86445c2cf5e3, t as BulkEdit, tn as $3ef42575df84b30b$export$9d1611c77c2fe928, tt as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, u as prettyEngineeringNumber, un as $bdb11010cef70236$export$f680877a34711e37, ut as $64fa3d84918910a7$export$c62b8e45d58ddad9, v as DropdownMenuPortal, vt as $e93e671b31057976$export$b8473d3665f3a75a, w as Anchor2, wt as $319e236875307eab$export$a9b970dcc4ae71a9, x as DropdownMenuSubContent, xt as $e5be200c675c3b3a$export$aca958c65c314e6c, y as DropdownMenuSeparator, yt as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, z as SubTrigger, zt as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./types-BPXrSAML.js";
14
- import { S as CircleQuestionMark, _ as isUrl, a as AlertTitle, b as Deferred, c as constructFrom, d as millisecondsInMinute, f as millisecondsInSecond, g as appendQueryParams, h as getRuntimeManager, i as AlertDescription, l as millisecondsInDay, m as asRemoteURL, n as arrow, o as isValid$1, p as millisecondsInWeek, r as Alert, s as toDate, t as useDeepCompareMemoize, u as millisecondsInHour, v as require_cuid2, x as isWasm, y as waitForConnectionOpen } from "./useDeepCompareMemoize-1wVjsLov.js";
9
+ import { C as useLayoutEffect2, D as dispatchDiscreteCustomEvent, E as Primitive$1, M as composeEventHandlers, N as createLucideIcon, O as createSlot, S as useId$12, T as useCallbackRef, _ as Arrow, a as __awaiter, b as createPopperScope, c as withSmartCollisionBoundary, d as Root$5, g as Anchor, h as Portal, i as useFocusGuards, j as createContextScope$1, l as isInVscodeExtension, m as Presence, n as hideOthers, o as MAX_HEIGHT_OFFSET, p as useControllableState, r as FocusScope, s as withFullScreenAsRoot, t as Combination_default, u as StyleNamespace, v as Content$3, w as DismissableLayer, x as useSize, y as Root2$6 } from "./Combination-BOmAhdTT.js";
10
+ import { A as Badge, B as ListFilter, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as $5a387cc49350e6db$export$722debc0e56fea39, H as ChartPie, I as Type, L as ToggleLeft, M as startCase_default, N as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, O as TIME_UNIT_DESCRIPTIONS, P as $fb18d541ea1ad717$export$ad991b66133851cf, R as Table$1, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, U as ChartColumn, V as Hash, W as Calendar, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as createReducerAndAtoms, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON, z as SquareFunction } from "./spec-BY974nhI.js";
11
+ import { t as Check } from "./check-S8ldILuD.js";
12
+ import { A as logNever, B as ChevronDown, C as useDirection, D as useOnUnmount, E as useOnMount, F as $18f2051aff69b9bf$export$a54013f0d02a8f82, I as $b5e257d569688ac6$export$535bd6ca7f90a273, M as $a916eb452884faea$export$b7a616150fdb9f44, O as usePrevious, P as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, R as X, S as Trigger$5, T as clamp$2, _ as menuItemVariants, a as SelectGroup, b as menuSubTriggerVariants, c as SelectSeparator, d as NativeSelect, f as selectStyles, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, k as assertNever, l as SelectTrigger, m as menuContentCommon, n as Primitive, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, s as SelectLabel, t as Label, u as SelectValue, v as menuLabelVariants, w as createCollection, x as Icon, y as menuSeparatorVariants } from "./label-BaX2bLJa.js";
13
+ import { $ as $514c0188e459b4c0$export$9afb8bc826b033ea, $t as $7215afc6de606d6b$export$de79e2c695e052f3, A as ItemIndicator, At as $6db58dc88e78b024$export$2f817fcdc4b89ae0, B as createMenuScope, Bt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, C as DropdownMenuTrigger, Ct as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, D as Content2$3, Dt as $6c7bd7858deea686$export$cd11ab140839f11d, E as CheckboxItem, Et as $701a24aa0da5b062$export$ea18c227d4417cc3, F as Root3, Ft as $507fabe10e71c6fb$export$630ff653c5ada6a9, G as $3985021b0ad6602f$export$37fb8590cf2c088c, Gt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, H as Root$6, Ht as $b4b717babfbb907b$export$bebd5a1431fec25d, I as Separator, It as $f6c31cce2adf654f$export$45712eceda6fad21, J as $a049562f99e7db0e$export$f9c6924e160136d1, Jt as $c87311424ea30a05$export$6446a186d09e379e, K as $3985021b0ad6602f$export$f5b8910cec6cf069, Kt as $df56164dff5785e2$export$4338b53315abf666, L as Sub, Lt as _class_private_field_init, M as Portal$2, Mt as $6179b936705e76d3$export$ae780daf29e6d456, N as RadioGroup$2, Nt as $9ab94262bd0047c7$export$420e68273165f4ec, O as Group$1, Ot as $fca6afa0e843324b$export$87b761675e8eaa10, P as RadioItem, Pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, Q as $514c0188e459b4c0$export$5f1af8db9871e1d6, Qt as $c87311424ea30a05$export$fedb369cb70207f1, R as SubContent, Rt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, S as DropdownMenuSubTrigger, St as $e5be200c675c3b3a$export$dad6ae84456c676a, T as Arrow2, Tt as $f7dceffc5ad7768b$export$4e328f61c538687f, U as createRovingFocusGroupScope, Ut as $99facab73266f662$export$5add1d006293d136, V as Item$2, Vt as $b4b717babfbb907b$export$4c063cf1350e6fed, W as ErrorBoundary, Wt as $e9faafb641e167db$export$90fc3a17d93f704c, X as $ee014567cb39d3f0$export$f551688fc98f2e09, Xt as $c87311424ea30a05$export$9ac100e40613ea10, Y as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Yt as $c87311424ea30a05$export$78551043582a6a98, Z as $ee014567cb39d3f0$export$ff05c3ac10437e03, Zt as $c87311424ea30a05$export$a11b0059900ceec8, _ as DropdownMenuLabel, _n as ChevronRight, _t as $2baaea4c71418dea$export$294aa081a6c6f55d, a as OnBlurredInput, an as $f4e2df6bd15f8569$export$98658e8c59125e6a, at as $64fa3d84918910a7$export$2881499e37b75b9a, b as DropdownMenuSub, bt as $e5be200c675c3b3a$export$a763b9476acd3eb, c as NumberField, cn as $ff5963eb1fccf552$export$e08e3b67e392101e, ct as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, d as prettyNumber, dn as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, dt as $64fa3d84918910a7$export$ef03459518577ad4, en as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, et as $d2b4bc8c273e7be6$export$24d547caef80ccd1, f as prettyScientificNumber, fn as Trash, ft as $64fa3d84918910a7$export$fabf2dc03a41866e, g as DropdownMenuItem, gn as Circle, gt as $d2e8511e6f209edf$export$e908e06f4b8e3402, h as DropdownMenuGroup, hn as Pencil, ht as capitalize_default, i as Input, in as $d4ee10de306f2510$export$e58f029f0fbfdb29, it as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, j as Label$2, jt as $5b160d28a433310d$export$c17fa47878dc55b6, k as Item2$2, kt as $fca6afa0e843324b$export$f12b703ca79dfbb1, l as maxFractionalDigits, ln as $bdb11010cef70236$export$b4cc09c592e8fdb8, lt as $64fa3d84918910a7$export$c245e6201fed2f75, m as DropdownMenuContent, mn as Plus, mt as marked, n as DebouncedInput, nn as $d4ee10de306f2510$export$4282f70798064fe0, nt as $01b77f81d0f07f68$export$75b6ee27786ba447, o as useDebounceControlledState, on as $431fbd86ca7dc216$export$b204af158042fbac, ot as $64fa3d84918910a7$export$29f1550f4b0d4415, p as DropdownMenu, pn as Search, pt as useNonce, q as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, qt as $313b98861ee5dd6c$export$d6875122194c7b44, r as DebouncedNumberInput, rn as $d4ee10de306f2510$export$cd4e5573fbe2b576, rt as $01b77f81d0f07f68$export$b04be29aa201d4f5, s as useDebouncedCallback, sn as $431fbd86ca7dc216$export$f21a1ffae260145a, st as $64fa3d84918910a7$export$4d86445c2cf5e3, t as BulkEdit, tn as $3ef42575df84b30b$export$9d1611c77c2fe928, tt as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, u as prettyEngineeringNumber, un as $bdb11010cef70236$export$f680877a34711e37, ut as $64fa3d84918910a7$export$c62b8e45d58ddad9, v as DropdownMenuPortal, vt as $e93e671b31057976$export$b8473d3665f3a75a, w as Anchor2, wt as $319e236875307eab$export$a9b970dcc4ae71a9, x as DropdownMenuSubContent, xt as $e5be200c675c3b3a$export$aca958c65c314e6c, y as DropdownMenuSeparator, yt as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, z as SubTrigger, zt as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./types-BtvDfOR-.js";
14
+ import { S as CircleQuestionMark, _ as isUrl, a as AlertTitle, b as Deferred, c as constructFrom, d as millisecondsInMinute, f as millisecondsInSecond, g as appendQueryParams, h as getRuntimeManager, i as AlertDescription, l as millisecondsInDay, m as asRemoteURL, n as arrow, o as isValid$1, p as millisecondsInWeek, r as Alert, s as toDate, t as useDeepCompareMemoize, u as millisecondsInHour, v as require_cuid2, x as isWasm, y as waitForConnectionOpen } from "./useDeepCompareMemoize-Ci6rXZ_K.js";
15
15
  import { n as clsx_default } from "./clsx-D2KVTYnW.js";
16
- import { a as cva, c as useComposedRefs, l as Events, n as buttonVariants, o as useEventListener, r as Slot$1, s as composeRefs, t as Button, u as cn } from "./button-BlF-78eJ.js";
16
+ import { a as cva, c as useComposedRefs, l as Events, n as buttonVariants, o as useEventListener, r as Slot$1, s as composeRefs, t as Button, u as cn } from "./button-D6ZIdUA3.js";
17
17
  import { c as Functions, i as parseShortcut, l as throwNotImplemented, o as Objects, r as isPlatformMac, s as Logger, t as NOT_SET } from "./hotkeys-C4e3s3sJ.js";
18
18
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
19
19
  import { t as require_react_dom } from "./react-dom-DJW8xUDg.js";
20
- import { a as Portal$3, c as prettyError, d as TooltipPortal, f as TooltipProvider, h as TooltipProvider$1, i as Overlay, l as Tooltip, m as TooltipTrigger, n as ErrorBanner, o as Root$7, p as TooltipRoot, r as Content$4, s as CellNotInitializedError, t as Banner, u as TooltipContent } from "./error-banner-UH0Nxilf.js";
21
- import { a as _extends$5, c as setDiagnostics, d as CopyClipboardIcon, i as minimalSetup, l as historyField, o as forEachDiagnostic, r as esm_default, s as linter, t as langs, u as insertTab } from "./esm-D197NGQX.js";
20
+ import { a as Portal$3, c as prettyError, d as TooltipPortal, f as TooltipProvider, h as TooltipProvider$1, i as Overlay, l as Tooltip, m as TooltipTrigger, n as ErrorBanner, o as Root$7, p as TooltipRoot, r as Content$4, s as CellNotInitializedError, t as Banner, u as TooltipContent } from "./error-banner-BhqH4mGj.js";
21
+ import { a as _extends$5, c as setDiagnostics, d as CopyClipboardIcon, i as minimalSetup, l as historyField, o as forEachDiagnostic, r as esm_default, s as linter, t as langs, u as insertTab } from "./esm-DOBJQbuy.js";
22
22
  import { t as purify } from "./purify.es-Brw-U87Q.js";
23
23
  import { C as buildStore, _ as useAtom, a as getResolvedMarimoConfig, b as useStore, c as AppConfigSchema, d as useJotaiEffect, g as Provider, h as useEvent_default, i as autoInstantiateAtom, l as createDeepEqualAtom, m as isEqual_default, n as useTheme, o as localeAtom, p as isIslands, r as aiEnabledAtom, s as useResolvedMarimoConfig, t as resolvedThemeAtom, u as store, v as useAtomValue, w as getBuildingBlocks, x as atom, y as useSetAtom } from "./useTheme-DdLjooMf.js";
24
24
  import { $ as ViewPlugin, At as RangeSet, B as tags$1, Dt as Facet$1, E as getIndentUnit, Et as EditorState, Ft as Text$2, I as syntaxTree, It as Transaction, J as parseMixed, L as unfoldAll, Nt as StateEffect, Pt as StateField, Q as GutterMarker, S as foldInside, Tt as EditorSelection, Y as Decoration, Z as EditorView, _t as showPanel, b as foldAll, bt as Annotation, dt as keymap, et as WidgetType, f as StreamLanguage, kt as Prec, l as LanguageDescription, mt as placeholder, ot as gutter, u as LanguageSupport, ut as hoverTooltip, vt as showTooltip, w as foldNodeProp, wt as Compartment } from "./dist-D7jHtwN8.js";
@@ -58039,7 +58039,7 @@ Database schema: ${c}`), (_a3 = r2.aiFix) == null ? void 0 : _a3.setAiCompletion
58039
58039
  hasConsoleOutput: (_ == null ? void 0 : _.consoleOutputs) != null
58040
58040
  };
58041
58041
  }
58042
- const LazyAnyLanguageCodeMirror = (0, import_react.lazy)(() => import("./any-language-editor-Bda9cY1_.js"));
58042
+ const LazyAnyLanguageCodeMirror = (0, import_react.lazy)(() => import("./any-language-editor-vYraVrwE.js"));
58043
58043
  var import_compiler_runtime$112 = require_compiler_runtime(), extensions = [
58044
58044
  EditorView.lineWrapping
58045
58045
  ], SUPPORTED_LANGUAGES = /* @__PURE__ */ new Set([
@@ -72100,7 +72100,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
72100
72100
  function getVegaFieldTypes(e) {
72101
72101
  return !e || Object.keys(e).length === 0 ? "auto" : Objects.mapValues(e, (e2) => e2 === "date" || e2 === "time" ? "string" : e2 === "datetime" ? "date" : e2);
72102
72102
  }
72103
- var import_compiler_runtime$84 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-Ciz7NmAf.js").then(async (m2) => {
72103
+ var import_compiler_runtime$84 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-CmGweudS.js").then(async (m2) => {
72104
72104
  await m2.__tla;
72105
72105
  return m2;
72106
72106
  }));
@@ -83758,7 +83758,7 @@ ${c}
83758
83758
  fullWidth: v,
83759
83759
  children: z
83760
83760
  }), r[19] = v, r[20] = y, r[21] = c, r[22] = z, r[23] = G) : G = r[23], G;
83761
- }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-CfcCqsSs.js"));
83761
+ }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-NOmLZzDZ.js"));
83762
83762
  const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object$1({
83763
83763
  label: string$2().nullish(),
83764
83764
  data: string$2()
@@ -94080,7 +94080,7 @@ ${c}
94080
94080
  return true;
94081
94081
  }
94082
94082
  }
94083
- var LazyVegaComponent = import_react.lazy(() => import("./vega-component-BGTsperM.js")), VegaPlugin = class {
94083
+ var LazyVegaComponent = import_react.lazy(() => import("./vega-component-7FCbq3L9.js")), VegaPlugin = class {
94084
94084
  constructor() {
94085
94085
  __publicField(this, "tagName", "marimo-vega");
94086
94086
  __publicField(this, "validator", object$1({
@@ -94220,7 +94220,7 @@ ${c}
94220
94220
  children: e.children
94221
94221
  });
94222
94222
  }
94223
- }, LazySlidesComponent$1 = import_react.lazy(() => import("./slides-component-CJJp5XN4.js"));
94223
+ }, LazySlidesComponent$1 = import_react.lazy(() => import("./slides-component-BHWhzwDN.js"));
94224
94224
  const DownloadPlugin = createPlugin("marimo-download").withData(object$1({
94225
94225
  data: string$2(),
94226
94226
  disabled: boolean$2().default(false),
@@ -100661,7 +100661,7 @@ Defaulting to \`null\`.`;
100661
100661
  cells: []
100662
100662
  })
100663
100663
  };
100664
- var import_compiler_runtime$8 = require_compiler_runtime(), LazySlidesComponent = import_react.lazy(() => import("./slides-component-CJJp5XN4.js"));
100664
+ var import_compiler_runtime$8 = require_compiler_runtime(), LazySlidesComponent = import_react.lazy(() => import("./slides-component-BHWhzwDN.js"));
100665
100665
  const SlidesLayoutRenderer = (e) => {
100666
100666
  let r = (0, import_compiler_runtime$8.c)(11), { cells: c, mode: d } = e, f = d === "read", h;
100667
100667
  if (r[0] !== c || r[1] !== d) {
@@ -100903,7 +100903,7 @@ Defaulting to \`null\`.`;
100903
100903
  }
100904
100904
  var import_compiler_runtime$6 = require_compiler_runtime();
100905
100905
  const NameCellContentEditable = (e) => {
100906
- let r = (0, import_compiler_runtime$6.c)(13), { value: c, cellId: d, className: f } = e, { updateCellName: h } = useCellActions(), _;
100906
+ let r = (0, import_compiler_runtime$6.c)(12), { value: c, cellId: d, className: f } = e, { updateCellName: h } = useCellActions(), _;
100907
100907
  r[0] !== d || r[1] !== h ? (_ = (e2) => h({
100908
100908
  cellId: d,
100909
100909
  name: e2
@@ -100912,22 +100912,20 @@ Defaulting to \`null\`.`;
100912
100912
  if (isInternalCellName(c)) return null;
100913
100913
  let y = v.focusing ? "" : "text-ellipsis", S;
100914
100914
  r[3] !== f || r[4] !== y ? (S = cn("outline-hidden border hover:border-cyan-500/40 focus:border-cyan-500/40", y, f), r[3] = f, r[4] = y, r[5] = S) : S = r[5];
100915
- let w = v.onChange, E = v.onBlur, O = v.onFocus, M;
100916
- r[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = Events.onEnter(_temp$3), r[6] = M) : M = r[6];
100917
- let I;
100918
- return r[7] !== v.onBlur || r[8] !== v.onChange || r[9] !== v.onFocus || r[10] !== S || r[11] !== c ? (I = (0, import_jsx_runtime.jsx)(Tooltip, {
100915
+ let w;
100916
+ return r[6] !== v.onBlur || r[7] !== v.onChange || r[8] !== v.onFocus || r[9] !== S || r[10] !== c ? (w = (0, import_jsx_runtime.jsx)(Tooltip, {
100919
100917
  content: "Click to rename",
100920
100918
  children: (0, import_jsx_runtime.jsx)("span", {
100921
100919
  className: S,
100922
100920
  contentEditable: true,
100923
100921
  suppressContentEditableWarning: true,
100924
- onChange: w,
100925
- onBlur: E,
100926
- onFocus: O,
100927
- onKeyDown: M,
100922
+ onChange: v.onChange,
100923
+ onBlur: v.onBlur,
100924
+ onFocus: v.onFocus,
100925
+ onKeyDown: _temp$3,
100928
100926
  children: c
100929
100927
  })
100930
- }), r[7] = v.onBlur, r[8] = v.onChange, r[9] = v.onFocus, r[10] = S, r[11] = c, r[12] = I) : I = r[12], I;
100928
+ }), r[6] = v.onBlur, r[7] = v.onChange, r[8] = v.onFocus, r[9] = S, r[10] = c, r[11] = w) : w = r[11], w;
100931
100929
  };
100932
100930
  function useCellNameInput(e, r) {
100933
100931
  let [c, d] = (0, import_react.useState)(e), [f, h] = (0, import_react.useState)(false), _ = (c2) => {
@@ -100958,7 +100956,7 @@ Defaulting to \`null\`.`;
100958
100956
  };
100959
100957
  }
100960
100958
  function _temp$3(e) {
100961
- e.target instanceof HTMLElement && e.target.blur();
100959
+ e.stopPropagation(), e.key === "Enter" && e.target instanceof HTMLElement && e.target.blur();
100962
100960
  }
100963
100961
  var import_compiler_runtime$5 = require_compiler_runtime(), wrapTextAtom = atomWithStorage("marimo:console:wrapText", false, jotaiJsonStorage);
100964
100962
  function useWrapText() {
@@ -101159,7 +101157,7 @@ Defaulting to \`null\`.`;
101159
101157
  return Logger.warn("Failed to get version from mount config"), null;
101160
101158
  }
101161
101159
  }
101162
- const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.19.3-dev27"), showCodeInRunModeAtom = atom(true);
101160
+ const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.19.3-dev28"), showCodeInRunModeAtom = atom(true);
101163
101161
  atom(null);
101164
101162
  var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
101165
101163
  constructor() {
@@ -1,7 +1,7 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
- import { o as useEventListener, t as Button, u as cn } from "./button-BlF-78eJ.js";
4
+ import { o as useEventListener, t as Button, u as cn } from "./button-D6ZIdUA3.js";
5
5
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
6
6
  import { t as useIframeCapabilities } from "./useIframeCapabilities-BsIPDupA.js";
7
7
  var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
@@ -1,9 +1,9 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
- import { N as createLucideIcon } from "./Combination-33P1MEPK.js";
5
- import { A as logNever, P as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, j as upperFirst_default } from "./label-CACbEFdz.js";
6
- import { a as cva, u as cn } from "./button-BlF-78eJ.js";
4
+ import { N as createLucideIcon } from "./Combination-BOmAhdTT.js";
5
+ import { A as logNever, P as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, j as upperFirst_default } from "./label-BaX2bLJa.js";
6
+ import { a as cva, u as cn } from "./button-D6ZIdUA3.js";
7
7
  import { s as Logger } from "./hotkeys-C4e3s3sJ.js";
8
8
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
9
9
  import { x as atom, y as useSetAtom } from "./useTheme-DdLjooMf.js";
@@ -5,11 +5,11 @@ var _a;
5
5
  import { s as __toESM } from "./chunk-BNovOVIE.js";
6
6
  import { t as require_react } from "./react-DdA8EBol.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
8
- import { D as dispatchDiscreteCustomEvent, E as Primitive, M as composeEventHandlers, N as createLucideIcon, O as createSlot, S as useId, T as useCallbackRef, _ as Arrow, b as createPopperScope, c as withSmartCollisionBoundary, g as Anchor, h as Portal, i as useFocusGuards, j as createContextScope, m as Presence, n as hideOthers, o as MAX_HEIGHT_OFFSET, p as useControllableState, r as FocusScope, s as withFullScreenAsRoot, t as Combination_default, u as StyleNamespace, v as Content, w as DismissableLayer, y as Root2$1 } from "./Combination-33P1MEPK.js";
9
- import { t as Check } from "./check-DDykH_Yi.js";
10
- import { B as ChevronDown, C as useDirection, L as $b5e257d569688ac6$export$619500959fc48b26, M as $a916eb452884faea$export$b7a616150fdb9f44, N as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, P as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, R as X, _ as menuItemVariants, b as menuSubTriggerVariants, g as menuControlVariants, h as menuControlCheckVariants, j as upperFirst_default, m as menuContentCommon, v as menuLabelVariants, w as createCollection, y as menuSeparatorVariants, z as ChevronUp } from "./label-CACbEFdz.js";
8
+ import { D as dispatchDiscreteCustomEvent, E as Primitive, M as composeEventHandlers, N as createLucideIcon, O as createSlot, S as useId, T as useCallbackRef, _ as Arrow, b as createPopperScope, c as withSmartCollisionBoundary, g as Anchor, h as Portal, i as useFocusGuards, j as createContextScope, m as Presence, n as hideOthers, o as MAX_HEIGHT_OFFSET, p as useControllableState, r as FocusScope, s as withFullScreenAsRoot, t as Combination_default, u as StyleNamespace, v as Content, w as DismissableLayer, y as Root2$1 } from "./Combination-BOmAhdTT.js";
9
+ import { t as Check } from "./check-S8ldILuD.js";
10
+ import { B as ChevronDown, C as useDirection, L as $b5e257d569688ac6$export$619500959fc48b26, M as $a916eb452884faea$export$b7a616150fdb9f44, N as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, P as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, R as X, _ as menuItemVariants, b as menuSubTriggerVariants, g as menuControlVariants, h as menuControlCheckVariants, j as upperFirst_default, m as menuContentCommon, v as menuLabelVariants, w as createCollection, y as menuSeparatorVariants, z as ChevronUp } from "./label-BaX2bLJa.js";
11
11
  import { n as clsx_default } from "./clsx-D2KVTYnW.js";
12
- import { c as useComposedRefs, l as Events, s as composeRefs, t as Button, u as cn } from "./button-BlF-78eJ.js";
12
+ import { c as useComposedRefs, l as Events, s as composeRefs, t as Button, u as cn } from "./button-D6ZIdUA3.js";
13
13
  import { s as Logger } from "./hotkeys-C4e3s3sJ.js";
14
14
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
15
15
  import { t as require_react_dom } from "./react-dom-DJW8xUDg.js";
@@ -4,8 +4,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4
4
  import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
5
5
  import { t as require_react } from "./react-DdA8EBol.js";
6
6
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
7
- import { N as createLucideIcon } from "./Combination-33P1MEPK.js";
8
- import { a as cva, u as cn } from "./button-BlF-78eJ.js";
7
+ import { N as createLucideIcon } from "./Combination-BOmAhdTT.js";
8
+ import { a as cva, u as cn } from "./button-D6ZIdUA3.js";
9
9
  import { s as Logger } from "./hotkeys-C4e3s3sJ.js";
10
10
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
11
11
  import { f as waitFor, p as isIslands, u as store, x as atom } from "./useTheme-DdLjooMf.js";
@@ -1,13 +1,13 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
- import "./Combination-33P1MEPK.js";
5
- import { S as CircleQuestionMark, a as AlertTitle, m as asRemoteURL, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-1wVjsLov.js";
6
- import { l as Events } from "./button-BlF-78eJ.js";
4
+ import "./Combination-BOmAhdTT.js";
5
+ import { S as CircleQuestionMark, a as AlertTitle, m as asRemoteURL, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-Ci6rXZ_K.js";
6
+ import { l as Events } from "./button-D6ZIdUA3.js";
7
7
  import { o as Objects, s as Logger } from "./hotkeys-C4e3s3sJ.js";
8
8
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
9
9
  import "./react-dom-DJW8xUDg.js";
10
- import { l as Tooltip, n as ErrorBanner } from "./error-banner-UH0Nxilf.js";
10
+ import { l as Tooltip, n as ErrorBanner } from "./error-banner-BhqH4mGj.js";
11
11
  import { h as useEvent_default, n as useTheme } from "./useTheme-DdLjooMf.js";
12
12
  import { t as _baseUniq_default } from "./_baseUniq-BUGws47x.js";
13
13
  import { i as debounce_default } from "./constants-DuN_eoAL.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/islands",
3
- "version": "0.19.3-dev27",
3
+ "version": "0.19.3-dev28",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -93,11 +93,17 @@ export const NameCellContentEditable: React.FC<{
93
93
  onChange={inputProps.onChange}
94
94
  onBlur={inputProps.onBlur}
95
95
  onFocus={inputProps.onFocus}
96
- onKeyDown={Events.onEnter((e) => {
97
- if (e.target instanceof HTMLElement) {
98
- e.target.blur();
96
+ onKeyDown={(e) => {
97
+ // Prevent all key presses from triggering hotkeys
98
+ e.stopPropagation();
99
+
100
+ // On Enter, blur the input to commit the change
101
+ if (e.key === "Enter") {
102
+ if (e.target instanceof HTMLElement) {
103
+ e.target.blur();
104
+ }
99
105
  }
100
- })}
106
+ }}
101
107
  >
102
108
  {value}
103
109
  </span>
@@ -42,6 +42,7 @@ export const Events = {
42
42
  target.tagName === "INPUT" ||
43
43
  target.tagName === "TEXTAREA" ||
44
44
  target.tagName.startsWith("MARIMO") ||
45
+ target.isContentEditable ||
45
46
  Events.fromCodeMirror(e)
46
47
  );
47
48
  },