@knime/kds-code-editor 6.3.0 → 6.3.1
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/CHANGELOG.md +10 -0
- package/README.md +11 -5
- package/dist/assets/{editor.worker-CLAZlRUj.js.map → editor.worker-e3drisr8.js.map} +1 -1
- package/dist/assets/{json.worker-CWsWF5cb.js.map → json.worker-BxEEOmOS.js.map} +1 -1
- package/dist/{editor.worker-CtYtPH8e.js → editor.worker-BaqEYUwK.js} +3 -3
- package/dist/editor.worker-BaqEYUwK.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/{json.worker-B5MqtfsC.js → json.worker-CzwQ13T2.js} +3 -3
- package/dist/json.worker-CzwQ13T2.js.map +1 -0
- package/package.json +3 -3
- package/patches/monaco-editor@0.55.1.patch +24 -0
- package/dist/editor.worker-CtYtPH8e.js.map +0 -1
- package/dist/json.worker-B5MqtfsC.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @knime/kds-code-editor
|
|
2
2
|
|
|
3
|
+
## 6.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 61a7279: - `KdsCodeEditor`:
|
|
8
|
+
- extend the bundled `monaco-editor` patch to fix text drag and drop appending a literal `$0` (and escaping `$`, `\`, `}`) to the dropped text ([microsoft/monaco-editor#4386](https://github.com/microsoft/monaco-editor/issues/4386)).
|
|
9
|
+
- action required — the fix is not picked up by bumping the package alone: consuming repositories must re-copy `patches/monaco-editor@0.55.1.patch` into their own workspace; see the package README for setup.
|
|
10
|
+
- @knime/kds-components@6.3.1
|
|
11
|
+
- @knime/kds-styles@6.3.1
|
|
12
|
+
|
|
3
13
|
## 6.3.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -18,13 +18,19 @@ Monaco is a large dependency (the editor core plus language workers) that is irr
|
|
|
18
18
|
|
|
19
19
|
`monaco-editor` is a peer dependency (see [Why a separate package?](#why-a-separate-package)). Install a version matching the peer range declared in [package.json](package.json).
|
|
20
20
|
|
|
21
|
-
### Monaco
|
|
21
|
+
### Monaco patch (required)
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
leave when the editor is rendered inside a shadow root — which is how KNIME
|
|
25
|
-
embeds UI extensions (AP-25740). The fix is a
|
|
23
|
+
Two upstream Monaco bugs are fixed by a
|
|
26
24
|
[pnpm patch](https://pnpm.io/settings#patcheddependencies) that ships with this
|
|
27
|
-
package under [`patches/`](patches/)
|
|
25
|
+
package under [`patches/`](patches/):
|
|
26
|
+
|
|
27
|
+
- Monaco's hover, suggest, and action widgets mis-position and mis-detect
|
|
28
|
+
mouse leave when the editor is rendered inside a shadow root — which is how
|
|
29
|
+
KNIME embeds UI extensions (AP-25740).
|
|
30
|
+
- Dropping text into the editor appends a literal `$0` (and backslash-escapes
|
|
31
|
+
`$`, `\`, `}`) because standalone Monaco's bulk edit service ignores the
|
|
32
|
+
`insertAsSnippet` flag set by the drop/paste handlers
|
|
33
|
+
([microsoft/monaco-editor#4386](https://github.com/microsoft/monaco-editor/issues/4386)).
|
|
28
34
|
|
|
29
35
|
Because pnpm applies patches in the installing workspace (a package cannot
|
|
30
36
|
patch its consumer's dependencies), every consuming repository must apply it
|