@itwin/itwinui-react 3.0.0-dev.9 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (665) hide show
  1. package/CHANGELOG.md +77 -772
  2. package/README.md +3 -5
  3. package/cjs/core/Alert/Alert.d.ts +1 -1
  4. package/cjs/core/Alert/Alert.js +4 -3
  5. package/cjs/core/Avatar/Avatar.js +2 -1
  6. package/cjs/core/Breadcrumbs/Breadcrumbs.js +23 -6
  7. package/cjs/core/ButtonGroup/ButtonGroup.js +6 -8
  8. package/cjs/core/Buttons/{Button/Button.d.ts → Button.d.ts} +2 -2
  9. package/cjs/core/Buttons/{Button/Button.js → Button.js} +1 -1
  10. package/{esm/core/Buttons/DropdownButton → cjs/core/Buttons}/DropdownButton.d.ts +3 -3
  11. package/cjs/core/Buttons/{DropdownButton/DropdownButton.js → DropdownButton.js} +7 -7
  12. package/{esm/core/Buttons/IconButton → cjs/core/Buttons}/IconButton.d.ts +2 -2
  13. package/cjs/core/Buttons/{IconButton/IconButton.js → IconButton.js} +6 -3
  14. package/{esm/core/Buttons/IdeasButton → cjs/core/Buttons}/IdeasButton.d.ts +1 -1
  15. package/cjs/core/Buttons/{IdeasButton/IdeasButton.js → IdeasButton.js} +3 -3
  16. package/cjs/core/Buttons/{SplitButton/SplitButton.d.ts → SplitButton.d.ts} +3 -3
  17. package/cjs/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +14 -13
  18. package/cjs/core/Carousel/Carousel.d.ts +14 -7
  19. package/cjs/core/Carousel/Carousel.js +9 -39
  20. package/cjs/core/Carousel/CarouselContext.d.ts +0 -4
  21. package/cjs/core/Carousel/CarouselDot.js +1 -1
  22. package/cjs/core/Carousel/CarouselDotsList.js +26 -2
  23. package/cjs/core/Carousel/CarouselNavigation.d.ts +3 -3
  24. package/cjs/core/Carousel/CarouselNavigation.js +13 -26
  25. package/cjs/core/Carousel/CarouselSlide.d.ts +1 -1
  26. package/cjs/core/Carousel/CarouselSlide.js +12 -2
  27. package/cjs/core/Carousel/CarouselSlider.d.ts +1 -1
  28. package/cjs/core/Carousel/CarouselSlider.js +2 -2
  29. package/cjs/core/Checkbox/Checkbox.js +7 -7
  30. package/cjs/core/ColorPicker/ColorBuilder.js +5 -3
  31. package/cjs/core/ColorPicker/ColorInputPanel.js +50 -30
  32. package/cjs/core/ColorPicker/ColorPalette.js +2 -80
  33. package/cjs/core/ColorPicker/ColorPicker.d.ts +9 -0
  34. package/cjs/core/ColorPicker/ColorPicker.js +6 -1
  35. package/cjs/core/ColorPicker/ColorSwatch.d.ts +1 -1
  36. package/cjs/core/ColorPicker/ColorSwatch.js +25 -15
  37. package/cjs/core/ComboBox/ComboBox.d.ts +6 -1
  38. package/cjs/core/ComboBox/ComboBox.js +19 -18
  39. package/cjs/core/ComboBox/ComboBoxEndIcon.js +2 -1
  40. package/cjs/core/ComboBox/ComboBoxInput.d.ts +1 -1
  41. package/cjs/core/ComboBox/ComboBoxInput.js +10 -10
  42. package/cjs/core/ComboBox/ComboBoxInputContainer.js +6 -6
  43. package/cjs/core/ComboBox/ComboBoxMenu.d.ts +1 -1
  44. package/cjs/core/ComboBox/ComboBoxMenu.js +12 -14
  45. package/cjs/core/ComboBox/helpers.d.ts +1 -1
  46. package/cjs/core/DatePicker/DatePicker.d.ts +9 -0
  47. package/cjs/core/DatePicker/DatePicker.js +13 -8
  48. package/cjs/core/Dialog/DialogBackdrop.js +4 -4
  49. package/cjs/core/Dialog/DialogTitleBar.js +2 -2
  50. package/cjs/core/{utils/components → Divider}/Divider.d.ts +1 -1
  51. package/cjs/core/{utils/components → Divider}/Divider.js +1 -1
  52. package/cjs/core/DropdownMenu/DropdownMenu.d.ts +2 -2
  53. package/cjs/core/DropdownMenu/DropdownMenu.js +4 -3
  54. package/cjs/core/ExpandableBlock/ExpandableBlock.d.ts +1 -1
  55. package/cjs/core/ExpandableBlock/ExpandableBlock.js +3 -2
  56. package/cjs/core/FileUpload/FileUploadCard.js +3 -2
  57. package/cjs/core/FileUpload/FileUploadTemplate.js +1 -1
  58. package/cjs/core/{utils/components → Flex}/Flex.d.ts +2 -2
  59. package/cjs/core/{utils/components → Flex}/Flex.js +1 -1
  60. package/cjs/core/Header/Header.js +11 -11
  61. package/cjs/core/Header/HeaderBasicButton.d.ts +1 -1
  62. package/cjs/core/Header/HeaderButton.d.ts +2 -2
  63. package/cjs/core/Header/HeaderDropdownButton.d.ts +1 -1
  64. package/cjs/core/Header/HeaderDropdownButton.js +6 -6
  65. package/cjs/core/Header/HeaderSplitButton.d.ts +1 -1
  66. package/cjs/core/Header/HeaderSplitButton.js +7 -7
  67. package/{esm/core/utils/components → cjs/core/Icon}/Icon.d.ts +2 -2
  68. package/cjs/core/{utils/components → Icon}/Icon.js +1 -1
  69. package/cjs/core/InformationPanel/InformationPanelHeader.js +7 -7
  70. package/cjs/core/Input/Input.d.ts +0 -1
  71. package/cjs/core/Input/Input.js +0 -1
  72. package/cjs/core/InputGroup/InputGroup.d.ts +1 -1
  73. package/cjs/core/InputGroup/InputGroup.js +6 -6
  74. package/cjs/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
  75. package/cjs/core/InputWithDecorations/InputWithDecorations.js +2 -2
  76. package/cjs/core/LabeledInput/LabeledInput.d.ts +4 -4
  77. package/cjs/core/LabeledInput/LabeledInput.js +11 -13
  78. package/cjs/core/LabeledSelect/LabeledSelect.d.ts +2 -2
  79. package/cjs/core/LabeledSelect/LabeledSelect.js +10 -9
  80. package/cjs/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
  81. package/cjs/core/LabeledTextarea/LabeledTextarea.js +2 -2
  82. package/{esm/core/utils/components → cjs/core/LinkAction}/LinkAction.d.ts +2 -2
  83. package/cjs/core/{utils/components → LinkAction}/LinkAction.js +1 -1
  84. package/cjs/core/Menu/MenuItem.js +2 -1
  85. package/cjs/core/Menu/MenuItemSkeleton.js +2 -1
  86. package/cjs/core/Modal/Modal.js +5 -5
  87. package/cjs/core/NonIdealState/ErrorPage.js +17 -15
  88. package/cjs/core/{utils/components → Popover}/Popover.d.ts +29 -13
  89. package/cjs/core/{utils/components → Popover}/Popover.js +43 -25
  90. package/cjs/core/RadioTiles/RadioTileGroup.d.ts +1 -1
  91. package/cjs/core/RadioTiles/RadioTileGroup.js +4 -4
  92. package/cjs/core/SearchBox/SearchBox.d.ts +3 -2
  93. package/cjs/core/SearchBox/SearchBox.js +4 -3
  94. package/cjs/core/Select/Select.d.ts +2 -2
  95. package/cjs/core/Select/Select.js +32 -29
  96. package/cjs/core/Select/SelectTagContainer.js +2 -2
  97. package/cjs/core/SideNavigation/SideNavigation.js +5 -5
  98. package/cjs/core/SideNavigation/SidenavButton.d.ts +1 -1
  99. package/cjs/core/SideNavigation/SidenavButton.js +2 -2
  100. package/cjs/core/Slider/Slider.d.ts +3 -7
  101. package/cjs/core/Slider/Slider.js +8 -22
  102. package/cjs/core/Slider/Thumb.d.ts +2 -3
  103. package/cjs/core/Slider/Thumb.js +5 -9
  104. package/cjs/core/StatusMessage/StatusMessage.d.ts +1 -1
  105. package/cjs/core/StatusMessage/StatusMessage.js +2 -1
  106. package/cjs/core/Stepper/StepperStep.js +7 -7
  107. package/cjs/core/Stepper/WorkflowDiagramStep.js +5 -5
  108. package/cjs/core/Surface/Surface.d.ts +8 -0
  109. package/cjs/core/Surface/Surface.js +19 -1
  110. package/cjs/core/Table/SubRowExpander.d.ts +1 -1
  111. package/cjs/core/Table/SubRowExpander.js +2 -2
  112. package/cjs/core/Table/Table.d.ts +1 -1
  113. package/cjs/core/Table/Table.js +53 -60
  114. package/cjs/core/Table/TableCell.d.ts +1 -1
  115. package/cjs/core/Table/TablePaginator.js +27 -25
  116. package/cjs/core/Table/TableRowMemoized.d.ts +1 -1
  117. package/cjs/core/Table/actionHandlers/expandHandler.d.ts +1 -1
  118. package/cjs/core/Table/actionHandlers/filterHandler.d.ts +1 -1
  119. package/cjs/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
  120. package/cjs/core/Table/actionHandlers/selectHandler.d.ts +8 -8
  121. package/cjs/core/Table/cells/DefaultCell.d.ts +1 -1
  122. package/cjs/core/Table/cells/EditableCell.d.ts +1 -1
  123. package/cjs/core/Table/columns/actionColumn.d.ts +2 -2
  124. package/cjs/core/Table/columns/actionColumn.js +10 -15
  125. package/cjs/core/Table/columns/expanderColumn.d.ts +1 -1
  126. package/cjs/core/Table/columns/expanderColumn.js +5 -4
  127. package/cjs/core/Table/columns/selectionColumn.d.ts +1 -1
  128. package/cjs/core/Table/columns/selectionColumn.js +5 -5
  129. package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
  130. package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +25 -19
  131. package/cjs/core/Table/filters/FilterButtonBar.js +3 -3
  132. package/cjs/core/Table/filters/FilterToggle.d.ts +1 -1
  133. package/cjs/core/Table/filters/FilterToggle.js +5 -3
  134. package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +3 -3
  135. package/cjs/core/Table/filters/TextFilter/TextFilter.js +2 -2
  136. package/cjs/core/Table/filters/customFilterFunctions.d.ts +1 -1
  137. package/cjs/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
  138. package/cjs/core/Table/filters/types.d.ts +2 -19
  139. package/cjs/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
  140. package/cjs/core/Table/hooks/useExpanderCell.d.ts +1 -1
  141. package/cjs/core/Table/hooks/useResizeColumns.d.ts +1 -1
  142. package/cjs/core/Table/hooks/useScrollToRow.d.ts +1 -1
  143. package/cjs/core/Table/hooks/useScrollToRow.js +1 -1
  144. package/cjs/core/Table/hooks/useSelectionCell.d.ts +1 -1
  145. package/cjs/core/Table/hooks/useStickyColumns.d.ts +1 -1
  146. package/cjs/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
  147. package/cjs/core/Table/hooks/useSubRowSelection.d.ts +1 -1
  148. package/cjs/core/Table/index.d.ts +1 -1
  149. package/cjs/core/Table/utils.d.ts +1 -1
  150. package/cjs/core/Tabs/Tabs.d.ts +222 -52
  151. package/cjs/core/Tabs/Tabs.js +429 -375
  152. package/cjs/core/Tag/Tag.js +2 -2
  153. package/cjs/core/Textarea/Textarea.js +2 -2
  154. package/cjs/core/ThemeProvider/ThemeProvider.d.ts +3 -2
  155. package/cjs/core/ThemeProvider/ThemeProvider.js +17 -8
  156. package/cjs/core/Tile/Tile.d.ts +2 -2
  157. package/cjs/core/Tile/Tile.js +20 -18
  158. package/cjs/core/Toast/Toast.js +2 -2
  159. package/cjs/core/TransferList/TransferList.d.ts +1 -1
  160. package/cjs/core/TransferList/TransferList.js +6 -5
  161. package/cjs/core/Tree/TreeNodeExpander.d.ts +1 -1
  162. package/cjs/core/Tree/TreeNodeExpander.js +2 -2
  163. package/{esm/core/Typography/Anchor → cjs/core/Typography}/Anchor.d.ts +1 -1
  164. package/cjs/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
  165. package/{esm/core/Typography/Blockquote → cjs/core/Typography}/Blockquote.d.ts +1 -1
  166. package/cjs/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
  167. package/cjs/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
  168. package/cjs/core/Typography/{Code/Code.js → Code.js} +1 -1
  169. package/{esm/core/Typography/Kbd → cjs/core/Typography}/Kbd.d.ts +1 -1
  170. package/cjs/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
  171. package/{esm/core/Typography/Text → cjs/core/Typography}/Text.d.ts +1 -1
  172. package/cjs/core/Typography/{Text/Text.js → Text.js} +1 -1
  173. package/{esm/core/utils/components → cjs/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
  174. package/cjs/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
  175. package/cjs/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
  176. package/cjs/core/utils/components/InputContainer.js +4 -4
  177. package/cjs/core/utils/components/WithCSSTransition.js +7 -1
  178. package/cjs/core/utils/components/index.d.ts +0 -6
  179. package/cjs/core/utils/components/index.js +0 -6
  180. package/cjs/core/utils/functions/dev.d.ts +11 -0
  181. package/cjs/core/utils/functions/dev.js +34 -0
  182. package/cjs/core/utils/functions/index.d.ts +1 -0
  183. package/cjs/core/utils/functions/index.js +1 -0
  184. package/cjs/core/utils/hooks/useGlobals.d.ts +1 -1
  185. package/cjs/core/utils/hooks/useGlobals.js +3 -7
  186. package/cjs/core/utils/hooks/useOverflow.js +3 -1
  187. package/cjs/index.d.ts +112 -2
  188. package/cjs/index.js +950 -5
  189. package/cjs/react-table/react-table.d.ts +745 -0
  190. package/cjs/{core/Badge/index.js → react-table/react-table.js} +5 -10
  191. package/cjs/styles.js +15 -15
  192. package/esm/core/Alert/Alert.d.ts +1 -1
  193. package/esm/core/Alert/Alert.js +2 -2
  194. package/esm/core/Avatar/Avatar.js +2 -6
  195. package/esm/core/Breadcrumbs/Breadcrumbs.js +24 -6
  196. package/esm/core/ButtonGroup/ButtonGroup.js +6 -8
  197. package/esm/core/Buttons/{Button/Button.d.ts → Button.d.ts} +2 -2
  198. package/esm/core/Buttons/{Button/Button.js → Button.js} +1 -1
  199. package/{cjs/core/Buttons/DropdownButton → esm/core/Buttons}/DropdownButton.d.ts +3 -3
  200. package/esm/core/Buttons/{DropdownButton/DropdownButton.js → DropdownButton.js} +3 -3
  201. package/{cjs/core/Buttons/IconButton → esm/core/Buttons}/IconButton.d.ts +2 -2
  202. package/esm/core/Buttons/{IconButton/IconButton.js → IconButton.js} +3 -2
  203. package/{cjs/core/Buttons/IdeasButton → esm/core/Buttons}/IdeasButton.d.ts +1 -1
  204. package/esm/core/Buttons/{IdeasButton/IdeasButton.js → IdeasButton.js} +2 -2
  205. package/esm/core/Buttons/{SplitButton/SplitButton.d.ts → SplitButton.d.ts} +3 -3
  206. package/esm/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +5 -5
  207. package/esm/core/Carousel/Carousel.d.ts +14 -7
  208. package/esm/core/Carousel/Carousel.js +9 -39
  209. package/esm/core/Carousel/CarouselContext.d.ts +0 -4
  210. package/esm/core/Carousel/CarouselDot.js +1 -1
  211. package/esm/core/Carousel/CarouselDotsList.js +26 -2
  212. package/esm/core/Carousel/CarouselNavigation.d.ts +3 -3
  213. package/esm/core/Carousel/CarouselNavigation.js +6 -23
  214. package/esm/core/Carousel/CarouselSlide.d.ts +1 -1
  215. package/esm/core/Carousel/CarouselSlide.js +15 -3
  216. package/esm/core/Carousel/CarouselSlider.d.ts +1 -1
  217. package/esm/core/Carousel/CarouselSlider.js +2 -2
  218. package/esm/core/Checkbox/Checkbox.js +1 -1
  219. package/esm/core/ColorPicker/ColorBuilder.js +3 -1
  220. package/esm/core/ColorPicker/ColorInputPanel.js +27 -7
  221. package/esm/core/ColorPicker/ColorPalette.js +3 -83
  222. package/esm/core/ColorPicker/ColorPicker.d.ts +9 -0
  223. package/esm/core/ColorPicker/ColorPicker.js +6 -1
  224. package/esm/core/ColorPicker/ColorSwatch.d.ts +1 -1
  225. package/esm/core/ColorPicker/ColorSwatch.js +18 -12
  226. package/esm/core/ComboBox/ComboBox.d.ts +6 -1
  227. package/esm/core/ComboBox/ComboBox.js +6 -4
  228. package/esm/core/ComboBox/ComboBoxEndIcon.js +2 -1
  229. package/esm/core/ComboBox/ComboBoxInput.d.ts +1 -1
  230. package/esm/core/ComboBox/ComboBoxInput.js +1 -1
  231. package/esm/core/ComboBox/ComboBoxInputContainer.js +1 -1
  232. package/esm/core/ComboBox/ComboBoxMenu.d.ts +1 -1
  233. package/esm/core/ComboBox/ComboBoxMenu.js +2 -4
  234. package/esm/core/ComboBox/helpers.d.ts +1 -1
  235. package/esm/core/DatePicker/DatePicker.d.ts +9 -0
  236. package/esm/core/DatePicker/DatePicker.js +12 -3
  237. package/esm/core/Dialog/DialogBackdrop.js +1 -1
  238. package/esm/core/Dialog/DialogTitleBar.js +1 -1
  239. package/esm/core/{utils/components → Divider}/Divider.d.ts +1 -1
  240. package/esm/core/{utils/components → Divider}/Divider.js +1 -1
  241. package/esm/core/DropdownMenu/DropdownMenu.d.ts +2 -2
  242. package/esm/core/DropdownMenu/DropdownMenu.js +2 -3
  243. package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +1 -1
  244. package/esm/core/ExpandableBlock/ExpandableBlock.js +1 -1
  245. package/esm/core/FileUpload/FileUploadCard.js +2 -2
  246. package/esm/core/FileUpload/FileUploadTemplate.js +1 -1
  247. package/esm/core/{utils/components → Flex}/Flex.d.ts +2 -2
  248. package/esm/core/{utils/components → Flex}/Flex.js +1 -1
  249. package/esm/core/Header/Header.js +2 -2
  250. package/esm/core/Header/HeaderBasicButton.d.ts +1 -1
  251. package/esm/core/Header/HeaderButton.d.ts +2 -2
  252. package/esm/core/Header/HeaderDropdownButton.d.ts +1 -1
  253. package/esm/core/Header/HeaderDropdownButton.js +1 -1
  254. package/esm/core/Header/HeaderSplitButton.d.ts +1 -1
  255. package/esm/core/Header/HeaderSplitButton.js +1 -1
  256. package/{cjs/core/utils/components → esm/core/Icon}/Icon.d.ts +2 -2
  257. package/esm/core/{utils/components → Icon}/Icon.js +1 -1
  258. package/esm/core/InformationPanel/InformationPanelHeader.js +1 -1
  259. package/esm/core/Input/Input.d.ts +0 -1
  260. package/esm/core/Input/Input.js +0 -1
  261. package/esm/core/InputGroup/InputGroup.d.ts +1 -1
  262. package/esm/core/InputGroup/InputGroup.js +3 -3
  263. package/esm/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
  264. package/esm/core/InputWithDecorations/InputWithDecorations.js +1 -1
  265. package/esm/core/LabeledInput/LabeledInput.d.ts +4 -4
  266. package/esm/core/LabeledInput/LabeledInput.js +5 -4
  267. package/esm/core/LabeledSelect/LabeledSelect.d.ts +2 -2
  268. package/esm/core/LabeledSelect/LabeledSelect.js +6 -4
  269. package/esm/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
  270. package/esm/core/LabeledTextarea/LabeledTextarea.js +2 -2
  271. package/{cjs/core/utils/components → esm/core/LinkAction}/LinkAction.d.ts +2 -2
  272. package/esm/core/{utils/components → LinkAction}/LinkAction.js +1 -1
  273. package/esm/core/Menu/MenuItem.js +1 -1
  274. package/esm/core/Menu/MenuItemSkeleton.js +2 -1
  275. package/esm/core/Modal/Modal.js +1 -1
  276. package/esm/core/NonIdealState/ErrorPage.js +2 -2
  277. package/esm/core/{utils/components → Popover}/Popover.d.ts +29 -13
  278. package/esm/core/{utils/components → Popover}/Popover.js +45 -25
  279. package/esm/core/RadioTiles/RadioTileGroup.d.ts +1 -1
  280. package/esm/core/RadioTiles/RadioTileGroup.js +1 -1
  281. package/esm/core/SearchBox/SearchBox.d.ts +3 -2
  282. package/esm/core/SearchBox/SearchBox.js +2 -2
  283. package/esm/core/Select/Select.d.ts +2 -2
  284. package/esm/core/Select/Select.js +10 -9
  285. package/esm/core/Select/SelectTagContainer.js +1 -1
  286. package/esm/core/SideNavigation/SideNavigation.js +2 -2
  287. package/esm/core/SideNavigation/SidenavButton.d.ts +1 -1
  288. package/esm/core/SideNavigation/SidenavButton.js +1 -1
  289. package/esm/core/Slider/Slider.d.ts +3 -7
  290. package/esm/core/Slider/Slider.js +8 -19
  291. package/esm/core/Slider/Thumb.d.ts +2 -3
  292. package/esm/core/Slider/Thumb.js +2 -6
  293. package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
  294. package/esm/core/StatusMessage/StatusMessage.js +2 -1
  295. package/esm/core/Stepper/StepperStep.js +1 -1
  296. package/esm/core/Stepper/WorkflowDiagramStep.js +1 -1
  297. package/esm/core/Surface/Surface.d.ts +8 -0
  298. package/esm/core/Surface/Surface.js +19 -1
  299. package/esm/core/Table/SubRowExpander.d.ts +1 -1
  300. package/esm/core/Table/SubRowExpander.js +1 -1
  301. package/esm/core/Table/Table.d.ts +1 -1
  302. package/esm/core/Table/Table.js +7 -13
  303. package/esm/core/Table/TableCell.d.ts +1 -1
  304. package/esm/core/Table/TablePaginator.js +5 -3
  305. package/esm/core/Table/TableRowMemoized.d.ts +1 -1
  306. package/esm/core/Table/actionHandlers/expandHandler.d.ts +1 -1
  307. package/esm/core/Table/actionHandlers/filterHandler.d.ts +1 -1
  308. package/esm/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
  309. package/esm/core/Table/actionHandlers/selectHandler.d.ts +8 -8
  310. package/esm/core/Table/cells/DefaultCell.d.ts +1 -1
  311. package/esm/core/Table/cells/EditableCell.d.ts +1 -1
  312. package/esm/core/Table/columns/actionColumn.d.ts +2 -2
  313. package/esm/core/Table/columns/actionColumn.js +4 -6
  314. package/esm/core/Table/columns/expanderColumn.d.ts +1 -1
  315. package/esm/core/Table/columns/expanderColumn.js +2 -1
  316. package/esm/core/Table/columns/selectionColumn.d.ts +1 -1
  317. package/esm/core/Table/columns/selectionColumn.js +1 -1
  318. package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
  319. package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.js +8 -5
  320. package/esm/core/Table/filters/FilterButtonBar.js +1 -1
  321. package/esm/core/Table/filters/FilterToggle.d.ts +1 -1
  322. package/esm/core/Table/filters/FilterToggle.js +4 -7
  323. package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
  324. package/esm/core/Table/filters/TextFilter/TextFilter.js +1 -1
  325. package/esm/core/Table/filters/customFilterFunctions.d.ts +1 -1
  326. package/esm/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
  327. package/esm/core/Table/filters/types.d.ts +2 -19
  328. package/esm/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
  329. package/esm/core/Table/hooks/useExpanderCell.d.ts +1 -1
  330. package/esm/core/Table/hooks/useResizeColumns.d.ts +1 -1
  331. package/esm/core/Table/hooks/useScrollToRow.d.ts +1 -1
  332. package/esm/core/Table/hooks/useScrollToRow.js +1 -1
  333. package/esm/core/Table/hooks/useSelectionCell.d.ts +1 -1
  334. package/esm/core/Table/hooks/useStickyColumns.d.ts +1 -1
  335. package/esm/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
  336. package/esm/core/Table/hooks/useSubRowSelection.d.ts +1 -1
  337. package/esm/core/Table/index.d.ts +1 -1
  338. package/esm/core/Table/utils.d.ts +1 -1
  339. package/esm/core/Tabs/Tabs.d.ts +222 -52
  340. package/esm/core/Tabs/Tabs.js +424 -368
  341. package/esm/core/Tag/Tag.js +1 -1
  342. package/esm/core/Textarea/Textarea.js +1 -1
  343. package/esm/core/ThemeProvider/ThemeProvider.d.ts +3 -2
  344. package/esm/core/ThemeProvider/ThemeProvider.js +17 -8
  345. package/esm/core/Tile/Tile.d.ts +2 -2
  346. package/esm/core/Tile/Tile.js +15 -14
  347. package/esm/core/Toast/Toast.js +1 -1
  348. package/esm/core/TransferList/TransferList.d.ts +1 -1
  349. package/esm/core/TransferList/TransferList.js +3 -2
  350. package/esm/core/Tree/TreeNodeExpander.d.ts +1 -1
  351. package/esm/core/Tree/TreeNodeExpander.js +1 -1
  352. package/{cjs/core/Typography/Anchor → esm/core/Typography}/Anchor.d.ts +1 -1
  353. package/esm/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
  354. package/{cjs/core/Typography/Blockquote → esm/core/Typography}/Blockquote.d.ts +1 -1
  355. package/esm/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
  356. package/esm/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
  357. package/esm/core/Typography/{Code/Code.js → Code.js} +1 -1
  358. package/{cjs/core/Typography/Kbd → esm/core/Typography}/Kbd.d.ts +1 -1
  359. package/esm/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
  360. package/{cjs/core/Typography/Text → esm/core/Typography}/Text.d.ts +1 -1
  361. package/esm/core/Typography/{Text/Text.js → Text.js} +1 -1
  362. package/{cjs/core/utils/components → esm/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
  363. package/esm/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
  364. package/esm/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
  365. package/esm/core/utils/components/InputContainer.js +2 -2
  366. package/esm/core/utils/components/WithCSSTransition.js +7 -1
  367. package/esm/core/utils/components/index.d.ts +0 -6
  368. package/esm/core/utils/components/index.js +0 -6
  369. package/esm/core/utils/functions/dev.d.ts +11 -0
  370. package/esm/core/utils/functions/dev.js +29 -0
  371. package/esm/core/utils/functions/index.d.ts +1 -0
  372. package/esm/core/utils/functions/index.js +1 -0
  373. package/esm/core/utils/hooks/useGlobals.d.ts +1 -1
  374. package/esm/core/utils/hooks/useGlobals.js +1 -5
  375. package/esm/core/utils/hooks/useOverflow.js +3 -1
  376. package/esm/index.d.ts +112 -2
  377. package/esm/index.js +123 -2
  378. package/esm/react-table/react-table.d.ts +745 -0
  379. package/esm/{core/Backdrop/index.js → react-table/react-table.js} +5 -1
  380. package/esm/styles.js +15 -15
  381. package/package.json +22 -21
  382. package/react-table.d.ts +745 -0
  383. package/styles.css +57 -66
  384. package/cjs/core/Alert/index.d.ts +0 -3
  385. package/cjs/core/Alert/index.js +0 -15
  386. package/cjs/core/Avatar/index.d.ts +0 -3
  387. package/cjs/core/Avatar/index.js +0 -15
  388. package/cjs/core/AvatarGroup/index.d.ts +0 -3
  389. package/cjs/core/AvatarGroup/index.js +0 -15
  390. package/cjs/core/Backdrop/index.d.ts +0 -1
  391. package/cjs/core/Backdrop/index.js +0 -14
  392. package/cjs/core/Badge/index.d.ts +0 -3
  393. package/cjs/core/Breadcrumbs/index.d.ts +0 -3
  394. package/cjs/core/Breadcrumbs/index.js +0 -15
  395. package/cjs/core/ButtonGroup/index.d.ts +0 -3
  396. package/cjs/core/ButtonGroup/index.js +0 -15
  397. package/cjs/core/Buttons/Button/index.d.ts +0 -3
  398. package/cjs/core/Buttons/Button/index.js +0 -15
  399. package/cjs/core/Buttons/DropdownButton/index.d.ts +0 -3
  400. package/cjs/core/Buttons/DropdownButton/index.js +0 -15
  401. package/cjs/core/Buttons/IconButton/index.d.ts +0 -3
  402. package/cjs/core/Buttons/IconButton/index.js +0 -15
  403. package/cjs/core/Buttons/IdeasButton/index.d.ts +0 -3
  404. package/cjs/core/Buttons/IdeasButton/index.js +0 -15
  405. package/cjs/core/Buttons/SplitButton/index.d.ts +0 -3
  406. package/cjs/core/Buttons/SplitButton/index.js +0 -15
  407. package/cjs/core/Buttons/index.d.ts +0 -5
  408. package/cjs/core/Buttons/index.js +0 -47
  409. package/cjs/core/Carousel/index.d.ts +0 -3
  410. package/cjs/core/Carousel/index.js +0 -15
  411. package/cjs/core/Checkbox/index.d.ts +0 -3
  412. package/cjs/core/Checkbox/index.js +0 -15
  413. package/cjs/core/ColorPicker/index.d.ts +0 -7
  414. package/cjs/core/ColorPicker/index.js +0 -48
  415. package/cjs/core/ComboBox/index.d.ts +0 -3
  416. package/cjs/core/ComboBox/index.js +0 -15
  417. package/cjs/core/DatePicker/index.d.ts +0 -3
  418. package/cjs/core/DatePicker/index.js +0 -21
  419. package/cjs/core/Dialog/index.d.ts +0 -3
  420. package/cjs/core/Dialog/index.js +0 -15
  421. package/cjs/core/DropdownMenu/index.d.ts +0 -4
  422. package/cjs/core/DropdownMenu/index.js +0 -15
  423. package/cjs/core/ExpandableBlock/index.d.ts +0 -3
  424. package/cjs/core/ExpandableBlock/index.js +0 -15
  425. package/cjs/core/Fieldset/index.d.ts +0 -3
  426. package/cjs/core/Fieldset/index.js +0 -15
  427. package/cjs/core/FileUpload/index.d.ts +0 -6
  428. package/cjs/core/FileUpload/index.js +0 -40
  429. package/cjs/core/Footer/index.d.ts +0 -4
  430. package/cjs/core/Footer/index.js +0 -21
  431. package/cjs/core/Header/index.d.ts +0 -6
  432. package/cjs/core/Header/index.js +0 -40
  433. package/cjs/core/InformationPanel/index.d.ts +0 -7
  434. package/cjs/core/InformationPanel/index.js +0 -48
  435. package/cjs/core/Input/index.d.ts +0 -3
  436. package/cjs/core/Input/index.js +0 -15
  437. package/cjs/core/InputGrid/index.d.ts +0 -3
  438. package/cjs/core/InputGrid/index.js +0 -15
  439. package/cjs/core/InputGroup/index.d.ts +0 -3
  440. package/cjs/core/InputGroup/index.js +0 -15
  441. package/cjs/core/InputWithDecorations/index.d.ts +0 -3
  442. package/cjs/core/InputWithDecorations/index.js +0 -15
  443. package/cjs/core/Label/index.d.ts +0 -3
  444. package/cjs/core/Label/index.js +0 -15
  445. package/cjs/core/LabeledInput/index.d.ts +0 -3
  446. package/cjs/core/LabeledInput/index.js +0 -15
  447. package/cjs/core/LabeledSelect/index.d.ts +0 -3
  448. package/cjs/core/LabeledSelect/index.js +0 -15
  449. package/cjs/core/LabeledTextarea/index.d.ts +0 -3
  450. package/cjs/core/LabeledTextarea/index.js +0 -15
  451. package/cjs/core/List/index.d.ts +0 -2
  452. package/cjs/core/List/index.js +0 -21
  453. package/cjs/core/Menu/index.d.ts +0 -5
  454. package/cjs/core/Menu/index.js +0 -47
  455. package/cjs/core/Modal/index.d.ts +0 -5
  456. package/cjs/core/Modal/index.js +0 -29
  457. package/cjs/core/NonIdealState/index.d.ts +0 -5
  458. package/cjs/core/NonIdealState/index.js +0 -22
  459. package/cjs/core/NotificationMarker/index.d.ts +0 -3
  460. package/cjs/core/NotificationMarker/index.js +0 -15
  461. package/cjs/core/Overlay/index.d.ts +0 -1
  462. package/cjs/core/Overlay/index.js +0 -14
  463. package/cjs/core/ProgressIndicators/index.d.ts +0 -2
  464. package/cjs/core/ProgressIndicators/index.js +0 -21
  465. package/cjs/core/Radio/index.d.ts +0 -3
  466. package/cjs/core/Radio/index.js +0 -15
  467. package/cjs/core/RadioTiles/index.d.ts +0 -4
  468. package/cjs/core/RadioTiles/index.js +0 -22
  469. package/cjs/core/SearchBox/index.d.ts +0 -3
  470. package/cjs/core/SearchBox/index.js +0 -15
  471. package/cjs/core/Select/index.d.ts +0 -4
  472. package/cjs/core/Select/index.js +0 -15
  473. package/cjs/core/SideNavigation/index.d.ts +0 -6
  474. package/cjs/core/SideNavigation/index.js +0 -40
  475. package/cjs/core/SkipToContentLink/index.d.ts +0 -3
  476. package/cjs/core/SkipToContentLink/index.js +0 -15
  477. package/cjs/core/Slider/index.d.ts +0 -3
  478. package/cjs/core/Slider/index.js +0 -15
  479. package/cjs/core/StatusMessage/index.d.ts +0 -3
  480. package/cjs/core/StatusMessage/index.js +0 -15
  481. package/cjs/core/Stepper/index.d.ts +0 -3
  482. package/cjs/core/Stepper/index.js +0 -21
  483. package/cjs/core/Surface/index.d.ts +0 -3
  484. package/cjs/core/Surface/index.js +0 -15
  485. package/cjs/core/Tabs/Tab.d.ts +0 -40
  486. package/cjs/core/Tabs/Tab.js +0 -65
  487. package/cjs/core/Tabs/index.d.ts +0 -2
  488. package/cjs/core/Tabs/index.js +0 -21
  489. package/cjs/core/Tag/index.d.ts +0 -4
  490. package/cjs/core/Tag/index.js +0 -22
  491. package/cjs/core/Textarea/index.d.ts +0 -3
  492. package/cjs/core/Textarea/index.js +0 -15
  493. package/cjs/core/ThemeProvider/index.d.ts +0 -4
  494. package/cjs/core/ThemeProvider/index.js +0 -15
  495. package/cjs/core/Tile/index.d.ts +0 -3
  496. package/cjs/core/Tile/index.js +0 -15
  497. package/cjs/core/TimePicker/index.d.ts +0 -4
  498. package/cjs/core/TimePicker/index.js +0 -15
  499. package/cjs/core/Toast/index.d.ts +0 -1
  500. package/cjs/core/Toast/index.js +0 -14
  501. package/cjs/core/ToggleSwitch/index.d.ts +0 -3
  502. package/cjs/core/ToggleSwitch/index.js +0 -15
  503. package/cjs/core/Tooltip/index.d.ts +0 -3
  504. package/cjs/core/Tooltip/index.js +0 -15
  505. package/cjs/core/TransferList/index.d.ts +0 -3
  506. package/cjs/core/TransferList/index.js +0 -15
  507. package/cjs/core/Tree/index.d.ts +0 -4
  508. package/cjs/core/Tree/index.js +0 -28
  509. package/cjs/core/Typography/Anchor/index.d.ts +0 -3
  510. package/cjs/core/Typography/Anchor/index.js +0 -15
  511. package/cjs/core/Typography/Blockquote/index.d.ts +0 -3
  512. package/cjs/core/Typography/Blockquote/index.js +0 -15
  513. package/cjs/core/Typography/Code/index.d.ts +0 -3
  514. package/cjs/core/Typography/Code/index.js +0 -15
  515. package/cjs/core/Typography/Kbd/index.d.ts +0 -3
  516. package/cjs/core/Typography/Kbd/index.js +0 -21
  517. package/cjs/core/Typography/Text/index.d.ts +0 -3
  518. package/cjs/core/Typography/Text/index.js +0 -15
  519. package/cjs/core/Typography/index.d.ts +0 -5
  520. package/cjs/core/Typography/index.js +0 -54
  521. package/cjs/core/index.d.ts +0 -68
  522. package/cjs/core/index.js +0 -916
  523. package/cjs/types/react-table-config.d.ts +0 -135
  524. package/cjs/types/react-table-config.js +0 -2
  525. package/esm/core/Alert/index.d.ts +0 -3
  526. package/esm/core/Alert/index.js +0 -6
  527. package/esm/core/Avatar/index.d.ts +0 -3
  528. package/esm/core/Avatar/index.js +0 -6
  529. package/esm/core/AvatarGroup/index.d.ts +0 -3
  530. package/esm/core/AvatarGroup/index.js +0 -6
  531. package/esm/core/Backdrop/index.d.ts +0 -1
  532. package/esm/core/Badge/index.d.ts +0 -3
  533. package/esm/core/Badge/index.js +0 -6
  534. package/esm/core/Breadcrumbs/index.d.ts +0 -3
  535. package/esm/core/Breadcrumbs/index.js +0 -6
  536. package/esm/core/ButtonGroup/index.d.ts +0 -3
  537. package/esm/core/ButtonGroup/index.js +0 -6
  538. package/esm/core/Buttons/Button/index.d.ts +0 -3
  539. package/esm/core/Buttons/Button/index.js +0 -6
  540. package/esm/core/Buttons/DropdownButton/index.d.ts +0 -3
  541. package/esm/core/Buttons/DropdownButton/index.js +0 -6
  542. package/esm/core/Buttons/IconButton/index.d.ts +0 -3
  543. package/esm/core/Buttons/IconButton/index.js +0 -6
  544. package/esm/core/Buttons/IdeasButton/index.d.ts +0 -3
  545. package/esm/core/Buttons/IdeasButton/index.js +0 -6
  546. package/esm/core/Buttons/SplitButton/index.d.ts +0 -3
  547. package/esm/core/Buttons/SplitButton/index.js +0 -6
  548. package/esm/core/Buttons/index.d.ts +0 -5
  549. package/esm/core/Buttons/index.js +0 -9
  550. package/esm/core/Carousel/index.d.ts +0 -3
  551. package/esm/core/Carousel/index.js +0 -6
  552. package/esm/core/Checkbox/index.d.ts +0 -3
  553. package/esm/core/Checkbox/index.js +0 -6
  554. package/esm/core/ColorPicker/index.d.ts +0 -7
  555. package/esm/core/ColorPicker/index.js +0 -10
  556. package/esm/core/ComboBox/index.d.ts +0 -3
  557. package/esm/core/ComboBox/index.js +0 -6
  558. package/esm/core/DatePicker/index.d.ts +0 -3
  559. package/esm/core/DatePicker/index.js +0 -6
  560. package/esm/core/Dialog/index.d.ts +0 -3
  561. package/esm/core/Dialog/index.js +0 -6
  562. package/esm/core/DropdownMenu/index.d.ts +0 -4
  563. package/esm/core/DropdownMenu/index.js +0 -6
  564. package/esm/core/ExpandableBlock/index.d.ts +0 -3
  565. package/esm/core/ExpandableBlock/index.js +0 -6
  566. package/esm/core/Fieldset/index.d.ts +0 -3
  567. package/esm/core/Fieldset/index.js +0 -6
  568. package/esm/core/FileUpload/index.d.ts +0 -6
  569. package/esm/core/FileUpload/index.js +0 -9
  570. package/esm/core/Footer/index.d.ts +0 -4
  571. package/esm/core/Footer/index.js +0 -6
  572. package/esm/core/Header/index.d.ts +0 -6
  573. package/esm/core/Header/index.js +0 -9
  574. package/esm/core/InformationPanel/index.d.ts +0 -7
  575. package/esm/core/InformationPanel/index.js +0 -10
  576. package/esm/core/Input/index.d.ts +0 -3
  577. package/esm/core/Input/index.js +0 -6
  578. package/esm/core/InputGrid/index.d.ts +0 -3
  579. package/esm/core/InputGrid/index.js +0 -6
  580. package/esm/core/InputGroup/index.d.ts +0 -3
  581. package/esm/core/InputGroup/index.js +0 -6
  582. package/esm/core/InputWithDecorations/index.d.ts +0 -3
  583. package/esm/core/InputWithDecorations/index.js +0 -6
  584. package/esm/core/Label/index.d.ts +0 -3
  585. package/esm/core/Label/index.js +0 -6
  586. package/esm/core/LabeledInput/index.d.ts +0 -3
  587. package/esm/core/LabeledInput/index.js +0 -6
  588. package/esm/core/LabeledSelect/index.d.ts +0 -3
  589. package/esm/core/LabeledSelect/index.js +0 -6
  590. package/esm/core/LabeledTextarea/index.d.ts +0 -3
  591. package/esm/core/LabeledTextarea/index.js +0 -6
  592. package/esm/core/List/index.d.ts +0 -2
  593. package/esm/core/List/index.js +0 -6
  594. package/esm/core/Menu/index.d.ts +0 -5
  595. package/esm/core/Menu/index.js +0 -9
  596. package/esm/core/Modal/index.d.ts +0 -5
  597. package/esm/core/Modal/index.js +0 -8
  598. package/esm/core/NonIdealState/index.d.ts +0 -5
  599. package/esm/core/NonIdealState/index.js +0 -7
  600. package/esm/core/NotificationMarker/index.d.ts +0 -3
  601. package/esm/core/NotificationMarker/index.js +0 -6
  602. package/esm/core/Overlay/index.d.ts +0 -1
  603. package/esm/core/Overlay/index.js +0 -5
  604. package/esm/core/ProgressIndicators/index.d.ts +0 -2
  605. package/esm/core/ProgressIndicators/index.js +0 -6
  606. package/esm/core/Radio/index.d.ts +0 -3
  607. package/esm/core/Radio/index.js +0 -6
  608. package/esm/core/RadioTiles/index.d.ts +0 -4
  609. package/esm/core/RadioTiles/index.js +0 -7
  610. package/esm/core/SearchBox/index.d.ts +0 -3
  611. package/esm/core/SearchBox/index.js +0 -6
  612. package/esm/core/Select/index.d.ts +0 -4
  613. package/esm/core/Select/index.js +0 -6
  614. package/esm/core/SideNavigation/index.d.ts +0 -6
  615. package/esm/core/SideNavigation/index.js +0 -9
  616. package/esm/core/SkipToContentLink/index.d.ts +0 -3
  617. package/esm/core/SkipToContentLink/index.js +0 -6
  618. package/esm/core/Slider/index.d.ts +0 -3
  619. package/esm/core/Slider/index.js +0 -6
  620. package/esm/core/StatusMessage/index.d.ts +0 -3
  621. package/esm/core/StatusMessage/index.js +0 -6
  622. package/esm/core/Stepper/index.d.ts +0 -3
  623. package/esm/core/Stepper/index.js +0 -6
  624. package/esm/core/Surface/index.d.ts +0 -3
  625. package/esm/core/Surface/index.js +0 -6
  626. package/esm/core/Tabs/Tab.d.ts +0 -40
  627. package/esm/core/Tabs/Tab.js +0 -57
  628. package/esm/core/Tabs/index.d.ts +0 -2
  629. package/esm/core/Tabs/index.js +0 -6
  630. package/esm/core/Tag/index.d.ts +0 -4
  631. package/esm/core/Tag/index.js +0 -7
  632. package/esm/core/Textarea/index.d.ts +0 -3
  633. package/esm/core/Textarea/index.js +0 -6
  634. package/esm/core/ThemeProvider/index.d.ts +0 -4
  635. package/esm/core/ThemeProvider/index.js +0 -6
  636. package/esm/core/Tile/index.d.ts +0 -3
  637. package/esm/core/Tile/index.js +0 -6
  638. package/esm/core/TimePicker/index.d.ts +0 -4
  639. package/esm/core/TimePicker/index.js +0 -6
  640. package/esm/core/Toast/index.d.ts +0 -1
  641. package/esm/core/Toast/index.js +0 -5
  642. package/esm/core/ToggleSwitch/index.d.ts +0 -3
  643. package/esm/core/ToggleSwitch/index.js +0 -6
  644. package/esm/core/Tooltip/index.d.ts +0 -3
  645. package/esm/core/Tooltip/index.js +0 -6
  646. package/esm/core/TransferList/index.d.ts +0 -3
  647. package/esm/core/TransferList/index.js +0 -6
  648. package/esm/core/Tree/index.d.ts +0 -4
  649. package/esm/core/Tree/index.js +0 -7
  650. package/esm/core/Typography/Anchor/index.d.ts +0 -3
  651. package/esm/core/Typography/Anchor/index.js +0 -6
  652. package/esm/core/Typography/Blockquote/index.d.ts +0 -3
  653. package/esm/core/Typography/Blockquote/index.js +0 -6
  654. package/esm/core/Typography/Code/index.d.ts +0 -3
  655. package/esm/core/Typography/Code/index.js +0 -6
  656. package/esm/core/Typography/Kbd/index.d.ts +0 -3
  657. package/esm/core/Typography/Kbd/index.js +0 -6
  658. package/esm/core/Typography/Text/index.d.ts +0 -3
  659. package/esm/core/Typography/Text/index.js +0 -6
  660. package/esm/core/Typography/index.d.ts +0 -5
  661. package/esm/core/Typography/index.js +0 -9
  662. package/esm/core/index.d.ts +0 -68
  663. package/esm/core/index.js +0 -132
  664. package/esm/types/react-table-config.d.ts +0 -135
  665. package/esm/types/react-table-config.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { CellProps, TableOptions, Row, TableState } from 'react-table';
2
+ import type { CellProps, TableOptions, Row, TableState } from '../../react-table/react-table.js';
3
3
  import type { CommonProps } from '../utils/index.js';
4
4
  import type { TableFilterValue } from './filters/index.js';
5
5
  export declare const tableResizeStartAction = "tableResizeStart";
@@ -16,7 +16,7 @@ import {
16
16
  useColumnOrder,
17
17
  useGlobalFilter,
18
18
  } from 'react-table';
19
- import { ProgressRadial } from '../ProgressIndicators/index.js';
19
+ import { ProgressRadial } from '../ProgressIndicators/ProgressRadial.js';
20
20
  import {
21
21
  useGlobals,
22
22
  useResizeObserver,
@@ -24,6 +24,7 @@ import {
24
24
  SvgSortUp,
25
25
  useIsomorphicLayoutEffect,
26
26
  Box,
27
+ createWarningLogger,
27
28
  } from '../utils/index.js';
28
29
  import { getCellStyle, getStickyStyle } from './utils.js';
29
30
  import { TableRowMemoized } from './TableRowMemoized.js';
@@ -54,17 +55,13 @@ const singleRowSelectedAction = 'singleRowSelected';
54
55
  const shiftRowSelectedAction = 'shiftRowSelected';
55
56
  export const tableResizeStartAction = 'tableResizeStart';
56
57
  const tableResizeEndAction = 'tableResizeEnd';
57
- let didLogWarning = false;
58
- let isDev = false;
59
- // wrapping in try-catch because process might be undefined
60
- try {
61
- isDev = process.env.NODE_ENV !== 'production';
62
- } catch {}
58
+ const logWarningInDev = createWarningLogger();
63
59
  const flattenColumns = (columns) => {
64
60
  const flatColumns = [];
65
61
  columns.forEach((column) => {
66
62
  flatColumns.push(column);
67
63
  if ('columns' in column) {
64
+ // @ts-expect-error - Since nested columns are not supported from a types perspective
68
65
  flatColumns.push(...flattenColumns(column.columns));
69
66
  }
70
67
  });
@@ -343,12 +340,9 @@ export const Table = (props) => {
343
340
  let headerGroups = _headerGroups;
344
341
  if (columns.length === 1 && 'columns' in columns[0]) {
345
342
  headerGroups = _headerGroups.slice(1);
346
- if (isDev && !didLogWarning) {
347
- console.warn(
348
- `Table's \`columns\` prop should not have a top-level \`Header\` or sub-columns. They are only allowed to be passed for backwards compatibility.\n See https://github.com/iTwin/iTwinUI/wiki/iTwinUI-react-v2-migration-guide#breaking-changes`,
349
- );
350
- didLogWarning = true;
351
- }
343
+ logWarningInDev(
344
+ `Table's \`columns\` prop should not have a top-level \`Header\` or sub-columns. They are only allowed to be passed for backwards compatibility.\n See https://github.com/iTwin/iTwinUI/wiki/iTwinUI-react-v2-migration-guide#breaking-changes`,
345
+ );
352
346
  }
353
347
  const ariaDataAttributes = Object.entries(rest).reduce(
354
348
  (result, [key, value]) => {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { Cell, CellProps, TableInstance } from 'react-table';
2
+ import type { Cell, CellProps, TableInstance } from '../../react-table/react-table.js';
3
3
  export type TableCellProps<T extends Record<string, unknown>> = {
4
4
  cell: Cell<T>;
5
5
  cellIndex: number;
@@ -4,9 +4,11 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
- import { IconButton, Button, DropdownButton } from '../Buttons/index.js';
8
- import { ProgressRadial } from '../ProgressIndicators/index.js';
9
- import { MenuItem } from '../Menu/index.js';
7
+ import { IconButton } from '../Buttons/IconButton.js';
8
+ import { Button } from '../Buttons/Button.js';
9
+ import { DropdownButton } from '../Buttons/DropdownButton.js';
10
+ import { ProgressRadial } from '../ProgressIndicators/ProgressRadial.js';
11
+ import { MenuItem } from '../Menu/MenuItem.js';
10
12
  import {
11
13
  getBoundedValue,
12
14
  useGlobals,
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { CellProps, Row, TableInstance, TableState } from 'react-table';
2
+ import type { CellProps, Row, TableInstance, TableState } from '../../react-table/react-table.js';
3
3
  /**
4
4
  * Memoization is needed to avoid unnecessary re-renders of all rows when additional data is added when lazy-loading.
5
5
  * Using `isLast` here instead of passing data length to avoid re-renders of all rows when more data is added. Now only the last row re-renders.
@@ -1,2 +1,2 @@
1
- import type { TableInstance, TableState } from 'react-table';
1
+ import type { TableInstance, TableState } from '../../../react-table/react-table.js';
2
2
  export declare const onExpandHandler: <T extends Record<string, unknown>>(newState: TableState<T>, instance?: TableInstance<T> | undefined, onExpand?: ((expandedData: T[] | undefined, tableState?: TableState<T> | undefined) => void) | undefined) => void;
@@ -1,3 +1,3 @@
1
- import type { ActionType, TableInstance, TableState } from 'react-table';
1
+ import type { ActionType, TableInstance, TableState } from '../../../react-table/react-table.js';
2
2
  import type { TableFilterValue } from '../filters/index.js';
3
3
  export declare const onFilterHandler: <T extends Record<string, unknown>>(newState: TableState<T>, action: ActionType, previousState: TableState<T>, currentFilter: TableFilterValue<T>[], instance?: TableInstance<T> | undefined) => TableFilterValue<T>[];
@@ -1,7 +1,7 @@
1
- import type { ActionType, TableState } from 'react-table';
1
+ import type { ActionType, TableState } from '../../../react-table/react-table.js';
2
2
  export declare const onTableResizeStart: <T extends Record<string, unknown>>(state: TableState<T>) => {
3
3
  isTableResizing: boolean;
4
- hiddenColumns?: import("react-table").IdType<T>[] | undefined;
4
+ hiddenColumns?: import("../../../react-table/react-table.js").IdType<T>[] | undefined;
5
5
  columnResizing: {
6
6
  startX?: number | undefined;
7
7
  columnWidth?: number | undefined;
@@ -17,18 +17,18 @@ export declare const onTableResizeStart: <T extends Record<string, unknown>>(sta
17
17
  isScrolledToLeft?: boolean | undefined;
18
18
  };
19
19
  lastSelectedRowId?: string | undefined;
20
- columnOrder: import("react-table").IdType<T>[];
21
- expanded: Record<import("react-table").IdType<T>, boolean>;
22
- filters: import("react-table").Filters<T>;
20
+ columnOrder: import("../../../react-table/react-table.js").IdType<T>[];
21
+ expanded: Record<import("../../../react-table/react-table.js").IdType<T>, boolean>;
22
+ filters: import("../../../react-table/react-table.js").Filters<T>;
23
23
  globalFilter: any;
24
- groupBy: import("react-table").IdType<T>[];
24
+ groupBy: import("../../../react-table/react-table.js").IdType<T>[];
25
25
  pageSize: number;
26
26
  pageIndex: number;
27
- selectedRowIds: Record<import("react-table").IdType<T>, boolean>;
27
+ selectedRowIds: Record<import("../../../react-table/react-table.js").IdType<T>, boolean>;
28
28
  rowState: Record<string, {
29
- cellState: import("react-table").UseRowStateLocalState<T, unknown>;
29
+ cellState: import("../../../react-table/react-table.js").UseRowStateLocalState<T, unknown>;
30
30
  }>;
31
- sortBy: import("react-table").SortingRule<T>[];
31
+ sortBy: import("../../../react-table/react-table.js").SortingRule<T>[];
32
32
  };
33
33
  export declare const onTableResizeEnd: <T extends Record<string, unknown>>(state: TableState<T>, action: ActionType) => {
34
34
  isTableResizing: boolean;
@@ -41,23 +41,23 @@ export declare const onTableResizeEnd: <T extends Record<string, unknown>>(state
41
41
  nextHeaderIdWidths?: [string, number][] | undefined;
42
42
  isResizingColumn?: string | undefined;
43
43
  };
44
- hiddenColumns?: import("react-table").IdType<T>[] | undefined;
44
+ hiddenColumns?: import("../../../react-table/react-table.js").IdType<T>[] | undefined;
45
45
  columnReorderStartIndex: number;
46
46
  sticky: {
47
47
  isScrolledToRight?: boolean | undefined;
48
48
  isScrolledToLeft?: boolean | undefined;
49
49
  };
50
50
  lastSelectedRowId?: string | undefined;
51
- columnOrder: import("react-table").IdType<T>[];
52
- expanded: Record<import("react-table").IdType<T>, boolean>;
53
- filters: import("react-table").Filters<T>;
51
+ columnOrder: import("../../../react-table/react-table.js").IdType<T>[];
52
+ expanded: Record<import("../../../react-table/react-table.js").IdType<T>, boolean>;
53
+ filters: import("../../../react-table/react-table.js").Filters<T>;
54
54
  globalFilter: any;
55
- groupBy: import("react-table").IdType<T>[];
55
+ groupBy: import("../../../react-table/react-table.js").IdType<T>[];
56
56
  pageSize: number;
57
57
  pageIndex: number;
58
- selectedRowIds: Record<import("react-table").IdType<T>, boolean>;
58
+ selectedRowIds: Record<import("../../../react-table/react-table.js").IdType<T>, boolean>;
59
59
  rowState: Record<string, {
60
- cellState: import("react-table").UseRowStateLocalState<T, unknown>;
60
+ cellState: import("../../../react-table/react-table.js").UseRowStateLocalState<T, unknown>;
61
61
  }>;
62
- sortBy: import("react-table").SortingRule<T>[];
62
+ sortBy: import("../../../react-table/react-table.js").SortingRule<T>[];
63
63
  };
@@ -1,4 +1,4 @@
1
- import type { ActionType, TableInstance, TableState } from 'react-table';
1
+ import type { ActionType, TableInstance, TableState } from '../../../react-table/react-table.js';
2
2
  /**
3
3
  * Handles selection when toggling a row (Ctrl click or checkbox click)
4
4
  */
@@ -9,7 +9,7 @@ export declare const onToggleHandler: <T extends Record<string, unknown>>(newSta
9
9
  export declare const onSingleSelectHandler: <T extends Record<string, unknown>>(state: TableState<T>, action: ActionType, instance?: TableInstance<T> | undefined, onSelect?: ((selectedData: T[] | undefined, tableState?: TableState<T> | undefined) => void) | undefined, isRowDisabled?: ((rowData: T) => boolean) | undefined) => {
10
10
  lastSelectedRowId: any;
11
11
  selectedRowIds: Record<string, boolean>;
12
- hiddenColumns?: import("react-table").IdType<T>[] | undefined;
12
+ hiddenColumns?: import("../../../react-table/react-table.js").IdType<T>[] | undefined;
13
13
  columnResizing: {
14
14
  startX?: number | undefined;
15
15
  columnWidth?: number | undefined;
@@ -25,17 +25,17 @@ export declare const onSingleSelectHandler: <T extends Record<string, unknown>>(
25
25
  isScrolledToRight?: boolean | undefined;
26
26
  isScrolledToLeft?: boolean | undefined;
27
27
  };
28
- columnOrder: import("react-table").IdType<T>[];
29
- expanded: Record<import("react-table").IdType<T>, boolean>;
30
- filters: import("react-table").Filters<T>;
28
+ columnOrder: import("../../../react-table/react-table.js").IdType<T>[];
29
+ expanded: Record<import("../../../react-table/react-table.js").IdType<T>, boolean>;
30
+ filters: import("../../../react-table/react-table.js").Filters<T>;
31
31
  globalFilter: any;
32
- groupBy: import("react-table").IdType<T>[];
32
+ groupBy: import("../../../react-table/react-table.js").IdType<T>[];
33
33
  pageSize: number;
34
34
  pageIndex: number;
35
35
  rowState: Record<string, {
36
- cellState: import("react-table").UseRowStateLocalState<T, unknown>;
36
+ cellState: import("../../../react-table/react-table.js").UseRowStateLocalState<T, unknown>;
37
37
  }>;
38
- sortBy: import("react-table").SortingRule<T>[];
38
+ sortBy: import("../../../react-table/react-table.js").SortingRule<T>[];
39
39
  };
40
40
  /**
41
41
  * Handles selection when clicked on a row while shift key is pressed.
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { CellRendererProps } from 'react-table';
2
+ import type { CellRendererProps } from '../../../react-table/react-table.js';
3
3
  export type DefaultCellProps<T extends Record<string, unknown>> = {
4
4
  /**
5
5
  * Custom icon to be displayed at the beginning of the cell.
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { CellRendererProps } from 'react-table';
2
+ import type { CellRendererProps } from '../../../react-table/react-table.js';
3
3
  export type EditableCellProps<T extends Record<string, unknown>> = CellRendererProps<T> & {
4
4
  /**
5
5
  * Callback function when cell is edited. It is called only when `onBlur` event is fired.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import type { HeaderProps } from 'react-table';
3
- import type { DropdownMenuProps } from '../../DropdownMenu/index.js';
2
+ import type { HeaderProps } from '../../../react-table/react-table.js';
3
+ import type { DropdownMenuProps } from '../../DropdownMenu/DropdownMenu.js';
4
4
  type ActionColumnProps = {
5
5
  columnManager?: boolean | {
6
6
  dropdownMenuProps: Omit<DropdownMenuProps, 'menuItems' | 'children'>;
@@ -3,15 +3,14 @@
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
- import { Checkbox } from '../../Checkbox/index.js';
6
+ import { Checkbox } from '../../Checkbox/Checkbox.js';
7
7
  import { SvgColumnManager } from '../../utils/index.js';
8
- import { DropdownMenu } from '../../DropdownMenu/index.js';
9
- import { IconButton } from '../../Buttons/IconButton/index.js';
10
- import { MenuItem } from '../../Menu/index.js';
8
+ import { DropdownMenu } from '../../DropdownMenu/DropdownMenu.js';
9
+ import { IconButton } from '../../Buttons/IconButton.js';
10
+ import { MenuItem } from '../../Menu/MenuItem.js';
11
11
  import { tableResizeStartAction } from '../Table.js';
12
12
  import { SELECTION_CELL_ID } from './selectionColumn.js';
13
13
  import { EXPANDER_CELL_ID } from './expanderColumn.js';
14
- import cx from 'classnames';
15
14
  const ACTION_CELL_ID = 'iui-table-action';
16
15
  /**
17
16
  * Action column that adds column manager to the Table header.
@@ -109,7 +108,6 @@ export const ActionColumn = ({ columnManager = false } = {}) => {
109
108
  setIsOpen(open);
110
109
  dropdownMenuProps?.onVisibleChange?.(open);
111
110
  },
112
- className: cx('iui-scroll', dropdownMenuProps.className),
113
111
  },
114
112
  React.createElement(
115
113
  IconButton,
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { CellProps, CellRendererProps, Row } from 'react-table';
2
+ import type { CellProps, CellRendererProps, Row } from '../../../react-table/react-table.js';
3
3
  export declare const EXPANDER_CELL_ID = "iui-table-expander";
4
4
  /**
5
5
  * Expander column that adds sub-content expander column to the Table.
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import { SvgChevronRight } from '../../utils/index.js';
7
- import { IconButton } from '../../Buttons/index.js';
7
+ import { IconButton } from '../../Buttons/IconButton.js';
8
8
  import { DefaultCell } from '../cells/index.js';
9
9
  export const EXPANDER_CELL_ID = 'iui-table-expander';
10
10
  /**
@@ -58,6 +58,7 @@ export const ExpanderColumn = (props = {}) => {
58
58
  row.toggleRowExpanded();
59
59
  },
60
60
  disabled: isDisabled?.(props.row.original),
61
+ 'aria-expanded': row.isExpanded,
61
62
  },
62
63
  React.createElement(SvgChevronRight, null),
63
64
  );
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { CellProps, CellRendererProps, HeaderProps } from 'react-table';
2
+ import type { CellProps, CellRendererProps, HeaderProps } from '../../../react-table/react-table.js';
3
3
  export declare const SELECTION_CELL_ID = "iui-table-checkbox-selector";
4
4
  /**
5
5
  * Selection column that adds selection checkbox column to the Table.
@@ -3,7 +3,7 @@
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
- import { Checkbox } from '../../Checkbox/index.js';
6
+ import { Checkbox } from '../../Checkbox/Checkbox.js';
7
7
  import { DefaultCell } from '../cells/index.js';
8
8
  export const SELECTION_CELL_ID = 'iui-table-checkbox-selector';
9
9
  /**
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { LabeledInput } from '../../../LabeledInput/index.js';
2
+ import type { LabeledInput } from '../../../LabeledInput/LabeledInput.js';
3
3
  import type { PolymorphicForwardRefComponent } from '../../../utils/index.js';
4
4
  import type { DatePickerLocalizedNames } from '../../../DatePicker/DatePicker.js';
5
5
  export type DatePickerInputProps = {
@@ -3,11 +3,12 @@
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
- import { Popover, SvgCalendar, isBefore, useId } from '../../../utils/index.js';
7
- import { DatePicker } from '../../../DatePicker/index.js';
8
- import { InputGrid } from '../../../InputGrid/index.js';
9
- import { Label } from '../../../Label/index.js';
10
- import { InputWithDecorations } from '../../../InputWithDecorations/index.js';
6
+ import { SvgCalendar, isBefore, useId } from '../../../utils/index.js';
7
+ import { DatePicker } from '../../../DatePicker/DatePicker.js';
8
+ import { InputGrid } from '../../../InputGrid/InputGrid.js';
9
+ import { Label } from '../../../Label/Label.js';
10
+ import { InputWithDecorations } from '../../../InputWithDecorations/InputWithDecorations.js';
11
+ import { Popover } from '../../../Popover/Popover.js';
11
12
  const DatePickerInput = React.forwardRef((props, forwardedRef) => {
12
13
  const uid = useId();
13
14
  const {
@@ -100,11 +101,13 @@ const DatePickerInput = React.forwardRef((props, forwardedRef) => {
100
101
  setFocus: true,
101
102
  isDateDisabled: isDateDisabled,
102
103
  localizedNames: localizedNames,
104
+ applyBackground: false,
103
105
  }),
104
106
  placement: 'bottom-end',
105
107
  visible: isVisible,
106
108
  onVisibleChange: setIsVisible,
107
109
  closeOnOutsideClick: true,
110
+ applyBackground: true,
108
111
  },
109
112
  React.createElement(
110
113
  InputWithDecorations.Button,
@@ -5,7 +5,7 @@
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
7
  import { Box, useGlobals } from '../../utils/index.js';
8
- import { Button } from '../../Buttons/index.js';
8
+ import { Button } from '../../Buttons/Button.js';
9
9
  const defaultStrings = {
10
10
  filter: 'Filter',
11
11
  clear: 'Clear',
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { HeaderGroup } from 'react-table';
2
+ import type { HeaderGroup } from '../../../react-table/react-table.js';
3
3
  import type { CommonProps } from '../../utils/index.js';
4
4
  export type FilterToggleProps<T extends Record<string, unknown>> = {
5
5
  column: HeaderGroup<T>;
@@ -4,13 +4,9 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
- import {
8
- useGlobals,
9
- Popover,
10
- SvgFilterHollow,
11
- SvgFilter,
12
- } from '../../utils/index.js';
13
- import { IconButton } from '../../Buttons/index.js';
7
+ import { useGlobals, SvgFilterHollow, SvgFilter } from '../../utils/index.js';
8
+ import { IconButton } from '../../Buttons/IconButton.js';
9
+ import { Popover } from '../../Popover/Popover.js';
14
10
  /**
15
11
  * Handles showing filter icon and opening filter component.
16
12
  */
@@ -45,6 +41,7 @@ export const FilterToggle = (props) => {
45
41
  visible: isVisible,
46
42
  onVisibleChange: setIsVisible,
47
43
  closeOnOutsideClick: true,
44
+ applyBackground: true,
48
45
  },
49
46
  React.createElement(
50
47
  IconButton,
@@ -6,7 +6,7 @@ import * as React from 'react';
6
6
  import { useGlobals } from '../../../utils/index.js';
7
7
  import { FilterButtonBar } from '../FilterButtonBar.js';
8
8
  import { BaseFilter } from '../BaseFilter.js';
9
- import { LabeledInput } from '../../../LabeledInput/index.js';
9
+ import { LabeledInput } from '../../../LabeledInput/LabeledInput.js';
10
10
  const defaultStrings = {
11
11
  from: 'From',
12
12
  to: 'To',
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import { useGlobals } from '../../../utils/index.js';
7
- import { Input } from '../../../Input/index.js';
7
+ import { Input } from '../../../Input/Input.js';
8
8
  import { FilterButtonBar } from '../FilterButtonBar.js';
9
9
  import { BaseFilter } from '../BaseFilter.js';
10
10
  export const TextFilter = (props) => {
@@ -1,4 +1,4 @@
1
- import type { IdType, Row } from 'react-table';
1
+ import type { IdType, Row } from '../../../react-table/react-table.js';
2
2
  export declare const customFilterFunctions: {
3
3
  betweenDate: {
4
4
  <T extends Record<string, unknown>>(rows: Row<T>[], ids: IdType<T>[], filterValue: [Date?, Date?] | undefined): Row<T>[];
@@ -24,7 +24,7 @@
24
24
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
25
  * SOFTWARE.
26
26
  */
27
- import type { IdType, Row } from 'react-table';
27
+ import type { IdType, Row } from '../../../react-table/react-table.js';
28
28
  export declare const defaultFilterFunctions: {
29
29
  text: {
30
30
  <T extends Record<string, unknown>>(rows: Row<T>[], ids: IdType<T>[], filterValue: string): Row<T>[];
@@ -1,4 +1,4 @@
1
- import type { FieldType, FilterProps, FilterType, HeaderGroup } from 'react-table';
1
+ import type { FieldType, FilterType, TableFilterProps } from '../../../react-table/react-table.js';
2
2
  export interface TableFilterValue<T extends Record<string, unknown>> {
3
3
  /**
4
4
  * Id of the column.
@@ -17,21 +17,4 @@ export interface TableFilterValue<T extends Record<string, unknown>> {
17
17
  */
18
18
  filterType: FilterType<T>;
19
19
  }
20
- export type TableFilterProps<T extends Record<string, unknown> | object> = FilterProps<T> & {
21
- /**
22
- * Data of column on which filter is opened. It is provided by the table it self.
23
- */
24
- column: HeaderGroup<T>;
25
- /**
26
- * Function to close the filter. It is provided by the table it self.
27
- */
28
- close: () => void;
29
- /**
30
- * Function to set the filter value. It is provided by the table it self.
31
- */
32
- setFilter: (filterValue: unknown | undefined) => void;
33
- /**
34
- * Function to clear the filter value. It is provided by the table it self.
35
- */
36
- clearFilter: () => void;
37
- };
20
+ export type { TableFilterProps };
@@ -1,2 +1,2 @@
1
- import type { Hooks } from 'react-table';
1
+ import type { Hooks } from '../../../react-table/react-table.js';
2
2
  export declare const useColumnDragAndDrop: <T extends Record<string, unknown>>(isEnabled: boolean) => (hooks: Hooks<T>) => void;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import type { CellProps, Hooks, Row } from 'react-table';
2
+ import type { CellProps, Hooks, Row } from '../../../react-table/react-table.js';
3
3
  export declare const useExpanderCell: <T extends Record<string, unknown>>(subComponent?: ((row: Row<T>) => React.ReactNode) | undefined, expanderCell?: ((cellProps: CellProps<T>) => React.ReactNode) | undefined, isRowDisabled?: ((rowData: T) => boolean) | undefined) => (hooks: Hooks<T>) => void;
@@ -30,7 +30,7 @@
30
30
  * SOFTWARE.
31
31
  */
32
32
  import type * as React from 'react';
33
- import type { Hooks } from 'react-table';
33
+ import type { Hooks } from '../../../react-table/react-table.js';
34
34
  export declare const useResizeColumns: {
35
35
  <T extends Record<string, unknown>>(ownerDocument: React.RefObject<Document | undefined>): (hooks: Hooks<T>) => void;
36
36
  pluginName: string;
@@ -1,4 +1,4 @@
1
- import type { Row } from 'react-table';
1
+ import type { Row } from '../../../react-table/react-table.js';
2
2
  import type { TableProps } from '../Table.js';
3
3
  type ScrollToRow<T extends Record<string, unknown>> = {
4
4
  scrollToIndex: number | undefined;
@@ -37,7 +37,7 @@ export function useScrollToRow({
37
37
  ) {
38
38
  return;
39
39
  }
40
- rowRefs.current[pageRef.current[scrollToIndex].id]?.scrollIntoView();
40
+ rowRefs.current[pageRef.current[scrollToIndex]?.id]?.scrollIntoView();
41
41
  }, [enableVirtualization, scrollToIndex]);
42
42
  const tableRowRef = React.useCallback((row) => {
43
43
  return (element) => {
@@ -1,2 +1,2 @@
1
- import type { Hooks } from 'react-table';
1
+ import type { Hooks } from '../../../react-table/react-table.js';
2
2
  export declare const useSelectionCell: <T extends Record<string, unknown>>(isSelectable: boolean, selectionMode: 'multi' | 'single', isRowDisabled?: ((rowData: T) => boolean) | undefined, density?: 'default' | 'condensed' | 'extra-condensed') => (hooks: Hooks<T>) => void;
@@ -1,2 +1,2 @@
1
- import type { Hooks } from 'react-table';
1
+ import type { Hooks } from '../../../react-table/react-table.js';
2
2
  export declare const useStickyColumns: <T extends Record<string, unknown>>(hooks: Hooks<T>) => void;
@@ -1,2 +1,2 @@
1
- import type { Hooks } from 'react-table';
1
+ import type { Hooks } from '../../../react-table/react-table.js';
2
2
  export declare const useSubRowFiltering: <T extends Record<string, unknown>>(hasAnySubRows: boolean) => (hooks: Hooks<T>) => void;
@@ -1,2 +1,2 @@
1
- import type { Hooks } from 'react-table';
1
+ import type { Hooks } from '../../../react-table/react-table.js';
2
2
  export declare const useSubRowSelection: <T extends Record<string, unknown>>(hooks: Hooks<T>) => void;
@@ -1,5 +1,5 @@
1
1
  export { Table } from './Table.js';
2
- export type { TableProps, TablePaginatorRendererProps } from './Table.js';
2
+ export type { TablePaginatorRendererProps } from './Table.js';
3
3
  export { BaseFilter, FilterButtonBar, tableFilters } from './filters/index.js';
4
4
  export type { BaseFilterProps, DateRangeFilterOptions, FilterButtonBarProps, FilterButtonBarTranslation, TableFilterProps, TableFilterValue, } from './filters/index.js';
5
5
  export { DefaultCell, EditableCell } from './cells/index.js';
@@ -1,3 +1,3 @@
1
- import type { ColumnInstance } from 'react-table';
1
+ import type { ColumnInstance } from '../../react-table/react-table.js';
2
2
  export declare const getCellStyle: <T extends Record<string, unknown>>(column: ColumnInstance<T>, isTableResizing: boolean) => React.CSSProperties | undefined;
3
3
  export declare const getStickyStyle: <T extends Record<string, unknown>>(column: ColumnInstance<T>, columnList: ColumnInstance<T>[]) => React.CSSProperties;