@neo4j-ndl/react 0.17.0 → 1.0.0-alpha-093fe38

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 (449) hide show
  1. package/lib/cjs/_common/input/RadioAndCheckboxWrapper.js +14 -6
  2. package/lib/cjs/_common/input/RadioAndCheckboxWrapper.js.map +1 -1
  3. package/lib/cjs/alert/Alert.js +16 -16
  4. package/lib/cjs/alert/Alert.js.map +1 -1
  5. package/lib/cjs/alert/index.js +14 -6
  6. package/lib/cjs/alert/index.js.map +1 -1
  7. package/lib/cjs/button/Button.js +11 -6
  8. package/lib/cjs/button/Button.js.map +1 -1
  9. package/lib/cjs/button/IconButton.js +12 -8
  10. package/lib/cjs/button/IconButton.js.map +1 -1
  11. package/lib/cjs/button/IconButtonArray.js +2 -2
  12. package/lib/cjs/button/IconButtonArray.js.map +1 -1
  13. package/lib/cjs/code-block/CodeBlock.js +13 -9
  14. package/lib/cjs/code-block/CodeBlock.js.map +1 -1
  15. package/lib/cjs/context-menu/ContextMenu.js +19 -12
  16. package/lib/cjs/context-menu/ContextMenu.js.map +1 -1
  17. package/lib/cjs/dialog/Dialog.js +9 -9
  18. package/lib/cjs/dialog/Dialog.js.map +1 -1
  19. package/lib/cjs/drag-and-drop/DragAndDrop.js +5 -5
  20. package/lib/cjs/drag-and-drop/DragAndDrop.js.map +1 -1
  21. package/lib/cjs/dropdown/Dropdown.js +15 -13
  22. package/lib/cjs/dropdown/Dropdown.js.map +1 -1
  23. package/lib/cjs/dropdown/Overrides.js +15 -6
  24. package/lib/cjs/dropdown/Overrides.js.map +1 -1
  25. package/lib/cjs/graph-label/GraphLabel.js +18 -14
  26. package/lib/cjs/graph-label/GraphLabel.js.map +1 -1
  27. package/lib/cjs/graph-label/color.js +6 -6
  28. package/lib/cjs/graph-label/color.js.map +1 -1
  29. package/lib/cjs/icons/{custom → generated/custom}/Circle.js +0 -0
  30. package/lib/cjs/icons/generated/custom/Circle.js.map +1 -0
  31. package/lib/cjs/icons/{custom → generated/custom}/CollapseExpand.js +0 -0
  32. package/lib/cjs/icons/generated/custom/CollapseExpand.js.map +1 -0
  33. package/lib/cjs/icons/{custom → generated/custom}/CollapseExpandLeft.js +0 -0
  34. package/lib/cjs/icons/generated/custom/CollapseExpandLeft.js.map +1 -0
  35. package/lib/cjs/icons/{custom → generated/custom}/CollapseExpandRight.js +0 -0
  36. package/lib/cjs/icons/generated/custom/CollapseExpandRight.js.map +1 -0
  37. package/lib/cjs/icons/{custom → generated/custom}/Configure.js +0 -0
  38. package/lib/cjs/icons/generated/custom/Configure.js.map +1 -0
  39. package/lib/cjs/icons/{custom → generated/custom}/DatabaseAddCircle.js +0 -0
  40. package/lib/cjs/icons/generated/custom/DatabaseAddCircle.js.map +1 -0
  41. package/lib/cjs/icons/{custom → generated/custom}/Dbms.js +0 -0
  42. package/lib/cjs/icons/generated/custom/Dbms.js.map +1 -0
  43. package/lib/cjs/icons/{custom → generated/custom}/Drag.js +0 -0
  44. package/lib/cjs/icons/generated/custom/Drag.js.map +1 -0
  45. package/lib/cjs/icons/{custom → generated/custom}/Expand.js +0 -0
  46. package/lib/cjs/icons/generated/custom/Expand.js.map +1 -0
  47. package/lib/cjs/icons/{custom → generated/custom}/ExternalLink.js +0 -0
  48. package/lib/cjs/icons/generated/custom/ExternalLink.js.map +1 -0
  49. package/lib/cjs/icons/{custom → generated/custom}/FitToScreen.js +0 -0
  50. package/lib/cjs/icons/generated/custom/FitToScreen.js.map +1 -0
  51. package/lib/cjs/icons/{custom → generated/custom}/FolderBookmark.js +0 -0
  52. package/lib/cjs/icons/generated/custom/FolderBookmark.js.map +1 -0
  53. package/lib/cjs/icons/{custom → generated/custom}/Heirarchy2.js +0 -0
  54. package/lib/cjs/icons/generated/custom/Heirarchy2.js.map +1 -0
  55. package/lib/cjs/icons/{custom → generated/custom}/Hierarchy1.js +0 -0
  56. package/lib/cjs/icons/generated/custom/Hierarchy1.js.map +1 -0
  57. package/lib/cjs/icons/{custom → generated/custom}/Hierarchy2.js +0 -0
  58. package/lib/cjs/icons/generated/custom/Hierarchy2.js.map +1 -0
  59. package/lib/cjs/icons/{custom → generated/custom}/NomLevel.js +0 -0
  60. package/lib/cjs/icons/generated/custom/NomLevel.js.map +1 -0
  61. package/lib/cjs/icons/{custom → generated/custom}/Pin.js +0 -0
  62. package/lib/cjs/icons/generated/custom/Pin.js.map +1 -0
  63. package/lib/cjs/icons/{custom → generated/custom}/Presentation.js +0 -0
  64. package/lib/cjs/icons/generated/custom/Presentation.js.map +1 -0
  65. package/lib/cjs/icons/{custom → generated/custom}/QueryBrowser.js +0 -0
  66. package/lib/cjs/icons/generated/custom/QueryBrowser.js.map +1 -0
  67. package/lib/cjs/icons/{custom → generated/custom}/Rhombus.js +0 -0
  68. package/lib/cjs/icons/generated/custom/Rhombus.js.map +1 -0
  69. package/lib/cjs/icons/{custom → generated/custom}/ScienceMolecule.js +0 -0
  70. package/lib/cjs/icons/generated/custom/ScienceMolecule.js.map +1 -0
  71. package/lib/cjs/icons/{custom → generated/custom}/Shrink.js +0 -0
  72. package/lib/cjs/icons/generated/custom/Shrink.js.map +1 -0
  73. package/lib/cjs/icons/{custom → generated/custom}/Status.js +0 -0
  74. package/lib/cjs/icons/generated/custom/Status.js.map +1 -0
  75. package/lib/cjs/icons/{custom → generated/custom}/Text.js +0 -0
  76. package/lib/cjs/icons/generated/custom/Text.js.map +1 -0
  77. package/lib/cjs/icons/{custom → generated/custom}/Triangle.js +0 -0
  78. package/lib/cjs/icons/generated/custom/Triangle.js.map +1 -0
  79. package/lib/cjs/icons/{custom → generated/custom}/VisualizeBloom.js +0 -0
  80. package/lib/cjs/icons/generated/custom/VisualizeBloom.js.map +1 -0
  81. package/lib/cjs/icons/{custom → generated/custom}/index.js +0 -0
  82. package/lib/cjs/icons/generated/custom/index.js.map +1 -0
  83. package/lib/cjs/icons/generated/heroIcons.js +1206 -0
  84. package/lib/cjs/icons/generated/heroIcons.js.map +1 -0
  85. package/lib/cjs/icons/index.js +15 -7
  86. package/lib/cjs/icons/index.js.map +1 -1
  87. package/lib/cjs/index.js +7 -1
  88. package/lib/cjs/index.js.map +1 -1
  89. package/lib/cjs/label/Label.js +16 -11
  90. package/lib/cjs/label/Label.js.map +1 -1
  91. package/lib/cjs/loading-spinner/LoadingSpinner.js +6 -2
  92. package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -1
  93. package/lib/cjs/modal/Modal.js +5 -1
  94. package/lib/cjs/modal/Modal.js.map +1 -1
  95. package/lib/cjs/popover/Popover.js +3 -3
  96. package/lib/cjs/popover/Popover.js.map +1 -1
  97. package/lib/cjs/portal/Portal.js +2 -25
  98. package/lib/cjs/portal/Portal.js.map +1 -1
  99. package/lib/cjs/progress-bar/ProgressBar.js +5 -2
  100. package/lib/cjs/progress-bar/ProgressBar.js.map +1 -1
  101. package/lib/cjs/side-navigation/SideNavigation.js +4 -4
  102. package/lib/cjs/side-navigation/SideNavigation.js.map +1 -1
  103. package/lib/cjs/table/Components.js +203 -0
  104. package/lib/cjs/table/Components.js.map +1 -0
  105. package/lib/cjs/table/Table.js +45 -117
  106. package/lib/cjs/table/Table.js.map +1 -1
  107. package/lib/cjs/table/TableContext.js +34 -0
  108. package/lib/cjs/table/TableContext.js.map +1 -0
  109. package/lib/cjs/table/helpers.js +28 -70
  110. package/lib/cjs/table/helpers.js.map +1 -1
  111. package/lib/cjs/table/index.js +14 -4
  112. package/lib/cjs/table/index.js.map +1 -1
  113. package/lib/cjs/table-deprecated/Table.js +157 -0
  114. package/lib/cjs/table-deprecated/Table.js.map +1 -0
  115. package/lib/cjs/{table → table-deprecated}/TableNavigation.js +3 -3
  116. package/lib/cjs/table-deprecated/TableNavigation.js.map +1 -0
  117. package/lib/cjs/table-deprecated/helpers.js +123 -0
  118. package/lib/cjs/table-deprecated/helpers.js.map +1 -0
  119. package/lib/cjs/{table → table-deprecated}/hooks/hookCallbackTypes.js +0 -0
  120. package/lib/cjs/table-deprecated/hooks/hookCallbackTypes.js.map +1 -0
  121. package/lib/cjs/{table → table-deprecated}/hooks/index.js +0 -0
  122. package/lib/cjs/table-deprecated/hooks/index.js.map +1 -0
  123. package/lib/cjs/{table → table-deprecated}/hooks/useMultiRowSelect.js +0 -0
  124. package/lib/cjs/table-deprecated/hooks/useMultiRowSelect.js.map +1 -0
  125. package/lib/cjs/{table → table-deprecated}/hooks/useSingleRowSelect.js +0 -0
  126. package/lib/cjs/table-deprecated/hooks/useSingleRowSelect.js.map +1 -0
  127. package/lib/cjs/table-deprecated/index.js +44 -0
  128. package/lib/cjs/table-deprecated/index.js.map +1 -0
  129. package/lib/cjs/tabs/Tabs.js +7 -7
  130. package/lib/cjs/tabs/Tabs.js.map +1 -1
  131. package/lib/cjs/tag/Tag.js +8 -5
  132. package/lib/cjs/tag/Tag.js.map +1 -1
  133. package/lib/cjs/tag/index.js +14 -5
  134. package/lib/cjs/tag/index.js.map +1 -1
  135. package/lib/cjs/text-input/TextInput.js +11 -10
  136. package/lib/cjs/text-input/TextInput.js.map +1 -1
  137. package/lib/cjs/tooltip/SmartTooltip.js +114 -0
  138. package/lib/cjs/tooltip/SmartTooltip.js.map +1 -0
  139. package/lib/cjs/tooltip/Tooltip.js +10 -2
  140. package/lib/cjs/tooltip/Tooltip.js.map +1 -1
  141. package/lib/cjs/tooltip/index.js +3 -1
  142. package/lib/cjs/tooltip/index.js.map +1 -1
  143. package/lib/cjs/typography/Typography.js +58 -0
  144. package/lib/cjs/typography/Typography.js.map +1 -0
  145. package/lib/cjs/typography/index.js +38 -0
  146. package/lib/cjs/typography/index.js.map +1 -0
  147. package/lib/cjs/typography/types.js +52 -0
  148. package/lib/cjs/typography/types.js.map +1 -0
  149. package/lib/cjs/view-selector/ViewSelector.js +8 -3
  150. package/lib/cjs/view-selector/ViewSelector.js.map +1 -1
  151. package/lib/cjs/wizard/Wizard.js +20 -2
  152. package/lib/cjs/wizard/Wizard.js.map +1 -1
  153. package/lib/esm/_common/input/RadioAndCheckboxWrapper.js +13 -6
  154. package/lib/esm/_common/input/RadioAndCheckboxWrapper.js.map +1 -1
  155. package/lib/esm/alert/Alert.js +15 -15
  156. package/lib/esm/alert/Alert.js.map +1 -1
  157. package/lib/esm/alert/index.js +1 -1
  158. package/lib/esm/alert/index.js.map +1 -1
  159. package/lib/esm/button/Button.js +11 -6
  160. package/lib/esm/button/Button.js.map +1 -1
  161. package/lib/esm/button/IconButton.js +12 -8
  162. package/lib/esm/button/IconButton.js.map +1 -1
  163. package/lib/esm/button/IconButtonArray.js +2 -2
  164. package/lib/esm/button/IconButtonArray.js.map +1 -1
  165. package/lib/esm/code-block/CodeBlock.js +11 -7
  166. package/lib/esm/code-block/CodeBlock.js.map +1 -1
  167. package/lib/esm/context-menu/ContextMenu.js +19 -12
  168. package/lib/esm/context-menu/ContextMenu.js.map +1 -1
  169. package/lib/esm/dialog/Dialog.js +10 -10
  170. package/lib/esm/dialog/Dialog.js.map +1 -1
  171. package/lib/esm/drag-and-drop/DragAndDrop.js +5 -5
  172. package/lib/esm/drag-and-drop/DragAndDrop.js.map +1 -1
  173. package/lib/esm/dropdown/Dropdown.js +6 -4
  174. package/lib/esm/dropdown/Dropdown.js.map +1 -1
  175. package/lib/esm/dropdown/Overrides.js +13 -7
  176. package/lib/esm/dropdown/Overrides.js.map +1 -1
  177. package/lib/esm/graph-label/GraphLabel.js +12 -8
  178. package/lib/esm/graph-label/GraphLabel.js.map +1 -1
  179. package/lib/esm/graph-label/color.js +1 -1
  180. package/lib/esm/graph-label/color.js.map +1 -1
  181. package/lib/esm/icons/{custom → generated/custom}/Circle.js +0 -0
  182. package/lib/esm/icons/generated/custom/Circle.js.map +1 -0
  183. package/lib/esm/icons/{custom → generated/custom}/CollapseExpand.js +0 -0
  184. package/lib/esm/icons/generated/custom/CollapseExpand.js.map +1 -0
  185. package/lib/esm/icons/{custom → generated/custom}/CollapseExpandLeft.js +0 -0
  186. package/lib/esm/icons/generated/custom/CollapseExpandLeft.js.map +1 -0
  187. package/lib/esm/icons/{custom → generated/custom}/CollapseExpandRight.js +0 -0
  188. package/lib/esm/icons/generated/custom/CollapseExpandRight.js.map +1 -0
  189. package/lib/esm/icons/{custom → generated/custom}/Configure.js +0 -0
  190. package/lib/esm/icons/generated/custom/Configure.js.map +1 -0
  191. package/lib/esm/icons/{custom → generated/custom}/DatabaseAddCircle.js +0 -0
  192. package/lib/esm/icons/generated/custom/DatabaseAddCircle.js.map +1 -0
  193. package/lib/esm/icons/{custom → generated/custom}/Dbms.js +0 -0
  194. package/lib/esm/icons/generated/custom/Dbms.js.map +1 -0
  195. package/lib/esm/icons/{custom → generated/custom}/Drag.js +0 -0
  196. package/lib/esm/icons/generated/custom/Drag.js.map +1 -0
  197. package/lib/esm/icons/{custom → generated/custom}/Expand.js +0 -0
  198. package/lib/esm/icons/generated/custom/Expand.js.map +1 -0
  199. package/lib/esm/icons/{custom → generated/custom}/ExternalLink.js +0 -0
  200. package/lib/esm/icons/generated/custom/ExternalLink.js.map +1 -0
  201. package/lib/esm/icons/{custom → generated/custom}/FitToScreen.js +0 -0
  202. package/lib/esm/icons/generated/custom/FitToScreen.js.map +1 -0
  203. package/lib/esm/icons/{custom → generated/custom}/FolderBookmark.js +0 -0
  204. package/lib/esm/icons/generated/custom/FolderBookmark.js.map +1 -0
  205. package/lib/esm/icons/{custom → generated/custom}/Heirarchy2.js +0 -0
  206. package/lib/esm/icons/generated/custom/Heirarchy2.js.map +1 -0
  207. package/lib/esm/icons/{custom → generated/custom}/Hierarchy1.js +0 -0
  208. package/lib/esm/icons/generated/custom/Hierarchy1.js.map +1 -0
  209. package/lib/esm/icons/{custom → generated/custom}/Hierarchy2.js +0 -0
  210. package/lib/esm/icons/generated/custom/Hierarchy2.js.map +1 -0
  211. package/lib/esm/icons/{custom → generated/custom}/NomLevel.js +0 -0
  212. package/lib/esm/icons/generated/custom/NomLevel.js.map +1 -0
  213. package/lib/esm/icons/{custom → generated/custom}/Pin.js +0 -0
  214. package/lib/esm/icons/generated/custom/Pin.js.map +1 -0
  215. package/lib/esm/icons/{custom → generated/custom}/Presentation.js +0 -0
  216. package/lib/esm/icons/generated/custom/Presentation.js.map +1 -0
  217. package/lib/esm/icons/{custom → generated/custom}/QueryBrowser.js +0 -0
  218. package/lib/esm/icons/generated/custom/QueryBrowser.js.map +1 -0
  219. package/lib/esm/icons/{custom → generated/custom}/Rhombus.js +0 -0
  220. package/lib/esm/icons/generated/custom/Rhombus.js.map +1 -0
  221. package/lib/esm/icons/{custom → generated/custom}/ScienceMolecule.js +0 -0
  222. package/lib/esm/icons/generated/custom/ScienceMolecule.js.map +1 -0
  223. package/lib/esm/icons/{custom → generated/custom}/Shrink.js +0 -0
  224. package/lib/esm/icons/generated/custom/Shrink.js.map +1 -0
  225. package/lib/esm/icons/{custom → generated/custom}/Status.js +0 -0
  226. package/lib/esm/icons/generated/custom/Status.js.map +1 -0
  227. package/lib/esm/icons/{custom → generated/custom}/Text.js +0 -0
  228. package/lib/esm/icons/generated/custom/Text.js.map +1 -0
  229. package/lib/esm/icons/{custom → generated/custom}/Triangle.js +0 -0
  230. package/lib/esm/icons/generated/custom/Triangle.js.map +1 -0
  231. package/lib/esm/icons/{custom → generated/custom}/VisualizeBloom.js +0 -0
  232. package/lib/esm/icons/generated/custom/VisualizeBloom.js.map +1 -0
  233. package/lib/esm/icons/{custom → generated/custom}/index.js +0 -0
  234. package/lib/esm/icons/generated/custom/index.js.map +1 -0
  235. package/lib/esm/icons/generated/heroIcons.js +605 -0
  236. package/lib/esm/icons/generated/heroIcons.js.map +1 -0
  237. package/lib/esm/icons/index.js +2 -2
  238. package/lib/esm/icons/index.js.map +1 -1
  239. package/lib/esm/index.js +7 -1
  240. package/lib/esm/index.js.map +1 -1
  241. package/lib/esm/label/Label.js +13 -8
  242. package/lib/esm/label/Label.js.map +1 -1
  243. package/lib/esm/loading-spinner/LoadingSpinner.js +6 -2
  244. package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -1
  245. package/lib/esm/modal/Modal.js +5 -1
  246. package/lib/esm/modal/Modal.js.map +1 -1
  247. package/lib/esm/popover/Popover.js +3 -3
  248. package/lib/esm/popover/Popover.js.map +1 -1
  249. package/lib/esm/portal/Portal.js +2 -2
  250. package/lib/esm/portal/Portal.js.map +1 -1
  251. package/lib/esm/progress-bar/ProgressBar.js +5 -2
  252. package/lib/esm/progress-bar/ProgressBar.js.map +1 -1
  253. package/lib/esm/side-navigation/SideNavigation.js +6 -6
  254. package/lib/esm/side-navigation/SideNavigation.js.map +1 -1
  255. package/lib/esm/table/Components.js +181 -0
  256. package/lib/esm/table/Components.js.map +1 -0
  257. package/lib/esm/table/Table.js +45 -116
  258. package/lib/esm/table/Table.js.map +1 -1
  259. package/lib/esm/table/TableContext.js +30 -0
  260. package/lib/esm/table/TableContext.js.map +1 -0
  261. package/lib/esm/table/helpers.js +25 -65
  262. package/lib/esm/table/helpers.js.map +1 -1
  263. package/lib/esm/table/index.js +2 -2
  264. package/lib/esm/table/index.js.map +1 -1
  265. package/lib/esm/table-deprecated/Table.js +150 -0
  266. package/lib/esm/table-deprecated/Table.js.map +1 -0
  267. package/lib/esm/{table → table-deprecated}/TableNavigation.js +4 -4
  268. package/lib/esm/table-deprecated/TableNavigation.js.map +1 -0
  269. package/lib/esm/table-deprecated/helpers.js +116 -0
  270. package/lib/esm/table-deprecated/helpers.js.map +1 -0
  271. package/lib/esm/{table → table-deprecated}/hooks/hookCallbackTypes.js +0 -0
  272. package/lib/esm/table-deprecated/hooks/hookCallbackTypes.js.map +1 -0
  273. package/lib/esm/{table → table-deprecated}/hooks/index.js +0 -0
  274. package/lib/esm/table-deprecated/hooks/index.js.map +1 -0
  275. package/lib/esm/{table → table-deprecated}/hooks/useMultiRowSelect.js +0 -0
  276. package/lib/esm/table-deprecated/hooks/useMultiRowSelect.js.map +1 -0
  277. package/lib/esm/{table → table-deprecated}/hooks/useSingleRowSelect.js +0 -0
  278. package/lib/esm/table-deprecated/hooks/useSingleRowSelect.js.map +1 -0
  279. package/lib/esm/table-deprecated/index.js +23 -0
  280. package/lib/esm/table-deprecated/index.js.map +1 -0
  281. package/lib/esm/tabs/Tabs.js +7 -7
  282. package/lib/esm/tabs/Tabs.js.map +1 -1
  283. package/lib/esm/tag/Tag.js +7 -5
  284. package/lib/esm/tag/Tag.js.map +1 -1
  285. package/lib/esm/tag/index.js +1 -1
  286. package/lib/esm/tag/index.js.map +1 -1
  287. package/lib/esm/text-input/TextInput.js +12 -11
  288. package/lib/esm/text-input/TextInput.js.map +1 -1
  289. package/lib/esm/tooltip/SmartTooltip.js +86 -0
  290. package/lib/esm/tooltip/SmartTooltip.js.map +1 -0
  291. package/lib/esm/tooltip/Tooltip.js +10 -2
  292. package/lib/esm/tooltip/Tooltip.js.map +1 -1
  293. package/lib/esm/tooltip/index.js +1 -0
  294. package/lib/esm/tooltip/index.js.map +1 -1
  295. package/lib/esm/{icons/Custom.js → typography/Typography.js} +20 -10
  296. package/lib/esm/typography/Typography.js.map +1 -0
  297. package/lib/esm/typography/index.js +22 -0
  298. package/lib/esm/typography/index.js.map +1 -0
  299. package/lib/esm/typography/types.js +49 -0
  300. package/lib/esm/typography/types.js.map +1 -0
  301. package/lib/esm/view-selector/ViewSelector.js +8 -3
  302. package/lib/esm/view-selector/ViewSelector.js.map +1 -1
  303. package/lib/esm/wizard/Wizard.js +24 -6
  304. package/lib/esm/wizard/Wizard.js.map +1 -1
  305. package/lib/types/_common/input/RadioAndCheckboxWrapper.d.ts +12 -2
  306. package/lib/types/_common/input/types.d.ts +1 -1
  307. package/lib/types/alert/Alert.d.ts +3 -2
  308. package/lib/types/alert/index.d.ts +1 -1
  309. package/lib/types/button/Button.d.ts +1 -3
  310. package/lib/types/button/IconButton.d.ts +2 -0
  311. package/lib/types/checkbox/Checkbox.d.ts +1 -1
  312. package/lib/types/context-menu/ContextMenu.d.ts +11 -12
  313. package/lib/types/dropdown/Overrides.d.ts +0 -21
  314. package/lib/types/dropdown/types.d.ts +0 -1
  315. package/lib/types/icons/{custom → generated/custom}/Circle.d.ts +0 -0
  316. package/lib/types/icons/{custom → generated/custom}/CollapseExpand.d.ts +0 -0
  317. package/lib/types/icons/{custom → generated/custom}/CollapseExpandLeft.d.ts +0 -0
  318. package/lib/types/icons/{custom → generated/custom}/CollapseExpandRight.d.ts +0 -0
  319. package/lib/types/icons/{custom → generated/custom}/Configure.d.ts +0 -0
  320. package/lib/types/icons/{custom → generated/custom}/DatabaseAddCircle.d.ts +0 -0
  321. package/lib/types/icons/{custom → generated/custom}/Dbms.d.ts +0 -0
  322. package/lib/types/icons/{custom → generated/custom}/Drag.d.ts +0 -0
  323. package/lib/types/icons/{custom → generated/custom}/Expand.d.ts +0 -0
  324. package/lib/types/icons/{custom → generated/custom}/ExternalLink.d.ts +0 -0
  325. package/lib/types/icons/{custom → generated/custom}/FitToScreen.d.ts +0 -0
  326. package/lib/types/icons/{custom → generated/custom}/FolderBookmark.d.ts +0 -0
  327. package/lib/types/icons/{custom → generated/custom}/Heirarchy2.d.ts +0 -0
  328. package/lib/types/icons/{custom → generated/custom}/Hierarchy1.d.ts +0 -0
  329. package/lib/types/icons/{custom → generated/custom}/Hierarchy2.d.ts +0 -0
  330. package/lib/types/icons/{custom → generated/custom}/NomLevel.d.ts +0 -0
  331. package/lib/types/icons/{custom → generated/custom}/Pin.d.ts +0 -0
  332. package/lib/types/icons/{custom → generated/custom}/Presentation.d.ts +0 -0
  333. package/lib/types/icons/{custom → generated/custom}/QueryBrowser.d.ts +0 -0
  334. package/lib/types/icons/{custom → generated/custom}/Rhombus.d.ts +0 -0
  335. package/lib/types/icons/{custom → generated/custom}/ScienceMolecule.d.ts +0 -0
  336. package/lib/types/icons/{custom → generated/custom}/Shrink.d.ts +0 -0
  337. package/lib/types/icons/{custom → generated/custom}/Status.d.ts +0 -0
  338. package/lib/types/icons/{custom → generated/custom}/Text.d.ts +0 -0
  339. package/lib/types/icons/{custom → generated/custom}/Triangle.d.ts +0 -0
  340. package/lib/types/icons/{custom → generated/custom}/VisualizeBloom.d.ts +0 -0
  341. package/lib/types/icons/{custom → generated/custom}/index.d.ts +0 -0
  342. package/lib/types/icons/generated/heroIcons.d.ts +604 -0
  343. package/lib/types/icons/index.d.ts +2 -2
  344. package/lib/types/index.d.ts +3 -1
  345. package/lib/types/label/Label.d.ts +3 -2
  346. package/lib/types/popover/Popover.d.ts +1 -1
  347. package/lib/types/portal/Portal.d.ts +1 -1
  348. package/lib/types/progress-bar/ProgressBar.d.ts +1 -1
  349. package/lib/types/radio/Radio.d.ts +1 -1
  350. package/lib/types/switch/Switch.d.ts +1 -1
  351. package/lib/types/table/Components.d.ts +54 -0
  352. package/lib/types/table/Table.d.ts +28 -49
  353. package/lib/types/table/TableContext.d.ts +61 -0
  354. package/lib/types/table/helpers.d.ts +9 -21
  355. package/lib/types/table/index.d.ts +2 -2
  356. package/lib/types/table-deprecated/Table.d.ts +75 -0
  357. package/lib/types/{table → table-deprecated}/TableNavigation.d.ts +0 -1
  358. package/lib/types/table-deprecated/helpers.d.ts +51 -0
  359. package/lib/types/{table → table-deprecated}/hooks/hookCallbackTypes.d.ts +0 -0
  360. package/lib/types/{table → table-deprecated}/hooks/index.d.ts +0 -0
  361. package/lib/types/{table → table-deprecated}/hooks/useMultiRowSelect.d.ts +0 -0
  362. package/lib/types/{table → table-deprecated}/hooks/useSingleRowSelect.d.ts +0 -0
  363. package/lib/types/table-deprecated/index.d.ts +22 -0
  364. package/lib/types/tag/Tag.d.ts +4 -4
  365. package/lib/types/tag/index.d.ts +1 -1
  366. package/lib/types/text-input/TextInput.d.ts +1 -1
  367. package/lib/types/text-link/TextLink.d.ts +1 -1
  368. package/lib/types/tooltip/SmartTooltip.d.ts +31 -0
  369. package/lib/types/tooltip/Tooltip.d.ts +1 -1
  370. package/lib/types/tooltip/index.d.ts +1 -0
  371. package/lib/types/trap-focus/TrapFocus.d.ts +0 -1
  372. package/lib/types/{icons/Custom.d.ts → typography/Typography.d.ts} +5 -7
  373. package/lib/types/typography/index.d.ts +21 -0
  374. package/lib/types/typography/types.d.ts +34 -0
  375. package/lib/types/wizard/Wizard.d.ts +0 -1
  376. package/package.json +22 -9
  377. package/CHANGELOG.md +0 -557
  378. package/lib/cjs/icons/Custom.js +0 -67
  379. package/lib/cjs/icons/Custom.js.map +0 -1
  380. package/lib/cjs/icons/Hero.js +0 -59
  381. package/lib/cjs/icons/Hero.js.map +0 -1
  382. package/lib/cjs/icons/custom/Circle.js.map +0 -1
  383. package/lib/cjs/icons/custom/CollapseExpand.js.map +0 -1
  384. package/lib/cjs/icons/custom/CollapseExpandLeft.js.map +0 -1
  385. package/lib/cjs/icons/custom/CollapseExpandRight.js.map +0 -1
  386. package/lib/cjs/icons/custom/Configure.js.map +0 -1
  387. package/lib/cjs/icons/custom/DatabaseAddCircle.js.map +0 -1
  388. package/lib/cjs/icons/custom/Dbms.js.map +0 -1
  389. package/lib/cjs/icons/custom/Drag.js.map +0 -1
  390. package/lib/cjs/icons/custom/Expand.js.map +0 -1
  391. package/lib/cjs/icons/custom/ExternalLink.js.map +0 -1
  392. package/lib/cjs/icons/custom/FitToScreen.js.map +0 -1
  393. package/lib/cjs/icons/custom/FolderBookmark.js.map +0 -1
  394. package/lib/cjs/icons/custom/Heirarchy2.js.map +0 -1
  395. package/lib/cjs/icons/custom/Hierarchy1.js.map +0 -1
  396. package/lib/cjs/icons/custom/Hierarchy2.js.map +0 -1
  397. package/lib/cjs/icons/custom/NomLevel.js.map +0 -1
  398. package/lib/cjs/icons/custom/Pin.js.map +0 -1
  399. package/lib/cjs/icons/custom/Presentation.js.map +0 -1
  400. package/lib/cjs/icons/custom/QueryBrowser.js.map +0 -1
  401. package/lib/cjs/icons/custom/Rhombus.js.map +0 -1
  402. package/lib/cjs/icons/custom/ScienceMolecule.js.map +0 -1
  403. package/lib/cjs/icons/custom/Shrink.js.map +0 -1
  404. package/lib/cjs/icons/custom/Status.js.map +0 -1
  405. package/lib/cjs/icons/custom/Text.js.map +0 -1
  406. package/lib/cjs/icons/custom/Triangle.js.map +0 -1
  407. package/lib/cjs/icons/custom/VisualizeBloom.js.map +0 -1
  408. package/lib/cjs/icons/custom/index.js.map +0 -1
  409. package/lib/cjs/table/TableNavigation.js.map +0 -1
  410. package/lib/cjs/table/hooks/hookCallbackTypes.js.map +0 -1
  411. package/lib/cjs/table/hooks/index.js.map +0 -1
  412. package/lib/cjs/table/hooks/useMultiRowSelect.js.map +0 -1
  413. package/lib/cjs/table/hooks/useSingleRowSelect.js.map +0 -1
  414. package/lib/esm/icons/Custom.js.map +0 -1
  415. package/lib/esm/icons/Hero.js +0 -33
  416. package/lib/esm/icons/Hero.js.map +0 -1
  417. package/lib/esm/icons/custom/Circle.js.map +0 -1
  418. package/lib/esm/icons/custom/CollapseExpand.js.map +0 -1
  419. package/lib/esm/icons/custom/CollapseExpandLeft.js.map +0 -1
  420. package/lib/esm/icons/custom/CollapseExpandRight.js.map +0 -1
  421. package/lib/esm/icons/custom/Configure.js.map +0 -1
  422. package/lib/esm/icons/custom/DatabaseAddCircle.js.map +0 -1
  423. package/lib/esm/icons/custom/Dbms.js.map +0 -1
  424. package/lib/esm/icons/custom/Drag.js.map +0 -1
  425. package/lib/esm/icons/custom/Expand.js.map +0 -1
  426. package/lib/esm/icons/custom/ExternalLink.js.map +0 -1
  427. package/lib/esm/icons/custom/FitToScreen.js.map +0 -1
  428. package/lib/esm/icons/custom/FolderBookmark.js.map +0 -1
  429. package/lib/esm/icons/custom/Heirarchy2.js.map +0 -1
  430. package/lib/esm/icons/custom/Hierarchy1.js.map +0 -1
  431. package/lib/esm/icons/custom/Hierarchy2.js.map +0 -1
  432. package/lib/esm/icons/custom/NomLevel.js.map +0 -1
  433. package/lib/esm/icons/custom/Pin.js.map +0 -1
  434. package/lib/esm/icons/custom/Presentation.js.map +0 -1
  435. package/lib/esm/icons/custom/QueryBrowser.js.map +0 -1
  436. package/lib/esm/icons/custom/Rhombus.js.map +0 -1
  437. package/lib/esm/icons/custom/ScienceMolecule.js.map +0 -1
  438. package/lib/esm/icons/custom/Shrink.js.map +0 -1
  439. package/lib/esm/icons/custom/Status.js.map +0 -1
  440. package/lib/esm/icons/custom/Text.js.map +0 -1
  441. package/lib/esm/icons/custom/Triangle.js.map +0 -1
  442. package/lib/esm/icons/custom/VisualizeBloom.js.map +0 -1
  443. package/lib/esm/icons/custom/index.js.map +0 -1
  444. package/lib/esm/table/TableNavigation.js.map +0 -1
  445. package/lib/esm/table/hooks/hookCallbackTypes.js.map +0 -1
  446. package/lib/esm/table/hooks/index.js.map +0 -1
  447. package/lib/esm/table/hooks/useMultiRowSelect.js.map +0 -1
  448. package/lib/esm/table/hooks/useSingleRowSelect.js.map +0 -1
  449. package/lib/types/icons/Hero.d.ts +0 -28
