@neo4j-ndl/react 0.1.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/alert/Alert.js +8 -8
- package/lib/cjs/alert/Alert.js.map +1 -1
- package/lib/cjs/button/Button.js +1 -1
- package/lib/cjs/button/Button.js.map +1 -1
- package/lib/cjs/button/index.js +5 -1
- package/lib/cjs/button/index.js.map +1 -1
- package/lib/cjs/checkbox/Checkbox.js +1 -1
- package/lib/cjs/checkbox/Checkbox.js.map +1 -1
- package/lib/cjs/context-menu/ContextMenu.js +9 -5
- package/lib/cjs/context-menu/ContextMenu.js.map +1 -1
- package/lib/cjs/context-menu/index.js +5 -1
- package/lib/cjs/context-menu/index.js.map +1 -1
- package/lib/cjs/drag-and-drop/DragAndDrop.js +66 -0
- package/lib/cjs/drag-and-drop/DragAndDrop.js.map +1 -0
- package/lib/cjs/drag-and-drop/icons/CSV-file.js +6 -0
- package/lib/cjs/drag-and-drop/icons/CSV-file.js.map +1 -0
- package/lib/cjs/drag-and-drop/icons/Cloud.js +6 -0
- package/lib/cjs/drag-and-drop/icons/Cloud.js.map +1 -0
- package/lib/cjs/drag-and-drop/icons/File.js +6 -0
- package/lib/cjs/drag-and-drop/icons/File.js.map +1 -0
- package/lib/cjs/drag-and-drop/icons/InvalidFile.js +6 -0
- package/lib/cjs/drag-and-drop/icons/InvalidFile.js.map +1 -0
- package/lib/cjs/drag-and-drop/index.js +29 -0
- package/lib/cjs/drag-and-drop/index.js.map +1 -0
- package/lib/cjs/helpers/index.js +5 -1
- package/lib/cjs/helpers/index.js.map +1 -1
- package/lib/cjs/icons/Custom.js +6 -2
- package/lib/cjs/icons/Custom.js.map +1 -1
- package/lib/cjs/icons/Hero.js +6 -2
- package/lib/cjs/icons/Hero.js.map +1 -1
- package/lib/cjs/icons/custom/Circle.js +1 -1
- package/lib/cjs/icons/custom/Circle.js.map +1 -1
- package/lib/cjs/icons/custom/CollapseExpand.js +6 -0
- package/lib/cjs/icons/custom/CollapseExpand.js.map +1 -0
- package/lib/cjs/icons/custom/DatabaseAddCircle.js +1 -1
- package/lib/cjs/icons/custom/DatabaseAddCircle.js.map +1 -1
- package/lib/cjs/icons/custom/Dbms.js +6 -0
- package/lib/cjs/icons/custom/Dbms.js.map +1 -0
- package/lib/cjs/icons/custom/Drag.js +1 -1
- package/lib/cjs/icons/custom/Drag.js.map +1 -1
- package/lib/cjs/icons/custom/Expand.js +1 -1
- package/lib/cjs/icons/custom/Expand.js.map +1 -1
- package/lib/cjs/icons/custom/ExternalLink.js +1 -1
- package/lib/cjs/icons/custom/ExternalLink.js.map +1 -1
- package/lib/cjs/icons/custom/FitToScreen.js +1 -1
- package/lib/cjs/icons/custom/FitToScreen.js.map +1 -1
- package/lib/cjs/icons/custom/FolderBookmark.js +1 -1
- package/lib/cjs/icons/custom/FolderBookmark.js.map +1 -1
- package/lib/cjs/icons/custom/Heirarchy2.js +1 -1
- package/lib/cjs/icons/custom/Heirarchy2.js.map +1 -1
- package/lib/cjs/icons/custom/Hierarchy1.js +1 -1
- package/lib/cjs/icons/custom/Hierarchy1.js.map +1 -1
- package/lib/cjs/icons/custom/Hierarchy2.js +6 -0
- package/lib/cjs/icons/custom/Hierarchy2.js.map +1 -0
- package/lib/cjs/icons/custom/NomLevel.js +6 -0
- package/lib/cjs/icons/custom/NomLevel.js.map +1 -0
- package/lib/cjs/icons/custom/Pin.js +1 -1
- package/lib/cjs/icons/custom/Pin.js.map +1 -1
- package/lib/cjs/icons/custom/Presentation.js +1 -1
- package/lib/cjs/icons/custom/Presentation.js.map +1 -1
- package/lib/cjs/icons/custom/QueryBrowser.js +6 -0
- package/lib/cjs/icons/custom/QueryBrowser.js.map +1 -0
- package/lib/cjs/icons/custom/Rhombus.js +1 -1
- package/lib/cjs/icons/custom/Rhombus.js.map +1 -1
- package/lib/cjs/icons/custom/ScienceMolecule.js +6 -0
- package/lib/cjs/icons/custom/ScienceMolecule.js.map +1 -0
- package/lib/cjs/icons/custom/Shrink.js +1 -1
- package/lib/cjs/icons/custom/Shrink.js.map +1 -1
- package/lib/cjs/icons/custom/Text.js +1 -1
- package/lib/cjs/icons/custom/Text.js.map +1 -1
- package/lib/cjs/icons/custom/Triangle.js +1 -1
- package/lib/cjs/icons/custom/Triangle.js.map +1 -1
- package/lib/cjs/icons/custom/VisualizeBloom.js +6 -0
- package/lib/cjs/icons/custom/VisualizeBloom.js.map +1 -0
- package/lib/cjs/icons/custom/index.js +15 -1
- package/lib/cjs/icons/custom/index.js.map +1 -1
- package/lib/cjs/index.js +6 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/input/Input.js +1 -1
- package/lib/cjs/input/Input.js.map +1 -1
- package/lib/cjs/label/Label.js +4 -4
- package/lib/cjs/label/Label.js.map +1 -1
- package/lib/cjs/loading-spinner/LoadingSpinner.js +1 -1
- package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/cjs/popover/Popover.js +6 -2
- package/lib/cjs/popover/Popover.js.map +1 -1
- package/lib/cjs/popover/index.js +5 -1
- package/lib/cjs/popover/index.js.map +1 -1
- package/lib/cjs/progress-bar/ProgressBar.js +1 -1
- package/lib/cjs/progress-bar/ProgressBar.js.map +1 -1
- package/lib/cjs/radio/Radio.js +1 -1
- package/lib/cjs/radio/Radio.js.map +1 -1
- package/lib/cjs/switch/Switch.js +1 -1
- package/lib/cjs/switch/Switch.js.map +1 -1
- package/lib/cjs/tabs/Tabs.js +8 -4
- package/lib/cjs/tabs/Tabs.js.map +1 -1
- package/lib/cjs/tabs/index.js +5 -1
- package/lib/cjs/tabs/index.js.map +1 -1
- package/lib/cjs/tag/Tag.js +1 -1
- package/lib/cjs/tag/Tag.js.map +1 -1
- package/lib/cjs/tooltip/Tooltip.js +1 -1
- package/lib/cjs/tooltip/Tooltip.js.map +1 -1
- package/lib/cjs/view-selector/ViewSelector.js +7 -3
- package/lib/cjs/view-selector/ViewSelector.js.map +1 -1
- package/lib/cjs/view-selector/index.js +5 -1
- package/lib/cjs/view-selector/index.js.map +1 -1
- package/lib/esm/alert/Alert.js +8 -8
- package/lib/esm/alert/Alert.js.map +1 -1
- package/lib/esm/button/Button.js +1 -1
- package/lib/esm/button/Button.js.map +1 -1
- package/lib/esm/checkbox/Checkbox.js +1 -1
- package/lib/esm/checkbox/Checkbox.js.map +1 -1
- package/lib/esm/context-menu/ContextMenu.js +4 -4
- package/lib/esm/context-menu/ContextMenu.js.map +1 -1
- package/lib/esm/drag-and-drop/DragAndDrop.js +61 -0
- package/lib/esm/drag-and-drop/DragAndDrop.js.map +1 -0
- package/lib/esm/drag-and-drop/icons/CSV-file.js +4 -0
- package/lib/esm/drag-and-drop/icons/CSV-file.js.map +1 -0
- package/lib/esm/drag-and-drop/icons/Cloud.js +4 -0
- package/lib/esm/drag-and-drop/icons/Cloud.js.map +1 -0
- package/lib/esm/drag-and-drop/icons/File.js +4 -0
- package/lib/esm/drag-and-drop/icons/File.js.map +1 -0
- package/lib/esm/drag-and-drop/icons/InvalidFile.js +4 -0
- package/lib/esm/drag-and-drop/icons/InvalidFile.js.map +1 -0
- package/lib/esm/drag-and-drop/index.js +22 -0
- package/lib/esm/drag-and-drop/index.js.map +1 -0
- package/lib/esm/icons/Custom.js +1 -1
- package/lib/esm/icons/Custom.js.map +1 -1
- package/lib/esm/icons/Hero.js +1 -1
- package/lib/esm/icons/Hero.js.map +1 -1
- package/lib/esm/icons/custom/Circle.js +1 -1
- package/lib/esm/icons/custom/Circle.js.map +1 -1
- package/lib/esm/icons/custom/CollapseExpand.js +4 -0
- package/lib/esm/icons/custom/CollapseExpand.js.map +1 -0
- package/lib/esm/icons/custom/DatabaseAddCircle.js +1 -1
- package/lib/esm/icons/custom/DatabaseAddCircle.js.map +1 -1
- package/lib/esm/icons/custom/Dbms.js +4 -0
- package/lib/esm/icons/custom/Dbms.js.map +1 -0
- package/lib/esm/icons/custom/Drag.js +1 -1
- package/lib/esm/icons/custom/Drag.js.map +1 -1
- package/lib/esm/icons/custom/Expand.js +1 -1
- package/lib/esm/icons/custom/Expand.js.map +1 -1
- package/lib/esm/icons/custom/ExternalLink.js +1 -1
- package/lib/esm/icons/custom/ExternalLink.js.map +1 -1
- package/lib/esm/icons/custom/FitToScreen.js +1 -1
- package/lib/esm/icons/custom/FitToScreen.js.map +1 -1
- package/lib/esm/icons/custom/FolderBookmark.js +1 -1
- package/lib/esm/icons/custom/FolderBookmark.js.map +1 -1
- package/lib/esm/icons/custom/Heirarchy2.js +1 -1
- package/lib/esm/icons/custom/Heirarchy2.js.map +1 -1
- package/lib/esm/icons/custom/Hierarchy1.js +1 -1
- package/lib/esm/icons/custom/Hierarchy1.js.map +1 -1
- package/lib/esm/icons/custom/Hierarchy2.js +4 -0
- package/lib/esm/icons/custom/Hierarchy2.js.map +1 -0
- package/lib/esm/icons/custom/NomLevel.js +4 -0
- package/lib/esm/icons/custom/NomLevel.js.map +1 -0
- package/lib/esm/icons/custom/Pin.js +1 -1
- package/lib/esm/icons/custom/Pin.js.map +1 -1
- package/lib/esm/icons/custom/Presentation.js +1 -1
- package/lib/esm/icons/custom/Presentation.js.map +1 -1
- package/lib/esm/icons/custom/QueryBrowser.js +4 -0
- package/lib/esm/icons/custom/QueryBrowser.js.map +1 -0
- package/lib/esm/icons/custom/Rhombus.js +1 -1
- package/lib/esm/icons/custom/Rhombus.js.map +1 -1
- package/lib/esm/icons/custom/ScienceMolecule.js +4 -0
- package/lib/esm/icons/custom/ScienceMolecule.js.map +1 -0
- package/lib/esm/icons/custom/Shrink.js +1 -1
- package/lib/esm/icons/custom/Shrink.js.map +1 -1
- package/lib/esm/icons/custom/Text.js +1 -1
- package/lib/esm/icons/custom/Text.js.map +1 -1
- package/lib/esm/icons/custom/Triangle.js +1 -1
- package/lib/esm/icons/custom/Triangle.js.map +1 -1
- package/lib/esm/icons/custom/VisualizeBloom.js +4 -0
- package/lib/esm/icons/custom/VisualizeBloom.js.map +1 -0
- package/lib/esm/icons/custom/index.js +7 -0
- package/lib/esm/icons/custom/index.js.map +1 -1
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/input/Input.js +1 -1
- package/lib/esm/input/Input.js.map +1 -1
- package/lib/esm/label/Label.js +4 -4
- package/lib/esm/label/Label.js.map +1 -1
- package/lib/esm/loading-spinner/LoadingSpinner.js +1 -1
- package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/esm/popover/Popover.js +1 -1
- package/lib/esm/popover/Popover.js.map +1 -1
- package/lib/esm/progress-bar/ProgressBar.js +1 -1
- package/lib/esm/progress-bar/ProgressBar.js.map +1 -1
- package/lib/esm/radio/Radio.js +1 -1
- package/lib/esm/radio/Radio.js.map +1 -1
- package/lib/esm/switch/Switch.js +1 -1
- package/lib/esm/switch/Switch.js.map +1 -1
- package/lib/esm/tabs/Tabs.js +3 -3
- package/lib/esm/tabs/Tabs.js.map +1 -1
- package/lib/esm/tag/Tag.js +1 -1
- package/lib/esm/tag/Tag.js.map +1 -1
- package/lib/esm/tooltip/Tooltip.js +1 -1
- package/lib/esm/tooltip/Tooltip.js.map +1 -1
- package/lib/esm/view-selector/ViewSelector.js +2 -2
- package/lib/esm/view-selector/ViewSelector.js.map +1 -1
- package/lib/types/drag-and-drop/DragAndDrop.d.ts +47 -0
- package/lib/types/drag-and-drop/icons/CSV-file.d.ts +23 -0
- package/lib/types/drag-and-drop/icons/Cloud.d.ts +23 -0
- package/lib/types/drag-and-drop/icons/File.d.ts +23 -0
- package/lib/types/drag-and-drop/icons/InvalidFile.d.ts +23 -0
- package/lib/types/drag-and-drop/index.d.ts +21 -0
- package/lib/types/icons/custom/CollapseExpand.d.ts +23 -0
- package/lib/types/icons/custom/Dbms.d.ts +23 -0
- package/lib/types/icons/custom/Hierarchy2.d.ts +23 -0
- package/lib/types/icons/custom/NomLevel.d.ts +23 -0
- package/lib/types/icons/custom/QueryBrowser.d.ts +23 -0
- package/lib/types/icons/custom/ScienceMolecule.d.ts +23 -0
- package/lib/types/icons/custom/VisualizeBloom.d.ts +23 -0
- package/lib/types/icons/custom/index.d.ts +7 -0
- package/lib/types/index.d.ts +1 -0
- package/package.json +6 -5
|
@@ -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
|
+
import { SVGProps } from 'react';
|
|
22
|
+
declare const SvgQueryBrowser: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
23
|
+
export default SvgQueryBrowser;
|
|
@@ -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
|
+
import { SVGProps } from 'react';
|
|
22
|
+
declare const SvgScienceMolecule: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
23
|
+
export default SvgScienceMolecule;
|
|
@@ -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
|
+
import { SVGProps } from 'react';
|
|
22
|
+
declare const SvgVisualizeBloom: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
23
|
+
export default SvgVisualizeBloom;
|
|
@@ -19,7 +19,9 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
export { default as Circle } from './Circle';
|
|
22
|
+
export { default as CollapseExpand } from './CollapseExpand';
|
|
22
23
|
export { default as DatabaseAddCircle } from './DatabaseAddCircle';
|
|
24
|
+
export { default as Dbms } from './Dbms';
|
|
23
25
|
export { default as Drag } from './Drag';
|
|
24
26
|
export { default as Expand } from './Expand';
|
|
25
27
|
export { default as ExternalLink } from './ExternalLink';
|
|
@@ -27,9 +29,14 @@ export { default as FitToScreen } from './FitToScreen';
|
|
|
27
29
|
export { default as FolderBookmark } from './FolderBookmark';
|
|
28
30
|
export { default as Heirarchy2 } from './Heirarchy2';
|
|
29
31
|
export { default as Hierarchy1 } from './Hierarchy1';
|
|
32
|
+
export { default as Hierarchy2 } from './Hierarchy2';
|
|
33
|
+
export { default as NomLevel } from './NomLevel';
|
|
30
34
|
export { default as Pin } from './Pin';
|
|
31
35
|
export { default as Presentation } from './Presentation';
|
|
36
|
+
export { default as QueryBrowser } from './QueryBrowser';
|
|
32
37
|
export { default as Rhombus } from './Rhombus';
|
|
38
|
+
export { default as ScienceMolecule } from './ScienceMolecule';
|
|
33
39
|
export { default as Shrink } from './Shrink';
|
|
34
40
|
export { default as Text } from './Text';
|
|
35
41
|
export { default as Triangle } from './Triangle';
|
|
42
|
+
export { default as VisualizeBloom } from './VisualizeBloom';
|
package/lib/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "React implementation of Neo4j Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"button",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"build:types": "tsc -p tsconfig.types.json",
|
|
39
39
|
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
|
|
40
40
|
"lint": "eslint --ext .jsx,.tsx,.js,.ts src",
|
|
41
|
-
"create-icons": "svgr --icon --typescript --no-svgo --replace-attr-values '#535B66=currentColor' --out-dir ./src/icons/custom -- ../base/src/icons"
|
|
41
|
+
"create-icons": "svgr --icon --typescript --no-svgo --replace-attr-values '#535B66=currentColor' --jsx-runtime 'automatic' --out-dir ./src/icons/custom -- ../base/src/icons"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@babel/preset-env": "^7.16.4",
|
|
@@ -66,8 +66,9 @@
|
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@heroicons/react": "^1.0.5",
|
|
69
|
-
"@neo4j-ndl/base": "^0.
|
|
70
|
-
"classnames": "^2.3.1"
|
|
69
|
+
"@neo4j-ndl/base": "^0.2.0",
|
|
70
|
+
"classnames": "^2.3.1",
|
|
71
|
+
"react-dropzone": "^12.0.4"
|
|
71
72
|
},
|
|
72
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "07cac27edcc59c0e790668795cc14cdf4768269c"
|
|
73
74
|
}
|