@hitachivantara/uikit-react-lab 6.0.0-next.1 → 6.0.0-next.10
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/dist/Flow/Background/Background.js +2 -2
- package/dist/Flow/Controls/Controls.js +1 -1
- package/dist/Flow/DroppableFlow.js +1 -1
- package/dist/Flow/Empty/Empty.js +1 -1
- package/dist/Flow/Flow.js +1 -1
- package/dist/Flow/Flow.styles.js +1 -1
- package/dist/Flow/Minimap/Minimap.js +1 -1
- package/dist/Flow/Node/BaseNode.js +1 -1
- package/dist/Flow/base.js +79 -400
- package/dist/Flow/hooks/useFlowInstance.js +1 -1
- package/dist/Flow/hooks/useFlowNode.js +4 -4
- package/dist/Flow/hooks/useNodeId.js +1 -1
- package/dist/Flow/nodes/DashboardNode.js +89 -0
- package/dist/Flow/nodes/DashboardNode.styles.js +16 -0
- package/dist/Flow/nodes/StickyNode.js +439 -0
- package/dist/index.d.ts +158 -59
- package/dist/index.js +18 -12
- package/package.json +11 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Background } from "
|
|
2
|
+
import { Background } from "reactflow";
|
|
3
3
|
import { getColor, theme } from "@hitachivantara/uikit-styles";
|
|
4
4
|
const HvFlowBackground = ({
|
|
5
|
-
color = "
|
|
5
|
+
color = "text",
|
|
6
6
|
...others
|
|
7
7
|
}) => {
|
|
8
8
|
return /* @__PURE__ */ jsx(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useStore, useStoreApi, Panel } from "
|
|
2
|
+
import { useStore, useStoreApi, Panel } from "reactflow";
|
|
3
3
|
import { shallow } from "zustand/shallow";
|
|
4
4
|
import { useLabels, HvMultiButton, HvButton } from "@hitachivantara/uikit-react-core";
|
|
5
5
|
import { ZoomIn, ZoomOut, Focus, Unlock, Lock } from "@hitachivantara/uikit-react-icons";
|
|
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useRef, useCallback } from "react";
|
|
3
3
|
import { useDroppable, useDndMonitor } from "@dnd-kit/core";
|
|
4
4
|
import { Global } from "@emotion/react";
|
|
5
|
-
import { addEdge, applyNodeChanges, applyEdgeChanges, MarkerType, ReactFlow } from "
|
|
5
|
+
import { addEdge, applyNodeChanges, applyEdgeChanges, MarkerType, ReactFlow } from "reactflow";
|
|
6
6
|
import { uid } from "uid";
|
|
7
7
|
import { useUniqueId } from "@hitachivantara/uikit-react-core";
|
|
8
8
|
import { flowStyles } from "./base.js";
|
package/dist/Flow/Empty/Empty.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useNodes } from "
|
|
2
|
+
import { useNodes } from "reactflow";
|
|
3
3
|
import { HvEmptyState } from "@hitachivantara/uikit-react-core";
|
|
4
4
|
import { useClasses } from "./Empty.styles.js";
|
|
5
5
|
const HvFlowEmpty = ({ className, ...others }) => {
|
package/dist/Flow/Flow.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useSensors, useSensor, PointerSensor, KeyboardSensor, DndContext } from "@dnd-kit/core";
|
|
3
3
|
import { restrictToWindowEdges } from "@dnd-kit/modifiers";
|
|
4
|
-
import { ReactFlowProvider } from "
|
|
4
|
+
import { ReactFlowProvider } from "reactflow";
|
|
5
5
|
import { HvDroppableFlow } from "./DroppableFlow.js";
|
|
6
6
|
import { HvFlowProvider } from "./FlowContext/FlowContext.js";
|
|
7
7
|
const HvFlow = ({
|
package/dist/Flow/Flow.styles.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createClasses, theme } from "@hitachivantara/uikit-react-core";
|
|
2
2
|
import { staticClasses as staticClasses$1 } from "./Node/BaseNode.styles.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
|
-
import "
|
|
4
|
+
import "reactflow";
|
|
5
5
|
import "@hitachivantara/uikit-react-utils";
|
|
6
6
|
const { staticClasses, useClasses } = createClasses("HvFlow", {
|
|
7
7
|
root: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { MiniMap } from "
|
|
2
|
+
import { MiniMap } from "reactflow";
|
|
3
3
|
import { getColor } from "@hitachivantara/uikit-styles";
|
|
4
4
|
import { useClasses } from "./Minimap.styles.js";
|
|
5
5
|
import { staticClasses } from "./Minimap.styles.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { NodeToolbar, Handle, Position } from "
|
|
2
|
+
import { NodeToolbar, Handle, Position } from "reactflow";
|
|
3
3
|
import { useLabels, HvIconButton, HvTypography } from "@hitachivantara/uikit-react-core";
|
|
4
4
|
import { mergeStyles } from "@hitachivantara/uikit-react-utils";
|
|
5
5
|
import { useClasses } from "./BaseNode.styles.js";
|