@neo4j-ndl/react-graph 1.2.42 → 1.2.44
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/lib/types/graph-visualization.d.ts +13 -251
- package/lib/types/graph-visualization.d.ts.map +1 -1
- package/lib/types/use-managed-node-state.d.ts +1 -0
- package/lib/types/use-managed-node-state.d.ts.map +1 -1
- package/package.json +13 -12
- package/lib/cjs/stories/graph-visualization.stories.js +0 -112
- package/lib/cjs/stories/graph-visualization.stories.js.map +0 -1
- package/lib/cjs/stories/preview-graph-visualization.stories.js +0 -54
- package/lib/cjs/stories/preview-graph-visualization.stories.js.map +0 -1
- package/lib/esm/stories/graph-visualization.stories.js +0 -109
- package/lib/esm/stories/graph-visualization.stories.js.map +0 -1
- package/lib/esm/stories/preview-graph-visualization.stories.js +0 -51
- package/lib/esm/stories/preview-graph-visualization.stories.js.map +0 -1
- package/lib/types/stories/graph-visualization.stories.d.ts +0 -40
- package/lib/types/stories/graph-visualization.stories.d.ts.map +0 -1
- package/lib/types/stories/preview-graph-visualization.stories.d.ts +0 -32
- package/lib/types/stories/preview-graph-visualization.stories.d.ts.map +0 -1
|
@@ -117,243 +117,63 @@ export type GraphVisualizationProps<T extends React.ElementType = 'div'> = {
|
|
|
117
117
|
export declare function GraphVisualization<T extends React.ElementType = 'div'>({ nvlRef: rawNvlRef, nvlCallbacks, nvlOptions, sidepanel: rawSidepanel, nodes: rawNodes, rels: rawRels, highlightedNodeIds, highlightedRelationshipIds, topLeftIsland, topRightIsland, bottomLeftIsland, bottomRightIsland, gesture, setGesture, layout: rawLayout, setLayout: rawSetLayout, portalTarget, selected: rawSelected, setSelected: rawSetSelected, interactionMode: rawInteractionMode, setInteractionMode: rawSetInteractionMode, mouseEventCallbacks, className, style, htmlAttributes, ref, as, ...restProps }: GraphVisualizationProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
118
118
|
export declare namespace GraphVisualization {
|
|
119
119
|
var ZoomInButton: ({ className, style, htmlAttributes, tooltipPlacement, }: {
|
|
120
|
-
tooltipPlacement?:
|
|
121
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
122
|
-
displayName: string;
|
|
123
|
-
} & {
|
|
124
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
125
|
-
children: React.ReactNode;
|
|
126
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
127
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
128
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
129
|
-
children: React.ReactNode;
|
|
130
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
131
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
132
|
-
children: React.ReactNode;
|
|
133
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
134
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
135
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
136
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
137
|
-
children: React.ReactNode;
|
|
138
|
-
hasButtonWrapper?: boolean;
|
|
139
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
140
|
-
}>["placement"];
|
|
120
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
141
121
|
className?: string;
|
|
142
122
|
style?: React.CSSProperties;
|
|
143
123
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
144
124
|
ref?: React.ComponentPropsWithRef<"button">["ref"];
|
|
145
125
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
146
126
|
var ZoomOutButton: ({ className, style, htmlAttributes, tooltipPlacement, }: {
|
|
147
|
-
tooltipPlacement?:
|
|
148
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
149
|
-
displayName: string;
|
|
150
|
-
} & {
|
|
151
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
152
|
-
children: React.ReactNode;
|
|
153
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
154
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
155
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
156
|
-
children: React.ReactNode;
|
|
157
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
158
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
159
|
-
children: React.ReactNode;
|
|
160
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
161
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
162
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
163
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
164
|
-
children: React.ReactNode;
|
|
165
|
-
hasButtonWrapper?: boolean;
|
|
166
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
167
|
-
}>["placement"];
|
|
127
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
168
128
|
className?: string;
|
|
169
129
|
style?: React.CSSProperties;
|
|
170
130
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
171
131
|
ref?: React.ComponentPropsWithRef<"button">["ref"];
|
|
172
132
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
173
133
|
var ZoomToFitButton: ({ className, style, htmlAttributes, tooltipPlacement, }: {
|
|
174
|
-
tooltipPlacement?:
|
|
175
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
176
|
-
displayName: string;
|
|
177
|
-
} & {
|
|
178
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
179
|
-
children: React.ReactNode;
|
|
180
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
181
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
182
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
183
|
-
children: React.ReactNode;
|
|
184
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
185
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
186
|
-
children: React.ReactNode;
|
|
187
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
188
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
189
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
190
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
191
|
-
children: React.ReactNode;
|
|
192
|
-
hasButtonWrapper?: boolean;
|
|
193
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
194
|
-
}>["placement"];
|
|
134
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
195
135
|
className?: string;
|
|
196
136
|
style?: React.CSSProperties;
|
|
197
137
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
198
138
|
ref?: React.ComponentPropsWithRef<"button">["ref"];
|
|
199
139
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
200
140
|
var ToggleSidePanelButton: ({ className, htmlAttributes, style, tooltipPlacement, }: {
|
|
201
|
-
tooltipPlacement?:
|
|
202
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
203
|
-
displayName: string;
|
|
204
|
-
} & {
|
|
205
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
206
|
-
children: React.ReactNode;
|
|
207
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
208
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
209
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
210
|
-
children: React.ReactNode;
|
|
211
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
212
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
213
|
-
children: React.ReactNode;
|
|
214
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
215
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
216
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
217
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
218
|
-
children: React.ReactNode;
|
|
219
|
-
hasButtonWrapper?: boolean;
|
|
220
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
221
|
-
}>["placement"];
|
|
141
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
222
142
|
className?: string;
|
|
223
143
|
style?: React.CSSProperties;
|
|
224
144
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
225
145
|
ref?: React.ComponentPropsWithRef<"button">["ref"];
|
|
226
146
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
227
147
|
var DownloadButton: ({ className, style, htmlAttributes, tooltipPlacement, }: {
|
|
228
|
-
tooltipPlacement?:
|
|
229
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
230
|
-
displayName: string;
|
|
231
|
-
} & {
|
|
232
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
233
|
-
children: React.ReactNode;
|
|
234
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
235
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
236
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
237
|
-
children: React.ReactNode;
|
|
238
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
239
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
240
|
-
children: React.ReactNode;
|
|
241
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
242
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
243
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
244
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
245
|
-
children: React.ReactNode;
|
|
246
|
-
hasButtonWrapper?: boolean;
|
|
247
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
248
|
-
}>["placement"];
|
|
148
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
249
149
|
className?: string;
|
|
250
150
|
style?: React.CSSProperties;
|
|
251
151
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
252
152
|
ref?: React.ComponentPropsWithRef<"button">["ref"];
|
|
253
153
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
254
154
|
var BoxSelectButton: ({ className, style, htmlAttributes, tooltipPlacement, }: {
|
|
255
|
-
tooltipPlacement?:
|
|
256
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
257
|
-
displayName: string;
|
|
258
|
-
} & {
|
|
259
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
260
|
-
children: React.ReactNode;
|
|
261
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
262
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
263
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
264
|
-
children: React.ReactNode;
|
|
265
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
266
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
267
|
-
children: React.ReactNode;
|
|
268
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
269
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
270
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
271
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
272
|
-
children: React.ReactNode;
|
|
273
|
-
hasButtonWrapper?: boolean;
|
|
274
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
275
|
-
}>["placement"];
|
|
155
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
276
156
|
className?: string;
|
|
277
157
|
style?: React.CSSProperties;
|
|
278
158
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
279
159
|
ref?: React.ComponentPropsWithRef<"button">["ref"];
|
|
280
160
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
281
161
|
var LassoSelectButton: ({ className, style, htmlAttributes, tooltipPlacement, }: {
|
|
282
|
-
tooltipPlacement?:
|
|
283
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
284
|
-
displayName: string;
|
|
285
|
-
} & {
|
|
286
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
287
|
-
children: React.ReactNode;
|
|
288
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
289
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
290
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
291
|
-
children: React.ReactNode;
|
|
292
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
293
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
294
|
-
children: React.ReactNode;
|
|
295
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
296
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
297
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
298
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
299
|
-
children: React.ReactNode;
|
|
300
|
-
hasButtonWrapper?: boolean;
|
|
301
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
302
|
-
}>["placement"];
|
|
162
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
303
163
|
className?: string;
|
|
304
164
|
style?: React.CSSProperties;
|
|
305
165
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
306
166
|
ref?: React.ComponentPropsWithRef<"button">["ref"];
|
|
307
167
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
308
168
|
var SingleSelectButton: ({ className, style, htmlAttributes, tooltipPlacement, }: {
|
|
309
|
-
tooltipPlacement?:
|
|
310
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
311
|
-
displayName: string;
|
|
312
|
-
} & {
|
|
313
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
314
|
-
children: React.ReactNode;
|
|
315
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
316
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
317
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
318
|
-
children: React.ReactNode;
|
|
319
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
320
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
321
|
-
children: React.ReactNode;
|
|
322
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
323
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
324
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
325
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
326
|
-
children: React.ReactNode;
|
|
327
|
-
hasButtonWrapper?: boolean;
|
|
328
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
329
|
-
}>["placement"];
|
|
169
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
330
170
|
className?: string;
|
|
331
171
|
style?: React.CSSProperties;
|
|
332
172
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
333
173
|
ref?: React.ComponentPropsWithRef<"button">["ref"];
|
|
334
174
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
335
175
|
var SearchButton: ({ className, style, htmlAttributes, tooltipPlacement, open: rawOpen, setOpen: rawSetOpen, searchTerm: rawSearchTerm, setSearchTerm: rawSetSearchTerm, onSearch, }: {
|
|
336
|
-
tooltipPlacement?:
|
|
337
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
338
|
-
displayName: string;
|
|
339
|
-
} & {
|
|
340
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
341
|
-
children: React.ReactNode;
|
|
342
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
343
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
344
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
345
|
-
children: React.ReactNode;
|
|
346
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
347
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
348
|
-
children: React.ReactNode;
|
|
349
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
350
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
351
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
352
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
353
|
-
children: React.ReactNode;
|
|
354
|
-
hasButtonWrapper?: boolean;
|
|
355
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
356
|
-
}>["placement"];
|
|
176
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
357
177
|
className?: string;
|
|
358
178
|
style?: React.CSSProperties;
|
|
359
179
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
@@ -367,81 +187,23 @@ export declare namespace GraphVisualization {
|
|
|
367
187
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
368
188
|
var SingleSelectionSidePanelContents: () => import("react/jsx-runtime").JSX.Element;
|
|
369
189
|
var LayoutSelectButton: ({ className, style, htmlAttributes, tooltipPlacement, menuPlacement, layoutOptions, }: {
|
|
370
|
-
tooltipPlacement?:
|
|
371
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
372
|
-
displayName: string;
|
|
373
|
-
} & {
|
|
374
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
375
|
-
children: React.ReactNode;
|
|
376
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
377
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
378
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
379
|
-
children: React.ReactNode;
|
|
380
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
381
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
382
|
-
children: React.ReactNode;
|
|
383
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
384
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
385
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
386
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
387
|
-
children: React.ReactNode;
|
|
388
|
-
hasButtonWrapper?: boolean;
|
|
389
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
390
|
-
}>["placement"];
|
|
190
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
391
191
|
className?: string;
|
|
392
192
|
style?: React.CSSProperties;
|
|
393
193
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
394
194
|
ref?: React.ComponentPropsWithRef<"button">["ref"];
|
|
395
195
|
} & {
|
|
396
|
-
menuPlacement?:
|
|
397
|
-
CategoryItem: <T extends React.ElementType = "button">({ children, className, style, as, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").PolymorphicCommonProps<T, import("@neo4j-ndl/react/lib/types/menu/menu-types").CategoryItemProps>) => import("react/jsx-runtime").JSX.Element;
|
|
398
|
-
Divider: <T extends React.ElementType = "div">({ orientation, as, style, className, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").PolymorphicCommonProps<T, {
|
|
399
|
-
orientation?: "horizontal" | "vertical";
|
|
400
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
401
|
-
Group: ({ children, className, htmlAttributes, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", import("@neo4j-ndl/react/lib/types/menu/menu-types").MenuGroupProps>) => import("react/jsx-runtime").JSX.Element;
|
|
402
|
-
Item: <T extends React.ElementType = "button">({ title, className, style, leadingVisual, trailingContent, description, isDisabled, as, onClick, onFocus, htmlAttributes, id, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").PolymorphicCommonProps<T, import("@neo4j-ndl/react/lib/types/menu/menu-types").MenuItemProps>) => import("react/jsx-runtime").JSX.Element;
|
|
403
|
-
Items: <T extends React.ElementType = "div">({ as, children, className, htmlAttributes, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").PolymorphicCommonProps<T, import("@neo4j-ndl/react/lib/types/menu/menu-types").MenuItemsProps>) => import("react/jsx-runtime").JSX.Element;
|
|
404
|
-
RadioItem: <T extends React.ElementType = "button">({ title, leadingVisual, trailingContent, description, isDisabled, isChecked, onClick, onFocus, className, style, as, id, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").PolymorphicCommonProps<T, import("@neo4j-ndl/react/lib/types/menu/menu-types").RadioItemProps>) => import("react/jsx-runtime").JSX.Element;
|
|
405
|
-
}>["placement"];
|
|
196
|
+
menuPlacement?: ("bottom-end-top-end" | "bottom-start-top-start" | "bottom-middle-top-middle" | "top-end-bottom-end" | "top-start-bottom-start" | "top-middle-bottom-middle" | "bottom-start-bottom-end" | "top-start-top-end" | "middle-start-middle-end" | "bottom-end-bottom-start" | "top-end-top-start" | "middle-end-middle-start") | undefined;
|
|
406
197
|
layoutOptions?: Partial<import("./graph-visualization-buttons").LayoutSelectOption>;
|
|
407
198
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
408
199
|
var GestureSelectButton: ({ className, style, htmlAttributes, tooltipPlacement, menuPlacement, gestureOptions, }: {
|
|
409
|
-
tooltipPlacement?:
|
|
410
|
-
({ children, isDisabled, type, isInitialOpen, placement, isOpen, onOpenChange, isPortaled: isPortaledProp, floatingStrategy: strategyProp, hoverDelay, shouldCloseOnReferenceClick, autoUpdateOptions, }: import("@neo4j-ndl/react/lib/types/tooltip").TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
411
|
-
displayName: string;
|
|
412
|
-
} & {
|
|
413
|
-
Actions: ({ children, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
414
|
-
children: React.ReactNode;
|
|
415
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
416
|
-
Body: ({ children, className, style, htmlAttributes, passThroughProps, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", import("@neo4j-ndl/react/lib/types/tooltip").TooltipBodyProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
417
|
-
Content: ({ children, style, htmlAttributes, className, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", {
|
|
418
|
-
children: React.ReactNode;
|
|
419
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
420
|
-
Header: ({ children, passThroughProps, typographyVariant, className, style, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"span", {
|
|
421
|
-
children: React.ReactNode;
|
|
422
|
-
passThroughProps?: Partial<React.ComponentPropsWithoutRef<typeof import("@neo4j-ndl/react").Typography>>;
|
|
423
|
-
typographyVariant?: import("@neo4j-ndl/react/lib/types/typography").TypographyVariants;
|
|
424
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
425
|
-
Trigger: ({ children, hasButtonWrapper, htmlAttributes, className, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"button", {
|
|
426
|
-
children: React.ReactNode;
|
|
427
|
-
hasButtonWrapper?: boolean;
|
|
428
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
429
|
-
}>["placement"];
|
|
200
|
+
tooltipPlacement?: import("@floating-ui/react").Placement | undefined;
|
|
430
201
|
className?: string;
|
|
431
202
|
style?: React.CSSProperties;
|
|
432
203
|
htmlAttributes?: React.ComponentPropsWithRef<typeof import("@neo4j-ndl/react").CleanIconButton>["htmlAttributes"];
|
|
433
204
|
ref?: React.ComponentPropsWithRef<"button">["ref"];
|
|
434
205
|
} & {
|
|
435
|
-
menuPlacement?:
|
|
436
|
-
CategoryItem: <T extends React.ElementType = "button">({ children, className, style, as, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").PolymorphicCommonProps<T, import("@neo4j-ndl/react/lib/types/menu/menu-types").CategoryItemProps>) => import("react/jsx-runtime").JSX.Element;
|
|
437
|
-
Divider: <T extends React.ElementType = "div">({ orientation, as, style, className, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").PolymorphicCommonProps<T, {
|
|
438
|
-
orientation?: "horizontal" | "vertical";
|
|
439
|
-
}>) => import("react/jsx-runtime").JSX.Element;
|
|
440
|
-
Group: ({ children, className, htmlAttributes, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").CommonProps<"div", import("@neo4j-ndl/react/lib/types/menu/menu-types").MenuGroupProps>) => import("react/jsx-runtime").JSX.Element;
|
|
441
|
-
Item: <T extends React.ElementType = "button">({ title, className, style, leadingVisual, trailingContent, description, isDisabled, as, onClick, onFocus, htmlAttributes, id, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").PolymorphicCommonProps<T, import("@neo4j-ndl/react/lib/types/menu/menu-types").MenuItemProps>) => import("react/jsx-runtime").JSX.Element;
|
|
442
|
-
Items: <T extends React.ElementType = "div">({ as, children, className, htmlAttributes, style, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").PolymorphicCommonProps<T, import("@neo4j-ndl/react/lib/types/menu/menu-types").MenuItemsProps>) => import("react/jsx-runtime").JSX.Element;
|
|
443
|
-
RadioItem: <T extends React.ElementType = "button">({ title, leadingVisual, trailingContent, description, isDisabled, isChecked, onClick, onFocus, className, style, as, id, htmlAttributes, ref, ...restProps }: import("@neo4j-ndl/react/lib/types/_common/types").PolymorphicCommonProps<T, import("@neo4j-ndl/react/lib/types/menu/menu-types").RadioItemProps>) => import("react/jsx-runtime").JSX.Element;
|
|
444
|
-
}>["placement"];
|
|
206
|
+
menuPlacement?: ("bottom-end-top-end" | "bottom-start-top-start" | "bottom-middle-top-middle" | "top-end-bottom-end" | "top-start-bottom-start" | "top-middle-bottom-middle" | "bottom-start-bottom-end" | "top-start-top-end" | "middle-start-middle-end" | "bottom-end-bottom-start" | "top-end-top-start" | "middle-end-middle-start") | undefined;
|
|
445
207
|
gestureOptions?: Partial<import("./graph-visualization-buttons").GestureSelectOption>;
|
|
446
208
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
447
209
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph-visualization.d.ts","sourceRoot":"","sources":["../../src/graph-visualization.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,kBAAkB,CAAC;AAE1B,OA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AC;;;;;;;;;qBAK0qD,CAAC;sBAAkE,CAAC"}
|
|
@@ -112,6 +112,7 @@ export declare function useManagedNodeState({ selected, setSelected, gesture, in
|
|
|
112
112
|
onNodeRightClick?: ((node: Node, hitElements: HitTargets, event: MouseEvent) => void) | boolean;
|
|
113
113
|
onRelationshipRightClick?: ((relationship: Relationship, hitElements: HitTargets, event: MouseEvent) => void) | boolean;
|
|
114
114
|
onDrag?: ((nodes: Node[], evt: MouseEvent) => void) | boolean;
|
|
115
|
+
onZoomAndPan?: ((zoomLevel: number, panX: number, panY: number, event: WheelEvent) => void) | boolean;
|
|
115
116
|
};
|
|
116
117
|
};
|
|
117
118
|
//# sourceMappingURL=use-managed-node-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-managed-node-state.d.ts","sourceRoot":"","sources":["../../src/use-managed-node-state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,IAAI,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,eAAe,EACrB,MAAM,+BAA+B,CAAC;AAgBvC,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,CAAC,YAAY,EAAE,cAAc,KAAK,IAAI,CAAC;IACpD,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,kBAAkB,EAAE,CAAC,kBAAkB,EAAE,eAAe,KAAK,IAAI,CAAC;IAClE,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,QAAQ,EAAE;QACR,KAAK,EAAE,IAAI,EAAE,CAAC;QACd,IAAI,EAAE,YAAY,EAAE,CAAC;KACtB,CAAC;IACF,kB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B,mBAAmB,EACnB,QAAQ,EACR,kBAAkB,EAClB,0BAA0B,GAC3B,EAAE,oBAAoB;;;;;;;;;;;;;;;;;;;;oBAEE,CAAC;gBAUV,CAAC;;;;;;;;;;;;;;;;;;;;oBAVQ,CAAC;gBAUV,CAAC;;;;kDA8PM;YAAE,KAAK,EAAE,IAAI,EAAE,CAAC;YAAC,IAAI,EAAE,YAAY,EAAE,CAAA;SAAE,OACnD,UAAU;;wCAzNX,UAAU;6CAyCD,IAAI,EAAE,OAAO,UAAU;+CAzBvB,IAAI,EAAE,OAAO,UAAU;uDA8Cd,YAAY,GAAG,IAAI,sBACrB,IAAI,GAAG,IAAI,SACxB,UAAU;wCAZb,UAAU;;;oDAuJG;YAAE,KAAK,EAAE,IAAI,EAAE,CAAC;YAAC,IAAI,EAAE,YAAY,EAAE,CAAA;SAAE,OACnD,UAAU;;uCAlIV,IAAI,eAAe,UAAU,OAAO,UAAU;6CAyE9C,IAAI,eAAe,UAAU,OAAO,UAAU;;;;;uDAvCtC,YAAY,eAAe,UAAU,OAAO,UAAU;6DAmDtD,YAAY,eAAe,UAAU,OAAO,UAAU;;;;;;;;;EA2KxE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react-graph",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.44",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of the graph visualization from Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -35,19 +35,20 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@axe-core/playwright": "4.
|
|
38
|
+
"@axe-core/playwright": "4.10.2",
|
|
39
|
+
"@neo4j-devtools/word-color": "0.0.8",
|
|
39
40
|
"@playwright/experimental-ct-react": "1.56.0",
|
|
40
41
|
"@playwright/test": "1.56.0",
|
|
41
|
-
"@
|
|
42
|
-
"@testing-library/
|
|
43
|
-
"@
|
|
42
|
+
"@storybook/react-vite": "10.2.3",
|
|
43
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
44
|
+
"@testing-library/react": "16.3.0",
|
|
45
|
+
"@types/react": "19.2.10",
|
|
44
46
|
"@types/react-dom": "19.2.3",
|
|
45
|
-
"@storybook/react-vite": "9.0.11",
|
|
46
|
-
"@neo4j-devtools/word-color": "0.0.8",
|
|
47
47
|
"@vitejs/plugin-react": "5.1.2",
|
|
48
|
-
"react": "19.2.
|
|
49
|
-
"
|
|
50
|
-
"
|
|
48
|
+
"react": "19.2.4",
|
|
49
|
+
"react-dom": "19.2.4",
|
|
50
|
+
"typescript": "5.9.3",
|
|
51
|
+
"vitest": "3.2.4"
|
|
51
52
|
},
|
|
52
53
|
"peerDependencies": {
|
|
53
54
|
"react": ">=19.0.0",
|
|
@@ -55,8 +56,8 @@
|
|
|
55
56
|
"@neo4j-nvl/base": "^1.0.0",
|
|
56
57
|
"@neo4j-nvl/interaction-handlers": "^1.0.0",
|
|
57
58
|
"@neo4j-nvl/react": "^1.0.0",
|
|
58
|
-
"@neo4j-ndl/base": "^4.9.
|
|
59
|
-
"@neo4j-ndl/react": "^4.9.
|
|
59
|
+
"@neo4j-ndl/base": "^4.9.14",
|
|
60
|
+
"@neo4j-ndl/react": "^4.9.26"
|
|
60
61
|
},
|
|
61
62
|
"dependencies": {
|
|
62
63
|
"classnames": "2.5.1",
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
-
exports.Search = exports.Highlighting = exports.CustomIslands = exports.Maximalist = exports.Barebones = exports.Default = void 0;
|
|
24
|
-
const _1 = require(".");
|
|
25
|
-
const componentMeta = {
|
|
26
|
-
id: 'components-graph-visualization',
|
|
27
|
-
parameters: {
|
|
28
|
-
controls: { disable: true },
|
|
29
|
-
},
|
|
30
|
-
tags: ['docsPage'],
|
|
31
|
-
title: 'Components/GraphVisualization',
|
|
32
|
-
};
|
|
33
|
-
exports.default = componentMeta;
|
|
34
|
-
exports.Default = {
|
|
35
|
-
args: {},
|
|
36
|
-
parameters: {
|
|
37
|
-
docs: {
|
|
38
|
-
source: {
|
|
39
|
-
code: _1.GraphVisualizationDefaultSrc,
|
|
40
|
-
language: 'tsx',
|
|
41
|
-
type: 'code',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
render: _1.GraphVisualizationDefault,
|
|
46
|
-
};
|
|
47
|
-
exports.Barebones = {
|
|
48
|
-
args: {},
|
|
49
|
-
parameters: {
|
|
50
|
-
docs: {
|
|
51
|
-
source: {
|
|
52
|
-
code: _1.GraphVisualizationBarebonesSrc,
|
|
53
|
-
language: 'tsx',
|
|
54
|
-
type: 'code',
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
render: _1.GraphVisualizationBarebones,
|
|
59
|
-
};
|
|
60
|
-
exports.Maximalist = {
|
|
61
|
-
args: {},
|
|
62
|
-
parameters: {
|
|
63
|
-
docs: {
|
|
64
|
-
source: {
|
|
65
|
-
code: _1.GraphVisualizationMaximalistSrc,
|
|
66
|
-
language: 'tsx',
|
|
67
|
-
type: 'code',
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
render: _1.GraphVisualizationMaximalist,
|
|
72
|
-
};
|
|
73
|
-
exports.CustomIslands = {
|
|
74
|
-
args: {},
|
|
75
|
-
parameters: {
|
|
76
|
-
docs: {
|
|
77
|
-
source: {
|
|
78
|
-
code: _1.GraphVisualizationCustomSrc,
|
|
79
|
-
language: 'tsx',
|
|
80
|
-
type: 'code',
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
render: _1.GraphVisualizationCustom,
|
|
85
|
-
};
|
|
86
|
-
exports.Highlighting = {
|
|
87
|
-
args: {},
|
|
88
|
-
parameters: {
|
|
89
|
-
docs: {
|
|
90
|
-
source: {
|
|
91
|
-
code: _1.GraphVisualizationHighlightingSrc,
|
|
92
|
-
language: 'tsx',
|
|
93
|
-
type: 'code',
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
|
-
render: _1.GraphVisualizationHighlighting,
|
|
98
|
-
};
|
|
99
|
-
exports.Search = {
|
|
100
|
-
args: {},
|
|
101
|
-
parameters: {
|
|
102
|
-
docs: {
|
|
103
|
-
source: {
|
|
104
|
-
code: _1.GraphVisualizationSearchSrc,
|
|
105
|
-
language: 'tsx',
|
|
106
|
-
type: 'code',
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
render: _1.GraphVisualizationSearch,
|
|
111
|
-
};
|
|
112
|
-
//# sourceMappingURL=graph-visualization.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graph-visualization.stories.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG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I,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,oCAAiC;gBACvC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,iCAA8B;CACvC,CAAC;AAEW,QAAA,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,8BAA2B;gBACjC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,2BAAwB;CACjC,CAAC","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type StoryObj } from '@storybook/react-vite';\n\nimport {\n GraphVisualizationBarebones,\n GraphVisualizationBarebonesSrc,\n GraphVisualizationCustom,\n GraphVisualizationCustomSrc,\n GraphVisualizationDefault,\n GraphVisualizationDefaultSrc,\n GraphVisualizationHighlighting,\n GraphVisualizationHighlightingSrc,\n GraphVisualizationMaximalist,\n GraphVisualizationMaximalistSrc,\n GraphVisualizationSearch,\n GraphVisualizationSearchSrc,\n} from '.';\n\nconst componentMeta = {\n id: 'components-graph-visualization',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/GraphVisualization',\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationDefault,\n};\n\nexport const Barebones: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationBarebonesSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationBarebones,\n};\n\nexport const Maximalist: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationMaximalistSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationMaximalist,\n};\n\nexport const CustomIslands: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationCustomSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationCustom,\n};\n\nexport const Highlighting: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationHighlightingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationHighlighting,\n};\n\nexport const Search: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationSearchSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationSearch,\n};\n"]}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
-
exports.GraphVisualizationWithPreviewHeader = void 0;
|
|
24
|
-
const ai_1 = require("@neo4j-ndl/react/ai");
|
|
25
|
-
const _1 = require(".");
|
|
26
|
-
const componentMeta = {
|
|
27
|
-
component: ai_1.Preview,
|
|
28
|
-
id: 'components-ai-preview-graph',
|
|
29
|
-
parameters: {
|
|
30
|
-
controls: { disable: true },
|
|
31
|
-
},
|
|
32
|
-
tags: ['docsPage'],
|
|
33
|
-
title: 'Components/AI/Preview', // Same title as the other Preview stories
|
|
34
|
-
};
|
|
35
|
-
exports.default = componentMeta;
|
|
36
|
-
exports.GraphVisualizationWithPreviewHeader = {
|
|
37
|
-
args: {},
|
|
38
|
-
parameters: {
|
|
39
|
-
docs: {
|
|
40
|
-
source: {
|
|
41
|
-
code: _1.PreviewGraphVisualizationSrc,
|
|
42
|
-
language: 'tsx',
|
|
43
|
-
type: 'code',
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
render: _1.PreviewGraphVisualization,
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* This file should only be used for the GraphVisualizationPreview story,
|
|
51
|
-
* which is used to preview the graph visualization component in the AI Preview.
|
|
52
|
-
* Do not use this file for other stories.
|
|
53
|
-
*/
|
|
54
|
-
//# sourceMappingURL=preview-graph-visualization.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preview-graph-visualization.stories.js","sourceRoot":"","sources":["../../../src/stories/preview-graph-visualization.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEH,4CAA8C;AAG9C,wBAA4E;AAE5E,MAAM,aAAa,GAAyB;IAC1C,SAAS,EAAE,YAAO;IAClB,EAAE,EAAE,6BAA6B;IACjC,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,uBAAuB,EAAE,0CAA0C;CAC3E,CAAC;AAEF,kBAAe,aAAa,CAAC;AAGhB,QAAA,mCAAmC,GAAU;IACxD,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,+BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,4BAAyB;CAClC,CAAC;AAEF;;;;GAIG","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Preview } from '@neo4j-ndl/react/ai';\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { PreviewGraphVisualization, PreviewGraphVisualizationSrc } from '.';\n\nconst componentMeta: Meta<typeof Preview> = {\n component: Preview,\n id: 'components-ai-preview-graph',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/AI/Preview', // Same title as the other Preview stories\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const GraphVisualizationWithPreviewHeader: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PreviewGraphVisualizationSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PreviewGraphVisualization,\n};\n\n/**\n * This file should only be used for the GraphVisualizationPreview story,\n * which is used to preview the graph visualization component in the AI Preview.\n * Do not use this file for other stories.\n */\n"]}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
import { GraphVisualizationBarebones, GraphVisualizationBarebonesSrc, GraphVisualizationCustom, GraphVisualizationCustomSrc, GraphVisualizationDefault, GraphVisualizationDefaultSrc, GraphVisualizationHighlighting, GraphVisualizationHighlightingSrc, GraphVisualizationMaximalist, GraphVisualizationMaximalistSrc, GraphVisualizationSearch, GraphVisualizationSearchSrc, } from '.';
|
|
22
|
-
const componentMeta = {
|
|
23
|
-
id: 'components-graph-visualization',
|
|
24
|
-
parameters: {
|
|
25
|
-
controls: { disable: true },
|
|
26
|
-
},
|
|
27
|
-
tags: ['docsPage'],
|
|
28
|
-
title: 'Components/GraphVisualization',
|
|
29
|
-
};
|
|
30
|
-
export default componentMeta;
|
|
31
|
-
export const Default = {
|
|
32
|
-
args: {},
|
|
33
|
-
parameters: {
|
|
34
|
-
docs: {
|
|
35
|
-
source: {
|
|
36
|
-
code: GraphVisualizationDefaultSrc,
|
|
37
|
-
language: 'tsx',
|
|
38
|
-
type: 'code',
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
render: GraphVisualizationDefault,
|
|
43
|
-
};
|
|
44
|
-
export const Barebones = {
|
|
45
|
-
args: {},
|
|
46
|
-
parameters: {
|
|
47
|
-
docs: {
|
|
48
|
-
source: {
|
|
49
|
-
code: GraphVisualizationBarebonesSrc,
|
|
50
|
-
language: 'tsx',
|
|
51
|
-
type: 'code',
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
render: GraphVisualizationBarebones,
|
|
56
|
-
};
|
|
57
|
-
export const Maximalist = {
|
|
58
|
-
args: {},
|
|
59
|
-
parameters: {
|
|
60
|
-
docs: {
|
|
61
|
-
source: {
|
|
62
|
-
code: GraphVisualizationMaximalistSrc,
|
|
63
|
-
language: 'tsx',
|
|
64
|
-
type: 'code',
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
render: GraphVisualizationMaximalist,
|
|
69
|
-
};
|
|
70
|
-
export const CustomIslands = {
|
|
71
|
-
args: {},
|
|
72
|
-
parameters: {
|
|
73
|
-
docs: {
|
|
74
|
-
source: {
|
|
75
|
-
code: GraphVisualizationCustomSrc,
|
|
76
|
-
language: 'tsx',
|
|
77
|
-
type: 'code',
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
render: GraphVisualizationCustom,
|
|
82
|
-
};
|
|
83
|
-
export const Highlighting = {
|
|
84
|
-
args: {},
|
|
85
|
-
parameters: {
|
|
86
|
-
docs: {
|
|
87
|
-
source: {
|
|
88
|
-
code: GraphVisualizationHighlightingSrc,
|
|
89
|
-
language: 'tsx',
|
|
90
|
-
type: 'code',
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
render: GraphVisualizationHighlighting,
|
|
95
|
-
};
|
|
96
|
-
export const Search = {
|
|
97
|
-
args: {},
|
|
98
|
-
parameters: {
|
|
99
|
-
docs: {
|
|
100
|
-
source: {
|
|
101
|
-
code: GraphVisualizationSearchSrc,
|
|
102
|
-
language: 'tsx',
|
|
103
|
-
type: 'code',
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
render: GraphVisualizationSearch,
|
|
108
|
-
};
|
|
109
|
-
//# sourceMappingURL=graph-visualization.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graph-visualization.stories.js","sourceRoot":"","sources":["../../../src/stories/graph-visualization.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,4BAA4B,EAC5B,8BAA8B,EAC9B,iCAAiC,EACjC,4BAA4B,EAC5B,+BAA+B,EAC/B,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,GAAG,CAAC;AAEX,MAAM,aAAa,GAAG;IACpB,EAAE,EAAE,gCAAgC;IACpC,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,+BAA+B;CACvC,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,4BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,yBAAyB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA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neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { type StoryObj } from '@storybook/react-vite';\n\nimport {\n GraphVisualizationBarebones,\n GraphVisualizationBarebonesSrc,\n GraphVisualizationCustom,\n GraphVisualizationCustomSrc,\n GraphVisualizationDefault,\n GraphVisualizationDefaultSrc,\n GraphVisualizationHighlighting,\n GraphVisualizationHighlightingSrc,\n GraphVisualizationMaximalist,\n GraphVisualizationMaximalistSrc,\n GraphVisualizationSearch,\n GraphVisualizationSearchSrc,\n} from '.';\n\nconst componentMeta = {\n id: 'components-graph-visualization',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/GraphVisualization',\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const Default: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationDefaultSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationDefault,\n};\n\nexport const Barebones: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationBarebonesSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationBarebones,\n};\n\nexport const Maximalist: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationMaximalistSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationMaximalist,\n};\n\nexport const CustomIslands: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationCustomSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationCustom,\n};\n\nexport const Highlighting: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationHighlightingSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationHighlighting,\n};\n\nexport const Search: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: GraphVisualizationSearchSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: GraphVisualizationSearch,\n};\n"]}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
import { Preview } from '@neo4j-ndl/react/ai';
|
|
22
|
-
import { PreviewGraphVisualization, PreviewGraphVisualizationSrc } from '.';
|
|
23
|
-
const componentMeta = {
|
|
24
|
-
component: Preview,
|
|
25
|
-
id: 'components-ai-preview-graph',
|
|
26
|
-
parameters: {
|
|
27
|
-
controls: { disable: true },
|
|
28
|
-
},
|
|
29
|
-
tags: ['docsPage'],
|
|
30
|
-
title: 'Components/AI/Preview', // Same title as the other Preview stories
|
|
31
|
-
};
|
|
32
|
-
export default componentMeta;
|
|
33
|
-
export const GraphVisualizationWithPreviewHeader = {
|
|
34
|
-
args: {},
|
|
35
|
-
parameters: {
|
|
36
|
-
docs: {
|
|
37
|
-
source: {
|
|
38
|
-
code: PreviewGraphVisualizationSrc,
|
|
39
|
-
language: 'tsx',
|
|
40
|
-
type: 'code',
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
render: PreviewGraphVisualization,
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* This file should only be used for the GraphVisualizationPreview story,
|
|
48
|
-
* which is used to preview the graph visualization component in the AI Preview.
|
|
49
|
-
* Do not use this file for other stories.
|
|
50
|
-
*/
|
|
51
|
-
//# sourceMappingURL=preview-graph-visualization.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preview-graph-visualization.stories.js","sourceRoot":"","sources":["../../../src/stories/preview-graph-visualization.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,MAAM,GAAG,CAAC;AAE5E,MAAM,aAAa,GAAyB;IAC1C,SAAS,EAAE,OAAO;IAClB,EAAE,EAAE,6BAA6B;IACjC,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;KAC5B;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,KAAK,EAAE,uBAAuB,EAAE,0CAA0C;CAC3E,CAAC;AAEF,eAAe,aAAa,CAAC;AAG7B,MAAM,CAAC,MAAM,mCAAmC,GAAU;IACxD,IAAI,EAAE,EAAE;IACR,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,IAAI,EAAE,4BAA4B;gBAClC,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,MAAM;aACb;SACF;KACF;IACD,MAAM,EAAE,yBAAyB;CAClC,CAAC;AAEF;;;;GAIG","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Preview } from '@neo4j-ndl/react/ai';\nimport { type Meta, type StoryObj } from '@storybook/react-vite';\n\nimport { PreviewGraphVisualization, PreviewGraphVisualizationSrc } from '.';\n\nconst componentMeta: Meta<typeof Preview> = {\n component: Preview,\n id: 'components-ai-preview-graph',\n parameters: {\n controls: { disable: true },\n },\n tags: ['docsPage'],\n title: 'Components/AI/Preview', // Same title as the other Preview stories\n};\n\nexport default componentMeta;\ntype Story = StoryObj<typeof componentMeta>;\n\nexport const GraphVisualizationWithPreviewHeader: Story = {\n args: {},\n parameters: {\n docs: {\n source: {\n code: PreviewGraphVisualizationSrc,\n language: 'tsx',\n type: 'code',\n },\n },\n },\n render: PreviewGraphVisualization,\n};\n\n/**\n * This file should only be used for the GraphVisualizationPreview story,\n * which is used to preview the graph visualization component in the AI Preview.\n * Do not use this file for other stories.\n */\n"]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react-vite';
|
|
22
|
-
declare const componentMeta: {
|
|
23
|
-
id: string;
|
|
24
|
-
parameters: {
|
|
25
|
-
controls: {
|
|
26
|
-
disable: boolean;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
tags: string[];
|
|
30
|
-
title: string;
|
|
31
|
-
};
|
|
32
|
-
export default componentMeta;
|
|
33
|
-
type Story = StoryObj<typeof componentMeta>;
|
|
34
|
-
export declare const Default: Story;
|
|
35
|
-
export declare const Barebones: Story;
|
|
36
|
-
export declare const Maximalist: Story;
|
|
37
|
-
export declare const CustomIslands: Story;
|
|
38
|
-
export declare const Highlighting: Story;
|
|
39
|
-
export declare const Search: Story;
|
|
40
|
-
//# sourceMappingURL=graph-visualization.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graph-visualization.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/graph-visualization.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAiBtD,QAAA,MAAM,aAAa;;;;;;;;;CAOlB,CAAC;AAEF,eAAe,aAAa,CAAC;AAC7B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE5C,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAYvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAY3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAY1B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAYpB,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
import { Preview } from '@neo4j-ndl/react/ai';
|
|
22
|
-
import { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
23
|
-
declare const componentMeta: Meta<typeof Preview>;
|
|
24
|
-
export default componentMeta;
|
|
25
|
-
type Story = StoryObj<typeof componentMeta>;
|
|
26
|
-
export declare const GraphVisualizationWithPreviewHeader: Story;
|
|
27
|
-
/**
|
|
28
|
-
* This file should only be used for the GraphVisualizationPreview story,
|
|
29
|
-
* which is used to preview the graph visualization component in the AI Preview.
|
|
30
|
-
* Do not use this file for other stories.
|
|
31
|
-
*/
|
|
32
|
-
//# sourceMappingURL=preview-graph-visualization.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preview-graph-visualization.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/preview-graph-visualization.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjE,QAAA,MAAM,aAAa,EAAE,IAAI,CAAC,OAAO,OAAO,CAQvC,CAAC;AAEF,eAAe,aAAa,CAAC;AAC7B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE5C,eAAO,MAAM,mCAAmC,EAAE,KAYjD,CAAC;AAEF;;;;GAIG"}
|