@itwin/itwinui-react 3.0.0-dev.8 → 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 (677) hide show
  1. package/CHANGELOG.md +79 -762
  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} +14 -26
  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/{esm/core/Buttons/SplitButton → cjs/core/Buttons}/SplitButton.d.ts +6 -6
  17. package/cjs/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +57 -34
  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 +8 -3
  38. package/cjs/core/ComboBox/ComboBox.js +48 -39
  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 +37 -29
  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 +74 -96
  45. package/cjs/core/ComboBox/helpers.d.ts +4 -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 +6 -5
  53. package/cjs/core/DropdownMenu/DropdownMenu.js +61 -56
  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 +7 -8
  65. package/cjs/core/Header/HeaderSplitButton.d.ts +1 -1
  66. package/cjs/core/Header/HeaderSplitButton.js +8 -9
  67. package/cjs/core/{utils/components → 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/Menu.js +1 -1
  85. package/cjs/core/Menu/MenuItem.js +78 -55
  86. package/cjs/core/Menu/MenuItemSkeleton.js +2 -1
  87. package/cjs/core/Modal/Modal.js +5 -5
  88. package/cjs/core/NonIdealState/ErrorPage.js +17 -15
  89. package/cjs/core/Popover/Popover.d.ts +141 -0
  90. package/cjs/core/Popover/Popover.js +188 -0
  91. package/cjs/core/RadioTiles/RadioTileGroup.d.ts +1 -1
  92. package/cjs/core/RadioTiles/RadioTileGroup.js +4 -4
  93. package/cjs/core/SearchBox/SearchBox.d.ts +3 -2
  94. package/cjs/core/SearchBox/SearchBox.js +4 -3
  95. package/cjs/core/Select/Select.d.ts +6 -6
  96. package/cjs/core/Select/Select.js +95 -111
  97. package/cjs/core/Select/SelectTagContainer.js +2 -2
  98. package/cjs/core/SideNavigation/SideNavigation.js +5 -5
  99. package/cjs/core/SideNavigation/SidenavButton.d.ts +1 -1
  100. package/cjs/core/SideNavigation/SidenavButton.js +2 -2
  101. package/cjs/core/Slider/Slider.d.ts +3 -7
  102. package/cjs/core/Slider/Slider.js +8 -22
  103. package/cjs/core/Slider/Thumb.d.ts +2 -3
  104. package/cjs/core/Slider/Thumb.js +5 -9
  105. package/cjs/core/StatusMessage/StatusMessage.d.ts +1 -1
  106. package/cjs/core/StatusMessage/StatusMessage.js +2 -1
  107. package/cjs/core/Stepper/StepperStep.js +7 -7
  108. package/cjs/core/Stepper/WorkflowDiagramStep.js +5 -5
  109. package/cjs/core/Surface/Surface.d.ts +8 -0
  110. package/cjs/core/Surface/Surface.js +19 -1
  111. package/cjs/core/Table/SubRowExpander.d.ts +1 -1
  112. package/cjs/core/Table/SubRowExpander.js +2 -2
  113. package/cjs/core/Table/Table.d.ts +1 -1
  114. package/cjs/core/Table/Table.js +53 -60
  115. package/cjs/core/Table/TableCell.d.ts +1 -1
  116. package/cjs/core/Table/TablePaginator.js +27 -25
  117. package/cjs/core/Table/TableRowMemoized.d.ts +1 -1
  118. package/cjs/core/Table/actionHandlers/expandHandler.d.ts +1 -1
  119. package/cjs/core/Table/actionHandlers/filterHandler.d.ts +1 -1
  120. package/cjs/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
  121. package/cjs/core/Table/actionHandlers/selectHandler.d.ts +8 -8
  122. package/cjs/core/Table/cells/DefaultCell.d.ts +1 -1
  123. package/cjs/core/Table/cells/EditableCell.d.ts +1 -1
  124. package/cjs/core/Table/columns/actionColumn.d.ts +2 -2
  125. package/cjs/core/Table/columns/actionColumn.js +13 -22
  126. package/cjs/core/Table/columns/expanderColumn.d.ts +1 -1
  127. package/cjs/core/Table/columns/expanderColumn.js +5 -4
  128. package/cjs/core/Table/columns/selectionColumn.d.ts +1 -1
  129. package/cjs/core/Table/columns/selectionColumn.js +5 -5
  130. package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
  131. package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +41 -40
  132. package/cjs/core/Table/filters/FilterButtonBar.js +3 -3
  133. package/cjs/core/Table/filters/FilterToggle.d.ts +1 -1
  134. package/cjs/core/Table/filters/FilterToggle.js +8 -5
  135. package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +3 -3
  136. package/cjs/core/Table/filters/TextFilter/TextFilter.js +2 -2
  137. package/cjs/core/Table/filters/customFilterFunctions.d.ts +1 -1
  138. package/cjs/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
  139. package/cjs/core/Table/filters/types.d.ts +2 -19
  140. package/cjs/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
  141. package/cjs/core/Table/hooks/useExpanderCell.d.ts +1 -1
  142. package/cjs/core/Table/hooks/useResizeColumns.d.ts +1 -1
  143. package/cjs/core/Table/hooks/useScrollToRow.d.ts +1 -1
  144. package/cjs/core/Table/hooks/useScrollToRow.js +1 -1
  145. package/cjs/core/Table/hooks/useSelectionCell.d.ts +1 -1
  146. package/cjs/core/Table/hooks/useStickyColumns.d.ts +1 -1
  147. package/cjs/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
  148. package/cjs/core/Table/hooks/useSubRowSelection.d.ts +1 -1
  149. package/cjs/core/Table/index.d.ts +1 -1
  150. package/cjs/core/Table/utils.d.ts +1 -1
  151. package/cjs/core/Tabs/Tabs.d.ts +222 -52
  152. package/cjs/core/Tabs/Tabs.js +429 -375
  153. package/cjs/core/Tag/Tag.js +2 -2
  154. package/cjs/core/Textarea/Textarea.js +2 -2
  155. package/cjs/core/ThemeProvider/ThemeProvider.d.ts +3 -2
  156. package/cjs/core/ThemeProvider/ThemeProvider.js +17 -8
  157. package/cjs/core/Tile/Tile.d.ts +2 -2
  158. package/cjs/core/Tile/Tile.js +40 -39
  159. package/cjs/core/Toast/Toast.js +2 -2
  160. package/cjs/core/TransferList/TransferList.d.ts +1 -1
  161. package/cjs/core/TransferList/TransferList.js +6 -5
  162. package/cjs/core/Tree/TreeNodeExpander.d.ts +1 -1
  163. package/cjs/core/Tree/TreeNodeExpander.js +2 -2
  164. package/{esm/core/Typography/Anchor → cjs/core/Typography}/Anchor.d.ts +1 -1
  165. package/cjs/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
  166. package/{esm/core/Typography/Blockquote → cjs/core/Typography}/Blockquote.d.ts +1 -1
  167. package/cjs/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
  168. package/cjs/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
  169. package/cjs/core/Typography/{Code/Code.js → Code.js} +1 -1
  170. package/{esm/core/Typography/Kbd → cjs/core/Typography}/Kbd.d.ts +1 -1
  171. package/cjs/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
  172. package/{esm/core/Typography/Text → cjs/core/Typography}/Text.d.ts +1 -1
  173. package/cjs/core/Typography/{Text/Text.js → Text.js} +1 -1
  174. package/{esm/core/utils/components → cjs/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
  175. package/cjs/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
  176. package/cjs/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
  177. package/cjs/core/utils/components/InputContainer.d.ts +4 -4
  178. package/cjs/core/utils/components/InputContainer.js +11 -7
  179. package/cjs/core/utils/components/WithCSSTransition.js +7 -1
  180. package/cjs/core/utils/components/index.d.ts +0 -6
  181. package/cjs/core/utils/components/index.js +0 -6
  182. package/cjs/core/utils/functions/dev.d.ts +11 -0
  183. package/cjs/core/utils/functions/dev.js +34 -0
  184. package/cjs/core/utils/functions/index.d.ts +1 -0
  185. package/cjs/core/utils/functions/index.js +1 -0
  186. package/cjs/core/utils/hooks/useGlobals.d.ts +1 -1
  187. package/cjs/core/utils/hooks/useGlobals.js +3 -7
  188. package/cjs/core/utils/hooks/useOverflow.js +3 -1
  189. package/cjs/index.d.ts +112 -2
  190. package/cjs/index.js +950 -5
  191. package/cjs/react-table/react-table.d.ts +745 -0
  192. package/cjs/{core/Badge/index.js → react-table/react-table.js} +5 -10
  193. package/cjs/styles.js +15 -18
  194. package/esm/core/Alert/Alert.d.ts +1 -1
  195. package/esm/core/Alert/Alert.js +2 -2
  196. package/esm/core/Avatar/Avatar.js +2 -6
  197. package/esm/core/Breadcrumbs/Breadcrumbs.js +24 -6
  198. package/esm/core/ButtonGroup/ButtonGroup.js +6 -8
  199. package/esm/core/Buttons/{Button/Button.d.ts → Button.d.ts} +2 -2
  200. package/esm/core/Buttons/{Button/Button.js → Button.js} +1 -1
  201. package/{cjs/core/Buttons/DropdownButton → esm/core/Buttons}/DropdownButton.d.ts +3 -3
  202. package/esm/core/Buttons/{DropdownButton/DropdownButton.js → DropdownButton.js} +10 -26
  203. package/{cjs/core/Buttons/IconButton → esm/core/Buttons}/IconButton.d.ts +2 -2
  204. package/esm/core/Buttons/{IconButton/IconButton.js → IconButton.js} +3 -2
  205. package/{cjs/core/Buttons/IdeasButton → esm/core/Buttons}/IdeasButton.d.ts +1 -1
  206. package/esm/core/Buttons/{IdeasButton/IdeasButton.js → IdeasButton.js} +2 -2
  207. package/{cjs/core/Buttons/SplitButton → esm/core/Buttons}/SplitButton.d.ts +6 -6
  208. package/esm/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +56 -31
  209. package/esm/core/Carousel/Carousel.d.ts +14 -7
  210. package/esm/core/Carousel/Carousel.js +9 -39
  211. package/esm/core/Carousel/CarouselContext.d.ts +0 -4
  212. package/esm/core/Carousel/CarouselDot.js +1 -1
  213. package/esm/core/Carousel/CarouselDotsList.js +26 -2
  214. package/esm/core/Carousel/CarouselNavigation.d.ts +3 -3
  215. package/esm/core/Carousel/CarouselNavigation.js +6 -23
  216. package/esm/core/Carousel/CarouselSlide.d.ts +1 -1
  217. package/esm/core/Carousel/CarouselSlide.js +15 -3
  218. package/esm/core/Carousel/CarouselSlider.d.ts +1 -1
  219. package/esm/core/Carousel/CarouselSlider.js +2 -2
  220. package/esm/core/Checkbox/Checkbox.js +1 -1
  221. package/esm/core/ColorPicker/ColorBuilder.js +3 -1
  222. package/esm/core/ColorPicker/ColorInputPanel.js +27 -7
  223. package/esm/core/ColorPicker/ColorPalette.js +3 -83
  224. package/esm/core/ColorPicker/ColorPicker.d.ts +9 -0
  225. package/esm/core/ColorPicker/ColorPicker.js +6 -1
  226. package/esm/core/ColorPicker/ColorSwatch.d.ts +1 -1
  227. package/esm/core/ColorPicker/ColorSwatch.js +18 -12
  228. package/esm/core/ComboBox/ComboBox.d.ts +8 -3
  229. package/esm/core/ComboBox/ComboBox.js +38 -27
  230. package/esm/core/ComboBox/ComboBoxEndIcon.js +2 -1
  231. package/esm/core/ComboBox/ComboBoxInput.d.ts +1 -1
  232. package/esm/core/ComboBox/ComboBoxInput.js +23 -22
  233. package/esm/core/ComboBox/ComboBoxInputContainer.js +1 -1
  234. package/esm/core/ComboBox/ComboBoxMenu.d.ts +1 -1
  235. package/esm/core/ComboBox/ComboBoxMenu.js +68 -90
  236. package/esm/core/ComboBox/helpers.d.ts +4 -1
  237. package/esm/core/DatePicker/DatePicker.d.ts +9 -0
  238. package/esm/core/DatePicker/DatePicker.js +12 -3
  239. package/esm/core/Dialog/DialogBackdrop.js +1 -1
  240. package/esm/core/Dialog/DialogTitleBar.js +1 -1
  241. package/esm/core/{utils/components → Divider}/Divider.d.ts +1 -1
  242. package/esm/core/{utils/components → Divider}/Divider.js +1 -1
  243. package/esm/core/DropdownMenu/DropdownMenu.d.ts +6 -5
  244. package/esm/core/DropdownMenu/DropdownMenu.js +64 -57
  245. package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +1 -1
  246. package/esm/core/ExpandableBlock/ExpandableBlock.js +1 -1
  247. package/esm/core/FileUpload/FileUploadCard.js +2 -2
  248. package/esm/core/FileUpload/FileUploadTemplate.js +1 -1
  249. package/esm/core/{utils/components → Flex}/Flex.d.ts +2 -2
  250. package/esm/core/{utils/components → Flex}/Flex.js +1 -1
  251. package/esm/core/Header/Header.js +2 -2
  252. package/esm/core/Header/HeaderBasicButton.d.ts +1 -1
  253. package/esm/core/Header/HeaderButton.d.ts +2 -2
  254. package/esm/core/Header/HeaderDropdownButton.d.ts +1 -1
  255. package/esm/core/Header/HeaderDropdownButton.js +2 -3
  256. package/esm/core/Header/HeaderSplitButton.d.ts +1 -1
  257. package/esm/core/Header/HeaderSplitButton.js +2 -3
  258. package/esm/core/{utils/components → Icon}/Icon.d.ts +2 -2
  259. package/esm/core/{utils/components → Icon}/Icon.js +1 -1
  260. package/esm/core/InformationPanel/InformationPanelHeader.js +1 -1
  261. package/esm/core/Input/Input.d.ts +0 -1
  262. package/esm/core/Input/Input.js +0 -1
  263. package/esm/core/InputGroup/InputGroup.d.ts +1 -1
  264. package/esm/core/InputGroup/InputGroup.js +3 -3
  265. package/esm/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
  266. package/esm/core/InputWithDecorations/InputWithDecorations.js +1 -1
  267. package/esm/core/LabeledInput/LabeledInput.d.ts +4 -4
  268. package/esm/core/LabeledInput/LabeledInput.js +5 -4
  269. package/esm/core/LabeledSelect/LabeledSelect.d.ts +2 -2
  270. package/esm/core/LabeledSelect/LabeledSelect.js +6 -4
  271. package/esm/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
  272. package/esm/core/LabeledTextarea/LabeledTextarea.js +2 -2
  273. package/{cjs/core/utils/components → esm/core/LinkAction}/LinkAction.d.ts +2 -2
  274. package/esm/core/{utils/components → LinkAction}/LinkAction.js +1 -1
  275. package/esm/core/Menu/Menu.js +7 -2
  276. package/esm/core/Menu/MenuItem.js +84 -52
  277. package/esm/core/Menu/MenuItemSkeleton.js +2 -1
  278. package/esm/core/Modal/Modal.js +1 -1
  279. package/esm/core/NonIdealState/ErrorPage.js +2 -2
  280. package/esm/core/Popover/Popover.d.ts +141 -0
  281. package/esm/core/Popover/Popover.js +205 -0
  282. package/esm/core/RadioTiles/RadioTileGroup.d.ts +1 -1
  283. package/esm/core/RadioTiles/RadioTileGroup.js +1 -1
  284. package/esm/core/SearchBox/SearchBox.d.ts +3 -2
  285. package/esm/core/SearchBox/SearchBox.js +2 -2
  286. package/esm/core/Select/Select.d.ts +6 -6
  287. package/esm/core/Select/Select.js +81 -96
  288. package/esm/core/Select/SelectTagContainer.js +1 -1
  289. package/esm/core/SideNavigation/SideNavigation.js +2 -2
  290. package/esm/core/SideNavigation/SidenavButton.d.ts +1 -1
  291. package/esm/core/SideNavigation/SidenavButton.js +1 -1
  292. package/esm/core/Slider/Slider.d.ts +3 -7
  293. package/esm/core/Slider/Slider.js +8 -19
  294. package/esm/core/Slider/Thumb.d.ts +2 -3
  295. package/esm/core/Slider/Thumb.js +2 -6
  296. package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
  297. package/esm/core/StatusMessage/StatusMessage.js +2 -1
  298. package/esm/core/Stepper/StepperStep.js +1 -1
  299. package/esm/core/Stepper/WorkflowDiagramStep.js +1 -1
  300. package/esm/core/Surface/Surface.d.ts +8 -0
  301. package/esm/core/Surface/Surface.js +19 -1
  302. package/esm/core/Table/SubRowExpander.d.ts +1 -1
  303. package/esm/core/Table/SubRowExpander.js +1 -1
  304. package/esm/core/Table/Table.d.ts +1 -1
  305. package/esm/core/Table/Table.js +7 -13
  306. package/esm/core/Table/TableCell.d.ts +1 -1
  307. package/esm/core/Table/TablePaginator.js +5 -3
  308. package/esm/core/Table/TableRowMemoized.d.ts +1 -1
  309. package/esm/core/Table/actionHandlers/expandHandler.d.ts +1 -1
  310. package/esm/core/Table/actionHandlers/filterHandler.d.ts +1 -1
  311. package/esm/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
  312. package/esm/core/Table/actionHandlers/selectHandler.d.ts +8 -8
  313. package/esm/core/Table/cells/DefaultCell.d.ts +1 -1
  314. package/esm/core/Table/cells/EditableCell.d.ts +1 -1
  315. package/esm/core/Table/columns/actionColumn.d.ts +2 -2
  316. package/esm/core/Table/columns/actionColumn.js +7 -13
  317. package/esm/core/Table/columns/expanderColumn.d.ts +1 -1
  318. package/esm/core/Table/columns/expanderColumn.js +2 -1
  319. package/esm/core/Table/columns/selectionColumn.d.ts +1 -1
  320. package/esm/core/Table/columns/selectionColumn.js +1 -1
  321. package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
  322. package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.js +44 -46
  323. package/esm/core/Table/filters/FilterButtonBar.js +1 -1
  324. package/esm/core/Table/filters/FilterToggle.d.ts +1 -1
  325. package/esm/core/Table/filters/FilterToggle.js +7 -9
  326. package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
  327. package/esm/core/Table/filters/TextFilter/TextFilter.js +1 -1
  328. package/esm/core/Table/filters/customFilterFunctions.d.ts +1 -1
  329. package/esm/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
  330. package/esm/core/Table/filters/types.d.ts +2 -19
  331. package/esm/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
  332. package/esm/core/Table/hooks/useExpanderCell.d.ts +1 -1
  333. package/esm/core/Table/hooks/useResizeColumns.d.ts +1 -1
  334. package/esm/core/Table/hooks/useScrollToRow.d.ts +1 -1
  335. package/esm/core/Table/hooks/useScrollToRow.js +1 -1
  336. package/esm/core/Table/hooks/useSelectionCell.d.ts +1 -1
  337. package/esm/core/Table/hooks/useStickyColumns.d.ts +1 -1
  338. package/esm/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
  339. package/esm/core/Table/hooks/useSubRowSelection.d.ts +1 -1
  340. package/esm/core/Table/index.d.ts +1 -1
  341. package/esm/core/Table/utils.d.ts +1 -1
  342. package/esm/core/Tabs/Tabs.d.ts +222 -52
  343. package/esm/core/Tabs/Tabs.js +424 -368
  344. package/esm/core/Tag/Tag.js +1 -1
  345. package/esm/core/Textarea/Textarea.js +1 -1
  346. package/esm/core/ThemeProvider/ThemeProvider.d.ts +3 -2
  347. package/esm/core/ThemeProvider/ThemeProvider.js +17 -8
  348. package/esm/core/Tile/Tile.d.ts +2 -2
  349. package/esm/core/Tile/Tile.js +36 -36
  350. package/esm/core/Toast/Toast.js +1 -1
  351. package/esm/core/TransferList/TransferList.d.ts +1 -1
  352. package/esm/core/TransferList/TransferList.js +3 -2
  353. package/esm/core/Tree/TreeNodeExpander.d.ts +1 -1
  354. package/esm/core/Tree/TreeNodeExpander.js +1 -1
  355. package/{cjs/core/Typography/Anchor → esm/core/Typography}/Anchor.d.ts +1 -1
  356. package/esm/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
  357. package/{cjs/core/Typography/Blockquote → esm/core/Typography}/Blockquote.d.ts +1 -1
  358. package/esm/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
  359. package/esm/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
  360. package/esm/core/Typography/{Code/Code.js → Code.js} +1 -1
  361. package/{cjs/core/Typography/Kbd → esm/core/Typography}/Kbd.d.ts +1 -1
  362. package/esm/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
  363. package/{cjs/core/Typography/Text → esm/core/Typography}/Text.d.ts +1 -1
  364. package/esm/core/Typography/{Text/Text.js → Text.js} +1 -1
  365. package/{cjs/core/utils/components → esm/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
  366. package/esm/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
  367. package/esm/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
  368. package/esm/core/utils/components/InputContainer.d.ts +4 -4
  369. package/esm/core/utils/components/InputContainer.js +9 -4
  370. package/esm/core/utils/components/WithCSSTransition.js +7 -1
  371. package/esm/core/utils/components/index.d.ts +0 -6
  372. package/esm/core/utils/components/index.js +0 -6
  373. package/esm/core/utils/functions/dev.d.ts +11 -0
  374. package/esm/core/utils/functions/dev.js +29 -0
  375. package/esm/core/utils/functions/index.d.ts +1 -0
  376. package/esm/core/utils/functions/index.js +1 -0
  377. package/esm/core/utils/hooks/useGlobals.d.ts +1 -1
  378. package/esm/core/utils/hooks/useGlobals.js +1 -5
  379. package/esm/core/utils/hooks/useOverflow.js +3 -1
  380. package/esm/index.d.ts +112 -2
  381. package/esm/index.js +123 -2
  382. package/esm/react-table/react-table.d.ts +745 -0
  383. package/esm/{core/Backdrop/index.js → react-table/react-table.js} +5 -1
  384. package/esm/styles.js +15 -18
  385. package/package.json +22 -23
  386. package/react-table.d.ts +745 -0
  387. package/styles.css +58 -67
  388. package/cjs/core/Alert/index.d.ts +0 -3
  389. package/cjs/core/Alert/index.js +0 -15
  390. package/cjs/core/Avatar/index.d.ts +0 -3
  391. package/cjs/core/Avatar/index.js +0 -15
  392. package/cjs/core/AvatarGroup/index.d.ts +0 -3
  393. package/cjs/core/AvatarGroup/index.js +0 -15
  394. package/cjs/core/Backdrop/index.d.ts +0 -1
  395. package/cjs/core/Backdrop/index.js +0 -14
  396. package/cjs/core/Badge/index.d.ts +0 -3
  397. package/cjs/core/Breadcrumbs/index.d.ts +0 -3
  398. package/cjs/core/Breadcrumbs/index.js +0 -15
  399. package/cjs/core/ButtonGroup/index.d.ts +0 -3
  400. package/cjs/core/ButtonGroup/index.js +0 -15
  401. package/cjs/core/Buttons/Button/index.d.ts +0 -3
  402. package/cjs/core/Buttons/Button/index.js +0 -15
  403. package/cjs/core/Buttons/DropdownButton/index.d.ts +0 -3
  404. package/cjs/core/Buttons/DropdownButton/index.js +0 -15
  405. package/cjs/core/Buttons/IconButton/index.d.ts +0 -3
  406. package/cjs/core/Buttons/IconButton/index.js +0 -15
  407. package/cjs/core/Buttons/IdeasButton/index.d.ts +0 -3
  408. package/cjs/core/Buttons/IdeasButton/index.js +0 -15
  409. package/cjs/core/Buttons/SplitButton/index.d.ts +0 -3
  410. package/cjs/core/Buttons/SplitButton/index.js +0 -15
  411. package/cjs/core/Buttons/index.d.ts +0 -5
  412. package/cjs/core/Buttons/index.js +0 -47
  413. package/cjs/core/Carousel/index.d.ts +0 -3
  414. package/cjs/core/Carousel/index.js +0 -15
  415. package/cjs/core/Checkbox/index.d.ts +0 -3
  416. package/cjs/core/Checkbox/index.js +0 -15
  417. package/cjs/core/ColorPicker/index.d.ts +0 -7
  418. package/cjs/core/ColorPicker/index.js +0 -48
  419. package/cjs/core/ComboBox/ComboBoxDropdown.d.ts +0 -7
  420. package/cjs/core/ComboBox/ComboBoxDropdown.js +0 -43
  421. package/cjs/core/ComboBox/index.d.ts +0 -3
  422. package/cjs/core/ComboBox/index.js +0 -15
  423. package/cjs/core/DatePicker/index.d.ts +0 -3
  424. package/cjs/core/DatePicker/index.js +0 -21
  425. package/cjs/core/Dialog/index.d.ts +0 -3
  426. package/cjs/core/Dialog/index.js +0 -15
  427. package/cjs/core/DropdownMenu/index.d.ts +0 -4
  428. package/cjs/core/DropdownMenu/index.js +0 -15
  429. package/cjs/core/ExpandableBlock/index.d.ts +0 -3
  430. package/cjs/core/ExpandableBlock/index.js +0 -15
  431. package/cjs/core/Fieldset/index.d.ts +0 -3
  432. package/cjs/core/Fieldset/index.js +0 -15
  433. package/cjs/core/FileUpload/index.d.ts +0 -6
  434. package/cjs/core/FileUpload/index.js +0 -40
  435. package/cjs/core/Footer/index.d.ts +0 -4
  436. package/cjs/core/Footer/index.js +0 -21
  437. package/cjs/core/Header/index.d.ts +0 -6
  438. package/cjs/core/Header/index.js +0 -40
  439. package/cjs/core/InformationPanel/index.d.ts +0 -7
  440. package/cjs/core/InformationPanel/index.js +0 -48
  441. package/cjs/core/Input/index.d.ts +0 -3
  442. package/cjs/core/Input/index.js +0 -15
  443. package/cjs/core/InputGrid/index.d.ts +0 -3
  444. package/cjs/core/InputGrid/index.js +0 -15
  445. package/cjs/core/InputGroup/index.d.ts +0 -3
  446. package/cjs/core/InputGroup/index.js +0 -15
  447. package/cjs/core/InputWithDecorations/index.d.ts +0 -3
  448. package/cjs/core/InputWithDecorations/index.js +0 -15
  449. package/cjs/core/Label/index.d.ts +0 -3
  450. package/cjs/core/Label/index.js +0 -15
  451. package/cjs/core/LabeledInput/index.d.ts +0 -3
  452. package/cjs/core/LabeledInput/index.js +0 -15
  453. package/cjs/core/LabeledSelect/index.d.ts +0 -3
  454. package/cjs/core/LabeledSelect/index.js +0 -15
  455. package/cjs/core/LabeledTextarea/index.d.ts +0 -3
  456. package/cjs/core/LabeledTextarea/index.js +0 -15
  457. package/cjs/core/List/index.d.ts +0 -2
  458. package/cjs/core/List/index.js +0 -21
  459. package/cjs/core/Menu/index.d.ts +0 -5
  460. package/cjs/core/Menu/index.js +0 -47
  461. package/cjs/core/Modal/index.d.ts +0 -5
  462. package/cjs/core/Modal/index.js +0 -29
  463. package/cjs/core/NonIdealState/index.d.ts +0 -5
  464. package/cjs/core/NonIdealState/index.js +0 -22
  465. package/cjs/core/NotificationMarker/index.d.ts +0 -3
  466. package/cjs/core/NotificationMarker/index.js +0 -15
  467. package/cjs/core/Overlay/index.d.ts +0 -1
  468. package/cjs/core/Overlay/index.js +0 -14
  469. package/cjs/core/ProgressIndicators/index.d.ts +0 -2
  470. package/cjs/core/ProgressIndicators/index.js +0 -21
  471. package/cjs/core/Radio/index.d.ts +0 -3
  472. package/cjs/core/Radio/index.js +0 -15
  473. package/cjs/core/RadioTiles/index.d.ts +0 -4
  474. package/cjs/core/RadioTiles/index.js +0 -22
  475. package/cjs/core/SearchBox/index.d.ts +0 -3
  476. package/cjs/core/SearchBox/index.js +0 -15
  477. package/cjs/core/Select/index.d.ts +0 -4
  478. package/cjs/core/Select/index.js +0 -15
  479. package/cjs/core/SideNavigation/index.d.ts +0 -6
  480. package/cjs/core/SideNavigation/index.js +0 -40
  481. package/cjs/core/SkipToContentLink/index.d.ts +0 -3
  482. package/cjs/core/SkipToContentLink/index.js +0 -15
  483. package/cjs/core/Slider/index.d.ts +0 -3
  484. package/cjs/core/Slider/index.js +0 -15
  485. package/cjs/core/StatusMessage/index.d.ts +0 -3
  486. package/cjs/core/StatusMessage/index.js +0 -15
  487. package/cjs/core/Stepper/index.d.ts +0 -3
  488. package/cjs/core/Stepper/index.js +0 -21
  489. package/cjs/core/Surface/index.d.ts +0 -3
  490. package/cjs/core/Surface/index.js +0 -15
  491. package/cjs/core/Tabs/Tab.d.ts +0 -40
  492. package/cjs/core/Tabs/Tab.js +0 -65
  493. package/cjs/core/Tabs/index.d.ts +0 -2
  494. package/cjs/core/Tabs/index.js +0 -21
  495. package/cjs/core/Tag/index.d.ts +0 -4
  496. package/cjs/core/Tag/index.js +0 -22
  497. package/cjs/core/Textarea/index.d.ts +0 -3
  498. package/cjs/core/Textarea/index.js +0 -15
  499. package/cjs/core/ThemeProvider/index.d.ts +0 -4
  500. package/cjs/core/ThemeProvider/index.js +0 -15
  501. package/cjs/core/Tile/index.d.ts +0 -3
  502. package/cjs/core/Tile/index.js +0 -15
  503. package/cjs/core/TimePicker/index.d.ts +0 -4
  504. package/cjs/core/TimePicker/index.js +0 -15
  505. package/cjs/core/Toast/index.d.ts +0 -1
  506. package/cjs/core/Toast/index.js +0 -14
  507. package/cjs/core/ToggleSwitch/index.d.ts +0 -3
  508. package/cjs/core/ToggleSwitch/index.js +0 -15
  509. package/cjs/core/Tooltip/index.d.ts +0 -3
  510. package/cjs/core/Tooltip/index.js +0 -15
  511. package/cjs/core/TransferList/index.d.ts +0 -3
  512. package/cjs/core/TransferList/index.js +0 -15
  513. package/cjs/core/Tree/index.d.ts +0 -4
  514. package/cjs/core/Tree/index.js +0 -28
  515. package/cjs/core/Typography/Anchor/index.d.ts +0 -3
  516. package/cjs/core/Typography/Anchor/index.js +0 -15
  517. package/cjs/core/Typography/Blockquote/index.d.ts +0 -3
  518. package/cjs/core/Typography/Blockquote/index.js +0 -15
  519. package/cjs/core/Typography/Code/index.d.ts +0 -3
  520. package/cjs/core/Typography/Code/index.js +0 -15
  521. package/cjs/core/Typography/Kbd/index.d.ts +0 -3
  522. package/cjs/core/Typography/Kbd/index.js +0 -21
  523. package/cjs/core/Typography/Text/index.d.ts +0 -3
  524. package/cjs/core/Typography/Text/index.js +0 -15
  525. package/cjs/core/Typography/index.d.ts +0 -5
  526. package/cjs/core/Typography/index.js +0 -54
  527. package/cjs/core/index.d.ts +0 -68
  528. package/cjs/core/index.js +0 -909
  529. package/cjs/core/utils/components/Popover.d.ts +0 -39
  530. package/cjs/core/utils/components/Popover.js +0 -132
  531. package/cjs/types/react-table-config.d.ts +0 -135
  532. package/cjs/types/react-table-config.js +0 -2
  533. package/esm/core/Alert/index.d.ts +0 -3
  534. package/esm/core/Alert/index.js +0 -6
  535. package/esm/core/Avatar/index.d.ts +0 -3
  536. package/esm/core/Avatar/index.js +0 -6
  537. package/esm/core/AvatarGroup/index.d.ts +0 -3
  538. package/esm/core/AvatarGroup/index.js +0 -6
  539. package/esm/core/Backdrop/index.d.ts +0 -1
  540. package/esm/core/Badge/index.d.ts +0 -3
  541. package/esm/core/Badge/index.js +0 -6
  542. package/esm/core/Breadcrumbs/index.d.ts +0 -3
  543. package/esm/core/Breadcrumbs/index.js +0 -6
  544. package/esm/core/ButtonGroup/index.d.ts +0 -3
  545. package/esm/core/ButtonGroup/index.js +0 -6
  546. package/esm/core/Buttons/Button/index.d.ts +0 -3
  547. package/esm/core/Buttons/Button/index.js +0 -6
  548. package/esm/core/Buttons/DropdownButton/index.d.ts +0 -3
  549. package/esm/core/Buttons/DropdownButton/index.js +0 -6
  550. package/esm/core/Buttons/IconButton/index.d.ts +0 -3
  551. package/esm/core/Buttons/IconButton/index.js +0 -6
  552. package/esm/core/Buttons/IdeasButton/index.d.ts +0 -3
  553. package/esm/core/Buttons/IdeasButton/index.js +0 -6
  554. package/esm/core/Buttons/SplitButton/index.d.ts +0 -3
  555. package/esm/core/Buttons/SplitButton/index.js +0 -6
  556. package/esm/core/Buttons/index.d.ts +0 -5
  557. package/esm/core/Buttons/index.js +0 -9
  558. package/esm/core/Carousel/index.d.ts +0 -3
  559. package/esm/core/Carousel/index.js +0 -6
  560. package/esm/core/Checkbox/index.d.ts +0 -3
  561. package/esm/core/Checkbox/index.js +0 -6
  562. package/esm/core/ColorPicker/index.d.ts +0 -7
  563. package/esm/core/ColorPicker/index.js +0 -10
  564. package/esm/core/ComboBox/ComboBoxDropdown.d.ts +0 -7
  565. package/esm/core/ComboBox/ComboBoxDropdown.js +0 -37
  566. package/esm/core/ComboBox/index.d.ts +0 -3
  567. package/esm/core/ComboBox/index.js +0 -6
  568. package/esm/core/DatePicker/index.d.ts +0 -3
  569. package/esm/core/DatePicker/index.js +0 -6
  570. package/esm/core/Dialog/index.d.ts +0 -3
  571. package/esm/core/Dialog/index.js +0 -6
  572. package/esm/core/DropdownMenu/index.d.ts +0 -4
  573. package/esm/core/DropdownMenu/index.js +0 -6
  574. package/esm/core/ExpandableBlock/index.d.ts +0 -3
  575. package/esm/core/ExpandableBlock/index.js +0 -6
  576. package/esm/core/Fieldset/index.d.ts +0 -3
  577. package/esm/core/Fieldset/index.js +0 -6
  578. package/esm/core/FileUpload/index.d.ts +0 -6
  579. package/esm/core/FileUpload/index.js +0 -9
  580. package/esm/core/Footer/index.d.ts +0 -4
  581. package/esm/core/Footer/index.js +0 -6
  582. package/esm/core/Header/index.d.ts +0 -6
  583. package/esm/core/Header/index.js +0 -9
  584. package/esm/core/InformationPanel/index.d.ts +0 -7
  585. package/esm/core/InformationPanel/index.js +0 -10
  586. package/esm/core/Input/index.d.ts +0 -3
  587. package/esm/core/Input/index.js +0 -6
  588. package/esm/core/InputGrid/index.d.ts +0 -3
  589. package/esm/core/InputGrid/index.js +0 -6
  590. package/esm/core/InputGroup/index.d.ts +0 -3
  591. package/esm/core/InputGroup/index.js +0 -6
  592. package/esm/core/InputWithDecorations/index.d.ts +0 -3
  593. package/esm/core/InputWithDecorations/index.js +0 -6
  594. package/esm/core/Label/index.d.ts +0 -3
  595. package/esm/core/Label/index.js +0 -6
  596. package/esm/core/LabeledInput/index.d.ts +0 -3
  597. package/esm/core/LabeledInput/index.js +0 -6
  598. package/esm/core/LabeledSelect/index.d.ts +0 -3
  599. package/esm/core/LabeledSelect/index.js +0 -6
  600. package/esm/core/LabeledTextarea/index.d.ts +0 -3
  601. package/esm/core/LabeledTextarea/index.js +0 -6
  602. package/esm/core/List/index.d.ts +0 -2
  603. package/esm/core/List/index.js +0 -6
  604. package/esm/core/Menu/index.d.ts +0 -5
  605. package/esm/core/Menu/index.js +0 -9
  606. package/esm/core/Modal/index.d.ts +0 -5
  607. package/esm/core/Modal/index.js +0 -8
  608. package/esm/core/NonIdealState/index.d.ts +0 -5
  609. package/esm/core/NonIdealState/index.js +0 -7
  610. package/esm/core/NotificationMarker/index.d.ts +0 -3
  611. package/esm/core/NotificationMarker/index.js +0 -6
  612. package/esm/core/Overlay/index.d.ts +0 -1
  613. package/esm/core/Overlay/index.js +0 -5
  614. package/esm/core/ProgressIndicators/index.d.ts +0 -2
  615. package/esm/core/ProgressIndicators/index.js +0 -6
  616. package/esm/core/Radio/index.d.ts +0 -3
  617. package/esm/core/Radio/index.js +0 -6
  618. package/esm/core/RadioTiles/index.d.ts +0 -4
  619. package/esm/core/RadioTiles/index.js +0 -7
  620. package/esm/core/SearchBox/index.d.ts +0 -3
  621. package/esm/core/SearchBox/index.js +0 -6
  622. package/esm/core/Select/index.d.ts +0 -4
  623. package/esm/core/Select/index.js +0 -6
  624. package/esm/core/SideNavigation/index.d.ts +0 -6
  625. package/esm/core/SideNavigation/index.js +0 -9
  626. package/esm/core/SkipToContentLink/index.d.ts +0 -3
  627. package/esm/core/SkipToContentLink/index.js +0 -6
  628. package/esm/core/Slider/index.d.ts +0 -3
  629. package/esm/core/Slider/index.js +0 -6
  630. package/esm/core/StatusMessage/index.d.ts +0 -3
  631. package/esm/core/StatusMessage/index.js +0 -6
  632. package/esm/core/Stepper/index.d.ts +0 -3
  633. package/esm/core/Stepper/index.js +0 -6
  634. package/esm/core/Surface/index.d.ts +0 -3
  635. package/esm/core/Surface/index.js +0 -6
  636. package/esm/core/Tabs/Tab.d.ts +0 -40
  637. package/esm/core/Tabs/Tab.js +0 -57
  638. package/esm/core/Tabs/index.d.ts +0 -2
  639. package/esm/core/Tabs/index.js +0 -6
  640. package/esm/core/Tag/index.d.ts +0 -4
  641. package/esm/core/Tag/index.js +0 -7
  642. package/esm/core/Textarea/index.d.ts +0 -3
  643. package/esm/core/Textarea/index.js +0 -6
  644. package/esm/core/ThemeProvider/index.d.ts +0 -4
  645. package/esm/core/ThemeProvider/index.js +0 -6
  646. package/esm/core/Tile/index.d.ts +0 -3
  647. package/esm/core/Tile/index.js +0 -6
  648. package/esm/core/TimePicker/index.d.ts +0 -4
  649. package/esm/core/TimePicker/index.js +0 -6
  650. package/esm/core/Toast/index.d.ts +0 -1
  651. package/esm/core/Toast/index.js +0 -5
  652. package/esm/core/ToggleSwitch/index.d.ts +0 -3
  653. package/esm/core/ToggleSwitch/index.js +0 -6
  654. package/esm/core/Tooltip/index.d.ts +0 -3
  655. package/esm/core/Tooltip/index.js +0 -6
  656. package/esm/core/TransferList/index.d.ts +0 -3
  657. package/esm/core/TransferList/index.js +0 -6
  658. package/esm/core/Tree/index.d.ts +0 -4
  659. package/esm/core/Tree/index.js +0 -7
  660. package/esm/core/Typography/Anchor/index.d.ts +0 -3
  661. package/esm/core/Typography/Anchor/index.js +0 -6
  662. package/esm/core/Typography/Blockquote/index.d.ts +0 -3
  663. package/esm/core/Typography/Blockquote/index.js +0 -6
  664. package/esm/core/Typography/Code/index.d.ts +0 -3
  665. package/esm/core/Typography/Code/index.js +0 -6
  666. package/esm/core/Typography/Kbd/index.d.ts +0 -3
  667. package/esm/core/Typography/Kbd/index.js +0 -6
  668. package/esm/core/Typography/Text/index.d.ts +0 -3
  669. package/esm/core/Typography/Text/index.js +0 -6
  670. package/esm/core/Typography/index.d.ts +0 -5
  671. package/esm/core/Typography/index.js +0 -9
  672. package/esm/core/index.d.ts +0 -68
  673. package/esm/core/index.js +0 -131
  674. package/esm/core/utils/components/Popover.d.ts +0 -39
  675. package/esm/core/utils/components/Popover.js +0 -128
  676. package/esm/types/react-table-config.d.ts +0 -135
  677. package/esm/types/react-table-config.js +0 -1
@@ -1,6 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Tooltip } from '../Tooltip/index.js';
3
- import type { SliderProps } from './Slider.js';
2
+ import { Tooltip } from '../Tooltip/Tooltip.js';
4
3
  type ThumbProps = {
5
4
  /**
6
5
  * Thumb value.
@@ -54,7 +53,7 @@ type ThumbProps = {
54
53
  * Additional props for Thumb.
55
54
  */
56
55
  thumbProps?: React.HTMLAttributes<HTMLDivElement>;
57
- } & Pick<SliderProps, 'orientation'>;
56
+ };
58
57
  /**
59
58
  * Thumb is a local component used to show and modify the values maintained by the Slider.
60
59
  * Only one Thumb can be active at a time. A Thumb is made active when the user selects
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
- import { Tooltip } from '../Tooltip/index.js';
7
+ import { Tooltip } from '../Tooltip/Tooltip.js';
8
8
  import { Box } from '../utils/index.js';
9
9
  /**
10
10
  * Thumb is a local component used to show and modify the values maintained by the Slider.
@@ -26,7 +26,6 @@ export const Thumb = (props) => {
26
26
  tooltipProps,
27
27
  thumbProps,
28
28
  disabled,
29
- orientation,
30
29
  } = props;
31
30
  const thumbRef = React.useRef(null);
32
31
  const handleOnKeyboardEvent = React.useCallback(
@@ -93,13 +92,10 @@ export const Thumb = (props) => {
93
92
  },
94
93
  React.createElement(Box, {
95
94
  ...rest,
96
- 'data-index': index,
97
95
  ref: thumbRef,
98
96
  style: {
99
97
  ...style,
100
- ...(orientation === 'horizontal'
101
- ? { insetInlineStart: `${lowPercent}%` }
102
- : { insetBlockEnd: `${lowPercent}%` }),
98
+ '--iui-slider-thumb-position': `${lowPercent}%`,
103
99
  },
104
100
  className: cx('iui-slider-thumb', { 'iui-active': isActive }, className),
105
101
  role: 'slider',
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { Icon } from '../utils/index.js';
3
2
  import type { PolymorphicForwardRefComponent } from '../utils/index.js';
3
+ import { Icon } from '../Icon/Icon.js';
4
4
  type StatusMessageProps = {
5
5
  /**
6
6
  * Custom icon to be displayed at the beginning.
@@ -3,8 +3,9 @@
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 { Box, StatusIconMap, Icon } from '../utils/index.js';
6
+ import { Box, StatusIconMap } from '../utils/index.js';
7
7
  import cx from 'classnames';
8
+ import { Icon } from '../Icon/Icon.js';
8
9
  /**
9
10
  * Component to display icon and text below the form field.
10
11
  * @example
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import cx from 'classnames';
6
6
  import * as React from 'react';
7
- import { Tooltip } from '../Tooltip/index.js';
7
+ import { Tooltip } from '../Tooltip/Tooltip.js';
8
8
  import { Box } from '../utils/index.js';
9
9
  export const StepperStep = React.forwardRef((props, forwardedRef) => {
10
10
  const {
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import cx from 'classnames';
6
6
  import * as React from 'react';
7
- import { Tooltip } from '../Tooltip/index.js';
7
+ import { Tooltip } from '../Tooltip/Tooltip.js';
8
8
  import { Box } from '../utils/index.js';
9
9
  export const WorkflowDiagramStep = (props) => {
10
10
  const { title, description, className, style, contentProps, ...rest } = props;
@@ -11,6 +11,14 @@ type SurfaceProps = {
11
11
  * Sets the elevation of the surface
12
12
  */
13
13
  elevation?: 0 | 1 | 2 | 3 | 4 | 5;
14
+ /**
15
+ * Sets the border of the surface.
16
+ *
17
+ * Can be a boolean to toggle the default border, or a string value to specify a custom border.
18
+ *
19
+ * @default true
20
+ */
21
+ border?: boolean | string;
14
22
  /**
15
23
  * Content in the surface.
16
24
  */
@@ -26,6 +26,16 @@ const getSurfaceElevationValue = (elevation) => {
26
26
  return '';
27
27
  }
28
28
  };
