@neo4j-ndl/react 0.1.4 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/lib/cjs/alert/Alert.js +8 -8
  2. package/lib/cjs/alert/Alert.js.map +1 -1
  3. package/lib/cjs/button/Button.js +16 -7
  4. package/lib/cjs/button/Button.js.map +1 -1
  5. package/lib/cjs/button/index.js +5 -1
  6. package/lib/cjs/button/index.js.map +1 -1
  7. package/lib/cjs/checkbox/Checkbox.js +1 -1
  8. package/lib/cjs/checkbox/Checkbox.js.map +1 -1
  9. package/lib/cjs/context-menu/ContextMenu.js +9 -5
  10. package/lib/cjs/context-menu/ContextMenu.js.map +1 -1
  11. package/lib/cjs/context-menu/index.js +5 -1
  12. package/lib/cjs/context-menu/index.js.map +1 -1
  13. package/lib/cjs/drag-and-drop/DragAndDrop.js +66 -0
  14. package/lib/cjs/drag-and-drop/DragAndDrop.js.map +1 -0
  15. package/lib/cjs/drag-and-drop/icons/CSV-file.js +6 -0
  16. package/lib/cjs/drag-and-drop/icons/CSV-file.js.map +1 -0
  17. package/lib/cjs/drag-and-drop/icons/Cloud.js +6 -0
  18. package/lib/cjs/drag-and-drop/icons/Cloud.js.map +1 -0
  19. package/lib/cjs/drag-and-drop/icons/File.js +6 -0
  20. package/lib/cjs/drag-and-drop/icons/File.js.map +1 -0
  21. package/lib/cjs/drag-and-drop/icons/InvalidFile.js +6 -0
  22. package/lib/cjs/drag-and-drop/icons/InvalidFile.js.map +1 -0
  23. package/lib/cjs/drag-and-drop/index.js +29 -0
  24. package/lib/cjs/drag-and-drop/index.js.map +1 -0
  25. package/lib/cjs/helpers/index.js +5 -1
  26. package/lib/cjs/helpers/index.js.map +1 -1
  27. package/lib/cjs/icons/Custom.js +6 -2
  28. package/lib/cjs/icons/Custom.js.map +1 -1
  29. package/lib/cjs/icons/Hero.js +6 -2
  30. package/lib/cjs/icons/Hero.js.map +1 -1
  31. package/lib/cjs/icons/custom/Circle.js +1 -1
  32. package/lib/cjs/icons/custom/Circle.js.map +1 -1
  33. package/lib/cjs/icons/custom/CollapseExpand.js +6 -0
  34. package/lib/cjs/icons/custom/CollapseExpand.js.map +1 -0
  35. package/lib/cjs/icons/custom/DatabaseAddCircle.js +1 -1
  36. package/lib/cjs/icons/custom/DatabaseAddCircle.js.map +1 -1
  37. package/lib/cjs/icons/custom/Dbms.js +6 -0
  38. package/lib/cjs/icons/custom/Dbms.js.map +1 -0
  39. package/lib/cjs/icons/custom/Drag.js +1 -1
  40. package/lib/cjs/icons/custom/Drag.js.map +1 -1
  41. package/lib/cjs/icons/custom/Expand.js +1 -1
  42. package/lib/cjs/icons/custom/Expand.js.map +1 -1
  43. package/lib/cjs/icons/custom/ExternalLink.js +1 -1
  44. package/lib/cjs/icons/custom/ExternalLink.js.map +1 -1
  45. package/lib/cjs/icons/custom/FitToScreen.js +1 -1
  46. package/lib/cjs/icons/custom/FitToScreen.js.map +1 -1
  47. package/lib/cjs/icons/custom/FolderBookmark.js +1 -1
  48. package/lib/cjs/icons/custom/FolderBookmark.js.map +1 -1
  49. package/lib/cjs/icons/custom/Heirarchy2.js +1 -1
  50. package/lib/cjs/icons/custom/Heirarchy2.js.map +1 -1
  51. package/lib/cjs/icons/custom/Hierarchy1.js +1 -1
  52. package/lib/cjs/icons/custom/Hierarchy1.js.map +1 -1
  53. package/lib/cjs/icons/custom/Hierarchy2.js +6 -0
  54. package/lib/cjs/icons/custom/Hierarchy2.js.map +1 -0
  55. package/lib/cjs/icons/custom/NomLevel.js +6 -0
  56. package/lib/cjs/icons/custom/NomLevel.js.map +1 -0
  57. package/lib/cjs/icons/custom/Pin.js +1 -1
  58. package/lib/cjs/icons/custom/Pin.js.map +1 -1
  59. package/lib/cjs/icons/custom/Presentation.js +1 -1
  60. package/lib/cjs/icons/custom/Presentation.js.map +1 -1
  61. package/lib/cjs/icons/custom/QueryBrowser.js +6 -0
  62. package/lib/cjs/icons/custom/QueryBrowser.js.map +1 -0
  63. package/lib/cjs/icons/custom/Rhombus.js +1 -1
  64. package/lib/cjs/icons/custom/Rhombus.js.map +1 -1
  65. package/lib/cjs/icons/custom/ScienceMolecule.js +6 -0
  66. package/lib/cjs/icons/custom/ScienceMolecule.js.map +1 -0
  67. package/lib/cjs/icons/custom/Shrink.js +1 -1
  68. package/lib/cjs/icons/custom/Shrink.js.map +1 -1
  69. package/lib/cjs/icons/custom/Text.js +1 -1
  70. package/lib/cjs/icons/custom/Text.js.map +1 -1
  71. package/lib/cjs/icons/custom/Triangle.js +1 -1
  72. package/lib/cjs/icons/custom/Triangle.js.map +1 -1
  73. package/lib/cjs/icons/custom/VisualizeBloom.js +6 -0
  74. package/lib/cjs/icons/custom/VisualizeBloom.js.map +1 -0
  75. package/lib/cjs/icons/custom/index.js +15 -1
  76. package/lib/cjs/icons/custom/index.js.map +1 -1
  77. package/lib/cjs/index.js +7 -1
  78. package/lib/cjs/index.js.map +1 -1
  79. package/lib/cjs/input/Input.js +1 -1
  80. package/lib/cjs/input/Input.js.map +1 -1
  81. package/lib/cjs/label/Label.js +6 -4
  82. package/lib/cjs/label/Label.js.map +1 -1
  83. package/lib/cjs/loading-spinner/LoadingSpinner.js +1 -1
  84. package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -1
  85. package/lib/cjs/popover/Popover.js +6 -2
  86. package/lib/cjs/popover/Popover.js.map +1 -1
  87. package/lib/cjs/popover/index.js +5 -1
  88. package/lib/cjs/popover/index.js.map +1 -1
  89. package/lib/cjs/progress-bar/ProgressBar.js +2 -2
  90. package/lib/cjs/progress-bar/ProgressBar.js.map +1 -1
  91. package/lib/cjs/radio/Radio.js +1 -1
  92. package/lib/cjs/radio/Radio.js.map +1 -1
  93. package/lib/cjs/switch/Switch.js +1 -1
  94. package/lib/cjs/switch/Switch.js.map +1 -1
  95. package/lib/cjs/table/Table.js +124 -0
  96. package/lib/cjs/table/Table.js.map +1 -0
  97. package/lib/cjs/table/TableNavigation.js +51 -0
  98. package/lib/cjs/table/TableNavigation.js.map +1 -0
  99. package/lib/cjs/table/helpers.js +119 -0
  100. package/lib/cjs/table/helpers.js.map +1 -0
  101. package/lib/cjs/table/hooks/hookCallbackTypes.js +23 -0
  102. package/lib/cjs/table/hooks/hookCallbackTypes.js.map +1 -0
  103. package/lib/cjs/table/hooks/index.js +40 -0
  104. package/lib/cjs/table/hooks/index.js.map +1 -0
  105. package/lib/cjs/table/hooks/useMultiRowSelect.js +84 -0
  106. package/lib/cjs/table/hooks/useMultiRowSelect.js.map +1 -0
  107. package/lib/cjs/table/hooks/useSingleRowSelect.js +61 -0
  108. package/lib/cjs/table/hooks/useSingleRowSelect.js.map +1 -0
  109. package/lib/cjs/table/index.js +44 -0
  110. package/lib/cjs/table/index.js.map +1 -0
  111. package/lib/cjs/tabs/Tabs.js +12 -7
  112. package/lib/cjs/tabs/Tabs.js.map +1 -1
  113. package/lib/cjs/tabs/index.js +5 -1
  114. package/lib/cjs/tabs/index.js.map +1 -1
  115. package/lib/cjs/tag/Tag.js +1 -1
  116. package/lib/cjs/tag/Tag.js.map +1 -1
  117. package/lib/cjs/tooltip/Tooltip.js +1 -1
  118. package/lib/cjs/tooltip/Tooltip.js.map +1 -1
  119. package/lib/cjs/view-selector/ViewSelector.js +7 -3
  120. package/lib/cjs/view-selector/ViewSelector.js.map +1 -1
  121. package/lib/cjs/view-selector/index.js +5 -1
  122. package/lib/cjs/view-selector/index.js.map +1 -1
  123. package/lib/esm/alert/Alert.js +8 -8
  124. package/lib/esm/alert/Alert.js.map +1 -1
  125. package/lib/esm/button/Button.js +16 -7
  126. package/lib/esm/button/Button.js.map +1 -1
  127. package/lib/esm/checkbox/Checkbox.js +1 -1
  128. package/lib/esm/checkbox/Checkbox.js.map +1 -1
  129. package/lib/esm/context-menu/ContextMenu.js +4 -4
  130. package/lib/esm/context-menu/ContextMenu.js.map +1 -1
  131. package/lib/esm/drag-and-drop/DragAndDrop.js +61 -0
  132. package/lib/esm/drag-and-drop/DragAndDrop.js.map +1 -0
  133. package/lib/esm/drag-and-drop/icons/CSV-file.js +4 -0
  134. package/lib/esm/drag-and-drop/icons/CSV-file.js.map +1 -0
  135. package/lib/esm/drag-and-drop/icons/Cloud.js +4 -0
  136. package/lib/esm/drag-and-drop/icons/Cloud.js.map +1 -0
  137. package/lib/esm/drag-and-drop/icons/File.js +4 -0
  138. package/lib/esm/drag-and-drop/icons/File.js.map +1 -0
  139. package/lib/esm/drag-and-drop/icons/InvalidFile.js +4 -0
  140. package/lib/esm/drag-and-drop/icons/InvalidFile.js.map +1 -0
  141. package/lib/esm/drag-and-drop/index.js +22 -0
  142. package/lib/esm/drag-and-drop/index.js.map +1 -0
  143. package/lib/esm/icons/Custom.js +1 -1
  144. package/lib/esm/icons/Custom.js.map +1 -1
  145. package/lib/esm/icons/Hero.js +1 -1
  146. package/lib/esm/icons/Hero.js.map +1 -1
  147. package/lib/esm/icons/custom/Circle.js +1 -1
  148. package/lib/esm/icons/custom/Circle.js.map +1 -1
  149. package/lib/esm/icons/custom/CollapseExpand.js +4 -0
  150. package/lib/esm/icons/custom/CollapseExpand.js.map +1 -0
  151. package/lib/esm/icons/custom/DatabaseAddCircle.js +1 -1
  152. package/lib/esm/icons/custom/DatabaseAddCircle.js.map +1 -1
  153. package/lib/esm/icons/custom/Dbms.js +4 -0
  154. package/lib/esm/icons/custom/Dbms.js.map +1 -0
  155. package/lib/esm/icons/custom/Drag.js +1 -1
  156. package/lib/esm/icons/custom/Drag.js.map +1 -1
  157. package/lib/esm/icons/custom/Expand.js +1 -1
  158. package/lib/esm/icons/custom/Expand.js.map +1 -1
  159. package/lib/esm/icons/custom/ExternalLink.js +1 -1
  160. package/lib/esm/icons/custom/ExternalLink.js.map +1 -1
  161. package/lib/esm/icons/custom/FitToScreen.js +1 -1
  162. package/lib/esm/icons/custom/FitToScreen.js.map +1 -1
  163. package/lib/esm/icons/custom/FolderBookmark.js +1 -1
  164. package/lib/esm/icons/custom/FolderBookmark.js.map +1 -1
  165. package/lib/esm/icons/custom/Heirarchy2.js +1 -1
  166. package/lib/esm/icons/custom/Heirarchy2.js.map +1 -1
  167. package/lib/esm/icons/custom/Hierarchy1.js +1 -1
  168. package/lib/esm/icons/custom/Hierarchy1.js.map +1 -1
  169. package/lib/esm/icons/custom/Hierarchy2.js +4 -0
  170. package/lib/esm/icons/custom/Hierarchy2.js.map +1 -0
  171. package/lib/esm/icons/custom/NomLevel.js +4 -0
  172. package/lib/esm/icons/custom/NomLevel.js.map +1 -0
  173. package/lib/esm/icons/custom/Pin.js +1 -1
  174. package/lib/esm/icons/custom/Pin.js.map +1 -1
  175. package/lib/esm/icons/custom/Presentation.js +1 -1
  176. package/lib/esm/icons/custom/Presentation.js.map +1 -1
  177. package/lib/esm/icons/custom/QueryBrowser.js +4 -0
  178. package/lib/esm/icons/custom/QueryBrowser.js.map +1 -0
  179. package/lib/esm/icons/custom/Rhombus.js +1 -1
  180. package/lib/esm/icons/custom/Rhombus.js.map +1 -1
  181. package/lib/esm/icons/custom/ScienceMolecule.js +4 -0
  182. package/lib/esm/icons/custom/ScienceMolecule.js.map +1 -0
  183. package/lib/esm/icons/custom/Shrink.js +1 -1
  184. package/lib/esm/icons/custom/Shrink.js.map +1 -1
  185. package/lib/esm/icons/custom/Text.js +1 -1
  186. package/lib/esm/icons/custom/Text.js.map +1 -1
  187. package/lib/esm/icons/custom/Triangle.js +1 -1
  188. package/lib/esm/icons/custom/Triangle.js.map +1 -1
  189. package/lib/esm/icons/custom/VisualizeBloom.js +4 -0
  190. package/lib/esm/icons/custom/VisualizeBloom.js.map +1 -0
  191. package/lib/esm/icons/custom/index.js +7 -0
  192. package/lib/esm/icons/custom/index.js.map +1 -1
  193. package/lib/esm/index.js +2 -0
  194. package/lib/esm/index.js.map +1 -1
  195. package/lib/esm/input/Input.js +1 -1
  196. package/lib/esm/input/Input.js.map +1 -1
  197. package/lib/esm/label/Label.js +6 -4
  198. package/lib/esm/label/Label.js.map +1 -1
  199. package/lib/esm/loading-spinner/LoadingSpinner.js +1 -1
  200. package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -1
  201. package/lib/esm/popover/Popover.js +1 -1
  202. package/lib/esm/popover/Popover.js.map +1 -1
  203. package/lib/esm/progress-bar/ProgressBar.js +2 -2
  204. package/lib/esm/progress-bar/ProgressBar.js.map +1 -1
  205. package/lib/esm/radio/Radio.js +1 -1
  206. package/lib/esm/radio/Radio.js.map +1 -1
  207. package/lib/esm/switch/Switch.js +1 -1
  208. package/lib/esm/switch/Switch.js.map +1 -1
  209. package/lib/esm/table/Table.js +117 -0
  210. package/lib/esm/table/Table.js.map +1 -0
  211. package/lib/esm/table/TableNavigation.js +44 -0
  212. package/lib/esm/table/TableNavigation.js.map +1 -0
  213. package/lib/esm/table/helpers.js +112 -0
  214. package/lib/esm/table/helpers.js.map +1 -0
  215. package/lib/esm/table/hooks/hookCallbackTypes.js +22 -0
  216. package/lib/esm/table/hooks/hookCallbackTypes.js.map +1 -0
  217. package/lib/esm/table/hooks/index.js +24 -0
  218. package/lib/esm/table/hooks/index.js.map +1 -0
  219. package/lib/esm/table/hooks/useMultiRowSelect.js +82 -0
  220. package/lib/esm/table/hooks/useMultiRowSelect.js.map +1 -0
  221. package/lib/esm/table/hooks/useSingleRowSelect.js +57 -0
  222. package/lib/esm/table/hooks/useSingleRowSelect.js.map +1 -0
  223. package/lib/esm/table/index.js +23 -0
  224. package/lib/esm/table/index.js.map +1 -0
  225. package/lib/esm/tabs/Tabs.js +7 -6
  226. package/lib/esm/tabs/Tabs.js.map +1 -1
  227. package/lib/esm/tag/Tag.js +1 -1
  228. package/lib/esm/tag/Tag.js.map +1 -1
  229. package/lib/esm/tooltip/Tooltip.js +1 -1
  230. package/lib/esm/tooltip/Tooltip.js.map +1 -1
  231. package/lib/esm/view-selector/ViewSelector.js +2 -2
  232. package/lib/esm/view-selector/ViewSelector.js.map +1 -1
  233. package/lib/types/alert/Alert.d.ts +1 -1
  234. package/lib/types/button/Button.d.ts +2 -0
  235. package/lib/types/drag-and-drop/DragAndDrop.d.ts +47 -0
  236. package/lib/types/drag-and-drop/icons/CSV-file.d.ts +23 -0
  237. package/lib/types/drag-and-drop/icons/Cloud.d.ts +23 -0
  238. package/lib/types/drag-and-drop/icons/File.d.ts +23 -0
  239. package/lib/types/drag-and-drop/icons/InvalidFile.d.ts +23 -0
  240. package/lib/types/drag-and-drop/index.d.ts +21 -0
  241. package/lib/types/icons/custom/CollapseExpand.d.ts +23 -0
  242. package/lib/types/icons/custom/Dbms.d.ts +23 -0
  243. package/lib/types/icons/custom/Hierarchy2.d.ts +23 -0
  244. package/lib/types/icons/custom/NomLevel.d.ts +23 -0
  245. package/lib/types/icons/custom/QueryBrowser.d.ts +23 -0
  246. package/lib/types/icons/custom/ScienceMolecule.d.ts +23 -0
  247. package/lib/types/icons/custom/VisualizeBloom.d.ts +23 -0
  248. package/lib/types/icons/custom/index.d.ts +7 -0
  249. package/lib/types/index.d.ts +2 -0
  250. package/lib/types/progress-bar/ProgressBar.d.ts +2 -3
  251. package/lib/types/table/Table.d.ts +78 -0
  252. package/lib/types/table/TableNavigation.d.ts +39 -0
  253. package/lib/types/table/helpers.d.ts +51 -0
  254. package/lib/types/table/hooks/hookCallbackTypes.d.ts +27 -0
  255. package/lib/types/table/hooks/index.d.ts +23 -0
  256. package/lib/types/table/hooks/useMultiRowSelect.d.ts +42 -0
  257. package/lib/types/table/hooks/useSingleRowSelect.d.ts +37 -0
  258. package/lib/types/table/index.d.ts +22 -0
  259. package/lib/types/tabs/Tabs.d.ts +3 -4
  260. package/package.json +8 -6
