@neo4j-ndl/react 0.1.3 → 0.3.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.
Files changed (381) hide show
  1. package/lib/cjs/alert/Alert.js +102 -0
  2. package/lib/cjs/alert/Alert.js.map +1 -0
  3. package/lib/cjs/alert/index.js +30 -0
  4. package/lib/cjs/alert/index.js.map +1 -0
  5. package/lib/cjs/button/Button.js +116 -0
  6. package/lib/cjs/button/Button.js.map +1 -0
  7. package/lib/cjs/button/index.js +38 -0
  8. package/lib/cjs/button/index.js.map +1 -0
  9. package/lib/cjs/checkbox/Checkbox.js +52 -0
  10. package/lib/cjs/checkbox/Checkbox.js.map +1 -0
  11. package/lib/cjs/checkbox/index.js +29 -0
  12. package/lib/cjs/checkbox/index.js.map +1 -0
  13. package/lib/cjs/context-menu/ContextMenu.js +218 -0
  14. package/lib/cjs/context-menu/ContextMenu.js.map +1 -0
  15. package/lib/cjs/context-menu/index.js +38 -0
  16. package/lib/cjs/context-menu/index.js.map +1 -0
  17. package/lib/cjs/drag-and-drop/DragAndDrop.js +66 -0
  18. package/lib/cjs/drag-and-drop/DragAndDrop.js.map +1 -0
  19. package/lib/cjs/drag-and-drop/icons/CSV-file.js +6 -0
  20. package/lib/cjs/drag-and-drop/icons/CSV-file.js.map +1 -0
  21. package/lib/cjs/drag-and-drop/icons/Cloud.js +6 -0
  22. package/lib/cjs/drag-and-drop/icons/Cloud.js.map +1 -0
  23. package/lib/cjs/drag-and-drop/icons/File.js +6 -0
  24. package/lib/cjs/drag-and-drop/icons/File.js.map +1 -0
  25. package/lib/cjs/drag-and-drop/icons/InvalidFile.js +6 -0
  26. package/lib/cjs/drag-and-drop/icons/InvalidFile.js.map +1 -0
  27. package/lib/cjs/drag-and-drop/index.js +29 -0
  28. package/lib/cjs/drag-and-drop/index.js.map +1 -0
  29. package/lib/cjs/helpers/debounce.js +41 -0
  30. package/lib/cjs/helpers/debounce.js.map +1 -0
  31. package/lib/cjs/helpers/forwardRef.js +26 -0
  32. package/lib/cjs/helpers/forwardRef.js.map +1 -0
  33. package/lib/cjs/helpers/index.js +40 -0
  34. package/lib/cjs/helpers/index.js.map +1 -0
  35. package/lib/cjs/helpers/testing.js +46 -0
  36. package/lib/cjs/helpers/testing.js.map +1 -0
  37. package/lib/cjs/helpers/types.js +23 -0
  38. package/lib/cjs/helpers/types.js.map +1 -0
  39. package/lib/cjs/icons/Custom.js +67 -0
  40. package/lib/cjs/icons/Custom.js.map +1 -0
  41. package/lib/cjs/icons/Hero.js +59 -0
  42. package/lib/cjs/icons/Hero.js.map +1 -0
  43. package/lib/cjs/icons/custom/Circle.js +6 -0
  44. package/lib/cjs/icons/custom/Circle.js.map +1 -0
  45. package/lib/cjs/icons/custom/CollapseExpand.js +6 -0
  46. package/lib/cjs/icons/custom/CollapseExpand.js.map +1 -0
  47. package/lib/cjs/icons/custom/DatabaseAddCircle.js +6 -0
  48. package/lib/cjs/icons/custom/DatabaseAddCircle.js.map +1 -0
  49. package/lib/cjs/icons/custom/Dbms.js +6 -0
  50. package/lib/cjs/icons/custom/Dbms.js.map +1 -0
  51. package/lib/cjs/icons/custom/Drag.js +6 -0
  52. package/lib/cjs/icons/custom/Drag.js.map +1 -0
  53. package/lib/cjs/icons/custom/Expand.js +6 -0
  54. package/lib/cjs/icons/custom/Expand.js.map +1 -0
  55. package/lib/cjs/icons/custom/ExternalLink.js +6 -0
  56. package/lib/cjs/icons/custom/ExternalLink.js.map +1 -0
  57. package/lib/cjs/icons/custom/FitToScreen.js +6 -0
  58. package/lib/cjs/icons/custom/FitToScreen.js.map +1 -0
  59. package/lib/cjs/icons/custom/FolderBookmark.js +6 -0
  60. package/lib/cjs/icons/custom/FolderBookmark.js.map +1 -0
  61. package/lib/cjs/icons/custom/Heirarchy2.js +6 -0
  62. package/lib/cjs/icons/custom/Heirarchy2.js.map +1 -0
  63. package/lib/cjs/icons/custom/Hierarchy1.js +6 -0
  64. package/lib/cjs/icons/custom/Hierarchy1.js.map +1 -0
  65. package/lib/cjs/icons/custom/Hierarchy2.js +6 -0
  66. package/lib/cjs/icons/custom/Hierarchy2.js.map +1 -0
  67. package/lib/cjs/icons/custom/NomLevel.js +6 -0
  68. package/lib/cjs/icons/custom/NomLevel.js.map +1 -0
  69. package/lib/cjs/icons/custom/Pin.js +6 -0
  70. package/lib/cjs/icons/custom/Pin.js.map +1 -0
  71. package/lib/cjs/icons/custom/Presentation.js +6 -0
  72. package/lib/cjs/icons/custom/Presentation.js.map +1 -0
  73. package/lib/cjs/icons/custom/QueryBrowser.js +6 -0
  74. package/lib/cjs/icons/custom/QueryBrowser.js.map +1 -0
  75. package/lib/cjs/icons/custom/Rhombus.js +6 -0
  76. package/lib/cjs/icons/custom/Rhombus.js.map +1 -0
  77. package/lib/cjs/icons/custom/ScienceMolecule.js +6 -0
  78. package/lib/cjs/icons/custom/ScienceMolecule.js.map +1 -0
  79. package/lib/cjs/icons/custom/Shrink.js +6 -0
  80. package/lib/cjs/icons/custom/Shrink.js.map +1 -0
  81. package/lib/cjs/icons/custom/Text.js +6 -0
  82. package/lib/cjs/icons/custom/Text.js.map +1 -0
  83. package/lib/cjs/icons/custom/Triangle.js +6 -0
  84. package/lib/cjs/icons/custom/Triangle.js.map +1 -0
  85. package/lib/cjs/icons/custom/VisualizeBloom.js +6 -0
  86. package/lib/cjs/icons/custom/VisualizeBloom.js.map +1 -0
  87. package/lib/cjs/icons/custom/index.js +71 -0
  88. package/lib/cjs/icons/custom/index.js.map +1 -0
  89. package/lib/cjs/icons/index.js +31 -0
  90. package/lib/cjs/icons/index.js.map +1 -0
  91. package/lib/cjs/index.js +53 -0
  92. package/lib/cjs/index.js.map +1 -0
  93. package/lib/cjs/input/Input.js +60 -0
  94. package/lib/cjs/input/Input.js.map +1 -0
  95. package/lib/cjs/input/index.js +29 -0
  96. package/lib/cjs/input/index.js.map +1 -0
  97. package/lib/cjs/label/Label.js +103 -0
  98. package/lib/cjs/label/Label.js.map +1 -0
  99. package/lib/cjs/label/index.js +29 -0
  100. package/lib/cjs/label/index.js.map +1 -0
  101. package/lib/cjs/loading-spinner/LoadingSpinner.js +53 -0
  102. package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -0
  103. package/lib/cjs/loading-spinner/index.js +29 -0
  104. package/lib/cjs/loading-spinner/index.js.map +1 -0
  105. package/lib/cjs/popover/Popover.js +213 -0
  106. package/lib/cjs/popover/Popover.js.map +1 -0
  107. package/lib/cjs/popover/index.js +38 -0
  108. package/lib/cjs/popover/index.js.map +1 -0
  109. package/lib/cjs/progress-bar/ProgressBar.js +46 -0
  110. package/lib/cjs/progress-bar/ProgressBar.js.map +1 -0
  111. package/lib/cjs/progress-bar/index.js +29 -0
  112. package/lib/cjs/progress-bar/index.js.map +1 -0
  113. package/lib/cjs/radio/Radio.js +48 -0
  114. package/lib/cjs/radio/Radio.js.map +1 -0
  115. package/lib/cjs/radio/index.js +29 -0
  116. package/lib/cjs/radio/index.js.map +1 -0
  117. package/lib/cjs/switch/Switch.js +48 -0
  118. package/lib/cjs/switch/Switch.js.map +1 -0
  119. package/lib/cjs/switch/index.js +29 -0
  120. package/lib/cjs/switch/index.js.map +1 -0
  121. package/lib/cjs/table/Table.js +124 -0
  122. package/lib/cjs/table/Table.js.map +1 -0
  123. package/lib/cjs/table/TableNavigation.js +51 -0
  124. package/lib/cjs/table/TableNavigation.js.map +1 -0
  125. package/lib/cjs/table/helpers.js +119 -0
  126. package/lib/cjs/table/helpers.js.map +1 -0
  127. package/lib/cjs/table/hooks/hookCallbackTypes.js +23 -0
  128. package/lib/cjs/table/hooks/hookCallbackTypes.js.map +1 -0
  129. package/lib/cjs/table/hooks/index.js +40 -0
  130. package/lib/cjs/table/hooks/index.js.map +1 -0
  131. package/lib/cjs/table/hooks/useMultiRowSelect.js +84 -0
  132. package/lib/cjs/table/hooks/useMultiRowSelect.js.map +1 -0
  133. package/lib/cjs/table/hooks/useSingleRowSelect.js +61 -0
  134. package/lib/cjs/table/hooks/useSingleRowSelect.js.map +1 -0
  135. package/lib/cjs/table/index.js +44 -0
  136. package/lib/cjs/table/index.js.map +1 -0
  137. package/lib/cjs/tabs/Tabs.js +105 -0
  138. package/lib/cjs/tabs/Tabs.js.map +1 -0
  139. package/lib/cjs/tabs/index.js +38 -0
  140. package/lib/cjs/tabs/index.js.map +1 -0
  141. package/lib/cjs/tag/Tag.js +67 -0
  142. package/lib/cjs/tag/Tag.js.map +1 -0
  143. package/lib/cjs/tag/index.js +29 -0
  144. package/lib/cjs/tag/index.js.map +1 -0
  145. package/lib/cjs/tooltip/Tooltip.js +46 -0
  146. package/lib/cjs/tooltip/Tooltip.js.map +1 -0
  147. package/lib/cjs/tooltip/index.js +29 -0
  148. package/lib/cjs/tooltip/index.js.map +1 -0
  149. package/lib/cjs/view-selector/ViewSelector.js +89 -0
  150. package/lib/cjs/view-selector/ViewSelector.js.map +1 -0
  151. package/lib/cjs/view-selector/index.js +38 -0
  152. package/lib/cjs/view-selector/index.js.map +1 -0
  153. package/lib/esm/alert/Alert.js +95 -0
  154. package/lib/esm/alert/Alert.js.map +1 -0
  155. package/lib/esm/alert/index.js +22 -0
  156. package/lib/esm/alert/index.js.map +1 -0
  157. package/lib/esm/button/Button.js +108 -0
  158. package/lib/esm/button/Button.js.map +1 -0
  159. package/lib/esm/button/index.js +22 -0
  160. package/lib/esm/button/index.js.map +1 -0
  161. package/lib/esm/checkbox/Checkbox.js +47 -0
  162. package/lib/esm/checkbox/Checkbox.js.map +1 -0
  163. package/lib/esm/checkbox/index.js +22 -0
  164. package/lib/esm/checkbox/index.js.map +1 -0
  165. package/lib/esm/context-menu/ContextMenu.js +189 -0
  166. package/lib/esm/context-menu/ContextMenu.js.map +1 -0
  167. package/lib/esm/context-menu/index.js +22 -0
  168. package/lib/esm/context-menu/index.js.map +1 -0
  169. package/lib/esm/drag-and-drop/DragAndDrop.js +61 -0
  170. package/lib/esm/drag-and-drop/DragAndDrop.js.map +1 -0
  171. package/lib/esm/drag-and-drop/icons/CSV-file.js +4 -0
  172. package/lib/esm/drag-and-drop/icons/CSV-file.js.map +1 -0
  173. package/lib/esm/drag-and-drop/icons/Cloud.js +4 -0
  174. package/lib/esm/drag-and-drop/icons/Cloud.js.map +1 -0
  175. package/lib/esm/drag-and-drop/icons/File.js +4 -0
  176. package/lib/esm/drag-and-drop/icons/File.js.map +1 -0
  177. package/lib/esm/drag-and-drop/icons/InvalidFile.js +4 -0
  178. package/lib/esm/drag-and-drop/icons/InvalidFile.js.map +1 -0
  179. package/lib/esm/drag-and-drop/index.js +22 -0
  180. package/lib/esm/drag-and-drop/index.js.map +1 -0
  181. package/lib/esm/helpers/debounce.js +37 -0
  182. package/lib/esm/helpers/debounce.js.map +1 -0
  183. package/lib/esm/helpers/forwardRef.js +23 -0
  184. package/lib/esm/helpers/forwardRef.js.map +1 -0
  185. package/lib/esm/helpers/index.js +24 -0
  186. package/lib/esm/helpers/index.js.map +1 -0
  187. package/lib/esm/helpers/testing.js +42 -0
  188. package/lib/esm/helpers/testing.js.map +1 -0
  189. package/lib/esm/helpers/types.js +22 -0
  190. package/lib/esm/helpers/types.js.map +1 -0
  191. package/lib/esm/icons/Custom.js +41 -0
  192. package/lib/esm/icons/Custom.js.map +1 -0
  193. package/lib/esm/icons/Hero.js +33 -0
  194. package/lib/esm/icons/Hero.js.map +1 -0
  195. package/lib/esm/icons/custom/Circle.js +4 -0
  196. package/lib/esm/icons/custom/Circle.js.map +1 -0
  197. package/lib/esm/icons/custom/CollapseExpand.js +4 -0
  198. package/lib/esm/icons/custom/CollapseExpand.js.map +1 -0
  199. package/lib/esm/icons/custom/DatabaseAddCircle.js +4 -0
  200. package/lib/esm/icons/custom/DatabaseAddCircle.js.map +1 -0
  201. package/lib/esm/icons/custom/Dbms.js +4 -0
  202. package/lib/esm/icons/custom/Dbms.js.map +1 -0
  203. package/lib/esm/icons/custom/Drag.js +4 -0
  204. package/lib/esm/icons/custom/Drag.js.map +1 -0
  205. package/lib/esm/icons/custom/Expand.js +4 -0
  206. package/lib/esm/icons/custom/Expand.js.map +1 -0
  207. package/lib/esm/icons/custom/ExternalLink.js +4 -0
  208. package/lib/esm/icons/custom/ExternalLink.js.map +1 -0
  209. package/lib/esm/icons/custom/FitToScreen.js +4 -0
  210. package/lib/esm/icons/custom/FitToScreen.js.map +1 -0
  211. package/lib/esm/icons/custom/FolderBookmark.js +4 -0
  212. package/lib/esm/icons/custom/FolderBookmark.js.map +1 -0
  213. package/lib/esm/icons/custom/Heirarchy2.js +4 -0
  214. package/lib/esm/icons/custom/Heirarchy2.js.map +1 -0
  215. package/lib/esm/icons/custom/Hierarchy1.js +4 -0
  216. package/lib/esm/icons/custom/Hierarchy1.js.map +1 -0
  217. package/lib/esm/icons/custom/Hierarchy2.js +4 -0
  218. package/lib/esm/icons/custom/Hierarchy2.js.map +1 -0
  219. package/lib/esm/icons/custom/NomLevel.js +4 -0
  220. package/lib/esm/icons/custom/NomLevel.js.map +1 -0
  221. package/lib/esm/icons/custom/Pin.js +4 -0
  222. package/lib/esm/icons/custom/Pin.js.map +1 -0
  223. package/lib/esm/icons/custom/Presentation.js +4 -0
  224. package/lib/esm/icons/custom/Presentation.js.map +1 -0
  225. package/lib/esm/icons/custom/QueryBrowser.js +4 -0
  226. package/lib/esm/icons/custom/QueryBrowser.js.map +1 -0
  227. package/lib/esm/icons/custom/Rhombus.js +4 -0
  228. package/lib/esm/icons/custom/Rhombus.js.map +1 -0
  229. package/lib/esm/icons/custom/ScienceMolecule.js +4 -0
  230. package/lib/esm/icons/custom/ScienceMolecule.js.map +1 -0
  231. package/lib/esm/icons/custom/Shrink.js +4 -0
  232. package/lib/esm/icons/custom/Shrink.js.map +1 -0
  233. package/lib/esm/icons/custom/Text.js +4 -0
  234. package/lib/esm/icons/custom/Text.js.map +1 -0
  235. package/lib/esm/icons/custom/Triangle.js +4 -0
  236. package/lib/esm/icons/custom/Triangle.js.map +1 -0
  237. package/lib/esm/icons/custom/VisualizeBloom.js +4 -0
  238. package/lib/esm/icons/custom/VisualizeBloom.js.map +1 -0
  239. package/lib/esm/icons/custom/index.js +43 -0
  240. package/lib/esm/icons/custom/index.js.map +1 -0
  241. package/lib/esm/icons/index.js +23 -0
  242. package/lib/esm/icons/index.js.map +1 -0
  243. package/lib/esm/index.js +37 -0
  244. package/lib/esm/index.js.map +1 -0
  245. package/lib/esm/input/Input.js +55 -0
  246. package/lib/esm/input/Input.js.map +1 -0
  247. package/lib/esm/input/index.js +22 -0
  248. package/lib/esm/input/index.js.map +1 -0
  249. package/lib/esm/label/Label.js +97 -0
  250. package/lib/esm/label/Label.js.map +1 -0
  251. package/lib/esm/label/index.js +22 -0
  252. package/lib/esm/label/index.js.map +1 -0
  253. package/lib/esm/loading-spinner/LoadingSpinner.js +48 -0
  254. package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -0
  255. package/lib/esm/loading-spinner/index.js +22 -0
  256. package/lib/esm/loading-spinner/index.js.map +1 -0
  257. package/lib/esm/popover/Popover.js +184 -0
  258. package/lib/esm/popover/Popover.js.map +1 -0
  259. package/lib/esm/popover/index.js +22 -0
  260. package/lib/esm/popover/index.js.map +1 -0
  261. package/lib/esm/progress-bar/ProgressBar.js +41 -0
  262. package/lib/esm/progress-bar/ProgressBar.js.map +1 -0
  263. package/lib/esm/progress-bar/index.js +22 -0
  264. package/lib/esm/progress-bar/index.js.map +1 -0
  265. package/lib/esm/radio/Radio.js +43 -0
  266. package/lib/esm/radio/Radio.js.map +1 -0
  267. package/lib/esm/radio/index.js +22 -0
  268. package/lib/esm/radio/index.js.map +1 -0
  269. package/lib/esm/switch/Switch.js +43 -0
  270. package/lib/esm/switch/Switch.js.map +1 -0
  271. package/lib/esm/switch/index.js +22 -0
  272. package/lib/esm/switch/index.js.map +1 -0
  273. package/lib/esm/table/Table.js +117 -0
  274. package/lib/esm/table/Table.js.map +1 -0
  275. package/lib/esm/table/TableNavigation.js +44 -0
  276. package/lib/esm/table/TableNavigation.js.map +1 -0
  277. package/lib/esm/table/helpers.js +112 -0
  278. package/lib/esm/table/helpers.js.map +1 -0
  279. package/lib/esm/table/hooks/hookCallbackTypes.js +22 -0
  280. package/lib/esm/table/hooks/hookCallbackTypes.js.map +1 -0
  281. package/lib/esm/table/hooks/index.js +24 -0
  282. package/lib/esm/table/hooks/index.js.map +1 -0
  283. package/lib/esm/table/hooks/useMultiRowSelect.js +82 -0
  284. package/lib/esm/table/hooks/useMultiRowSelect.js.map +1 -0
  285. package/lib/esm/table/hooks/useSingleRowSelect.js +57 -0
  286. package/lib/esm/table/hooks/useSingleRowSelect.js.map +1 -0
  287. package/lib/esm/table/index.js +23 -0
  288. package/lib/esm/table/index.js.map +1 -0
  289. package/lib/esm/tabs/Tabs.js +76 -0
  290. package/lib/esm/tabs/Tabs.js.map +1 -0
  291. package/lib/esm/tabs/index.js +22 -0
  292. package/lib/esm/tabs/index.js.map +1 -0
  293. package/lib/esm/tag/Tag.js +62 -0
  294. package/lib/esm/tag/Tag.js.map +1 -0
  295. package/lib/esm/tag/index.js +22 -0
  296. package/lib/esm/tag/index.js.map +1 -0
  297. package/lib/esm/tooltip/Tooltip.js +41 -0
  298. package/lib/esm/tooltip/Tooltip.js.map +1 -0
  299. package/lib/esm/tooltip/index.js +22 -0
  300. package/lib/esm/tooltip/index.js.map +1 -0
  301. package/lib/esm/view-selector/ViewSelector.js +60 -0
  302. package/lib/esm/view-selector/ViewSelector.js.map +1 -0
  303. package/lib/esm/view-selector/index.js +22 -0
  304. package/lib/esm/view-selector/index.js.map +1 -0
  305. package/lib/types/alert/Alert.d.ts +75 -0
  306. package/lib/types/alert/index.d.ts +21 -0
  307. package/lib/types/button/Button.d.ts +52 -0
  308. package/lib/types/button/index.d.ts +21 -0
  309. package/lib/types/checkbox/Checkbox.d.ts +39 -0
  310. package/lib/types/checkbox/index.d.ts +21 -0
  311. package/lib/types/context-menu/ContextMenu.d.ts +65 -0
  312. package/lib/types/context-menu/index.d.ts +21 -0
  313. package/lib/types/drag-and-drop/DragAndDrop.d.ts +47 -0
  314. package/lib/types/drag-and-drop/icons/CSV-file.d.ts +23 -0
  315. package/lib/types/drag-and-drop/icons/Cloud.d.ts +23 -0
  316. package/lib/types/drag-and-drop/icons/File.d.ts +23 -0
  317. package/lib/types/drag-and-drop/icons/InvalidFile.d.ts +23 -0
  318. package/lib/types/drag-and-drop/index.d.ts +21 -0
  319. package/lib/types/helpers/debounce.d.ts +24 -0
  320. package/lib/types/helpers/forwardRef.d.ts +24 -0
  321. package/lib/types/helpers/index.d.ts +23 -0
  322. package/lib/types/helpers/testing.d.ts +28 -0
  323. package/lib/types/helpers/types.d.ts +25 -0
  324. package/lib/types/icons/Custom.d.ts +27 -0
  325. package/lib/types/icons/Hero.d.ts +28 -0
  326. package/lib/types/icons/custom/Circle.d.ts +23 -0
  327. package/lib/types/icons/custom/CollapseExpand.d.ts +23 -0
  328. package/lib/types/icons/custom/DatabaseAddCircle.d.ts +23 -0
  329. package/lib/types/icons/custom/Dbms.d.ts +23 -0
  330. package/lib/types/icons/custom/Drag.d.ts +23 -0
  331. package/lib/types/icons/custom/Expand.d.ts +23 -0
  332. package/lib/types/icons/custom/ExternalLink.d.ts +23 -0
  333. package/lib/types/icons/custom/FitToScreen.d.ts +23 -0
  334. package/lib/types/icons/custom/FolderBookmark.d.ts +23 -0
  335. package/lib/types/icons/custom/Heirarchy2.d.ts +23 -0
  336. package/lib/types/icons/custom/Hierarchy1.d.ts +23 -0
  337. package/lib/types/icons/custom/Hierarchy2.d.ts +23 -0
  338. package/lib/types/icons/custom/NomLevel.d.ts +23 -0
  339. package/lib/types/icons/custom/Pin.d.ts +23 -0
  340. package/lib/types/icons/custom/Presentation.d.ts +23 -0
  341. package/lib/types/icons/custom/QueryBrowser.d.ts +23 -0
  342. package/lib/types/icons/custom/Rhombus.d.ts +23 -0
  343. package/lib/types/icons/custom/ScienceMolecule.d.ts +23 -0
  344. package/lib/types/icons/custom/Shrink.d.ts +23 -0
  345. package/lib/types/icons/custom/Text.d.ts +23 -0
  346. package/lib/types/icons/custom/Triangle.d.ts +23 -0
  347. package/lib/types/icons/custom/VisualizeBloom.d.ts +23 -0
  348. package/lib/types/icons/custom/index.d.ts +42 -0
  349. package/lib/types/icons/index.d.ts +22 -0
  350. package/lib/types/index.d.ts +36 -0
  351. package/lib/types/input/Input.d.ts +44 -0
  352. package/lib/types/input/index.d.ts +21 -0
  353. package/lib/types/label/Label.d.ts +41 -0
  354. package/lib/types/label/index.d.ts +21 -0
  355. package/lib/types/loading-spinner/LoadingSpinner.d.ts +41 -0
  356. package/lib/types/loading-spinner/index.d.ts +21 -0
  357. package/lib/types/popover/Popover.d.ts +70 -0
  358. package/lib/types/popover/index.d.ts +21 -0
  359. package/lib/types/progress-bar/ProgressBar.d.ts +29 -0
  360. package/lib/types/progress-bar/index.d.ts +21 -0
  361. package/lib/types/radio/Radio.d.ts +39 -0
  362. package/lib/types/radio/index.d.ts +21 -0
  363. package/lib/types/switch/Switch.d.ts +39 -0
  364. package/lib/types/switch/index.d.ts +21 -0
  365. package/lib/types/table/Table.d.ts +78 -0
  366. package/lib/types/table/TableNavigation.d.ts +39 -0
  367. package/lib/types/table/helpers.d.ts +51 -0
  368. package/lib/types/table/hooks/hookCallbackTypes.d.ts +27 -0
  369. package/lib/types/table/hooks/index.d.ts +23 -0
  370. package/lib/types/table/hooks/useMultiRowSelect.d.ts +42 -0
  371. package/lib/types/table/hooks/useSingleRowSelect.d.ts +37 -0
  372. package/lib/types/table/index.d.ts +22 -0
  373. package/lib/types/tabs/Tabs.d.ts +72 -0
  374. package/lib/types/tabs/index.d.ts +21 -0
  375. package/lib/types/tag/Tag.d.ts +61 -0
  376. package/lib/types/tag/index.d.ts +21 -0
  377. package/lib/types/tooltip/Tooltip.d.ts +29 -0
  378. package/lib/types/tooltip/index.d.ts +21 -0
  379. package/lib/types/view-selector/ViewSelector.d.ts +51 -0
  380. package/lib/types/view-selector/index.d.ts +21 -0
  381. package/package.json +8 -5
