@neo4j-ndl/react 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/lib/cjs/alert/Alert.js +102 -0
  2. package/lib/cjs/alert/Alert.js.map +1 -0
  3. package/lib/{alert → cjs/alert}/index.js +6 -10
  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/{button → cjs/button}/index.js +6 -2
  8. package/lib/cjs/button/index.js.map +1 -0
  9. package/lib/{checkbox → cjs/checkbox}/Checkbox.js +10 -20
  10. package/lib/cjs/checkbox/Checkbox.js.map +1 -0
  11. package/lib/{checkbox → cjs/checkbox}/index.js +5 -9
  12. package/lib/cjs/checkbox/index.js.map +1 -0
  13. package/lib/{context-menu → cjs/context-menu}/ContextMenu.js +83 -95
  14. package/lib/cjs/context-menu/ContextMenu.js.map +1 -0
  15. package/lib/{context-menu → cjs/context-menu}/index.js +6 -2
  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/{helpers → cjs/helpers}/debounce.js +7 -13
  30. package/lib/cjs/helpers/debounce.js.map +1 -0
  31. package/lib/{helpers → cjs/helpers}/forwardRef.js +2 -2
  32. package/lib/cjs/helpers/forwardRef.js.map +1 -0
  33. package/lib/{helpers → cjs/helpers}/index.js +6 -2
  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/{helpers → cjs/helpers}/types.js +1 -1
  38. package/lib/cjs/helpers/types.js.map +1 -0
  39. package/lib/{icons → cjs/icons}/Custom.js +33 -43
  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/{icons → cjs/icons}/index.js +6 -10
  90. package/lib/cjs/icons/index.js.map +1 -0
  91. package/lib/{index.js → cjs/index.js} +8 -2
  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/{input → cjs/input}/index.js +5 -9
  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/{label → cjs/label}/index.js +5 -9
  100. package/lib/cjs/label/index.js.map +1 -0
  101. package/lib/{loading-spinner → cjs/loading-spinner}/LoadingSpinner.js +23 -34
  102. package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -0
  103. package/lib/{loading-spinner → cjs/loading-spinner}/index.js +5 -9
  104. package/lib/cjs/loading-spinner/index.js.map +1 -0
  105. package/lib/{popover → cjs/popover}/Popover.js +86 -97
  106. package/lib/cjs/popover/Popover.js.map +1 -0
  107. package/lib/{popover → cjs/popover}/index.js +6 -2
  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/{progress-bar → cjs/progress-bar}/index.js +5 -9
  112. package/lib/cjs/progress-bar/index.js.map +1 -0
  113. package/lib/{radio → cjs/radio}/Radio.js +10 -20
  114. package/lib/cjs/radio/Radio.js.map +1 -0
  115. package/lib/{radio → cjs/radio}/index.js +5 -9
  116. package/lib/cjs/radio/index.js.map +1 -0
  117. package/lib/{switch → cjs/switch}/Switch.js +10 -20
  118. package/lib/cjs/switch/Switch.js.map +1 -0
  119. package/lib/{switch → cjs/switch}/index.js +5 -9
  120. package/lib/cjs/switch/index.js.map +1 -0
  121. package/lib/cjs/tabs/Tabs.js +105 -0
  122. package/lib/cjs/tabs/Tabs.js.map +1 -0
  123. package/lib/{tabs → cjs/tabs}/index.js +6 -2
  124. package/lib/cjs/tabs/index.js.map +1 -0
  125. package/lib/{tag → cjs/tag}/Tag.js +25 -38
  126. package/lib/cjs/tag/Tag.js.map +1 -0
  127. package/lib/{tag → cjs/tag}/index.js +5 -9
  128. package/lib/cjs/tag/index.js.map +1 -0
  129. package/lib/{tooltip → cjs/tooltip}/Tooltip.js +23 -35
  130. package/lib/cjs/tooltip/Tooltip.js.map +1 -0
  131. package/lib/{tooltip → cjs/tooltip}/index.js +5 -9
  132. package/lib/cjs/tooltip/index.js.map +1 -0
  133. package/lib/{view-selector → cjs/view-selector}/ViewSelector.js +45 -52
  134. package/lib/cjs/view-selector/ViewSelector.js.map +1 -0
  135. package/lib/{view-selector → cjs/view-selector}/index.js +6 -2
  136. package/lib/cjs/view-selector/index.js.map +1 -0
  137. package/lib/esm/alert/Alert.js +95 -0
  138. package/lib/esm/alert/Alert.js.map +1 -0
  139. package/lib/esm/alert/index.js +22 -0
  140. package/lib/esm/alert/index.js.map +1 -0
  141. package/lib/esm/button/Button.js +108 -0
  142. package/lib/esm/button/Button.js.map +1 -0
  143. package/lib/esm/button/index.js +22 -0
  144. package/lib/esm/button/index.js.map +1 -0
  145. package/lib/esm/checkbox/Checkbox.js +47 -0
  146. package/lib/esm/checkbox/Checkbox.js.map +1 -0
  147. package/lib/esm/checkbox/index.js +22 -0
  148. package/lib/esm/checkbox/index.js.map +1 -0
  149. package/lib/esm/context-menu/ContextMenu.js +189 -0
  150. package/lib/esm/context-menu/ContextMenu.js.map +1 -0
  151. package/lib/esm/context-menu/index.js +22 -0
  152. package/lib/esm/context-menu/index.js.map +1 -0
  153. package/lib/esm/drag-and-drop/DragAndDrop.js +61 -0
  154. package/lib/esm/drag-and-drop/DragAndDrop.js.map +1 -0
  155. package/lib/esm/drag-and-drop/icons/CSV-file.js +4 -0
  156. package/lib/esm/drag-and-drop/icons/CSV-file.js.map +1 -0
  157. package/lib/esm/drag-and-drop/icons/Cloud.js +4 -0
  158. package/lib/esm/drag-and-drop/icons/Cloud.js.map +1 -0
  159. package/lib/esm/drag-and-drop/icons/File.js +4 -0
  160. package/lib/esm/drag-and-drop/icons/File.js.map +1 -0
  161. package/lib/esm/drag-and-drop/icons/InvalidFile.js +4 -0
  162. package/lib/esm/drag-and-drop/icons/InvalidFile.js.map +1 -0
  163. package/lib/esm/drag-and-drop/index.js +22 -0
  164. package/lib/esm/drag-and-drop/index.js.map +1 -0
  165. package/lib/esm/helpers/debounce.js +37 -0
  166. package/lib/esm/helpers/debounce.js.map +1 -0
  167. package/lib/esm/helpers/forwardRef.js +23 -0
  168. package/lib/esm/helpers/forwardRef.js.map +1 -0
  169. package/lib/esm/helpers/index.js +24 -0
  170. package/lib/esm/helpers/index.js.map +1 -0
  171. package/lib/esm/helpers/testing.js +42 -0
  172. package/lib/esm/helpers/testing.js.map +1 -0
  173. package/lib/esm/helpers/types.js +22 -0
  174. package/lib/esm/helpers/types.js.map +1 -0
  175. package/lib/esm/icons/Custom.js +41 -0
  176. package/lib/esm/icons/Custom.js.map +1 -0
  177. package/lib/esm/icons/Hero.js +33 -0
  178. package/lib/esm/icons/Hero.js.map +1 -0
  179. package/lib/esm/icons/custom/Circle.js +4 -0
  180. package/lib/esm/icons/custom/Circle.js.map +1 -0
  181. package/lib/esm/icons/custom/CollapseExpand.js +4 -0
  182. package/lib/esm/icons/custom/CollapseExpand.js.map +1 -0
  183. package/lib/esm/icons/custom/DatabaseAddCircle.js +4 -0
  184. package/lib/esm/icons/custom/DatabaseAddCircle.js.map +1 -0
  185. package/lib/esm/icons/custom/Dbms.js +4 -0
  186. package/lib/esm/icons/custom/Dbms.js.map +1 -0
  187. package/lib/esm/icons/custom/Drag.js +4 -0
  188. package/lib/esm/icons/custom/Drag.js.map +1 -0
  189. package/lib/esm/icons/custom/Expand.js +4 -0
  190. package/lib/esm/icons/custom/Expand.js.map +1 -0
  191. package/lib/esm/icons/custom/ExternalLink.js +4 -0
  192. package/lib/esm/icons/custom/ExternalLink.js.map +1 -0
  193. package/lib/esm/icons/custom/FitToScreen.js +4 -0
  194. package/lib/esm/icons/custom/FitToScreen.js.map +1 -0
  195. package/lib/esm/icons/custom/FolderBookmark.js +4 -0
  196. package/lib/esm/icons/custom/FolderBookmark.js.map +1 -0
  197. package/lib/esm/icons/custom/Heirarchy2.js +4 -0
  198. package/lib/esm/icons/custom/Heirarchy2.js.map +1 -0
  199. package/lib/esm/icons/custom/Hierarchy1.js +4 -0
  200. package/lib/esm/icons/custom/Hierarchy1.js.map +1 -0
  201. package/lib/esm/icons/custom/Hierarchy2.js +4 -0
  202. package/lib/esm/icons/custom/Hierarchy2.js.map +1 -0
  203. package/lib/esm/icons/custom/NomLevel.js +4 -0
  204. package/lib/esm/icons/custom/NomLevel.js.map +1 -0
  205. package/lib/esm/icons/custom/Pin.js +4 -0
  206. package/lib/esm/icons/custom/Pin.js.map +1 -0
  207. package/lib/esm/icons/custom/Presentation.js +4 -0
  208. package/lib/esm/icons/custom/Presentation.js.map +1 -0
  209. package/lib/esm/icons/custom/QueryBrowser.js +4 -0
  210. package/lib/esm/icons/custom/QueryBrowser.js.map +1 -0
  211. package/lib/esm/icons/custom/Rhombus.js +4 -0
  212. package/lib/esm/icons/custom/Rhombus.js.map +1 -0
  213. package/lib/esm/icons/custom/ScienceMolecule.js +4 -0
  214. package/lib/esm/icons/custom/ScienceMolecule.js.map +1 -0
  215. package/lib/esm/icons/custom/Shrink.js +4 -0
  216. package/lib/esm/icons/custom/Shrink.js.map +1 -0
  217. package/lib/esm/icons/custom/Text.js +4 -0
  218. package/lib/esm/icons/custom/Text.js.map +1 -0
  219. package/lib/esm/icons/custom/Triangle.js +4 -0
  220. package/lib/esm/icons/custom/Triangle.js.map +1 -0
  221. package/lib/esm/icons/custom/VisualizeBloom.js +4 -0
  222. package/lib/esm/icons/custom/VisualizeBloom.js.map +1 -0
  223. package/lib/esm/icons/custom/index.js +43 -0
  224. package/lib/esm/icons/custom/index.js.map +1 -0
  225. package/lib/esm/icons/index.js +23 -0
  226. package/lib/esm/icons/index.js.map +1 -0
  227. package/lib/esm/index.js +36 -0
  228. package/lib/esm/index.js.map +1 -0
  229. package/lib/esm/input/Input.js +55 -0
  230. package/lib/esm/input/Input.js.map +1 -0
  231. package/lib/esm/input/index.js +22 -0
  232. package/lib/esm/input/index.js.map +1 -0
  233. package/lib/esm/label/Label.js +97 -0
  234. package/lib/esm/label/Label.js.map +1 -0
  235. package/lib/esm/label/index.js +22 -0
  236. package/lib/esm/label/index.js.map +1 -0
  237. package/lib/esm/loading-spinner/LoadingSpinner.js +48 -0
  238. package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -0
  239. package/lib/esm/loading-spinner/index.js +22 -0
  240. package/lib/esm/loading-spinner/index.js.map +1 -0
  241. package/lib/esm/popover/Popover.js +184 -0
  242. package/lib/esm/popover/Popover.js.map +1 -0
  243. package/lib/esm/popover/index.js +22 -0
  244. package/lib/esm/popover/index.js.map +1 -0
  245. package/lib/esm/progress-bar/ProgressBar.js +41 -0
  246. package/lib/esm/progress-bar/ProgressBar.js.map +1 -0
  247. package/lib/esm/progress-bar/index.js +22 -0
  248. package/lib/esm/progress-bar/index.js.map +1 -0
  249. package/lib/esm/radio/Radio.js +43 -0
  250. package/lib/esm/radio/Radio.js.map +1 -0
  251. package/lib/esm/radio/index.js +22 -0
  252. package/lib/esm/radio/index.js.map +1 -0
  253. package/lib/esm/switch/Switch.js +43 -0
  254. package/lib/esm/switch/Switch.js.map +1 -0
  255. package/lib/esm/switch/index.js +22 -0
  256. package/lib/esm/switch/index.js.map +1 -0
  257. package/lib/esm/tabs/Tabs.js +76 -0
  258. package/lib/esm/tabs/Tabs.js.map +1 -0
  259. package/lib/esm/tabs/index.js +22 -0
  260. package/lib/esm/tabs/index.js.map +1 -0
  261. package/lib/esm/tag/Tag.js +62 -0
  262. package/lib/esm/tag/Tag.js.map +1 -0
  263. package/lib/esm/tag/index.js +22 -0
  264. package/lib/esm/tag/index.js.map +1 -0
  265. package/lib/esm/tooltip/Tooltip.js +41 -0
  266. package/lib/esm/tooltip/Tooltip.js.map +1 -0
  267. package/lib/esm/tooltip/index.js +22 -0
  268. package/lib/esm/tooltip/index.js.map +1 -0
  269. package/lib/esm/view-selector/ViewSelector.js +60 -0
  270. package/lib/esm/view-selector/ViewSelector.js.map +1 -0
  271. package/lib/esm/view-selector/index.js +22 -0
  272. package/lib/esm/view-selector/index.js.map +1 -0
  273. package/lib/{alert → types/alert}/Alert.d.ts +0 -0
  274. package/lib/{alert → types/alert}/index.d.ts +0 -0
  275. package/lib/{button → types/button}/Button.d.ts +0 -0
  276. package/lib/{button → types/button}/index.d.ts +0 -0
  277. package/lib/{checkbox → types/checkbox}/Checkbox.d.ts +0 -0
  278. package/lib/{checkbox → types/checkbox}/index.d.ts +0 -0
  279. package/lib/{context-menu → types/context-menu}/ContextMenu.d.ts +0 -0
  280. package/lib/{context-menu → types/context-menu}/index.d.ts +0 -0
  281. package/lib/types/drag-and-drop/DragAndDrop.d.ts +47 -0
  282. package/lib/types/drag-and-drop/icons/CSV-file.d.ts +23 -0
  283. package/lib/types/drag-and-drop/icons/Cloud.d.ts +23 -0
  284. package/lib/types/drag-and-drop/icons/File.d.ts +23 -0
  285. package/lib/types/drag-and-drop/icons/InvalidFile.d.ts +23 -0
  286. package/lib/types/drag-and-drop/index.d.ts +21 -0
  287. package/lib/{helpers → types/helpers}/debounce.d.ts +0 -0
  288. package/lib/{helpers → types/helpers}/forwardRef.d.ts +0 -0
  289. package/lib/{helpers → types/helpers}/index.d.ts +0 -0
  290. package/lib/{helpers → types/helpers}/testing.d.ts +0 -0
  291. package/lib/{helpers → types/helpers}/types.d.ts +0 -0
  292. package/lib/{icons → types/icons}/Custom.d.ts +0 -0
  293. package/lib/{icons → types/icons}/Hero.d.ts +0 -0
  294. package/lib/{icons → types/icons}/custom/Circle.d.ts +0 -0
  295. package/lib/types/icons/custom/CollapseExpand.d.ts +23 -0
  296. package/lib/{icons → types/icons}/custom/DatabaseAddCircle.d.ts +0 -0
  297. package/lib/types/icons/custom/Dbms.d.ts +23 -0
  298. package/lib/{icons → types/icons}/custom/Drag.d.ts +0 -0
  299. package/lib/{icons → types/icons}/custom/Expand.d.ts +0 -0
  300. package/lib/{icons → types/icons}/custom/ExternalLink.d.ts +0 -0
  301. package/lib/{icons → types/icons}/custom/FitToScreen.d.ts +0 -0
  302. package/lib/{icons → types/icons}/custom/FolderBookmark.d.ts +0 -0
  303. package/lib/{icons → types/icons}/custom/Heirarchy2.d.ts +0 -0
  304. package/lib/{icons → types/icons}/custom/Hierarchy1.d.ts +0 -0
  305. package/lib/types/icons/custom/Hierarchy2.d.ts +23 -0
  306. package/lib/types/icons/custom/NomLevel.d.ts +23 -0
  307. package/lib/{icons → types/icons}/custom/Pin.d.ts +0 -0
  308. package/lib/{icons → types/icons}/custom/Presentation.d.ts +0 -0
  309. package/lib/types/icons/custom/QueryBrowser.d.ts +23 -0
  310. package/lib/{icons → types/icons}/custom/Rhombus.d.ts +0 -0
  311. package/lib/types/icons/custom/ScienceMolecule.d.ts +23 -0
  312. package/lib/{icons → types/icons}/custom/Shrink.d.ts +0 -0
  313. package/lib/{icons → types/icons}/custom/Text.d.ts +0 -0
  314. package/lib/{icons → types/icons}/custom/Triangle.d.ts +0 -0
  315. package/lib/types/icons/custom/VisualizeBloom.d.ts +23 -0
  316. package/lib/{icons → types/icons}/custom/index.d.ts +7 -0
  317. package/lib/{icons → types/icons}/index.d.ts +0 -0
  318. package/lib/{index.d.ts → types/index.d.ts} +2 -0
  319. package/lib/{input → types/input}/Input.d.ts +0 -0
  320. package/lib/{input → types/input}/index.d.ts +0 -0
  321. package/lib/{label → types/label}/Label.d.ts +2 -2
  322. package/lib/{label → types/label}/index.d.ts +0 -0
  323. package/lib/{loading-spinner → types/loading-spinner}/LoadingSpinner.d.ts +0 -0
  324. package/lib/{loading-spinner → types/loading-spinner}/index.d.ts +0 -0
  325. package/lib/{popover → types/popover}/Popover.d.ts +0 -0
  326. package/lib/{popover → types/popover}/index.d.ts +0 -0
  327. package/lib/{progress-bar → types/progress-bar}/ProgressBar.d.ts +0 -0
  328. package/lib/{progress-bar → types/progress-bar}/index.d.ts +0 -0
  329. package/lib/{radio → types/radio}/Radio.d.ts +0 -0
  330. package/lib/{radio → types/radio}/index.d.ts +0 -0
  331. package/lib/{switch → types/switch}/Switch.d.ts +0 -0
  332. package/lib/{switch → types/switch}/index.d.ts +0 -0
  333. package/lib/{tabs → types/tabs}/Tabs.d.ts +0 -0
  334. package/lib/{tabs → types/tabs}/index.d.ts +0 -0
  335. package/lib/{tag → types/tag}/Tag.d.ts +0 -0
  336. package/lib/{tag → types/tag}/index.d.ts +0 -0
  337. package/lib/{tooltip → types/tooltip}/Tooltip.d.ts +0 -0
  338. package/lib/{tooltip → types/tooltip}/index.d.ts +0 -0
  339. package/lib/{view-selector → types/view-selector}/ViewSelector.d.ts +0 -0
  340. package/lib/{view-selector → types/view-selector}/index.d.ts +0 -0
  341. package/package.json +19 -10
  342. package/lib/alert/Alert.js +0 -121
  343. package/lib/alert/Alert.js.map +0 -1
  344. package/lib/alert/index.js.map +0 -1
  345. package/lib/button/Button.js +0 -112
  346. package/lib/button/Button.js.map +0 -1
  347. package/lib/button/index.js.map +0 -1
  348. package/lib/checkbox/Checkbox.js.map +0 -1
  349. package/lib/checkbox/index.js.map +0 -1
  350. package/lib/context-menu/ContextMenu.js.map +0 -1
  351. package/lib/context-menu/index.js.map +0 -1
  352. package/lib/helpers/debounce.js.map +0 -1
  353. package/lib/helpers/forwardRef.js.map +0 -1
  354. package/lib/helpers/index.js.map +0 -1
  355. package/lib/helpers/testing.js +0 -81
  356. package/lib/helpers/testing.js.map +0 -1
  357. package/lib/helpers/types.js.map +0 -1
  358. package/lib/icons/Custom.js.map +0 -1
  359. package/lib/icons/Hero.js +0 -89
  360. package/lib/icons/Hero.js.map +0 -1
  361. package/lib/icons/custom/Circle.js +0 -57
  362. package/lib/icons/custom/Circle.js.map +0 -1
  363. package/lib/icons/custom/DatabaseAddCircle.js +0 -57
  364. package/lib/icons/custom/DatabaseAddCircle.js.map +0 -1
  365. package/lib/icons/custom/Drag.js +0 -62
  366. package/lib/icons/custom/Drag.js.map +0 -1
  367. package/lib/icons/custom/Expand.js +0 -57
  368. package/lib/icons/custom/Expand.js.map +0 -1
  369. package/lib/icons/custom/ExternalLink.js +0 -57
  370. package/lib/icons/custom/ExternalLink.js.map +0 -1
  371. package/lib/icons/custom/FitToScreen.js +0 -57
  372. package/lib/icons/custom/FitToScreen.js.map +0 -1
  373. package/lib/icons/custom/FolderBookmark.js +0 -57
  374. package/lib/icons/custom/FolderBookmark.js.map +0 -1
  375. package/lib/icons/custom/Heirarchy2.js +0 -57
  376. package/lib/icons/custom/Heirarchy2.js.map +0 -1
  377. package/lib/icons/custom/Hierarchy1.js +0 -57
  378. package/lib/icons/custom/Hierarchy1.js.map +0 -1
  379. package/lib/icons/custom/Pin.js +0 -57
  380. package/lib/icons/custom/Pin.js.map +0 -1
  381. package/lib/icons/custom/Presentation.js +0 -57
  382. package/lib/icons/custom/Presentation.js.map +0 -1
  383. package/lib/icons/custom/Rhombus.js +0 -57
  384. package/lib/icons/custom/Rhombus.js.map +0 -1
  385. package/lib/icons/custom/Shrink.js +0 -57
  386. package/lib/icons/custom/Shrink.js.map +0 -1
  387. package/lib/icons/custom/Text.js +0 -57
  388. package/lib/icons/custom/Text.js.map +0 -1
  389. package/lib/icons/custom/Triangle.js +0 -57
  390. package/lib/icons/custom/Triangle.js.map +0 -1
  391. package/lib/icons/custom/index.js +0 -61
  392. package/lib/icons/custom/index.js.map +0 -1
  393. package/lib/icons/index.js.map +0 -1
  394. package/lib/index.js.map +0 -1
  395. package/lib/input/Input.js +0 -92
  396. package/lib/input/Input.js.map +0 -1
  397. package/lib/input/index.js.map +0 -1
  398. package/lib/label/Label.js +0 -103
  399. package/lib/label/Label.js.map +0 -1
  400. package/lib/label/index.js.map +0 -1
  401. package/lib/loading-spinner/LoadingSpinner.js.map +0 -1
  402. package/lib/loading-spinner/index.js.map +0 -1
  403. package/lib/popover/Popover.js.map +0 -1
  404. package/lib/popover/index.js.map +0 -1
  405. package/lib/progress-bar/ProgressBar.js +0 -64
  406. package/lib/progress-bar/ProgressBar.js.map +0 -1
  407. package/lib/progress-bar/index.js.map +0 -1
  408. package/lib/radio/Radio.js.map +0 -1
  409. package/lib/radio/index.js.map +0 -1
  410. package/lib/switch/Switch.js.map +0 -1
  411. package/lib/switch/index.js.map +0 -1
  412. package/lib/tabs/Tabs.js +0 -114
  413. package/lib/tabs/Tabs.js.map +0 -1
  414. package/lib/tabs/index.js.map +0 -1
  415. package/lib/tag/Tag.js.map +0 -1
  416. package/lib/tag/index.js.map +0 -1
  417. package/lib/tooltip/Tooltip.js.map +0 -1
  418. package/lib/tooltip/index.js.map +0 -1
  419. package/lib/view-selector/ViewSelector.js.map +0 -1
  420. package/lib/view-selector/index.js.map +0 -1