@@ -0,0 +1,47 @@
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 React from 'react';
22
+ import { DropzoneOptions } from 'react-dropzone';
23
+ /**
24
+ *
25
+ *
26
+ * Types
27
+ *
28
+ *
29
+ */
30
+ export declare type DragAndDropProps = {
31
+ /** See here - https://react-dropzone.js.org/#src */
32
+ dropZoneOptions: DropzoneOptions;
33
+ /** Supported file text in the footer */
34
+ supportedFilesDescription?: string;
35
+ /** Element to display when uploading the file. When passed, drag&drop zone is disabled */
36
+ loadingComponent?: string | React.ReactElement;
37
+ /** To be used when want to test loadingComponent UI without actualy draging and uploading the files */
38
+ isTesting?: boolean;
39
+ };
40
+ /**
41
+ *
42
+ *
43
+ * DragAndDrop Component
44
+ *
45
+ *
46
+ */ declare const DragAndDrop: (props: DragAndDropProps) => JSX.Element;
47
+ export default DragAndDrop;
@@ -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 SvgComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
+ export default SvgComponent;
@@ -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 SvgComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
+ export default SvgComponent;
@@ -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 SvgComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
+ export default SvgComponent;
@@ -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 SvgComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
+ export default SvgComponent;
@@ -0,0 +1,21 @@
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 { default as DragAndDrop } from './DragAndDrop';
@@ -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 SvgCollapseExpand: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
+ export default SvgCollapseExpand;
@@ -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 SvgDbms: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
+ export default SvgDbms;
@@ -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 SvgHierarchy2: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
+ export default SvgHierarchy2;
@@ -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 SvgNomLevel: (props: SVGProps<SVGSVGElement>) => JSX.Element;
23
+ export default SvgNomLevel;
@@ -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';
@@ -32,3 +32,5 @@ export * from './view-selector';
32
32
  export * from './popover';
