@knime/hub-features 1.16.8 → 1.17.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @knime/hub-features
2
2
 
3
+ ## 1.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f1e988c: add `hostNavigationRequest` event to embedding SDK
8
+
9
+ ## 1.16.9
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [c73dc3e]
14
+ - @knime/components@1.45.3
15
+
3
16
  ## 1.16.8
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.16.8",
3
+ "version": "1.17.0",
4
4
  "description": "Vue components & composables for shared hub features",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,10 +33,10 @@
33
33
  "@vueuse/components": "~13.8.0",
34
34
  "@vueuse/core": "~13.8.0",
35
35
  "@vueuse/shared": "~13.8.0",
36
- "lodash-es": "4.17.21",
36
+ "lodash-es": "4.17.23",
37
37
  "ofetch": "^1.4.1",
38
38
  "typescript": "^5.8.3",
39
- "@knime/components": "1.45.2",
39
+ "@knime/components": "1.45.3",
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
- export type GenericEvent = ShowNotificationEvent | ClearNotificationEvent;
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,