@@ -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';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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;
File without changes
File without changes
@@ -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;
File without changes
@@ -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;
File without changes
@@ -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;
File without changes
File without changes
File without changes
@@ -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';
File without changes
@@ -31,3 +31,5 @@ export * from './tabs';
31
31
  export * from './view-selector';
32
32
  export * from './popover';
33
33
  export * from './icons';
34
+ export * from './progress-bar';
35
+ export * from './drag-and-drop';
File without changes
File without changes
@@ -19,7 +19,6 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
- import { Neo4jColors } from '@neo4j-ndl/base';
23
22
  /**
24
23
  *
25
24
  *
@@ -27,11 +26,12 @@ import { Neo4jColors } from '@neo4j-ndl/base';
27
26
  *
28
27
  *
29
28
  */
29
+ export declare const LabelColors: readonly ["info", "success", "warning", "danger", "default"];
30
30
  export declare type EventTypeLabelProps = {
31
31
  /** Additional Classnames */
32
32
  className?: string;
33
33
  children: React.ReactNode | string;
34
- color?: Neo4jColors;
34
+ color?: typeof LabelColors[number];
35
35
  /** Fill type of label */
36
36
  fill?: 'filled' | 'outlined' | 'semi-filled' | 'clean';
37
37
  /** If label should have an icon */
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/react",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "React implementation of Neo4j Design System",
5
5
  "keywords": [
6
6
  "button",
@@ -9,9 +9,15 @@
9
9
  "author": "Neo4j Inc.",
10
10
  "homepage": "",
11
11
  "license": "GPL-3.0",
12
- "main": "./lib/index.js",
13
- "module": "./lib/index.js",
14
- "types": "./lib/index.d.ts",
12
+ "main": "./lib/cjs/index.js",
13
+ "module": "./lib/esm/index.js",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./lib/esm/index.js",
17
+ "require": "./lib/cjs/index.js"
18
+ }
19
+ },
20
+ "types": "./lib/types/index.d.ts",
15
21
  "directories": {
16
22
  "lib": "lib",
17
23
  "test": "__tests__"
@@ -26,11 +32,13 @@
26
32
  "generate-component": "node ./scripts/component-generator.js",
27
33
  "pretest": "yarn run lint",
28
34
  "test": "jest",
29
- "tsc": "tsc",
30
- "build": "tsc",
35
+ "build": "yarn build:esm && yarn build:cjs && yarn build:types",
36
+ "build:esm": "tsc -p tsconfig.esm.json",
37
+ "build:cjs": "tsc -p tsconfig.cjs.json",
38
+ "build:types": "tsc -p tsconfig.types.json",
31
39
  "format": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
32
40
  "lint": "eslint --ext .jsx,.tsx,.js,.ts src",
33
- "create-icons": "svgr --icon --typescript --no-svgo --replace-attr-values '#535B66=currentColor' --out-dir ./src/icons/custom -- ../base/src/icons"
41
+ "create-icons": "svgr --icon --typescript --no-svgo --replace-attr-values '#535B66=currentColor' --jsx-runtime 'automatic' --out-dir ./src/icons/custom -- ../base/src/icons"
34
42
  },
35
43
  "devDependencies": {
36
44
  "@babel/preset-env": "^7.16.4",
@@ -58,8 +66,9 @@
58
66
  },
59
67
  "dependencies": {
60
68
  "@heroicons/react": "^1.0.5",
61
- "@neo4j-ndl/base": "^0.1.2",
62
- "classnames": "^2.3.1"
69
+ "@neo4j-ndl/base": "^0.2.0",
70
+ "classnames": "^2.3.1",
71
+ "react-dropzone": "^12.0.4"
63
72
  },
64
- "gitHead": "92523886ce954f0930f1d1168e31ceb699b26cac"
73
+ "gitHead": "07cac27edcc59c0e790668795cc14cdf4768269c"
65
74
  }