@hitachivantara/uikit-react-lab 5.27.13 → 5.28.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.
@@ -7,6 +7,7 @@ const Blades = require("./Blades/Blades.cjs");
7
7
  const Dashboard_styles = require("./Dashboard/Dashboard.styles.cjs");
8
8
  const Dashboard = require("./Dashboard/Dashboard.cjs");
9
9
  const Flow_styles = require("./Flow/Flow.styles.cjs");
10
+ const NodeMetaContext = require("./Flow/FlowContext/NodeMetaContext.cjs");
10
11
  const Background = require("./Flow/Background/Background.cjs");
11
12
  const Controls = require("./Flow/Controls/Controls.cjs");
12
13
  const Minimap_styles = require("./Flow/Minimap/Minimap.styles.cjs");
@@ -45,6 +46,7 @@ exports.HvBlades = Blades.HvBlades;
45
46
  exports.dashboardClasses = Dashboard_styles.staticClasses;
46
47
  exports.HvDashboard = Dashboard.HvDashboard;
47
48
  exports.flowClasses = Flow_styles.staticClasses;
49
+ exports.useNodeMetaRegistry = NodeMetaContext.useNodeMetaRegistry;
48
50
  exports.HvFlowBackground = Background.HvFlowBackground;
49
51
  exports.HvFlowControls = Controls.HvFlowControls;
50
52
  exports.flowMinimapClasses = Minimap_styles.staticClasses;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/esm/index.js CHANGED
@@ -5,6 +5,7 @@ import { HvBlades } from "./Blades/Blades.js";
5
5
  import { staticClasses as staticClasses3 } from "./Dashboard/Dashboard.styles.js";
6
6
  import { HvDashboard } from "./Dashboard/Dashboard.js";
7
7
  import { staticClasses as staticClasses4 } from "./Flow/Flow.styles.js";
8
+ import { useNodeMetaRegistry } from "./Flow/FlowContext/NodeMetaContext.js";
8
9
  import { HvFlowBackground } from "./Flow/Background/Background.js";
9
10
  import { HvFlowControls } from "./Flow/Controls/Controls.js";
10
11
  import { staticClasses as staticClasses5 } from "./Flow/Minimap/Minimap.styles.js";
@@ -78,6 +79,7 @@ export {
78
79
  useFlowNodeParents,
79
80
  useFlowNodeUtils,
80
81
  useFlowOutputNodes,
82
+ useNodeMetaRegistry,
81
83
  staticClasses12 as wizardActionsClasses,
82
84
  staticClasses11 as wizardClasses,
83
85
  staticClasses13 as wizardContainerClasses,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1171,6 +1171,12 @@ export declare function useFlowNodeUtils<NodeData = any>(id?: string): {
1171
1171
  /** Retrieves the nodes connected to the outputs of the node */
1172
1172
  export declare function useFlowOutputNodes<T = any>(id?: string): Node_2<T, string | undefined>[];
1173
1173
 
1174
+ export declare function useNodeMetaRegistry(): {
1175
+ registerNode: (id: string, nodeInfo: HvFlowNodeMeta) => void;
1176
+ unregisterNode: (id: string) => void;
1177
+ registry: Record<string, HvFlowNodeMeta>;
1178
+ };
1179
+
1174
1180
  export declare const wizardActionsClasses: {
1175
1181
  actionsContainer: "HvWizardActions-actionsContainer";
1176
1182
  buttonWidth: "HvWizardActions-buttonWidth";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-lab",
3
- "version": "5.27.13",
3
+ "version": "5.28.0",
4
4
  "private": false,
5
5
  "author": "Hitachi Vantara UI Kit Team",
6
6
  "description": "Contributed React components for the NEXT UI Kit.",
@@ -32,7 +32,7 @@
32
32
  "@dnd-kit/core": "^6.1.0",
33
33
  "@dnd-kit/modifiers": "^6.0.1",
34
34
  "@emotion/css": "^11.11.0",
35
- "@hitachivantara/uikit-react-core": "^5.52.1",
35
+ "@hitachivantara/uikit-react-core": "^5.53.0",
36
36
  "@hitachivantara/uikit-react-icons": "^5.8.4",
37
37
  "@hitachivantara/uikit-styles": "^5.20.0",
38
38
  "@types/react-grid-layout": "^1.3.5",
@@ -50,7 +50,7 @@
50
50
  "access": "public",
51
51
  "directory": "package"
52
52
  },
53
- "gitHead": "c76d6549485802b5fdcc6737f946a6a6291c4e34",
53
+ "gitHead": "d0664e31d5c1cfefbfeb2876c99ed13587feacca",
54
54
  "main": "dist/cjs/index.cjs",
55
55
  "exports": {
56
56
  ".": {