@knime/hub-features 1.16.9 → 1.17.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 +13 -0
- package/package.json +2 -2
- package/src/embeddingSDK/types.ts +16 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @knime/hub-features
|
|
2
2
|
|
|
3
|
+
## 1.17.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [b72f811]
|
|
8
|
+
- @knime/components@1.45.4
|
|
9
|
+
|
|
10
|
+
## 1.17.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- f1e988c: add `hostNavigationRequest` event to embedding SDK
|
|
15
|
+
|
|
3
16
|
## 1.16.9
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/hub-features",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.1",
|
|
4
4
|
"description": "Vue components & composables for shared hub features",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"lodash-es": "4.17.23",
|
|
37
37
|
"ofetch": "^1.4.1",
|
|
38
38
|
"typescript": "^5.8.3",
|
|
39
|
-
"@knime/components": "1.45.
|
|
39
|
+
"@knime/components": "1.45.4",
|
|
40
40
|
"@knime/styles": "1.15.0",
|
|
41
41
|
"@knime/utils": "1.9.2"
|
|
42
42
|
},
|
|
@@ -44,7 +44,22 @@ type ClearNotificationEvent = {
|
|
|
44
44
|
payload: { id: string } | { deduplicationKey: string };
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
type HostNavigationRequestEvent = {
|
|
48
|
+
kind: "hostNavigationRequest";
|
|
49
|
+
payload:
|
|
50
|
+
| { intent: "reload" }
|
|
51
|
+
| {
|
|
52
|
+
intent: "go-to";
|
|
53
|
+
destination: "cloud-home";
|
|
54
|
+
openIn: "_blank" | "_parent";
|
|
55
|
+
}
|
|
56
|
+
| { intent: "navigate"; href: string; openIn: "_blank" | "_parent" };
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type GenericEvent =
|
|
60
|
+
| ShowNotificationEvent
|
|
61
|
+
| ClearNotificationEvent
|
|
62
|
+
| HostNavigationRequestEvent;
|
|
48
63
|
|
|
49
64
|
export type GenericEventByKind<K extends GenericEvent["kind"]> = Extract<
|
|
50
65
|
GenericEvent,
|