@neo4j-ndl/react 3.8.16 → 3.8.17
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/cjs/graph-visualization/index.js +1 -27
- package/lib/cjs/graph-visualization/index.js.map +1 -1
- package/lib/cjs/nvl/index.js +40 -0
- package/lib/cjs/nvl/index.js.map +1 -0
- package/lib/esm/graph-visualization/index.js +0 -3
- package/lib/esm/graph-visualization/index.js.map +1 -1
- package/lib/esm/nvl/index.js +24 -0
- package/lib/esm/nvl/index.js.map +1 -0
- package/lib/types/accordion/stories/accordion.stories.d.ts +1 -1
- package/lib/types/ai-presence/stories/ai-presence.stories.d.ts +1 -1
- package/lib/types/banner/stories/banner.stories.d.ts +1 -1
- package/lib/types/color-picker/stories/color-picker.stories.d.ts +1 -1
- package/lib/types/conditional-wrap/stories/conditional-wrap.stories.d.ts +1 -1
- package/lib/types/graph-visualization/index.d.ts +0 -3
- package/lib/types/graph-visualization/stories/graph-visualization.stories.d.ts +1 -1
- package/lib/types/next/breadcrumbs/stories/breadcrumbs.stories.d.ts +1 -1
- package/lib/types/next/side-navigation/stories/side-nav.stories.d.ts +1 -1
- package/lib/types/nvl/index.d.ts +23 -0
- package/lib/types/slider/stories/slider.stories.d.ts +1 -1
- package/package.json +8 -3
|
@@ -19,34 +19,8 @@
|
|
|
19
19
|
* You should have received a copy of the GNU General Public License
|
|
20
20
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
21
|
*/
|
|
22
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
25
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
26
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
27
|
-
}
|
|
28
|
-
Object.defineProperty(o, k2, desc);
|
|
29
|
-
}) : (function(o, m, k, k2) {
|
|
30
|
-
if (k2 === undefined) k2 = k;
|
|
31
|
-
o[k2] = m[k];
|
|
32
|
-
}));
|
|
33
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
34
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
35
|
-
}) : function(o, v) {
|
|
36
|
-
o["default"] = v;
|
|
37
|
-
});
|
|
38
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
39
|
-
if (mod && mod.__esModule) return mod;
|
|
40
|
-
var result = {};
|
|
41
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
42
|
-
__setModuleDefault(result, mod);
|
|
43
|
-
return result;
|
|
44
|
-
};
|
|
45
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.useGraphVisualizationContext = exports.GraphVisualization =
|
|
47
|
-
exports.NVLBase = __importStar(require("@neo4j-nvl/base"));
|
|
48
|
-
exports.NVLInteractionHandlers = __importStar(require("@neo4j-nvl/interaction-handlers"));
|
|
49
|
-
exports.NVLReact = __importStar(require("@neo4j-nvl/react"));
|
|
23
|
+
exports.useGraphVisualizationContext = exports.GraphVisualization = void 0;
|
|
50
24
|
var graph_visualization_1 = require("./graph-visualization");
|
|
51
25
|
Object.defineProperty(exports, "GraphVisualization", { enumerable: true, get: function () { return graph_visualization_1.GraphVisualization; } });
|
|
52
26
|
var graph_visualization_context_1 = require("./graph-visualization-context");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graph-visualization/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graph-visualization/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEH,6DAA2D;AAAlD,yHAAA,kBAAkB,OAAA;AAC3B,6EAeuC;AAdrC,2IAAA,4BAA4B,OAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
25
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
26
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
27
|
+
}
|
|
28
|
+
Object.defineProperty(o, k2, desc);
|
|
29
|
+
}) : (function(o, m, k, k2) {
|
|
30
|
+
if (k2 === undefined) k2 = k;
|
|
31
|
+
o[k2] = m[k];
|
|
32
|
+
}));
|
|
33
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
34
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
__exportStar(require("@neo4j-nvl/base"), exports);
|
|
38
|
+
__exportStar(require("@neo4j-nvl/interaction-handlers"), exports);
|
|
39
|
+
__exportStar(require("@neo4j-nvl/react"), exports);
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/nvl/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;AAEH,kDAAgC;AAChC,kEAAgD;AAChD,mDAAiC"}
|
|
@@ -18,9 +18,6 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
export * as NVLBase from '@neo4j-nvl/base';
|
|
22
|
-
export * as NVLInteractionHandlers from '@neo4j-nvl/interaction-handlers';
|
|
23
|
-
export * as NVLReact from '@neo4j-nvl/react';
|
|
24
21
|
export { GraphVisualization } from './graph-visualization';
|
|
25
22
|
export { useGraphVisualizationContext, } from './graph-visualization-context';
|
|
26
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graph-visualization/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graph-visualization/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,4BAA4B,GAc7B,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
export * from '@neo4j-nvl/base';
|
|
22
|
+
export * from '@neo4j-nvl/interaction-handlers';
|
|
23
|
+
export * from '@neo4j-nvl/react';
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/nvl/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react';
|
|
21
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
22
22
|
declare const componentMeta: {
|
|
23
23
|
title: string;
|
|
24
24
|
component: (<T extends import("../Accordion").AccordionItemId, U extends React.ElementType = "div">(props: import("../../_common/types").PolymorphicPropsWithoutRef<U, import("../Accordion").AccordionProps<T>> & import("react").RefAttributes<unknown>) => import("react").ReactElement | null) & {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react';
|
|
21
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
22
22
|
declare const componentMeta: {
|
|
23
23
|
component: import("react").ForwardRefExoticComponent<{
|
|
24
24
|
isThinking?: boolean;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react';
|
|
21
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
22
22
|
declare const componentMeta: {
|
|
23
23
|
title: string;
|
|
24
24
|
component: Omit<import("react").ForwardRefExoticComponent<import("../Banner").BannerProps & {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react';
|
|
21
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
22
22
|
declare const componentMeta: {
|
|
23
23
|
component: import("react").ForwardRefExoticComponent<{
|
|
24
24
|
color: import("@uiw/react-color").HsvaColor | import("@uiw/react-color").RgbaColor | import("@uiw/react-color").HexColor;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react';
|
|
21
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
22
22
|
declare const componentMeta: {
|
|
23
23
|
title: string;
|
|
24
24
|
component: ({ shouldWrap, wrap, children, }: {
|
|
@@ -18,8 +18,5 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
export * as NVLBase from '@neo4j-nvl/base';
|
|
22
|
-
export * as NVLInteractionHandlers from '@neo4j-nvl/interaction-handlers';
|
|
23
|
-
export * as NVLReact from '@neo4j-nvl/react';
|
|
24
21
|
export { GraphVisualization } from './graph-visualization';
|
|
25
22
|
export { useGraphVisualizationContext, type DataLookupTable, type Gesture, type GraphItemMetaData, type GraphSelection, type GraphVisualizationContextData, type InteractionMode, type NeoNode, type NeoRel, type NodeData, type NvlGraph, type PortableProperty, type RelData, type Sidepanel, } from './graph-visualization-context';
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react';
|
|
21
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
22
22
|
declare const componentMeta: {
|
|
23
23
|
parameters: {
|
|
24
24
|
controls: {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react';
|
|
21
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
22
22
|
declare const componentMeta: {
|
|
23
23
|
component: import("react").ForwardRefExoticComponent<{
|
|
24
24
|
children?: React.ReactNode;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react';
|
|
21
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
22
22
|
declare const componentMeta: {
|
|
23
23
|
component: import("react").ForwardRefExoticComponent<{
|
|
24
24
|
children?: React.ReactNode;
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
export * from '@neo4j-nvl/base';
|
|
22
|
+
export * from '@neo4j-nvl/interaction-handlers';
|
|
23
|
+
export * from '@neo4j-nvl/react';
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU General Public License
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
-
import { type StoryObj } from '@storybook/react';
|
|
21
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
22
22
|
declare const componentMeta: {
|
|
23
23
|
component: import("../../_common/types").PolymorphicForwardRefExoticComponent<"div", import("../Slider").SliderProps>;
|
|
24
24
|
parameters: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.17",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -27,6 +27,11 @@
|
|
|
27
27
|
"require": "./lib/cjs/icons/index.js",
|
|
28
28
|
"import": "./lib/esm/icons/index.js"
|
|
29
29
|
},
|
|
30
|
+
"./nvl": {
|
|
31
|
+
"types": "./lib/types/nvl/index.d.ts",
|
|
32
|
+
"require": "./lib/cjs/nvl/index.js",
|
|
33
|
+
"import": "./lib/esm/nvl/index.js"
|
|
34
|
+
},
|
|
30
35
|
".": {
|
|
31
36
|
"types": "./lib/types/index.d.ts",
|
|
32
37
|
"require": "./lib/cjs/index.js",
|
|
@@ -48,7 +53,7 @@
|
|
|
48
53
|
"@axe-core/playwright": "4.9.0",
|
|
49
54
|
"@playwright/experimental-ct-react": "1.45.0",
|
|
50
55
|
"@playwright/test": "1.45.0",
|
|
51
|
-
"@storybook/react": "
|
|
56
|
+
"@storybook/react-vite": "9.0.11",
|
|
52
57
|
"@svgr/cli": "6.5.1",
|
|
53
58
|
"@testing-library/jest-dom": "6.6.3",
|
|
54
59
|
"@testing-library/react": "14.3.1",
|
|
@@ -59,7 +64,7 @@
|
|
|
59
64
|
"@types/react-table": "7.7.20",
|
|
60
65
|
"@types/sinon": "17.0.3",
|
|
61
66
|
"@types/tinycolor2": "1.4.6",
|
|
62
|
-
"@vitejs/plugin-react": "4.
|
|
67
|
+
"@vitejs/plugin-react": "4.5.2",
|
|
63
68
|
"jsdom": "25.0.1",
|
|
64
69
|
"react": "18.2.0",
|
|
65
70
|
"resize-observer-polyfill": "1.5.1",
|