33
33
  export * from './icons';
34
34
  export * from './progress-bar';
35
+ export * from './table';
36
+ export * from './drag-and-drop';
@@ -20,11 +20,10 @@
20
20
  */
21
21
  import React from 'react';
22
22
  export interface ProgressBarProps extends React.HTMLProps<HTMLDivElement> {
23
- heading: string;
24
- estimatedTime?: string;
23
+ heading?: string;
25
24
  value: number;
26
25
  barSize: 'small' | 'large';
27
26
  className?: string;
28
27
  }
29
- declare const ProgressBar: React.ForwardRefExoticComponent<Pick<ProgressBarProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "heading" | "list" | "children" | "role" | "as" | "selected" | "onChange" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "estimatedTime" | "barSize"> & React.RefAttributes<HTMLDivElement>>;
28
+ declare const ProgressBar: React.ForwardRefExoticComponent<Pick<ProgressBarProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "heading" | "list" | "children" | "role" | "as" | "selected" | "onChange" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "barSize"> & React.RefAttributes<HTMLDivElement>>;
30
29
  export default ProgressBar;
@@ -0,0 +1,78 @@
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
+ /// <reference types="react" />
22
+ import { Row, UseColumnOrderState, UseExpandedState, UseFiltersState, UsePaginationState, UseGlobalFiltersState, UsePaginationInstanceProps, UseSortByInstanceProps, UseTableInstanceProps } from 'react-table';
23
+ import { ElementBase } from '../helpers/types';
24
+ declare type Sections = Record<'controls' | 'header' | 'body' | 'navigation', JSX.Element | JSX.Element[]>;
25
+ /**
26
+ *
27
+ * Small Utilities
28
+ * for table styling and functionality
29
+ *
30
+ */
31
+ /** For fixed row height tables, we should have a fixed body size */
32
+ export declare const fixedHeight: (items: number, height: number) => {
33
+ style: {
34
+ height: string;
35
+ };
36
+ };
37
+ /** Should make this more specific like RTuseTable type */
38
+ export declare type RTControls = {
39
+ styling?: {
40
+ /** If so, the left corner will not be rounded */
41
+ tabed: boolean;
42
+ };
43
+ };
44
+ declare type DefaultHeaderProps<T extends object> = Pick<UseTableInstanceProps<T>, 'headerGroups'> & UseSortByInstanceProps<T>;
45
+ declare type DefaultBodyProps<T extends object> = {
46
+ actionsButtons?: (row: Row<T>) => JSX.Element | JSX.Element[];
47
+ } & UseTableInstanceProps<T> & Partial<UsePaginationInstanceProps<T>>;
48
+ export interface PaginationTableState<T extends object> extends UseColumnOrderState<T>, UseExpandedState<T>, UseFiltersState<T>, UsePaginationState<T>, UseGlobalFiltersState<T> {
49
+ }
50
+ export declare type DefaultNavigationProps<T extends object> = {
51
+ state: Partial<PaginationTableState<T>>;
52
+ rows: Row<T>[];
53
+ } & UsePaginationInstanceProps<T>;
54
+ /**
55
+ * Table Skeleton to keep most section logic DRY
56
+ *
57
+ * How the table component is divided into sections:
58
+ *
59
+ * @example
60
+ * +----------------+
61
+ * | Table Controls |
62
+ * | (ex: Search) |
63
+ * +----------------+
64
+ * | Header |
65
+ * +----------------+
66
+ * | Body (data) |
67
+ * +----------------+
68
+ * | Navigation |
69
+ * +----------------+
70
+ *
71
+ */
72
+ declare const Table: <T extends object>(props: Partial<Sections> & Partial<{
73
+ actionsButtons?: ((row: Row<T>) => JSX.Element | JSX.Element[]) | undefined;
74
+ } & UseTableInstanceProps<T> & Partial<UsePaginationInstanceProps<T>> & {
75
+ state: Partial<PaginationTableState<T>>;
76
+ rows: Row<T>[];
77
+ } & UsePaginationInstanceProps<T> & Pick<UseTableInstanceProps<T>, "headerGroups"> & UseSortByInstanceProps<T>> & Pick<RTControls, "styling"> & Omit<ElementBase<HTMLDivElement>, "data" | "controls" | "headers" | "rows">) => JSX.Element;
78
+ export default Table;
@@ -0,0 +1,39 @@
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
+ /// <reference types="react" />
22
+ interface TableNavigationProps {
23
+ /** If there is a previous page available */
24
+ canPreviousPage: boolean;
25
+ /** If there is a next page available */
26
+ canNextPage: boolean;
27
+ /** On page click */
28
+ onPageClick: (pageNumber: number) => void;
29
+ /** Go to previous page if applicable */
30
+ previousPage: () => void;
31
+ /** Go to next page if applicable */
32
+ nextPage: () => void;
33
+ /** React Table page options */
34
+ pageOptions: any;
35
+ /** React Table current index */
36
+ pageIndex: number;
37
+ }
38
+ export declare const TableNavigation: ({ canPreviousPage, canNextPage, onPageClick, previousPage, nextPage, pageIndex, pageOptions, }: TableNavigationProps) => JSX.Element;
39
+ export default TableNavigation;
@@ -0,0 +1,51 @@
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
+ /// <reference types="react" />
22
+ import { TableResizerProps } from 'react-table';
23
+ /**
24
+ *
25
+ * React Table helper to display sorting icon
26
+ * Source:
27
+ * https://react-table.tanstack.com/docs/api/useSortBy#column-properties
28
+ *
29
+ */
30
+ export declare const SortIcon: ({ isSortedDesc, ...props }: {
31
+ isSortedDesc: boolean | undefined;
32
+ }) => JSX.Element;
33
+ export declare const ResizingBar: import("react").NamedExoticComponent<TableResizerProps>;
34
+ /**
35
+ * The left section of the bottom navigation
36
+ * that is showing the current page and how many results we can see
37
+ */
38
+ export declare const TableResults: ({ pageIndex, pageLength, rowsLength, }: Record<'pageIndex' | 'pageLength' | 'rowsLength', number>) => JSX.Element;
39
+ /**
40
+ * Modified from here: https://gist.github.com/kottenator/9d936eb3e4e3c3e02598
41
+ *
42
+ * @param current Current Index
43
+ * @param max Max Index
44
+ * @returns
45
+ */
46
+ export declare const userFriendlyPagination: (current: number, max: number) => (string | number)[];
47
+ /**
48
+ * Small helper to get handle the Checkbox
49
+ * functionality in tables
50
+ */
51
+ export declare const toggleRowSelection: (list: number[], idx: number) => number[];
@@ -0,0 +1,27 @@
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 { TableInstance } from 'react-table';
22
+ export declare type RowInstance<T extends Record<string, unknown>> = {
23
+ onAllRowSelect: onAllRowSelectType;
24
+ onRowSelect: onRowSelectType<T>;
25
+ } & TableInstance<T>;
26
+ export declare type onAllRowSelectType = () => void;
27
+ export declare type onRowSelectType<T extends Record<string, unknown>> = (originalDataRow: T, index: number) => void;
@@ -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 './useMultiRowSelect';
22
+ export * from './useSingleRowSelect';
23
+ export * from './hookCallbackTypes';