@knime/kds-code-editor 2.6.3 → 2.7.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/package.json +3 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,17 @@
1
+ # @knime/kds-code-editor
2
+
3
+ ## 2.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6fa993e: - `KdsCodeEditor`: new package `@knime/kds-code-editor` providing a Monaco-based code editor component.
8
+ - `v-model`, language highlighting (including a bundled custom `toml` grammar), `default`/`error`/`warning` states, read-only mode, dynamic height, dark-mode theming, copy-to-clipboard, and custom header actions; the header can be hidden entirely via `hideHeader`.
9
+ - also exports `setupMonacoEnvironment` so host apps that create their own Monaco editors get the same worker environment, custom languages, and font re-measuring.
10
+ - action required — `monaco-editor` (`^0.55.1`) is a peer dependency: Monaco holds global state (language registry, `MonacoEnvironment`, models), so the host app controls the single shared instance.
11
+ - action required — the package ships the Monaco shadow-DOM patch (`patches/`, AP-25740) that consumers must apply to their own `monaco-editor` install; see the package README for setup.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [6fa993e]
16
+ - @knime/kds-components@2.7.0
17
+ - @knime/kds-styles@2.7.0
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@knime/kds-code-editor",
3
3
  "type": "module",
4
- "version": "2.6.3",
4
+ "version": "2.7.0",
5
5
  "description": "Package containing the code editor component of the KNIME Design System",
6
6
  "license": "See LICENSE file",
7
7
  "author": "KNIME AG, Zurich, Switzerland",
8
8
  "dependencies": {
9
- "@knime/kds-components": "^2.6.3",
10
- "@knime/kds-styles": "^2.6.3"
9
+ "@knime/kds-components": "^2.7.0",
10
+ "@knime/kds-styles": "^2.7.0"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@storybook/vue3-vite": "^10.4.6",