29
+ /** Returns correct border value based on prop */
30
+ const getBorderValue = (border) => {
31
+ if (typeof border === 'string') {
32
+ return border;
33
+ }
34
+ if (border === false) {
35
+ return 'none';
36
+ }
37
+ return '';
38
+ };
29
39
  // ----------------------------------------------------------------------------
30
40
  // Surface.Header component
31
41
  const SurfaceHeader = React.forwardRef((props, ref) => {
@@ -73,10 +83,18 @@ const SurfaceBody = React.forwardRef((props, ref) => {
73
83
  */
74
84
  export const Surface = Object.assign(
75
85
  React.forwardRef((props, ref) => {
76
- const { elevation, className, style, children, ...rest } = props;
86
+ const {
87
+ elevation,
88
+ border = true,
89
+ className,
90
+ style,
91
+ children,
92
+ ...rest
93
+ } = props;
77
94
  const [hasLayout, setHasLayout] = React.useState(false);
78
95
  const _style = {
79
96
  '--iui-surface-elevation': getSurfaceElevationValue(elevation),
97
+ '--iui-surface-border': getBorderValue(border),
80
98
  ...style,
81
99
  };
82
100
  return React.createElement(
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { Cell, CellProps } from 'react-table';
2
+ import type { Cell, CellProps } from '../../react-table/react-table.js';
3
3
  export type SubRowExpanderProps<T extends Record<string, unknown>> = {
4
4
  cell: Cell<T>;
5
5
  expanderCell?: (cellProps: CellProps<T>) => React.ReactNode;
@@ -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
  export const SubRowExpander = (props) => {
9
9
  const { cell, isDisabled, cellProps, expanderCell, density } = props;
10
10
  return React.createElement(
@@ -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.
@@ -105,15 +104,10 @@ export const ActionColumn = ({ columnManager = false } = {}) => {
105
104
  {
106
105
  ...dropdownMenuProps,
107
106
  menuItems: headerCheckBoxes,
108
- onHide: (i) => {
109
- setIsOpen(false);
110
- dropdownMenuProps.onHide?.(i);
107
+ onVisibleChange: (open) => {
108
+ setIsOpen(open);
109
+ dropdownMenuProps?.onVisibleChange?.(open);
111
110
  },
112
- onShow: (i) => {
113
- setIsOpen(true);
114
- dropdownMenuProps.onShow?.(i);
115
- },
116
- className: cx('iui-scroll', dropdownMenuProps.className),
117
111
  },
118
112
  React.createElement(
119
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 {
@@ -66,54 +67,51 @@ const DatePickerInput = React.forwardRef((props, forwardedRef) => {
66
67
  [onChange, parseInput],
67
68
  );
68
69
  return React.createElement(
69
- Popover,
70
- {
71
- content: React.createElement(DatePicker, {
72
- date: date,
73
- onChange: onDateSelected,
74
- setFocus: true,
75
- isDateDisabled: isDateDisabled,
76
- localizedNames: localizedNames,
77
- }),
78
- placement: 'bottom',
79
- visible: isVisible,
80
- onClickOutside: (_, e) => {
81
- if (!buttonRef.current?.contains(e.target)) {
82
- close();
83
- }
70
+ InputGrid,
71
+ { labelPlacement: 'inline', ...wrapperProps },
72
+ React.createElement(
73
+ Label,
74
+ {
75
+ as: 'label',
76
+ required: required,
77
+ disabled: disabled,
78
+ htmlFor: id,
79
+ ...labelProps,
84
80
  },
85
- appendTo: 'parent',
86
- },
81
+ label,
82
+ ),
87
83
  React.createElement(
88
- InputGrid,
89
- { labelPlacement: 'inline', ...wrapperProps },
84
+ InputWithDecorations,
85
+ { ...inputWrapperProps },
86
+ React.createElement(InputWithDecorations.Input, {
87
+ id: id,
88
+ value: inputValue,
89
+ onChange: onInputChange,
90
+ required: required,
91
+ disabled: disabled,
92
+ ref: forwardedRef,
93
+ ...rest,
94
+ }),
90
95
  React.createElement(
91
- Label,
96
+ Popover,
92
97
  {
93
- as: 'label',
94
- required: required,
95
- disabled: disabled,
96
- htmlFor: id,
97
- ...labelProps,
98
+ content: React.createElement(DatePicker, {
99
+ date: date,
100
+ onChange: onDateSelected,
101
+ setFocus: true,
102
+ isDateDisabled: isDateDisabled,
103
+ localizedNames: localizedNames,
104
+ applyBackground: false,
105
+ }),
106
+ placement: 'bottom-end',
107
+ visible: isVisible,
108
+ onVisibleChange: setIsVisible,
109
+ closeOnOutsideClick: true,
110
+ applyBackground: true,
98
111
  },
99
- label,
100
- ),
101
- React.createElement(
102
- InputWithDecorations,
103
- { ...inputWrapperProps },
104
- React.createElement(InputWithDecorations.Input, {
105
- id: id,
106
- value: inputValue,
107
- onChange: onInputChange,
108
- onClick: close,
109
- required: required,
110
- disabled: disabled,
111
- ref: forwardedRef,
112
- ...rest,
113
- }),
114
112
  React.createElement(
115
113
  InputWithDecorations.Button,
116
- { onClick: () => setIsVisible((v) => !v), ref: buttonRef },
114
+ { 'aria-label': 'Date picker', ref: buttonRef },
117
115
  React.createElement(SvgCalendar, null),
118
116
  ),
119
117
  ),
@@ -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>;