@knime/kds-echarts 10.2.0 → 11.1.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.
- package/CHANGELOG.md +15 -0
- package/README.md +8 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @knime/kds-echarts
|
|
2
2
|
|
|
3
|
+
## 11.1.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @knime/kds-components@11.1.0
|
|
9
|
+
|
|
10
|
+
## 11.0.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- df12b1a: `KdsECharts` and `useKdsEChartsColors`: follow the color scheme of the page instead of applying the stored dark mode preference to it.
|
|
15
|
+
- Updated dependencies [880698d, df12b1a]
|
|
16
|
+
- @knime/kds-components@11.0.0
|
|
17
|
+
|
|
3
18
|
## 10.2.0
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -11,8 +11,10 @@ This package is part of the [KNIME Design System monorepo](../../README.md). For
|
|
|
11
11
|
## Building
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
pnpm run build
|
|
15
|
-
pnpm run build:theme
|
|
14
|
+
pnpm run build # From this package: build only this package
|
|
15
|
+
pnpm run build:theme # From this package: only regenerate the ECharts themes from the KDS tokens
|
|
16
|
+
pnpm run build:echarts # From the monorepo root: build only this package
|
|
17
|
+
pnpm run build:echarts:theme # From the monorepo root: only regenerate the themes
|
|
16
18
|
```
|
|
17
19
|
|
|
18
20
|
Results are saved to `dist/`.
|
|
@@ -21,12 +23,14 @@ Results are saved to `dist/`.
|
|
|
21
23
|
|
|
22
24
|
## Using ECharts in a Vue application
|
|
23
25
|
|
|
24
|
-
Install the [@knime/kds-echarts] npm package as a dependency:
|
|
26
|
+
Install the [@knime/kds-echarts] npm package as a dependency. It declares `vue` as peer dependency; `echarts` is a regular dependency, but install it too, since your code imports from it directly:
|
|
25
27
|
|
|
26
28
|
```sh
|
|
27
|
-
pnpm add @knime/kds-echarts echarts
|
|
29
|
+
pnpm add @knime/kds-echarts echarts vue
|
|
28
30
|
```
|
|
29
31
|
|
|
32
|
+
The themes carry resolved color values, so the KDS CSS variables are not needed. They draw text in Roboto, which this package does not load; register the KDS fonts in your app (e.g. `import "@knime/kds-styles/fonts.css";` after `pnpm add @knime/kds-styles`), otherwise charts fall back to `sans-serif`.
|
|
33
|
+
|
|
30
34
|
`KdsECharts` deliberately registers nothing itself, so the bundle stays tree-shaken — the consumer registers exactly the renderer, charts and components it uses via ECharts' `use()`:
|
|
31
35
|
|
|
32
36
|
```vue
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-echarts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"description": "Package containing the Apache ECharts integration of the KNIME Design System: the KdsECharts component and the generated KDS ECharts themes",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"CHANGELOG.md"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@knime/kds-components": "^
|
|
40
|
+
"@knime/kds-components": "^11.1.0",
|
|
41
41
|
"echarts": "^6.1.0",
|
|
42
42
|
"vue-echarts": "^8.0.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@knime/kds-styles": "^
|
|
45
|
+
"@knime/kds-styles": "^11.1.0",
|
|
46
46
|
"@storybook/vue3-vite": "^10.4.6",
|
|
47
47
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
48
48
|
"@vue/test-utils": "^2.4.11",
|