@@ -18,5 +18,5 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- export { default as HeroIcon } from './Hero';
22
- export { default as CustomIcon } from './Custom';
21
+ export * from './generated/custom/index';
22
+ export * from './generated/heroIcons';
@@ -32,8 +32,8 @@ export * from './loading-spinner';
32
32
  export * from './tabs';
33
33
  export * from './view-selector';
34
34
  export * from './popover';
35
- export * from './icons';
36
35
  export * from './progress-bar';
36
+ export * from './table-deprecated';
37
37
  export * from './table';
38
38
  export * from './drag-and-drop';
39
39
  export * from './text-input';
@@ -45,3 +45,5 @@ export * from './graph-label';
45
45
  export * from './code-block';
46
46
  export * from './status-indicator';
47
47
  export * from './side-navigation';
48
+ export * from './typography';
49
+ export * from './icons';
@@ -19,6 +19,7 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  import React from 'react';
22
+ import { ElementBase } from '../helpers';
22
23
  /**
23
24
  *
24
25
  *
@@ -27,7 +28,7 @@ import React from 'react';
27
28
  *
28
29
  */
29
30
  export declare const LabelColors: readonly ["info", "success", "warning", "danger", "default"];
30
- export declare type EventTypeLabelProps = {
31
+ export interface EventTypeLabelProps extends ElementBase {
31
32
  /** Additional Classnames */
32
33
  className?: string;
33
34
  children: React.ReactNode | string;
@@ -36,6 +37,6 @@ export declare type EventTypeLabelProps = {
36
37
  fill?: 'filled' | 'outlined' | 'semi-filled' | 'clean';
37
38
  /** If label should have an icon */
38
39
  withIcon?: boolean;
39
- };
40
+ }
40
41
  export declare const Label: React.ForwardRefExoticComponent<EventTypeLabelProps & React.RefAttributes<HTMLSpanElement>>;
41
42
  export default Label;
@@ -70,5 +70,5 @@ export interface PopoverProps extends ElementBase {
70
70
  /** Disable backdrop - Allows event capturing - and pointer events to pass to elements below */
71
71
  disableBackdrop?: boolean;
72
72
  }
73
- export declare const Popover: React.ForwardRefExoticComponent<Pick<PopoverProps, "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" | "disableBackdrop" | "nested"> & React.RefAttributes<unknown>>;
73
+ export declare const Popover: React.ForwardRefExoticComponent<Pick<PopoverProps, "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" | "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" | "nonce" | "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" | "disableBackdrop" | "nested"> & React.RefAttributes<unknown>>;
74
74
  export {};
@@ -23,5 +23,5 @@ interface PortalProps {
23
23
  children: React.ReactNode | null;
24
24
  container?: Element;
25
25
  }
26
- export declare const Portal: ({ children, container, }: PortalProps) => import("react").ReactPortal;
26
+ export declare const Portal: (props: PortalProps) => JSX.Element;
27
27
  export {};
@@ -25,5 +25,5 @@ export interface ProgressBarProps extends React.HTMLProps<HTMLDivElement> {
25
25
  barSize: 'small' | 'large';
26
26
  className?: string;
27
27
  }
28
- declare const ProgressBar: React.ForwardRefExoticComponent<Pick<ProgressBarProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "heading" | "list" | "children" | "role" | "as" | "selected" | "onChange" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "barSize"> & React.RefAttributes<HTMLDivElement>>;
28
+ declare const ProgressBar: React.ForwardRefExoticComponent<Pick<ProgressBarProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "heading" | "list" | "children" | "role" | "as" | "selected" | "onChange" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "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" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "barSize"> & React.RefAttributes<HTMLDivElement>>;
29
29
  export default ProgressBar;
@@ -35,5 +35,5 @@ import { RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWrapper'
35
35
  *
36
36
  *
37
37
  */
38
- declare const Radio: React.ForwardRefExoticComponent<Pick<RadioAndCheckboxProps, "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" | "labelBefore" | "fluid"> & React.RefAttributes<HTMLInputElement>>;
38
+ declare const Radio: React.ForwardRefExoticComponent<Pick<RadioAndCheckboxProps, "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" | "nonce" | "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
39
  export default Radio;
@@ -35,5 +35,5 @@ import { RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWrapper'
35
35
  *
36
36
  *
37
37
  */
38
- declare const Switch: React.ForwardRefExoticComponent<Pick<RadioAndCheckboxProps, "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" | "labelBefore" | "fluid"> & React.RefAttributes<HTMLInputElement>>;
38
+ declare const Switch: React.ForwardRefExoticComponent<Pick<RadioAndCheckboxProps, "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" | "nonce" | "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
39
  export default Switch;
@@ -0,0 +1,54 @@
1
+ /// <reference types="react" />
2
+ import type { RowData, Row, Cell, Header as HeaderType } from '@tanstack/react-table';
3
+ import { ElementBase } from '../helpers';
4
+ import { SortingColumn } from '@tanstack/table-core';
5
+ export interface CommonInnerProps<T = HTMLDivElement> {
6
+ /** Children are surfaced to allow easy overriding */
7
+ children?: React.ReactNode;
8
+ innerProps?: ElementBase<T>;
9
+ }
10
+ export interface ResizingBarProps<T extends RowData> extends CommonInnerProps<HTMLButtonElement> {
11
+ header: HeaderType<T, unknown>;
12
+ }
13
+ declare const ResizingBar: <T extends unknown>({ header, children, innerProps, }: ResizingBarProps<T>) => JSX.Element;
14
+ declare const Header: ({ children, innerProps }: CommonInnerProps<HTMLDivElement>) => JSX.Element;
15
+ export interface SortingButtonProps {
16
+ sortDirection: ReturnType<SortingColumn<any>['getIsSorted']>;
17
+ children?: React.ReactNode;
18
+ innerProps?: React.ComponentProps<'svg'>;
19
+ }
20
+ export declare const SortingButton: ({ sortDirection, children, innerProps, }: SortingButtonProps) => JSX.Element;
21
+ export interface ColumnControlsProps<T extends RowData> extends CommonInnerProps<HTMLDivElement> {
22
+ cell: HeaderType<T, unknown>;
23
+ }
24
+ export declare const ColumnControls: <T extends unknown>({ cell, children, innerProps, }: ColumnControlsProps<T>) => JSX.Element;
25
+ export interface HeaderCellProps<T> extends CommonInnerProps<HTMLDivElement> {
26
+ cell: HeaderType<T, unknown>;
27
+ }
28
+ declare const HeaderCell: <T extends unknown>({ cell, children, innerProps, }: HeaderCellProps<T>) => JSX.Element;
29
+ declare const Body: ({ children, innerProps }: CommonInnerProps<HTMLDivElement>) => JSX.Element;
30
+ export interface BodyCellProps<T extends RowData> extends CommonInnerProps<HTMLDivElement> {
31
+ cell: Cell<T, unknown>;
32
+ }
33
+ declare const BodyCell: <T extends unknown>({ cell, children, innerProps, }: BodyCellProps<T>) => JSX.Element;
34
+ export interface BodyRowProps<T extends RowData> extends CommonInnerProps<HTMLDivElement> {
35
+ row: Row<T>;
36
+ }
37
+ declare const BodyRow: <T extends unknown>({ row, children, innerProps, }: BodyRowProps<T>) => JSX.Element;
38
+ declare const TableResults: ({ children, innerProps, }: CommonInnerProps<HTMLSpanElement>) => JSX.Element;
39
+ declare const RowsPerPage: ({ children, innerProps, }: CommonInnerProps<HTMLDivElement>) => JSX.Element;
40
+ export interface PaginationArrowButtonProps extends CommonInnerProps<HTMLButtonElement> {
41
+ action: 'previous' | 'next';
42
+ }
43
+ declare const PaginationArrowButton: ({ action, children, innerProps, }: PaginationArrowButtonProps) => JSX.Element;
44
+ export interface PaginationNumericButtonProps extends CommonInnerProps<HTMLButtonElement> {
45
+ currentIndex: number | string;
46
+ isSelected: boolean;
47
+ }
48
+ declare const PaginationNumericButton: ({ currentIndex, isSelected, children, innerProps, }: PaginationNumericButtonProps) => JSX.Element;
49
+ declare const PaginationNumericButtons: () => JSX.Element;
50
+ declare const Pagination: ({ children, innerProps, }: CommonInnerProps<HTMLDivElement>) => JSX.Element;
51
+ declare const Navigation: ({ children, innerProps, }: CommonInnerProps<HTMLDivElement>) => JSX.Element;
52
+ declare const LoadingPlaceholder: ({ children, innerProps, }: CommonInnerProps<HTMLDivElement>) => JSX.Element;
53
+ declare const NoDataPlaceholder: ({ children, innerProps, }: CommonInnerProps<HTMLDivElement>) => JSX.Element;
54
+ export { ResizingBar, Header, Body, BodyCell, BodyRow, HeaderCell, Navigation, TableResults, RowsPerPage, Pagination, PaginationNumericButtons, PaginationArrowButton, PaginationNumericButton, NoDataPlaceholder, LoadingPlaceholder, };
@@ -18,61 +18,40 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- import { Row, UseColumnOrderState, UseExpandedState, UseFiltersState, UsePaginationState, UseGlobalFiltersState, UsePaginationInstanceProps, UseSortByInstanceProps, UseTableInstanceProps } from 'react-table';
22
- import { ElementBase } from '../helpers/types';
23
- import { CSSProperties } from 'react';
24
- declare type Sections = Record<'controls' | 'header' | 'body' | 'navigation', JSX.Element | JSX.Element[]>;
21
+ import type { Table as TableType } from '@tanstack/react-table';
22
+ import { TableComponentsInterface } from './TableContext';
23
+ import { ElementBase } from '../helpers';
25
24
  /**
26
25
  *
27
- * Small Utilities
28
- * for table styling and functionality
26
+ * Helping functions
29
27
  *
30
28
  */
31
- /** For fixed row height tables, we should have a fixed body size */
32
- export declare const fixedHeight: (items: number, height: number) => {
33
- style: {
34
- height: string;
35
- };
29
+ export declare const TableComponents: {
30
+ ResizingBar: <T extends unknown>({ header, children, innerProps, }: import("./Components").ResizingBarProps<T>) => JSX.Element;
31
+ Header: ({ children, innerProps }: import("./Components").CommonInnerProps<HTMLDivElement>) => JSX.Element;
32
+ Body: ({ children, innerProps }: import("./Components").CommonInnerProps<HTMLDivElement>) => JSX.Element;
33
+ BodyCell: <T_1 extends unknown>({ cell, children, innerProps, }: import("./Components").BodyCellProps<T_1>) => JSX.Element;
34
+ BodyRow: <T_2 extends unknown>({ row, children, innerProps, }: import("./Components").BodyRowProps<T_2>) => JSX.Element;
35
+ HeaderCell: <T_3 extends unknown>({ cell, children, innerProps, }: import("./Components").HeaderCellProps<T_3>) => JSX.Element;
36
+ ColumnControls: <T_4 extends unknown>({ cell, children, innerProps, }: import("./Components").ColumnControlsProps<T_4>) => JSX.Element;
37
+ Navigation: ({ children, innerProps, }: import("./Components").CommonInnerProps<HTMLDivElement>) => JSX.Element;
38
+ TableResults: ({ children, innerProps, }: import("./Components").CommonInnerProps<HTMLSpanElement>) => JSX.Element;
39
+ RowsPerPage: ({ children, innerProps, }: import("./Components").CommonInnerProps<HTMLDivElement>) => JSX.Element;
40
+ Pagination: ({ children, innerProps, }: import("./Components").CommonInnerProps<HTMLDivElement>) => JSX.Element;
41
+ PaginationNumericButtons: () => JSX.Element;
42
+ PaginationNumericButton: ({ currentIndex, isSelected, children, innerProps, }: import("./Components").PaginationNumericButtonProps) => JSX.Element;
43
+ PaginationArrowButton: ({ action, children, innerProps, }: import("./Components").PaginationArrowButtonProps) => JSX.Element;
44
+ LoadingPlaceholder: ({ children, innerProps, }: import("./Components").CommonInnerProps<HTMLDivElement>) => JSX.Element;
45
+ NoDataPlaceholder: ({ children, innerProps, }: import("./Components").CommonInnerProps<HTMLDivElement>) => JSX.Element;
46
+ SortingButton: ({ sortDirection, children, innerProps, }: import("./Components").SortingButtonProps) => JSX.Element;
36
47
  };
37
- declare type DefaultHeaderProps<T extends object> = Pick<UseTableInstanceProps<T>, 'headerGroups'> & UseSortByInstanceProps<T>;
38
- declare type DefaultBodyProps<T extends object> = {
39
- actionsButtons?: (row: Row<T>) => JSX.Element | JSX.Element[];
40
- loading: boolean;
41
- } & UseTableInstanceProps<T> & Partial<UsePaginationInstanceProps<T>>;
42
- export interface PaginationTableState<T extends object> extends UseColumnOrderState<T>, UseExpandedState<T>, UseFiltersState<T>, UsePaginationState<T>, UseGlobalFiltersState<T> {
43
- }
44
- export declare type DefaultNavigationProps<T extends object> = {
45
- state: Partial<PaginationTableState<T>>;
46
- rows: Row<T>[];
47
- } & UsePaginationInstanceProps<T>;
48
- /**
49
- * Table Skeleton to keep most section logic DRY
50
- *
51
- * How the table component is divided into sections:
52
- *
53
- * @example
54
- * +----------------+
55
- * | Table Controls |
56
- * | (ex: Search) |
57
- * +----------------+
58
- * | Header |
59
- * +----------------+
60
- * | Body (data) |
61
- * +----------------+
62
- * | Navigation |
63
- * +----------------+
64
- *
65
- */
66
48
  declare const Table: {
67
- <T extends object>(props: Partial<Sections> & Partial<{
68
- actionsButtons?: ((row: Row<T>) => JSX.Element | JSX.Element[]) | undefined;
69
- loading: boolean;
70
- } & UseTableInstanceProps<T> & Partial<UsePaginationInstanceProps<T>> & {
71
- state: Partial<PaginationTableState<T>>;
72
- rows: Row<T>[];
73
- } & UsePaginationInstanceProps<T> & Pick<UseTableInstanceProps<T>, "headerGroups"> & UseSortByInstanceProps<T>> & Omit<ElementBase<HTMLDivElement>, "data" | "controls" | "headers" | "rows"> & {
74
- tableStyles?: CSSProperties | undefined;
75
- }): JSX.Element;
49
+ <T extends unknown>({ resizable, loading, tableProps, components, ...props }: {
50
+ resizable?: boolean | undefined;
51
+ loading?: boolean | undefined;
52
+ tableProps: TableType<T>;
53
+ components?: TableComponentsInterface<T> | undefined;
54
+ } & Omit<ElementBase<HTMLDivElement>, "data" | "as" | "controls" | "headers" | "rows">): JSX.Element;
76
55
  RowActions: (props: ElementBase<HTMLDivElement>) => JSX.Element;
77
56
  };
78
57
  export default Table;
@@ -0,0 +1,61 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+ /// <reference types="react" />
22
+ import type { RowData, Table as TableType } from '@tanstack/react-table';
23
+ import { Body, BodyCell, BodyRow, TableResults, ResizingBar, Navigation, Header, Pagination, NoDataPlaceholder, LoadingPlaceholder, PaginationNumericButtons, PaginationNumericButton, HeaderCell, PaginationArrowButton, RowsPerPage, ColumnControls, SortingButton } from './Components';
24
+ declare type Nullable<T> = T | null;
25
+ export interface TableComponentsInterface<T extends RowData> {
26
+ ResizingBar?: Nullable<typeof ResizingBar<T>>;
27
+ /**
28
+ * Header Section
29
+ */
30
+ Header?: Nullable<typeof Header>;
31
+ HeaderCell?: Nullable<typeof HeaderCell<T>>;
32
+ ColumnControls?: Nullable<typeof ColumnControls>;
33
+ SortingButton?: Nullable<typeof SortingButton>;
34
+ /**
35
+ * Body Section
36
+ */
37
+ Body?: Nullable<typeof Body>;
38
+ BodyCell?: Nullable<typeof BodyCell<T>>;
39
+ BodyRow?: Nullable<typeof BodyRow<T>>;
40
+ LoadingPlaceholder?: Nullable<typeof LoadingPlaceholder>;
41
+ NoDataPlaceholder?: Nullable<typeof NoDataPlaceholder>;
42
+ /**
43
+ * Navigation Section
44
+ */
45
+ Navigation?: Nullable<typeof Navigation>;
46
+ Pagination?: Nullable<typeof Pagination>;
47
+ PaginationArrowButton?: Nullable<typeof PaginationArrowButton>;
48
+ TableResults?: Nullable<typeof TableResults>;
49
+ RowsPerPage?: Nullable<typeof RowsPerPage>;
50
+ PaginationNumericButtons?: Nullable<typeof PaginationNumericButtons>;
51
+ PaginationNumericButton?: Nullable<typeof PaginationNumericButton>;
52
+ }
53
+ export interface TableContextType<T extends RowData> {
54
+ resizable: boolean;
55
+ tableProps: TableType<T>;
56
+ components: TableComponentsInterface<T>;
57
+ loading: boolean;
58
+ }
59
+ export declare const TableContext: import("react").Context<TableContextType<any>>;
60
+ export declare function useTableContext<T extends RowData>(): TableContextType<T>;
61
+ export {};
@@ -18,24 +18,7 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- /// <reference types="react" />
22
- import { TableResizerProps } from 'react-table';
23
- /**
24
- *
25
- * React Table helper to display sorting icon
26
- * Source:
27
- * https://react-table.tanstack.com/docs/api/useSortBy#column-properties
28
- *
29
- */
30
- export declare const SortIcon: ({ isSortedDesc, ...props }: {
31
- isSortedDesc: boolean | undefined;
32
- }) => JSX.Element;
33
- export declare const ResizingBar: import("react").NamedExoticComponent<TableResizerProps>;
34
- /**
35
- * The left section of the bottom navigation
36
- * that is showing the current page and how many results we can see
37
- */
38
- export declare const TableResults: ({ pageIndex, pageLength, rowsLength, }: Record<'pageIndex' | 'pageLength' | 'rowsLength', number>) => JSX.Element;
21
+ import { Table } from '@tanstack/react-table';
39
22
  /**
40
23
  * Modified from here: https://gist.github.com/kottenator/9d936eb3e4e3c3e02598
41
24
  *
@@ -45,7 +28,12 @@ export declare const TableResults: ({ pageIndex, pageLength, rowsLength, }: Reco
45
28
  */
46
29
  export declare const userFriendlyPagination: (current: number, max: number) => (string | number)[];
47
30
  /**
48
- * Small helper to get handle the Checkbox
49
- * functionality in tables
31
+ * Simple helper to generate inline grid style
32
+ * to be responsive.
33
+ *
34
+ * Secret sauce:
35
+ * The last element takes an "auto" width, so it will
36
+ * fill the available space, and the result till be for 4 columns:
37
+ * minmax(min column1Sizepx,column1Sizepx) minmax(min column2Sizepx,column2Sizepx) ... minmax(columnNSizepx, auto)
50
38
  */
51
- export declare const toggleRowSelection: (list: number[], idx: number) => number[];
39
+ export declare const gridGenerator: <T extends unknown>(table: Table<T>) => string;
@@ -18,5 +18,5 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- export { default as Table } from './Table';
22
- export * from './hooks';
21
+ export { default as Table, TableComponents } from './Table';
22
+ export * as tableUtils from './helpers';
@@ -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 { Row, UseColumnOrderState, UseExpandedState, UseFiltersState, UsePaginationState, UseGlobalFiltersState, UsePaginationInstanceProps, UseSortByInstanceProps, UseTableInstanceProps } from 'react-table';
22
+ import { ElementBase } from '../helpers/types';
23
+ declare type Sections = Record<'controls' | 'header' | 'body' | 'navigation', JSX.Element | JSX.Element[]>;
24
+ /**
25
+ *
26
+ * Small Utilities
27
+ * for table styling and functionality
28
+ *
29
+ */
30
+ /** For fixed row height tables, we should have a fixed body size */
31
+ export declare const fixedHeight: (items: number, height: number) => {
32
+ style: {
33
+ height: string;
34
+ };
35
+ };
36
+ declare type DefaultHeaderProps<T extends object> = Pick<UseTableInstanceProps<T>, 'headerGroups'> & UseSortByInstanceProps<T>;
37
+ declare type DefaultBodyProps<T extends object> = {
38
+ actionsButtons?: (row: Row<T>) => JSX.Element | JSX.Element[];
39
+ loading: boolean;
40
+ } & UseTableInstanceProps<T> & Partial<UsePaginationInstanceProps<T>>;
41
+ export interface PaginationTableState<T extends object> extends UseColumnOrderState<T>, UseExpandedState<T>, UseFiltersState<T>, UsePaginationState<T>, UseGlobalFiltersState<T> {
42
+ }
43
+ export declare type DefaultNavigationProps<T extends object> = {
44
+ state: Partial<PaginationTableState<T>>;
45
+ rows: Row<T>[];
46
+ } & UsePaginationInstanceProps<T>;
47
+ /**
48
+ * Table Skeleton to keep most section logic DRY
49
+ *
50
+ * How the table component is divided into sections:
51
+ *
52
+ * @example
53
+ * +----------------+
54
+ * | Table Controls |
55
+ * | (ex: Search) |
56
+ * +----------------+
57
+ * | Header |
58
+ * +----------------+
59
+ * | Body (data) |
60
+ * +----------------+
61
+ * | Navigation |
62
+ * +----------------+
63
+ *
64
+ */
65
+ declare const Table: {
66
+ <T extends object>(props: Partial<Sections> & Partial<{
67
+ actionsButtons?: ((row: Row<T>) => JSX.Element | JSX.Element[]) | undefined;
68
+ loading: boolean;
69
+ } & UseTableInstanceProps<T> & Partial<UsePaginationInstanceProps<T>> & {
70
+ state: Partial<PaginationTableState<T>>;
71
+ rows: Row<T>[];
72
+ } & UsePaginationInstanceProps<T> & Pick<UseTableInstanceProps<T>, "headerGroups"> & UseSortByInstanceProps<T>> & Omit<ElementBase<HTMLDivElement>, "data" | "controls" | "headers" | "rows">): JSX.Element;
73
+ RowActions: (props: ElementBase<HTMLDivElement>) => JSX.Element;
74
+ };
75
+ export default Table;
@@ -18,7 +18,6 @@
18
18
  * You should have received a copy of the GNU General Public License
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
- /// <reference types="react" />
22
21
  interface TableNavigationProps {
23
22
  /** If there is a previous page available */
24
23
  canPreviousPage: boolean;