@hitachivantara/uikit-react-lab 5.46.12 → 6.0.0-next.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/dist/{esm/Flow → Flow}/Background/Background.js +1 -1
- package/dist/{esm/Flow → Flow}/Controls/Controls.js +1 -1
- package/dist/{esm/Flow → Flow}/DroppableFlow.js +1 -1
- package/dist/{esm/Flow → Flow}/Empty/Empty.js +1 -1
- package/dist/{esm/Flow → Flow}/Empty/Empty.styles.js +1 -1
- package/dist/{esm/Flow → Flow}/Flow.js +1 -1
- package/dist/{esm/Flow → Flow}/Flow.styles.js +1 -1
- package/dist/{esm/Flow → Flow}/Minimap/Minimap.js +1 -1
- package/dist/{esm/Flow → Flow}/Node/BaseNode.js +1 -1
- package/dist/{esm/Flow → Flow}/Node/Node.js +0 -3
- package/dist/{esm/Flow → Flow}/Sidebar/Sidebar.js +1 -1
- package/dist/Flow/base.js +732 -0
- package/dist/{esm/Flow → Flow}/hooks/useFlowInstance.js +1 -1
- package/dist/{esm/Flow → Flow}/hooks/useFlowNode.js +4 -4
- package/dist/{esm/Flow → Flow}/hooks/useNodeId.js +1 -1
- package/dist/{esm/StepNavigation → StepNavigation}/DefaultNavigation/DefaultNavigation.js +1 -3
- package/dist/{esm/StepNavigation → StepNavigation}/SimpleNavigation/SimpleNavigation.js +1 -3
- package/dist/{esm/StepNavigation → StepNavigation}/StepNavigation.js +2 -7
- package/dist/{esm/Wizard → Wizard}/WizardTitle/WizardTitle.js +31 -47
- package/dist/{esm/Wizard → Wizard}/WizardTitle/WizardTitle.styles.js +0 -10
- package/dist/{types/index.d.ts → index.d.ts} +63 -178
- package/dist/{esm/index.js → index.js} +12 -18
- package/package.json +15 -15
- package/dist/cjs/Blade/Blade.cjs +0 -174
- package/dist/cjs/Blade/Blade.styles.cjs +0 -71
- package/dist/cjs/Blades/Blades.cjs +0 -104
- package/dist/cjs/Blades/Blades.styles.cjs +0 -11
- package/dist/cjs/Dashboard/Dashboard.cjs +0 -63
- package/dist/cjs/Dashboard/Dashboard.styles.cjs +0 -196
- package/dist/cjs/Flow/Background/Background.cjs +0 -19
- package/dist/cjs/Flow/Controls/Controls.cjs +0 -96
- package/dist/cjs/Flow/DroppableFlow.cjs +0 -204
- package/dist/cjs/Flow/Empty/Empty.cjs +0 -12
- package/dist/cjs/Flow/Empty/Empty.styles.cjs +0 -16
- package/dist/cjs/Flow/Flow.cjs +0 -33
- package/dist/cjs/Flow/Flow.styles.cjs +0 -19
- package/dist/cjs/Flow/FlowContext/FlowContext.cjs +0 -25
- package/dist/cjs/Flow/FlowContext/NodeMetaContext.cjs +0 -43
- package/dist/cjs/Flow/Minimap/Minimap.cjs +0 -30
- package/dist/cjs/Flow/Minimap/Minimap.styles.cjs +0 -10
- package/dist/cjs/Flow/Node/BaseNode.cjs +0 -192
- package/dist/cjs/Flow/Node/BaseNode.styles.cjs +0 -135
- package/dist/cjs/Flow/Node/Node.cjs +0 -115
- package/dist/cjs/Flow/Node/Node.styles.cjs +0 -42
- package/dist/cjs/Flow/Node/Parameters/ParamRenderer.cjs +0 -19
- package/dist/cjs/Flow/Node/Parameters/Select.cjs +0 -41
- package/dist/cjs/Flow/Node/Parameters/Slider.cjs +0 -33
- package/dist/cjs/Flow/Node/Parameters/Text.cjs +0 -19
- package/dist/cjs/Flow/Node/utils.cjs +0 -54
- package/dist/cjs/Flow/Sidebar/Sidebar.cjs +0 -141
- package/dist/cjs/Flow/Sidebar/Sidebar.styles.cjs +0 -24
- package/dist/cjs/Flow/Sidebar/SidebarGroup/SidebarGroup.cjs +0 -62
- package/dist/cjs/Flow/Sidebar/SidebarGroup/SidebarGroup.styles.cjs +0 -34
- package/dist/cjs/Flow/Sidebar/SidebarGroup/SidebarGroupItem/DraggableSidebarGroupItem.cjs +0 -51
- package/dist/cjs/Flow/Sidebar/SidebarGroup/SidebarGroupItem/SidebarGroupItem.cjs +0 -35
- package/dist/cjs/Flow/Sidebar/SidebarGroup/SidebarGroupItem/SidebarGroupItem.styles.cjs +0 -23
- package/dist/cjs/Flow/base.cjs +0 -411
- package/dist/cjs/Flow/hooks/useFlowContext.cjs +0 -6
- package/dist/cjs/Flow/hooks/useFlowInstance.cjs +0 -7
- package/dist/cjs/Flow/hooks/useFlowNode.cjs +0 -134
- package/dist/cjs/Flow/hooks/useFlowNodeMeta.cjs +0 -10
- package/dist/cjs/Flow/hooks/useNode.cjs +0 -159
- package/dist/cjs/Flow/hooks/useNodeId.cjs +0 -8
- package/dist/cjs/Flow/nodes/DashboardNode.cjs +0 -88
- package/dist/cjs/Flow/nodes/DashboardNode.styles.cjs +0 -16
- package/dist/cjs/Flow/nodes/StickyNode.cjs +0 -439
- package/dist/cjs/StepNavigation/DefaultNavigation/DefaultNavigation.cjs +0 -56
- package/dist/cjs/StepNavigation/DefaultNavigation/Step/Step.cjs +0 -78
- package/dist/cjs/StepNavigation/DefaultNavigation/Step/Step.styles.cjs +0 -35
- package/dist/cjs/StepNavigation/DefaultNavigation/utils.cjs +0 -34
- package/dist/cjs/StepNavigation/SimpleNavigation/Dot/Dot.cjs +0 -43
- package/dist/cjs/StepNavigation/SimpleNavigation/Dot/Dot.styles.cjs +0 -18
- package/dist/cjs/StepNavigation/SimpleNavigation/SimpleNavigation.cjs +0 -52
- package/dist/cjs/StepNavigation/SimpleNavigation/utils.cjs +0 -13
- package/dist/cjs/StepNavigation/StepNavigation.cjs +0 -188
- package/dist/cjs/StepNavigation/StepNavigation.styles.cjs +0 -34
- package/dist/cjs/StepNavigation/utils.cjs +0 -8
- package/dist/cjs/Wizard/Wizard.cjs +0 -108
- package/dist/cjs/Wizard/Wizard.styles.cjs +0 -8
- package/dist/cjs/Wizard/WizardActions/WizardActions.cjs +0 -132
- package/dist/cjs/Wizard/WizardActions/WizardActions.styles.cjs +0 -22
- package/dist/cjs/Wizard/WizardContainer/WizardContainer.cjs +0 -31
- package/dist/cjs/Wizard/WizardContainer/WizardContainer.styles.cjs +0 -15
- package/dist/cjs/Wizard/WizardContent/WizardContent.cjs +0 -121
- package/dist/cjs/Wizard/WizardContent/WizardContent.styles.cjs +0 -38
- package/dist/cjs/Wizard/WizardContext/WizardContext.cjs +0 -15
- package/dist/cjs/Wizard/WizardTitle/WizardTitle.cjs +0 -97
- package/dist/cjs/Wizard/WizardTitle/WizardTitle.styles.cjs +0 -27
- package/dist/cjs/index.cjs +0 -93
- package/dist/esm/Flow/base.js +0 -411
- package/dist/esm/Flow/nodes/DashboardNode.js +0 -89
- package/dist/esm/Flow/nodes/DashboardNode.styles.js +0 -16
- package/dist/esm/Flow/nodes/StickyNode.js +0 -439
- /package/dist/{esm/Blade → Blade}/Blade.js +0 -0
- /package/dist/{esm/Blade → Blade}/Blade.styles.js +0 -0
- /package/dist/{esm/Blades → Blades}/Blades.js +0 -0
- /package/dist/{esm/Blades → Blades}/Blades.styles.js +0 -0
- /package/dist/{esm/Dashboard → Dashboard}/Dashboard.js +0 -0
- /package/dist/{esm/Dashboard → Dashboard}/Dashboard.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/FlowContext/FlowContext.js +0 -0
- /package/dist/{esm/Flow → Flow}/FlowContext/NodeMetaContext.js +0 -0
- /package/dist/{esm/Flow → Flow}/Minimap/Minimap.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/BaseNode.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/Node.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/Parameters/ParamRenderer.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/Parameters/Select.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/Parameters/Slider.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/Parameters/Text.js +0 -0
- /package/dist/{esm/Flow → Flow}/Node/utils.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/Sidebar.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/SidebarGroup/SidebarGroup.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/SidebarGroup/SidebarGroup.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/SidebarGroup/SidebarGroupItem/DraggableSidebarGroupItem.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/SidebarGroup/SidebarGroupItem/SidebarGroupItem.js +0 -0
- /package/dist/{esm/Flow → Flow}/Sidebar/SidebarGroup/SidebarGroupItem/SidebarGroupItem.styles.js +0 -0
- /package/dist/{esm/Flow → Flow}/hooks/useFlowContext.js +0 -0
- /package/dist/{esm/Flow → Flow}/hooks/useFlowNodeMeta.js +0 -0
- /package/dist/{esm/Flow → Flow}/hooks/useNode.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/DefaultNavigation/Step/Step.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/DefaultNavigation/Step/Step.styles.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/DefaultNavigation/utils.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/SimpleNavigation/Dot/Dot.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/SimpleNavigation/Dot/Dot.styles.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/SimpleNavigation/utils.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/StepNavigation.styles.js +0 -0
- /package/dist/{esm/StepNavigation → StepNavigation}/utils.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/Wizard.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/Wizard.styles.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardActions/WizardActions.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardActions/WizardActions.styles.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardContainer/WizardContainer.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardContainer/WizardContainer.styles.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardContent/WizardContent.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardContent/WizardContent.styles.js +0 -0
- /package/dist/{esm/Wizard → Wizard}/WizardContext/WizardContext.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-lab",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-next.1",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"private": false,
|
|
5
6
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
7
|
"description": "Contributed React components for the NEXT UI Kit.",
|
|
@@ -25,22 +26,22 @@
|
|
|
25
26
|
"peerDependencies": {
|
|
26
27
|
"@emotion/react": "^11.11.1",
|
|
27
28
|
"@emotion/styled": "^11.11.0",
|
|
28
|
-
"@mui/material": "^
|
|
29
|
-
"react": ">=
|
|
30
|
-
"react-dom": ">=
|
|
29
|
+
"@mui/material": "^7.0.2",
|
|
30
|
+
"react": ">=18.0.0",
|
|
31
|
+
"react-dom": ">=18.0.0"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
34
|
"@dnd-kit/core": "^6.1.0",
|
|
34
35
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
35
36
|
"@emotion/css": "^11.11.0",
|
|
36
|
-
"@hitachivantara/uikit-react-core": "^
|
|
37
|
-
"@hitachivantara/uikit-react-icons": "^
|
|
38
|
-
"@hitachivantara/uikit-react-utils": "^0.
|
|
39
|
-
"@hitachivantara/uikit-styles": "^
|
|
37
|
+
"@hitachivantara/uikit-react-core": "^6.0.0-next.1",
|
|
38
|
+
"@hitachivantara/uikit-react-icons": "^6.0.0-next.1",
|
|
39
|
+
"@hitachivantara/uikit-react-utils": "^6.0.0-next.1",
|
|
40
|
+
"@hitachivantara/uikit-styles": "^6.0.0-next.1",
|
|
40
41
|
"@mui/base": "5.0.0-beta.68",
|
|
41
42
|
"@types/react-grid-layout": "^1.3.5",
|
|
43
|
+
"@xyflow/react": "^12.8.2",
|
|
42
44
|
"react-grid-layout": "^1.4.4",
|
|
43
|
-
"reactflow": "^11.10.1",
|
|
44
45
|
"uid": "^2.0.2",
|
|
45
46
|
"usehooks-ts": "^2.16.0",
|
|
46
47
|
"zustand": "^4.5.2"
|
|
@@ -52,14 +53,13 @@
|
|
|
52
53
|
"access": "public",
|
|
53
54
|
"directory": "package"
|
|
54
55
|
},
|
|
55
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "f8dfa00a9f29ffdfcabe9cd00553ddf8b7458bd0",
|
|
56
57
|
"exports": {
|
|
57
58
|
".": {
|
|
58
|
-
"types": "./dist/
|
|
59
|
-
"
|
|
60
|
-
"import": "./dist/esm/index.js"
|
|
59
|
+
"types": "./dist/index.d.ts",
|
|
60
|
+
"import": "./dist/index.js"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
-
"types": "dist/
|
|
64
|
-
"module": "dist/
|
|
63
|
+
"types": "dist/index.d.ts",
|
|
64
|
+
"module": "dist/index.js"
|
|
65
65
|
}
|
package/dist/cjs/Blade/Blade.cjs
DELETED
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const react = require("react");
|
|
5
|
-
const uikitReactCore = require("@hitachivantara/uikit-react-core");
|
|
6
|
-
const Blade_styles = require("./Blade.styles.cjs");
|
|
7
|
-
const HvBlade = (props) => {
|
|
8
|
-
const {
|
|
9
|
-
id: idProp,
|
|
10
|
-
className,
|
|
11
|
-
classes: classesProp,
|
|
12
|
-
expanded,
|
|
13
|
-
defaultExpanded = false,
|
|
14
|
-
label,
|
|
15
|
-
labelVariant = "label",
|
|
16
|
-
headingLevel,
|
|
17
|
-
onChange,
|
|
18
|
-
disabled = false,
|
|
19
|
-
children,
|
|
20
|
-
fullWidth,
|
|
21
|
-
buttonProps,
|
|
22
|
-
containerProps,
|
|
23
|
-
...others
|
|
24
|
-
} = uikitReactCore.useDefaultProps("HvBlade", props);
|
|
25
|
-
const { classes, cx } = Blade_styles.useClasses(classesProp);
|
|
26
|
-
const [isExpanded, setIsExpanded] = uikitReactCore.useControlled(
|
|
27
|
-
expanded,
|
|
28
|
-
Boolean(defaultExpanded)
|
|
29
|
-
);
|
|
30
|
-
const handleAction = react.useCallback(
|
|
31
|
-
(event) => {
|
|
32
|
-
if (!disabled) {
|
|
33
|
-
onChange?.(event, !isExpanded);
|
|
34
|
-
setIsExpanded(!isExpanded);
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
return false;
|
|
38
|
-
},
|
|
39
|
-
[disabled, onChange, isExpanded, setIsExpanded]
|
|
40
|
-
);
|
|
41
|
-
const handleClick = react.useCallback(
|
|
42
|
-
(event) => {
|
|
43
|
-
handleAction(event);
|
|
44
|
-
event.preventDefault();
|
|
45
|
-
event.stopPropagation();
|
|
46
|
-
},
|
|
47
|
-
[handleAction]
|
|
48
|
-
);
|
|
49
|
-
const handleKeyDown = react.useCallback(
|
|
50
|
-
(event) => {
|
|
51
|
-
let isEventHandled = false;
|
|
52
|
-
const { key } = event;
|
|
53
|
-
if (event.altKey || event.ctrlKey || event.metaKey || event.currentTarget !== event.target) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
switch (key) {
|
|
57
|
-
case "Enter":
|
|
58
|
-
case " ":
|
|
59
|
-
isEventHandled = handleAction(event);
|
|
60
|
-
break;
|
|
61
|
-
default:
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
if (isEventHandled) {
|
|
65
|
-
event.preventDefault();
|
|
66
|
-
event.stopPropagation();
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
[handleAction]
|
|
70
|
-
);
|
|
71
|
-
const id = uikitReactCore.useUniqueId(idProp);
|
|
72
|
-
const bladeHeaderId = uikitReactCore.setId(id, "button");
|
|
73
|
-
const bladeContainerId = uikitReactCore.setId(id, "container");
|
|
74
|
-
const bladeHeader = react.useMemo(() => {
|
|
75
|
-
const buttonLabel = typeof label === "function" ? label(isExpanded) : label;
|
|
76
|
-
const bladeButton = /* @__PURE__ */ jsxRuntime.jsx(
|
|
77
|
-
uikitReactCore.HvTypography,
|
|
78
|
-
{
|
|
79
|
-
id: bladeHeaderId,
|
|
80
|
-
component: "div",
|
|
81
|
-
role: "button",
|
|
82
|
-
className: cx(classes.button, {
|
|
83
|
-
[classes.textOnlyLabel]: typeof buttonLabel === "string",
|
|
84
|
-
[classes.disabled]: disabled
|
|
85
|
-
}),
|
|
86
|
-
style: { flexShrink: headingLevel === void 0 ? 0 : void 0 },
|
|
87
|
-
disabled,
|
|
88
|
-
tabIndex: 0,
|
|
89
|
-
onKeyDown: handleKeyDown,
|
|
90
|
-
onClick: handleClick,
|
|
91
|
-
variant: labelVariant,
|
|
92
|
-
"aria-expanded": isExpanded,
|
|
93
|
-
"aria-controls": bladeContainerId,
|
|
94
|
-
...buttonProps,
|
|
95
|
-
children: buttonLabel
|
|
96
|
-
}
|
|
97
|
-
);
|
|
98
|
-
return headingLevel === void 0 ? bladeButton : /* @__PURE__ */ jsxRuntime.jsx(
|
|
99
|
-
uikitReactCore.HvTypography,
|
|
100
|
-
{
|
|
101
|
-
component: `h${headingLevel}`,
|
|
102
|
-
variant: labelVariant,
|
|
103
|
-
className: classes.heading,
|
|
104
|
-
style: { flexShrink: 0 },
|
|
105
|
-
children: bladeButton
|
|
106
|
-
}
|
|
107
|
-
);
|
|
108
|
-
}, [
|
|
109
|
-
bladeContainerId,
|
|
110
|
-
bladeHeaderId,
|
|
111
|
-
buttonProps,
|
|
112
|
-
classes.button,
|
|
113
|
-
classes.disabled,
|
|
114
|
-
classes.heading,
|
|
115
|
-
classes.textOnlyLabel,
|
|
116
|
-
cx,
|
|
117
|
-
disabled,
|
|
118
|
-
handleClick,
|
|
119
|
-
handleKeyDown,
|
|
120
|
-
headingLevel,
|
|
121
|
-
isExpanded,
|
|
122
|
-
label,
|
|
123
|
-
labelVariant
|
|
124
|
-
]);
|
|
125
|
-
const bladeRef = react.useRef(null);
|
|
126
|
-
const [maxWidth, setMaxWidth] = react.useState(void 0);
|
|
127
|
-
react.useEffect(() => {
|
|
128
|
-
if (!bladeRef.current) return;
|
|
129
|
-
const resizeObserver = new ResizeObserver((entries) => {
|
|
130
|
-
setMaxWidth(entries[0].target.clientWidth);
|
|
131
|
-
});
|
|
132
|
-
resizeObserver.observe(
|
|
133
|
-
// using the blade's container as reference max-width is more stable
|
|
134
|
-
bladeRef.current.parentElement ?? bladeRef.current
|
|
135
|
-
);
|
|
136
|
-
return () => {
|
|
137
|
-
resizeObserver.disconnect();
|
|
138
|
-
};
|
|
139
|
-
}, [isExpanded]);
|
|
140
|
-
const { style: containerStyle, ...otherContainerProps } = containerProps || {};
|
|
141
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
142
|
-
"div",
|
|
143
|
-
{
|
|
144
|
-
ref: bladeRef,
|
|
145
|
-
id: idProp,
|
|
146
|
-
className: cx(classes.root, className, {
|
|
147
|
-
[classes.fullWidth]: fullWidth,
|
|
148
|
-
[classes.expanded]: isExpanded
|
|
149
|
-
}),
|
|
150
|
-
...others,
|
|
151
|
-
children: [
|
|
152
|
-
bladeHeader,
|
|
153
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
154
|
-
"div",
|
|
155
|
-
{
|
|
156
|
-
id: bladeContainerId,
|
|
157
|
-
role: "region",
|
|
158
|
-
"aria-labelledby": bladeHeaderId,
|
|
159
|
-
className: classes.container,
|
|
160
|
-
hidden: !isExpanded,
|
|
161
|
-
style: {
|
|
162
|
-
...containerStyle,
|
|
163
|
-
maxWidth: isExpanded ? maxWidth : 0
|
|
164
|
-
},
|
|
165
|
-
...otherContainerProps,
|
|
166
|
-
children
|
|
167
|
-
}
|
|
168
|
-
)
|
|
169
|
-
]
|
|
170
|
-
}
|
|
171
|
-
);
|
|
172
|
-
};
|
|
173
|
-
exports.bladeClasses = Blade_styles.staticClasses;
|
|
174
|
-
exports.HvBlade = HvBlade;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const uikitReactCore = require("@hitachivantara/uikit-react-core");
|
|
4
|
-
const uikitStyles = require("@hitachivantara/uikit-styles");
|
|
5
|
-
const { staticClasses, useClasses } = uikitReactCore.createClasses("HvBlade", {
|
|
6
|
-
root: {
|
|
7
|
-
position: "relative",
|
|
8
|
-
display: "flex",
|
|
9
|
-
minWidth: 72,
|
|
10
|
-
"& + $root": {
|
|
11
|
-
marginLeft: uikitStyles.theme.spacing("sm")
|
|
12
|
-
},
|
|
13
|
-
transition: "flex-grow 600ms linear",
|
|
14
|
-
zIndex: 0,
|
|
15
|
-
color: uikitStyles.theme.colors.text,
|
|
16
|
-
backgroundColor: uikitStyles.theme.colors.bgContainer,
|
|
17
|
-
borderRadius: uikitStyles.theme.radii.round,
|
|
18
|
-
border: `1px solid ${uikitStyles.theme.colors.border}`
|
|
19
|
-
},
|
|
20
|
-
expanded: {},
|
|
21
|
-
fullWidth: {
|
|
22
|
-
flexGrow: 0,
|
|
23
|
-
"&$expanded": {
|
|
24
|
-
flexGrow: 1
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
heading: {},
|
|
28
|
-
button: {
|
|
29
|
-
height: "100%",
|
|
30
|
-
minWidth: 70,
|
|
31
|
-
"&[disabled], &:active": {
|
|
32
|
-
outline: "none"
|
|
33
|
-
},
|
|
34
|
-
"&:focus": {
|
|
35
|
-
outline: "none",
|
|
36
|
-
background: uikitStyles.theme.colors.bgHover
|
|
37
|
-
},
|
|
38
|
-
"&:hover": {
|
|
39
|
-
background: uikitStyles.theme.colors.bgHover
|
|
40
|
-
},
|
|
41
|
-
"&:focus-visible": {
|
|
42
|
-
...uikitReactCore.outlineStyles,
|
|
43
|
-
zIndex: 1
|
|
44
|
-
},
|
|
45
|
-
cursor: "pointer"
|
|
46
|
-
},
|
|
47
|
-
textOnlyLabel: {
|
|
48
|
-
padding: uikitStyles.theme.spacing("xs", "sm")
|
|
49
|
-
},
|
|
50
|
-
container: {
|
|
51
|
-
display: "inline-block",
|
|
52
|
-
height: "100%",
|
|
53
|
-
width: "100%",
|
|
54
|
-
minWidth: 0,
|
|
55
|
-
overflowX: "hidden",
|
|
56
|
-
maxWidth: 0,
|
|
57
|
-
transition: "max-width 600ms linear"
|
|
58
|
-
},
|
|
59
|
-
disabled: {
|
|
60
|
-
cursor: "not-allowed",
|
|
61
|
-
color: uikitStyles.theme.colors.textDisabled,
|
|
62
|
-
"&:focus": {
|
|
63
|
-
background: "none"
|
|
64
|
-
},
|
|
65
|
-
"&:hover": {
|
|
66
|
-
background: "none"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
exports.staticClasses = staticClasses;
|
|
71
|
-
exports.useClasses = useClasses;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const react = require("react");
|
|
5
|
-
const uikitReactCore = require("@hitachivantara/uikit-react-core");
|
|
6
|
-
const Blades_styles = require("./Blades.styles.cjs");
|
|
7
|
-
function getExpandedBlades(defaultExpanded, children, atMostOneExpanded, atLeastOneExpanded) {
|
|
8
|
-
const childrenArray = react.Children.toArray(children);
|
|
9
|
-
const expandedBlades = defaultExpanded ?? childrenArray.map((child, i) => {
|
|
10
|
-
const childIsControlled = child?.props?.expanded !== void 0;
|
|
11
|
-
const childIsExpanded = childIsControlled ? child?.props?.expanded : child?.props?.defaultExpanded;
|
|
12
|
-
return childIsExpanded ? i : void 0;
|
|
13
|
-
}).filter((v) => v !== void 0);
|
|
14
|
-
const numberOfExpandedBlades = expandedBlades.length;
|
|
15
|
-
if (atLeastOneExpanded && numberOfExpandedBlades === 0 && childrenArray.length > 0) {
|
|
16
|
-
return [0];
|
|
17
|
-
}
|
|
18
|
-
if (atMostOneExpanded && numberOfExpandedBlades > 1) {
|
|
19
|
-
return [expandedBlades[0]];
|
|
20
|
-
}
|
|
21
|
-
return expandedBlades;
|
|
22
|
-
}
|
|
23
|
-
const HvBlades = (props) => {
|
|
24
|
-
const {
|
|
25
|
-
id,
|
|
26
|
-
className,
|
|
27
|
-
classes: classesProp,
|
|
28
|
-
children,
|
|
29
|
-
expanded: expandedProp,
|
|
30
|
-
defaultExpanded,
|
|
31
|
-
atMostOneExpanded = false,
|
|
32
|
-
atLeastOneExpanded = false,
|
|
33
|
-
fullWidthBlades = false,
|
|
34
|
-
onChange,
|
|
35
|
-
...others
|
|
36
|
-
} = uikitReactCore.useDefaultProps("HvBlades", props);
|
|
37
|
-
const { classes, cx } = Blades_styles.useClasses(classesProp);
|
|
38
|
-
const [expanded, setExpanded] = uikitReactCore.useControlled(
|
|
39
|
-
expandedProp,
|
|
40
|
-
() => getExpandedBlades(
|
|
41
|
-
defaultExpanded,
|
|
42
|
-
children,
|
|
43
|
-
atMostOneExpanded,
|
|
44
|
-
atLeastOneExpanded
|
|
45
|
-
)
|
|
46
|
-
);
|
|
47
|
-
const onChildChangeInterceptor = react.useCallback(
|
|
48
|
-
(index, childOnChange, event, isExpanded) => {
|
|
49
|
-
const newValue = [];
|
|
50
|
-
if (atMostOneExpanded) {
|
|
51
|
-
if (isExpanded) {
|
|
52
|
-
newValue.push(index);
|
|
53
|
-
}
|
|
54
|
-
} else {
|
|
55
|
-
newValue.push(...expanded);
|
|
56
|
-
if (isExpanded) {
|
|
57
|
-
newValue.push(index);
|
|
58
|
-
} else {
|
|
59
|
-
newValue.splice(newValue.indexOf(index), 1);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
if (atLeastOneExpanded && newValue.length === 0) {
|
|
63
|
-
newValue.push(index);
|
|
64
|
-
}
|
|
65
|
-
childOnChange?.(event, isExpanded);
|
|
66
|
-
onChange?.(event, newValue);
|
|
67
|
-
setExpanded(newValue);
|
|
68
|
-
},
|
|
69
|
-
[onChange, expanded, setExpanded, atMostOneExpanded, atLeastOneExpanded]
|
|
70
|
-
);
|
|
71
|
-
const modifiedChildren = react.useMemo(() => {
|
|
72
|
-
return react.Children.map(children, (child, i) => {
|
|
73
|
-
const childIsExpanded = expanded.includes(i);
|
|
74
|
-
return react.cloneElement(child, {
|
|
75
|
-
expanded: childIsExpanded,
|
|
76
|
-
fullWidth: child?.props?.fullWidth ?? fullWidthBlades,
|
|
77
|
-
buttonProps: {
|
|
78
|
-
...child?.props?.buttonProps,
|
|
79
|
-
"aria-disabled": (
|
|
80
|
-
// If the accordion panel associated with an accordion header is visible,
|
|
81
|
-
// and if the accordion does not permit the panel to be collapsed, the header
|
|
82
|
-
// button element has aria-disabled set to true.
|
|
83
|
-
child?.props?.disabled || childIsExpanded && atMostOneExpanded && expanded.length === 1 ? true : void 0
|
|
84
|
-
)
|
|
85
|
-
},
|
|
86
|
-
onChange: (event, isExpanded) => onChildChangeInterceptor(
|
|
87
|
-
i,
|
|
88
|
-
child?.props?.onChange,
|
|
89
|
-
event,
|
|
90
|
-
isExpanded
|
|
91
|
-
)
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
}, [
|
|
95
|
-
children,
|
|
96
|
-
expanded,
|
|
97
|
-
fullWidthBlades,
|
|
98
|
-
atMostOneExpanded,
|
|
99
|
-
onChildChangeInterceptor
|
|
100
|
-
]);
|
|
101
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { id, className: cx(classes.root, className), ...others, children: modifiedChildren });
|
|
102
|
-
};
|
|
103
|
-
exports.bladesClasses = Blades_styles.staticClasses;
|
|
104
|
-
exports.HvBlades = HvBlades;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const uikitReactCore = require("@hitachivantara/uikit-react-core");
|
|
4
|
-
const { staticClasses, useClasses } = uikitReactCore.createClasses("HvBlades", {
|
|
5
|
-
root: {
|
|
6
|
-
position: "relative",
|
|
7
|
-
display: "flex"
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
exports.staticClasses = staticClasses;
|
|
11
|
-
exports.useClasses = useClasses;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const react = require("react");
|
|
5
|
-
const reactGridLayout = require("react-grid-layout");
|
|
6
|
-
const react$1 = require("@emotion/react");
|
|
7
|
-
const uikitReactCore = require("@hitachivantara/uikit-react-core");
|
|
8
|
-
const Dashboard_styles = require("./Dashboard.styles.cjs");
|
|
9
|
-
const GridLayout = reactGridLayout.WidthProvider(reactGridLayout.Responsive);
|
|
10
|
-
const defaultCols = {
|
|
11
|
-
xs: 12,
|
|
12
|
-
sm: 12,
|
|
13
|
-
md: 12,
|
|
14
|
-
lg: 12,
|
|
15
|
-
xl: 12
|
|
16
|
-
};
|
|
17
|
-
const HvDashboard = (props) => {
|
|
18
|
-
const {
|
|
19
|
-
children,
|
|
20
|
-
className,
|
|
21
|
-
layout,
|
|
22
|
-
cols: colsProp,
|
|
23
|
-
layouts: layoutsProp,
|
|
24
|
-
classes: classesProp,
|
|
25
|
-
...others
|
|
26
|
-
} = uikitReactCore.useDefaultProps("HvDashboard", props);
|
|
27
|
-
const { classes, cx } = Dashboard_styles.useClasses(classesProp);
|
|
28
|
-
const { activeTheme } = uikitReactCore.useTheme();
|
|
29
|
-
const layouts = react.useMemo(() => {
|
|
30
|
-
if (layoutsProp) return layoutsProp;
|
|
31
|
-
if (!layout) return {};
|
|
32
|
-
return { xs: layout, sm: layout, md: layout, lg: layout, xl: layout };
|
|
33
|
-
}, [layoutsProp, layout]);
|
|
34
|
-
const cols = react.useMemo(() => {
|
|
35
|
-
if (!colsProp) return defaultCols;
|
|
36
|
-
if (typeof colsProp === "number") {
|
|
37
|
-
return {
|
|
38
|
-
xs: colsProp,
|
|
39
|
-
sm: colsProp,
|
|
40
|
-
md: colsProp,
|
|
41
|
-
lg: colsProp,
|
|
42
|
-
xl: colsProp
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
return colsProp;
|
|
46
|
-
}, [colsProp]);
|
|
47
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
48
|
-
/* @__PURE__ */ jsxRuntime.jsx(react$1.Global, { styles: Dashboard_styles.gridStyles }),
|
|
49
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
50
|
-
GridLayout,
|
|
51
|
-
{
|
|
52
|
-
className: cx(classes.root, className),
|
|
53
|
-
breakpoints: activeTheme?.breakpoints.values,
|
|
54
|
-
cols,
|
|
55
|
-
layouts,
|
|
56
|
-
...others,
|
|
57
|
-
children
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
] });
|
|
61
|
-
};
|
|
62
|
-
exports.dashboardClasses = Dashboard_styles.staticClasses;
|
|
63
|
-
exports.HvDashboard = HvDashboard;
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const react = require("@emotion/react");
|
|
4
|
-
const uikitReactCore = require("@hitachivantara/uikit-react-core");
|
|
5
|
-
const { staticClasses, useClasses } = uikitReactCore.createClasses("HvDashboard", {
|
|
6
|
-
root: {}
|
|
7
|
-
});
|
|
8
|
-
const gridStyles = react.css`
|
|
9
|
-
.react-grid-layout {
|
|
10
|
-
position: relative;
|
|
11
|
-
transition: height 200ms ease;
|
|
12
|
-
}
|
|
13
|
-
.react-grid-item {
|
|
14
|
-
transition: all 200ms ease;
|
|
15
|
-
transition-property: left, top, width, height;
|
|
16
|
-
}
|
|
17
|
-
.react-grid-item img {
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
user-select: none;
|
|
20
|
-
}
|
|
21
|
-
.react-grid-item.cssTransforms {
|
|
22
|
-
transition-property: transform, width, height;
|
|
23
|
-
}
|
|
24
|
-
.react-grid-item.resizing {
|
|
25
|
-
transition: none;
|
|
26
|
-
z-index: 1;
|
|
27
|
-
will-change: width, height;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.react-grid-item.react-draggable-dragging {
|
|
31
|
-
transition: none;
|
|
32
|
-
z-index: 3;
|
|
33
|
-
will-change: transform;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.react-grid-item.dropping {
|
|
37
|
-
visibility: hidden;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.react-grid-item.react-grid-placeholder {
|
|
41
|
-
background: ${uikitReactCore.theme.colors.primaryDimmed};
|
|
42
|
-
transition-duration: 100ms;
|
|
43
|
-
z-index: 2;
|
|
44
|
-
-webkit-user-select: none;
|
|
45
|
-
-moz-user-select: none;
|
|
46
|
-
-ms-user-select: none;
|
|
47
|
-
-o-user-select: none;
|
|
48
|
-
user-select: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.react-grid-item.react-grid-placeholder.placeholder-resizing {
|
|
52
|
-
transition: none;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.react-grid-item > .react-resizable-handle {
|
|
56
|
-
position: absolute;
|
|
57
|
-
width: 20px;
|
|
58
|
-
height: 20px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.react-grid-item > .react-resizable-handle::after {
|
|
62
|
-
content: "";
|
|
63
|
-
position: absolute;
|
|
64
|
-
right: 3px;
|
|
65
|
-
bottom: 3px;
|
|
66
|
-
width: 5px;
|
|
67
|
-
height: 5px;
|
|
68
|
-
border-right: 2px solid rgba(0, 0, 0, 0.4);
|
|
69
|
-
border-bottom: 2px solid rgba(0, 0, 0, 0.4);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.react-resizable-hide > .react-resizable-handle {
|
|
73
|
-
display: none;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-sw {
|
|
77
|
-
bottom: 0;
|
|
78
|
-
left: 0;
|
|
79
|
-
cursor: sw-resize;
|
|
80
|
-
transform: rotate(90deg);
|
|
81
|
-
}
|
|
82
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-se {
|
|
83
|
-
bottom: 0;
|
|
84
|
-
right: 0;
|
|
85
|
-
cursor: se-resize;
|
|
86
|
-
}
|
|
87
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-nw {
|
|
88
|
-
top: 0;
|
|
89
|
-
left: 0;
|
|
90
|
-
cursor: nw-resize;
|
|
91
|
-
transform: rotate(180deg);
|
|
92
|
-
}
|
|
93
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-ne {
|
|
94
|
-
top: 0;
|
|
95
|
-
right: 0;
|
|
96
|
-
cursor: ne-resize;
|
|
97
|
-
transform: rotate(270deg);
|
|
98
|
-
}
|
|
99
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-w,
|
|
100
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-e {
|
|
101
|
-
top: 50%;
|
|
102
|
-
margin-top: -10px;
|
|
103
|
-
cursor: ew-resize;
|
|
104
|
-
}
|
|
105
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-w {
|
|
106
|
-
left: 0;
|
|
107
|
-
transform: rotate(135deg);
|
|
108
|
-
}
|
|
109
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-e {
|
|
110
|
-
right: 0;
|
|
111
|
-
transform: rotate(315deg);
|
|
112
|
-
}
|
|
113
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-n,
|
|
114
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-s {
|
|
115
|
-
left: 50%;
|
|
116
|
-
margin-left: -10px;
|
|
117
|
-
cursor: ns-resize;
|
|
118
|
-
}
|
|
119
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-n {
|
|
120
|
-
top: 0;
|
|
121
|
-
transform: rotate(225deg);
|
|
122
|
-
}
|
|
123
|
-
.react-grid-item > .react-resizable-handle.react-resizable-handle-s {
|
|
124
|
-
bottom: 0;
|
|
125
|
-
transform: rotate(45deg);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.react-resizable {
|
|
129
|
-
position: relative;
|
|
130
|
-
}
|
|
131
|
-
.react-resizable-handle {
|
|
132
|
-
position: absolute;
|
|
133
|
-
width: 20px;
|
|
134
|
-
height: 20px;
|
|
135
|
-
background-repeat: no-repeat;
|
|
136
|
-
background-origin: content-box;
|
|
137
|
-
box-sizing: border-box;
|
|
138
|
-
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+");
|
|
139
|
-
background-position: bottom right;
|
|
140
|
-
padding: 0 3px 3px 0;
|
|
141
|
-
}
|
|
142
|
-
.react-resizable-handle-sw {
|
|
143
|
-
bottom: 0;
|
|
144
|
-
left: 0;
|
|
145
|
-
cursor: sw-resize;
|
|
146
|
-
transform: rotate(90deg);
|
|
147
|
-
}
|
|
148
|
-
.react-resizable-handle-se {
|
|
149
|
-
bottom: 0;
|
|
150
|
-
right: 0;
|
|
151
|
-
cursor: se-resize;
|
|
152
|
-
}
|
|
153
|
-
.react-resizable-handle-nw {
|
|
154
|
-
top: 0;
|
|
155
|
-
left: 0;
|
|
156
|
-
cursor: nw-resize;
|
|
157
|
-
transform: rotate(180deg);
|
|
158
|
-
}
|
|
159
|
-
.react-resizable-handle-ne {
|
|
160
|
-
top: 0;
|
|
161
|
-
right: 0;
|
|
162
|
-
cursor: ne-resize;
|
|
163
|
-
transform: rotate(270deg);
|
|
164
|
-
}
|
|
165
|
-
.react-resizable-handle-w,
|
|
166
|
-
.react-resizable-handle-e {
|
|
167
|
-
top: 50%;
|
|
168
|
-
margin-top: -10px;
|
|
169
|
-
cursor: ew-resize;
|
|
170
|
-
}
|
|
171
|
-
.react-resizable-handle-w {
|
|
172
|
-
left: 0;
|
|
173
|
-
transform: rotate(135deg);
|
|
174
|
-
}
|
|
175
|
-
.react-resizable-handle-e {
|
|
176
|
-
right: 0;
|
|
177
|
-
transform: rotate(315deg);
|
|
178
|
-
}
|
|
179
|
-
.react-resizable-handle-n,
|
|
180
|
-
.react-resizable-handle-s {
|
|
181
|
-
left: 50%;
|
|
182
|
-
margin-left: -10px;
|
|
183
|
-
cursor: ns-resize;
|
|
184
|
-
}
|
|
185
|
-
.react-resizable-handle-n {
|
|
186
|
-
top: 0;
|
|
187
|
-
transform: rotate(225deg);
|
|
188
|
-
}
|
|
189
|
-
.react-resizable-handle-s {
|
|
190
|
-
bottom: 0;
|
|
191
|
-
transform: rotate(45deg);
|
|
192
|
-
}
|
|
193
|
-
`;
|
|
194
|
-
exports.gridStyles = gridStyles;
|
|
195
|
-
exports.staticClasses = staticClasses;
|
|
196
|
-
exports.useClasses = useClasses;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const reactflow = require("reactflow");
|
|
5
|
-
const uikitStyles = require("@hitachivantara/uikit-styles");
|
|
6
|
-
const HvFlowBackground = ({
|
|
7
|
-
color = "secondary",
|
|
8
|
-
...others
|
|
9
|
-
}) => {
|
|
10
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11
|
-
reactflow.Background,
|
|
12
|
-
{
|
|
13
|
-
color: uikitStyles.getColor(color, uikitStyles.theme.colors.textSubtle),
|
|
14
|
-
gap: 16,
|
|
15
|
-
...others
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
};
|
|
19
|
-
exports.HvFlowBackground = HvFlowBackground;
|