@marimo-team/islands 0.19.3-dev24 → 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.
- package/dist/{Combination-33P1MEPK.js → Combination-BOmAhdTT.js} +1 -1
- package/dist/{ConnectedDataExplorerComponent-BIfUtj_S.js → ConnectedDataExplorerComponent-NOmLZzDZ.js} +5 -5
- package/dist/{any-language-editor-Bda9cY1_.js → any-language-editor-vYraVrwE.js} +3 -3
- package/dist/{button-BlF-78eJ.js → button-D6ZIdUA3.js} +1 -1
- package/dist/{check-DDykH_Yi.js → check-S8ldILuD.js} +1 -1
- package/dist/{copy-B5nooU3m.js → copy-ACOJ1BXr.js} +1 -1
- package/dist/{error-banner-UH0Nxilf.js → error-banner-BhqH4mGj.js} +2 -2
- package/dist/{esm-D197NGQX.js → esm-DOBJQbuy.js} +4 -4
- package/dist/{glide-data-editor-Bv8bVIJ9.js → glide-data-editor-CmGweudS.js} +5 -5
- package/dist/{label-oKuiQuiM.js → label-BaX2bLJa.js} +4 -4
- package/dist/main.js +115 -119
- package/dist/{slides-component-CJJp5XN4.js → slides-component-BHWhzwDN.js} +1 -1
- package/dist/{spec-hsYzGr6F.js → spec-BY974nhI.js} +3 -3
- package/dist/{types-DEmfj_i8.js → types-BtvDfOR-.js} +293 -254
- package/dist/{useDeepCompareMemoize-1wVjsLov.js → useDeepCompareMemoize-Ci6rXZ_K.js} +2 -2
- package/dist/{vega-component-BGTsperM.js → vega-component-7FCbq3L9.js} +4 -4
- package/package.json +3 -3
- package/src/components/editor/actions/name-cell-input.tsx +10 -4
- package/src/utils/events.ts +1 -0
|
@@ -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-
|
|
8
|
-
import { a as cva, u as cn } from "./button-
|
|
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-
|
|
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-
|
|
6
|
-
import { l as Events } from "./button-
|
|
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-
|
|
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-
|
|
3
|
+
"version": "0.19.3-dev28",
|
|
4
4
|
"main": "dist/main.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
"plotly.js": "^2.35.3",
|
|
147
147
|
"pyodide": "0.27.7",
|
|
148
148
|
"react-arborist": "^3.4.3",
|
|
149
|
-
"react-aria": "^3.
|
|
150
|
-
"react-aria-components": "^1.
|
|
149
|
+
"react-aria": "^3.45.0",
|
|
150
|
+
"react-aria-components": "^1.14.0",
|
|
151
151
|
"react-codemirror-merge": "4.25.4",
|
|
152
152
|
"react-dnd": "^16.0.1",
|
|
153
153
|
"react-dnd-html5-backend": "^16.0.1",
|
|
@@ -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={
|
|
97
|
-
|
|
98
|
-
|
|
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>
|