@@ -0,0 +1,60 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ /**
14
+ *
15
+ * Copyright (c) "Neo4j"
16
+ * Neo4j Sweden AB [http://neo4j.com]
17
+ *
18
+ * This file is part of Neo4j.
19
+ *
20
+ * Neo4j is free software: you can redistribute it and/or modify
21
+ * it under the terms of the GNU General Public License as published by
22
+ * the Free Software Foundation, either version 3 of the License, or
23
+ * (at your option) any later version.
24
+ *
25
+ * This program is distributed in the hope that it will be useful,
26
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
+ * GNU General Public License for more details.
29
+ *
30
+ * You should have received a copy of the GNU General Public License
31
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
32
+ */
33
+ import React, { useContext } from 'react';
34
+ import classnames from 'classnames';
35
+ import { forwardRef } from '../helpers';
36
+ const ViewSelectorContext = React.createContext(null);
37
+ const useSelectorContext = () => {
38
+ const context = useContext(ViewSelectorContext);
39
+ if (context === null) {
40
+ throw new Error('View Selector used without context');
41
+ }
42
+ return context;
43
+ };
44
+ export const ViewSelector = forwardRef(function ViewSelector(_a, ref) {
45
+ var { size = 'large', icons = false, children, selected, onChange, as = 'div', className } = _a, rest = __rest(_a, ["size", "icons", "children", "selected", "onChange", "as", "className"]);
46
+ const classes = classnames(`ndl-view-selector`, size, className);
47
+ const Component = as;
48
+ return (_jsx(Component, Object.assign({}, rest, { className: classes, role: "group", ref: ref }, { children: _jsx(ViewSelectorContext.Provider, Object.assign({ value: { onChange, selected, icons } }, { children: children })) })));
49
+ });
50
+ export const ViewSelectorItem = React.forwardRef(function ViewSelectorItem(_a, ref) {
51
+ var { children, value, as = 'button', className } = _a, rest = __rest(_a, ["children", "value", "as", "className"]);
52
+ const { onChange, selected, icons } = useSelectorContext();
53
+ const isSelected = value && value === selected;
54
+ const base = classnames(`selector-${icons ? 'icon' : 'item'}`, className, {
55
+ current: value && value === selected,
56
+ });
57
+ const Component = as;
58
+ return (_jsx(Component, Object.assign({}, rest, { onClick: () => !isSelected && onChange(value), className: base, ref: ref }, { children: children })));
59
+ });
60
+ //# sourceMappingURL=ViewSelector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewSelector.js","sourceRoot":"","sources":["../../../src/view-selector/ViewSelector.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAe,UAAU,EAAE,MAAM,YAAY,CAAC;AAuCrD,MAAM,mBAAmB,GACvB,KAAK,CAAC,aAAa,CAAkC,IAAI,CAAC,CAAC;AAE7D,MAAM,kBAAkB,GAAG,GAAG,EAAE;IAC9B,MAAM,OAAO,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAEhD,IAAI,OAAO,KAAK,IAAI,EAAE;QACpB,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;KACvD;IAED,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,YAAY,CAG1D,EASuB,EACvB,GAAgC;QAVhC,EACE,IAAI,GAAG,OAAO,EACd,KAAK,GAAG,KAAK,EACb,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,EAAE,GAAG,KAAK,EACV,SAAS,OAEY,EADlB,IAAI,cART,wEASC,CADQ;IAIT,MAAM,OAAO,GAAG,UAAU,CAAC,mBAAmB,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;IAEjE,MAAM,SAAS,GAAG,EAAE,CAAC;IAErB,OAAO,CACL,KAAC,SAAS,oBAAK,IAAI,IAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAC,OAAO,EAAC,GAAG,EAAE,GAAG,gBAC5D,KAAC,mBAAmB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAC/D,QAAQ,IACoB,IACrB,CACb,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC,UAAU,CAAC,SAAS,gBAAgB,CACxE,EAQC,EACD,GAAG;QATH,EACE,QAAQ,EACR,KAAK,EACL,EAAE,GAAG,QAAQ,EACb,SAAS,OAIV,EAHI,IAAI,cALT,wCAMC,CADQ;IAMT,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,kBAAkB,EAAE,CAAC;IAE3D,MAAM,UAAU,GAAG,KAAK,IAAI,KAAK,KAAK,QAAQ,CAAC;IAE/C,MAAM,IAAI,GAAG,UAAU,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE;QACxE,OAAO,EAAE,KAAK,IAAI,KAAK,KAAK,QAAQ;KACrC,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,EAAE,CAAC;IAErB,OAAO,CACL,KAAC,SAAS,oBACJ,IAAI,IACR,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,UAAU,IAAI,QAAQ,CAAC,KAAK,CAAC,EAC7C,SAAS,EAAE,IAAI,EACf,GAAG,EAAE,GAAG,gBAEP,QAAQ,IACC,CACb,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,22 @@
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 './ViewSelector';
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/view-selector/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,75 @@
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
+ /**
23
+ *
24
+ *
25
+ * Types
26
+ *
27
+ *
28
+ */
29
+ export interface AlertActionProps extends React.HTMLProps<HTMLAnchorElement> {
30
+ /** Label of the action item */
31
+ label: string;
32
+ /** Event handler when the action button is clicked. If set, the element is rendered as `button` */
33
+ onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
34
+ /** Link to redirect to when the action button is clicked. If set, the element is rendered as `a`. Ignored if `onClose` prop is passed */
35
+ href?: string;
36
+ /** Sets how to open the link. Only applicable when `href` is passed */
37
+ target?: '_blank' | '_self' | '_parent' | '_top';
38
+ }
39
+ export interface AlertCommonProps extends Omit<React.HTMLProps<HTMLElement>, 'title'> {
40
+ /** Type of the alert */
41
+ type?: AlertType;
42
+ /** Title of the alert */
43
+ title: string | React.ReactNode;
44
+ /**
45
+ * The alert name or label. Used for accessibility only.
46
+ * Required if title is not a string
47
+ */
48
+ name?: string;
49
+ /** Description of the alert. Will be ignored if `children` is passed */
50
+ description?: string | React.ReactNode;
51
+ /** Alternative for `description` */
52
+ children?: React.ReactNode;
53
+ /** Shows status icon. Icon is automatically picked based on `type` value */
54
+ icon?: boolean;
55
+ /** Shows Action buttons in the footer */
56
+ actions?: AlertActionProps[];
57
+ /** Adds shadow */
58
+ floating?: boolean;
59
+ }
60
+ declare type CloseableAlertProps = {
61
+ /** Shows close icon. Expects onClose to be passed */
62
+ closeable: true;
63
+ /** Event handler when close icon is clicked */
64
+ onClose: (e: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
65
+ };
66
+ declare type NonCloseableAlertProps = {
67
+ closeable?: false;
68
+ onClose?: never;
69
+ };
70
+ declare type AlertCloseProps = CloseableAlertProps | NonCloseableAlertProps;
71
+ export declare type AlertProps = AlertCommonProps & AlertCloseProps;
72
+ export declare type AlertType = 'info' | 'success' | 'warning' | 'danger';
73
+ export declare const AlertAction: ({ label, ...props }: AlertActionProps) => JSX.Element;
74
+ declare const Alert: React.ForwardRefExoticComponent<(Pick<AlertCommonProps & CloseableAlertProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "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" | "icon" | "actions" | "floating" | "description" | keyof CloseableAlertProps> | Pick<AlertCommonProps & NonCloseableAlertProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "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" | "icon" | "actions" | "floating" | "description" | keyof NonCloseableAlertProps>) & React.RefAttributes<HTMLDivElement>>;
75
+ export default Alert;
@@ -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 Alert, AlertAction } from './Alert';
@@ -0,0 +1,52 @@
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 { Neo4jColors } from '@neo4j-ndl/base';
23
+ import { ElementBase } from '../helpers';
24
+ export declare const removeNewlines: (input: string) => string;
25
+ /** Remove extra spaces from sting */
26
+ export declare const removeSpaces: (input: string) => string;
27
+ /**
28
+ *
29
+ *
30
+ * Types
31
+ *
32
+ *
33
+ */
34
+ declare type ButtonTypes = 'submit' | 'button' | 'reset';
35
+ export interface ButtonProps extends ElementBase<HTMLButtonElement> {
36
+ children: string | React.ReactNode;
37
+ /** If the button is doing something Async, it will display a loading spinner */
38
+ loading?: boolean;
39
+ /** If the button is in disabled state */
40
+ disabled?: boolean;
41
+ /** the base color of the button */
42
+ color?: Exclude<Neo4jColors, 'blueberry' | 'mint'>;
43
+ type?: ButtonTypes;
44
+ /** Fill type of button */
45
+ fill?: 'filled' | 'outlined' | 'text';
46
+ /** Size of button */
47
+ buttonSize?: 'regular' | 'small' | 'large';
48
+ /** Rectanle (for icon usage mainly) */
49
+ rectangle?: boolean;
50
+ }
51
+ export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<unknown>>;
52
+ export {};
@@ -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 * from './Button';
@@ -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
+ import React from 'react';
22
+ import { InputProps } from '../input/Input';
23
+ /**
24
+ *
25
+ *
26
+ * Helpers
27
+ *
28
+ *
29
+ */
30
+ /** Add any helper functions here. */
31
+ /**
32
+ *
33
+ *
34
+ * Checkbox Component
35
+ *
36
+ *
37
+ */
38
+ declare const Checkbox: React.ForwardRefExoticComponent<Pick<InputProps, "size" | "className" | "form" | "label" | "slot" | "style" | "title" | "pattern" | "list" | "children" | "role" | "onChange" | "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "placeholder" | "readOnly" | "required" | "src" | "step" | "type" | "value" | "width" | "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" | "enterKeyHint" | "fluid" | "labelBefore"> & React.RefAttributes<HTMLInputElement>>;
39
+ export default Checkbox;
@@ -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 Checkbox } from './Checkbox';
@@ -0,0 +1,65 @@
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 { PopoverProps } from '../popover';
23
+ /**
24
+ * A Menu component. A significant portion of this code is a subset of the Material UI React Menu component
25
+ */
26
+ declare type ElementBase = Omit<React.HTMLProps<HTMLElement>, 'as'> & {
27
+ /** Override the root element rendered for the component */
28
+ as?: string | React.ComponentType<any>;
29
+ };
30
+ export interface ContextMenuProps extends PopoverProps {
31
+ menuSize?: 'small' | 'large';
32
+ /** The minimum width of the menu */
33
+ minWidth?: number;
34
+ }
35
+ export declare const Menu: React.ForwardRefExoticComponent<Pick<ContextMenuProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "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" | "onClose" | "anchorEl" | "anchorOrigin" | "transformOrigin" | "nested" | "menuSize" | "minWidth"> & React.RefAttributes<unknown>>;
36
+ interface MenuItemsProps extends ElementBase {
37
+ children: React.ReactNode | string;
38
+ /** Additional classes */
39
+ className?: string;
40
+ }
41
+ export declare const MenuItems: React.ForwardRefExoticComponent<Pick<MenuItemsProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "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"> & React.RefAttributes<unknown>>;
42
+ interface MenuItemProps extends Omit<ElementBase, 'title' | 'onClick'> {
43
+ /** Item title text */
44
+ title: string | React.ReactNode;
45
+ /** Item description text */
46
+ description?: string | React.ReactNode;
47
+ /** An icon to render on the left side of the list item */
48
+ icon?: React.ReactNode;
49
+ /** Additional classes */
50
+ className?: string;
51
+ /** Disable this menu item */
52
+ disabled?: boolean;
53
+ onClick?: (e: React.MouseEvent<HTMLElement, MouseEvent> | React.KeyboardEvent<HTMLElement>) => void;
54
+ }
55
+ export declare const MenuItem: React.ForwardRefExoticComponent<Pick<MenuItemProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "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" | "icon" | "description"> & React.RefAttributes<unknown>>;
56
+ interface MenuHeaderProps extends Omit<ElementBase, 'title'> {
57
+ /** Header title text */
58
+ title: string | React.ReactNode;
59
+ /** Header description text */
60
+ description?: string | React.ReactNode;
61
+ /** Additional classes */
62
+ className?: string;
63
+ }
64
+ export declare const MenuHeader: React.ForwardRefExoticComponent<Pick<MenuHeaderProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "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" | "description"> & React.RefAttributes<unknown>>;
65
+ export {};
@@ -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 * from './ContextMenu';
@@ -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;