@itwin/itwinui-react 3.0.0-dev.10 → 3.0.0-dev.11

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 (595) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/cjs/core/Alert/Alert.d.ts +1 -1
  3. package/cjs/core/Alert/Alert.js +4 -3
  4. package/cjs/core/Avatar/Avatar.js +2 -1
  5. package/cjs/core/Breadcrumbs/Breadcrumbs.js +2 -2
  6. package/cjs/core/Buttons/{Button/Button.d.ts → Button.d.ts} +2 -2
  7. package/cjs/core/Buttons/{Button/Button.js → Button.js} +1 -1
  8. package/{esm/core/Buttons/DropdownButton → cjs/core/Buttons}/DropdownButton.d.ts +3 -3
  9. package/cjs/core/Buttons/{DropdownButton/DropdownButton.js → DropdownButton.js} +7 -7
  10. package/{esm/core/Buttons/IconButton → cjs/core/Buttons}/IconButton.d.ts +2 -2
  11. package/cjs/core/Buttons/{IconButton/IconButton.js → IconButton.js} +6 -3
  12. package/{esm/core/Buttons/IdeasButton → cjs/core/Buttons}/IdeasButton.d.ts +1 -1
  13. package/cjs/core/Buttons/{IdeasButton/IdeasButton.js → IdeasButton.js} +3 -3
  14. package/cjs/core/Buttons/{SplitButton/SplitButton.d.ts → SplitButton.d.ts} +3 -3
  15. package/cjs/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +14 -13
  16. package/cjs/core/Carousel/Carousel.d.ts +2 -2
  17. package/cjs/core/Carousel/CarouselNavigation.d.ts +2 -2
  18. package/cjs/core/Carousel/CarouselNavigation.js +9 -9
  19. package/cjs/core/Checkbox/Checkbox.js +7 -7
  20. package/cjs/core/ColorPicker/ColorBuilder.js +3 -3
  21. package/cjs/core/ColorPicker/ColorInputPanel.js +26 -26
  22. package/cjs/core/ColorPicker/ColorPicker.js +5 -3
  23. package/cjs/core/ComboBox/ComboBox.d.ts +1 -1
  24. package/cjs/core/ComboBox/ComboBox.js +17 -18
  25. package/cjs/core/ComboBox/ComboBoxEndIcon.js +2 -1
  26. package/cjs/core/ComboBox/ComboBoxInput.d.ts +1 -1
  27. package/cjs/core/ComboBox/ComboBoxInput.js +10 -10
  28. package/cjs/core/ComboBox/ComboBoxInputContainer.js +6 -6
  29. package/cjs/core/ComboBox/ComboBoxMenu.d.ts +1 -1
  30. package/cjs/core/ComboBox/ComboBoxMenu.js +11 -11
  31. package/cjs/core/ComboBox/helpers.d.ts +1 -1
  32. package/cjs/core/DatePicker/DatePicker.js +12 -10
  33. package/cjs/core/Dialog/DialogBackdrop.js +4 -4
  34. package/cjs/core/Dialog/DialogTitleBar.js +2 -2
  35. package/cjs/core/{utils/components → Divider}/Divider.d.ts +1 -1
  36. package/cjs/core/{utils/components → Divider}/Divider.js +1 -1
  37. package/cjs/core/DropdownMenu/DropdownMenu.d.ts +1 -1
  38. package/cjs/core/DropdownMenu/DropdownMenu.js +4 -3
  39. package/cjs/core/ExpandableBlock/ExpandableBlock.d.ts +1 -1
  40. package/cjs/core/ExpandableBlock/ExpandableBlock.js +3 -2
  41. package/cjs/core/FileUpload/FileUploadCard.js +3 -2
  42. package/cjs/core/FileUpload/FileUploadTemplate.js +1 -1
  43. package/cjs/core/{utils/components → Flex}/Flex.d.ts +2 -2
  44. package/cjs/core/{utils/components → Flex}/Flex.js +1 -1
  45. package/cjs/core/Header/Header.js +11 -11
  46. package/cjs/core/Header/HeaderBasicButton.d.ts +1 -1
  47. package/cjs/core/Header/HeaderButton.d.ts +2 -2
  48. package/cjs/core/Header/HeaderDropdownButton.d.ts +1 -1
  49. package/cjs/core/Header/HeaderDropdownButton.js +6 -6
  50. package/cjs/core/Header/HeaderSplitButton.d.ts +1 -1
  51. package/cjs/core/Header/HeaderSplitButton.js +7 -7
  52. package/{esm/core/utils/components → cjs/core/Icon}/Icon.d.ts +2 -2
  53. package/cjs/core/{utils/components → Icon}/Icon.js +1 -1
  54. package/cjs/core/InformationPanel/InformationPanelHeader.js +7 -7
  55. package/cjs/core/Input/Input.d.ts +0 -1
  56. package/cjs/core/Input/Input.js +0 -1
  57. package/cjs/core/InputGroup/InputGroup.d.ts +1 -1
  58. package/cjs/core/InputGroup/InputGroup.js +6 -6
  59. package/cjs/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
  60. package/cjs/core/InputWithDecorations/InputWithDecorations.js +2 -2
  61. package/cjs/core/LabeledInput/LabeledInput.d.ts +4 -4
  62. package/cjs/core/LabeledInput/LabeledInput.js +11 -13
  63. package/cjs/core/LabeledSelect/LabeledSelect.d.ts +1 -1
  64. package/cjs/core/LabeledSelect/LabeledSelect.js +7 -6
  65. package/cjs/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
  66. package/cjs/core/LabeledTextarea/LabeledTextarea.js +2 -2
  67. package/{esm/core/utils/components → cjs/core/LinkAction}/LinkAction.d.ts +2 -2
  68. package/cjs/core/{utils/components → LinkAction}/LinkAction.js +1 -1
  69. package/cjs/core/Menu/MenuItem.js +2 -1
  70. package/cjs/core/Menu/MenuItemSkeleton.js +2 -1
  71. package/cjs/core/Modal/Modal.js +5 -5
  72. package/cjs/core/NonIdealState/ErrorPage.js +17 -15
  73. package/{esm/core/utils/components → cjs/core/Popover}/Popover.d.ts +3 -7
  74. package/cjs/core/{utils/components → Popover}/Popover.js +10 -6
  75. package/cjs/core/RadioTiles/RadioTileGroup.d.ts +1 -1
  76. package/cjs/core/RadioTiles/RadioTileGroup.js +4 -4
  77. package/cjs/core/SearchBox/SearchBox.d.ts +3 -2
  78. package/cjs/core/SearchBox/SearchBox.js +4 -3
  79. package/cjs/core/Select/Select.d.ts +1 -1
  80. package/cjs/core/Select/Select.js +25 -24
  81. package/cjs/core/Select/SelectTagContainer.js +2 -2
  82. package/cjs/core/SideNavigation/SideNavigation.js +5 -5
  83. package/cjs/core/SideNavigation/SidenavButton.d.ts +1 -1
  84. package/cjs/core/SideNavigation/SidenavButton.js +2 -2
  85. package/cjs/core/Slider/Slider.d.ts +1 -1
  86. package/cjs/core/Slider/Thumb.d.ts +1 -1
  87. package/cjs/core/Slider/Thumb.js +4 -4
  88. package/cjs/core/StatusMessage/StatusMessage.d.ts +1 -1
  89. package/cjs/core/StatusMessage/StatusMessage.js +2 -1
  90. package/cjs/core/Stepper/StepperStep.js +7 -7
  91. package/cjs/core/Stepper/WorkflowDiagramStep.js +5 -5
  92. package/cjs/core/Table/SubRowExpander.d.ts +1 -1
  93. package/cjs/core/Table/SubRowExpander.js +2 -2
  94. package/cjs/core/Table/Table.d.ts +1 -1
  95. package/cjs/core/Table/Table.js +49 -49
  96. package/cjs/core/Table/TableCell.d.ts +1 -1
  97. package/cjs/core/Table/TablePaginator.js +27 -25
  98. package/cjs/core/Table/TableRowMemoized.d.ts +1 -1
  99. package/cjs/core/Table/actionHandlers/expandHandler.d.ts +1 -1
  100. package/cjs/core/Table/actionHandlers/filterHandler.d.ts +1 -1
  101. package/cjs/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
  102. package/cjs/core/Table/actionHandlers/selectHandler.d.ts +8 -8
  103. package/cjs/core/Table/cells/DefaultCell.d.ts +1 -1
  104. package/cjs/core/Table/cells/EditableCell.d.ts +1 -1
  105. package/cjs/core/Table/columns/actionColumn.d.ts +2 -2
  106. package/cjs/core/Table/columns/actionColumn.js +10 -10
  107. package/cjs/core/Table/columns/expanderColumn.d.ts +1 -1
  108. package/cjs/core/Table/columns/expanderColumn.js +4 -4
  109. package/cjs/core/Table/columns/selectionColumn.d.ts +1 -1
  110. package/cjs/core/Table/columns/selectionColumn.js +5 -5
  111. package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
  112. package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +23 -19
  113. package/cjs/core/Table/filters/FilterButtonBar.js +3 -3
  114. package/cjs/core/Table/filters/FilterToggle.d.ts +1 -1
  115. package/cjs/core/Table/filters/FilterToggle.js +4 -3
  116. package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +3 -3
  117. package/cjs/core/Table/filters/TextFilter/TextFilter.js +2 -2
  118. package/cjs/core/Table/filters/customFilterFunctions.d.ts +1 -1
  119. package/cjs/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
  120. package/cjs/core/Table/filters/types.d.ts +1 -1
  121. package/cjs/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
  122. package/cjs/core/Table/hooks/useExpanderCell.d.ts +1 -1
  123. package/cjs/core/Table/hooks/useResizeColumns.d.ts +1 -1
  124. package/cjs/core/Table/hooks/useScrollToRow.d.ts +1 -1
  125. package/cjs/core/Table/hooks/useScrollToRow.js +1 -1
  126. package/cjs/core/Table/hooks/useSelectionCell.d.ts +1 -1
  127. package/cjs/core/Table/hooks/useStickyColumns.d.ts +1 -1
  128. package/cjs/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
  129. package/cjs/core/Table/hooks/useSubRowSelection.d.ts +1 -1
  130. package/cjs/core/Table/utils.d.ts +1 -1
  131. package/cjs/core/Tag/Tag.js +2 -2
  132. package/cjs/core/Textarea/Textarea.js +2 -2
  133. package/cjs/core/Tile/Tile.d.ts +2 -2
  134. package/cjs/core/Tile/Tile.js +9 -8
  135. package/cjs/core/Toast/Toast.js +2 -2
  136. package/cjs/core/TransferList/TransferList.d.ts +1 -1
  137. package/cjs/core/TransferList/TransferList.js +6 -5
  138. package/cjs/core/Tree/TreeNodeExpander.d.ts +1 -1
  139. package/cjs/core/Tree/TreeNodeExpander.js +2 -2
  140. package/{esm/core/Typography/Anchor → cjs/core/Typography}/Anchor.d.ts +1 -1
  141. package/cjs/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
  142. package/{esm/core/Typography/Blockquote → cjs/core/Typography}/Blockquote.d.ts +1 -1
  143. package/cjs/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
  144. package/cjs/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
  145. package/cjs/core/Typography/{Code/Code.js → Code.js} +1 -1
  146. package/{esm/core/Typography/Kbd → cjs/core/Typography}/Kbd.d.ts +1 -1
  147. package/cjs/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
  148. package/{esm/core/Typography/Text → cjs/core/Typography}/Text.d.ts +1 -1
  149. package/cjs/core/Typography/{Text/Text.js → Text.js} +1 -1
  150. package/{esm/core/utils/components → cjs/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
  151. package/cjs/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
  152. package/cjs/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
  153. package/cjs/core/utils/components/InputContainer.js +4 -4
  154. package/cjs/core/utils/components/index.d.ts +0 -6
  155. package/cjs/core/utils/components/index.js +0 -6
  156. package/cjs/core/utils/hooks/useGlobals.d.ts +1 -1
  157. package/cjs/index.d.ts +113 -1
  158. package/cjs/index.js +951 -4
  159. package/cjs/styles.js +5 -4
  160. package/esm/core/Alert/Alert.d.ts +1 -1
  161. package/esm/core/Alert/Alert.js +2 -2
  162. package/esm/core/Avatar/Avatar.js +2 -6
  163. package/esm/core/Breadcrumbs/Breadcrumbs.js +1 -1
  164. package/esm/core/Buttons/{Button/Button.d.ts → Button.d.ts} +2 -2
  165. package/esm/core/Buttons/{Button/Button.js → Button.js} +1 -1
  166. package/{cjs/core/Buttons/DropdownButton → esm/core/Buttons}/DropdownButton.d.ts +3 -3
  167. package/esm/core/Buttons/{DropdownButton/DropdownButton.js → DropdownButton.js} +3 -3
  168. package/{cjs/core/Buttons/IconButton → esm/core/Buttons}/IconButton.d.ts +2 -2
  169. package/esm/core/Buttons/{IconButton/IconButton.js → IconButton.js} +3 -2
  170. package/{cjs/core/Buttons/IdeasButton → esm/core/Buttons}/IdeasButton.d.ts +1 -1
  171. package/esm/core/Buttons/{IdeasButton/IdeasButton.js → IdeasButton.js} +2 -2
  172. package/esm/core/Buttons/{SplitButton/SplitButton.d.ts → SplitButton.d.ts} +3 -3
  173. package/esm/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +5 -5
  174. package/esm/core/Carousel/Carousel.d.ts +2 -2
  175. package/esm/core/Carousel/CarouselNavigation.d.ts +2 -2
  176. package/esm/core/Carousel/CarouselNavigation.js +1 -1
  177. package/esm/core/Checkbox/Checkbox.js +1 -1
  178. package/esm/core/ColorPicker/ColorBuilder.js +1 -1
  179. package/esm/core/ColorPicker/ColorInputPanel.js +2 -2
  180. package/esm/core/ColorPicker/ColorPicker.js +5 -3
  181. package/esm/core/ComboBox/ComboBox.d.ts +1 -1
  182. package/esm/core/ComboBox/ComboBox.js +4 -4
  183. package/esm/core/ComboBox/ComboBoxEndIcon.js +2 -1
  184. package/esm/core/ComboBox/ComboBoxInput.d.ts +1 -1
  185. package/esm/core/ComboBox/ComboBoxInput.js +1 -1
  186. package/esm/core/ComboBox/ComboBoxInputContainer.js +1 -1
  187. package/esm/core/ComboBox/ComboBoxMenu.d.ts +1 -1
  188. package/esm/core/ComboBox/ComboBoxMenu.js +1 -1
  189. package/esm/core/ComboBox/helpers.d.ts +1 -1
  190. package/esm/core/DatePicker/DatePicker.js +7 -5
  191. package/esm/core/Dialog/DialogBackdrop.js +1 -1
  192. package/esm/core/Dialog/DialogTitleBar.js +1 -1
  193. package/esm/core/{utils/components → Divider}/Divider.d.ts +1 -1
  194. package/esm/core/{utils/components → Divider}/Divider.js +1 -1
  195. package/esm/core/DropdownMenu/DropdownMenu.d.ts +1 -1
  196. package/esm/core/DropdownMenu/DropdownMenu.js +2 -3
  197. package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +1 -1
  198. package/esm/core/ExpandableBlock/ExpandableBlock.js +1 -1
  199. package/esm/core/FileUpload/FileUploadCard.js +2 -2
  200. package/esm/core/FileUpload/FileUploadTemplate.js +1 -1
  201. package/esm/core/{utils/components → Flex}/Flex.d.ts +2 -2
  202. package/esm/core/{utils/components → Flex}/Flex.js +1 -1
  203. package/esm/core/Header/Header.js +2 -2
  204. package/esm/core/Header/HeaderBasicButton.d.ts +1 -1
  205. package/esm/core/Header/HeaderButton.d.ts +2 -2
  206. package/esm/core/Header/HeaderDropdownButton.d.ts +1 -1
  207. package/esm/core/Header/HeaderDropdownButton.js +1 -1
  208. package/esm/core/Header/HeaderSplitButton.d.ts +1 -1
  209. package/esm/core/Header/HeaderSplitButton.js +1 -1
  210. package/{cjs/core/utils/components → esm/core/Icon}/Icon.d.ts +2 -2
  211. package/esm/core/{utils/components → Icon}/Icon.js +1 -1
  212. package/esm/core/InformationPanel/InformationPanelHeader.js +1 -1
  213. package/esm/core/Input/Input.d.ts +0 -1
  214. package/esm/core/Input/Input.js +0 -1
  215. package/esm/core/InputGroup/InputGroup.d.ts +1 -1
  216. package/esm/core/InputGroup/InputGroup.js +3 -3
  217. package/esm/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
  218. package/esm/core/InputWithDecorations/InputWithDecorations.js +1 -1
  219. package/esm/core/LabeledInput/LabeledInput.d.ts +4 -4
  220. package/esm/core/LabeledInput/LabeledInput.js +5 -4
  221. package/esm/core/LabeledSelect/LabeledSelect.d.ts +1 -1
  222. package/esm/core/LabeledSelect/LabeledSelect.js +3 -2
  223. package/esm/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
  224. package/esm/core/LabeledTextarea/LabeledTextarea.js +2 -2
  225. package/{cjs/core/utils/components → esm/core/LinkAction}/LinkAction.d.ts +2 -2
  226. package/esm/core/{utils/components → LinkAction}/LinkAction.js +1 -1
  227. package/esm/core/Menu/MenuItem.js +1 -1
  228. package/esm/core/Menu/MenuItemSkeleton.js +2 -1
  229. package/esm/core/Modal/Modal.js +1 -1
  230. package/esm/core/NonIdealState/ErrorPage.js +2 -2
  231. package/{cjs/core/utils/components → esm/core/Popover}/Popover.d.ts +3 -7
  232. package/esm/core/{utils/components → Popover}/Popover.js +9 -5
  233. package/esm/core/RadioTiles/RadioTileGroup.d.ts +1 -1
  234. package/esm/core/RadioTiles/RadioTileGroup.js +1 -1
  235. package/esm/core/SearchBox/SearchBox.d.ts +3 -2
  236. package/esm/core/SearchBox/SearchBox.js +2 -2
  237. package/esm/core/Select/Select.d.ts +1 -1
  238. package/esm/core/Select/Select.js +6 -5
  239. package/esm/core/Select/SelectTagContainer.js +1 -1
  240. package/esm/core/SideNavigation/SideNavigation.js +2 -2
  241. package/esm/core/SideNavigation/SidenavButton.d.ts +1 -1
  242. package/esm/core/SideNavigation/SidenavButton.js +1 -1
  243. package/esm/core/Slider/Slider.d.ts +1 -1
  244. package/esm/core/Slider/Thumb.d.ts +1 -1
  245. package/esm/core/Slider/Thumb.js +1 -1
  246. package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
  247. package/esm/core/StatusMessage/StatusMessage.js +2 -1
  248. package/esm/core/Stepper/StepperStep.js +1 -1
  249. package/esm/core/Stepper/WorkflowDiagramStep.js +1 -1
  250. package/esm/core/Table/SubRowExpander.d.ts +1 -1
  251. package/esm/core/Table/SubRowExpander.js +1 -1
  252. package/esm/core/Table/Table.d.ts +1 -1
  253. package/esm/core/Table/Table.js +1 -1
  254. package/esm/core/Table/TableCell.d.ts +1 -1
  255. package/esm/core/Table/TablePaginator.js +5 -3
  256. package/esm/core/Table/TableRowMemoized.d.ts +1 -1
  257. package/esm/core/Table/actionHandlers/expandHandler.d.ts +1 -1
  258. package/esm/core/Table/actionHandlers/filterHandler.d.ts +1 -1
  259. package/esm/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
  260. package/esm/core/Table/actionHandlers/selectHandler.d.ts +8 -8
  261. package/esm/core/Table/cells/DefaultCell.d.ts +1 -1
  262. package/esm/core/Table/cells/EditableCell.d.ts +1 -1
  263. package/esm/core/Table/columns/actionColumn.d.ts +2 -2
  264. package/esm/core/Table/columns/actionColumn.js +4 -4
  265. package/esm/core/Table/columns/expanderColumn.d.ts +1 -1
  266. package/esm/core/Table/columns/expanderColumn.js +1 -1
  267. package/esm/core/Table/columns/selectionColumn.d.ts +1 -1
  268. package/esm/core/Table/columns/selectionColumn.js +1 -1
  269. package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
  270. package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.js +6 -5
  271. package/esm/core/Table/filters/FilterButtonBar.js +1 -1
  272. package/esm/core/Table/filters/FilterToggle.d.ts +1 -1
  273. package/esm/core/Table/filters/FilterToggle.js +3 -7
  274. package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
  275. package/esm/core/Table/filters/TextFilter/TextFilter.js +1 -1
  276. package/esm/core/Table/filters/customFilterFunctions.d.ts +1 -1
  277. package/esm/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
  278. package/esm/core/Table/filters/types.d.ts +1 -1
  279. package/esm/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
  280. package/esm/core/Table/hooks/useExpanderCell.d.ts +1 -1
  281. package/esm/core/Table/hooks/useResizeColumns.d.ts +1 -1
  282. package/esm/core/Table/hooks/useScrollToRow.d.ts +1 -1
  283. package/esm/core/Table/hooks/useScrollToRow.js +1 -1
  284. package/esm/core/Table/hooks/useSelectionCell.d.ts +1 -1
  285. package/esm/core/Table/hooks/useStickyColumns.d.ts +1 -1
  286. package/esm/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
  287. package/esm/core/Table/hooks/useSubRowSelection.d.ts +1 -1
  288. package/esm/core/Table/utils.d.ts +1 -1
  289. package/esm/core/Tag/Tag.js +1 -1
  290. package/esm/core/Textarea/Textarea.js +1 -1
  291. package/esm/core/Tile/Tile.d.ts +2 -2
  292. package/esm/core/Tile/Tile.js +4 -4
  293. package/esm/core/Toast/Toast.js +1 -1
  294. package/esm/core/TransferList/TransferList.d.ts +1 -1
  295. package/esm/core/TransferList/TransferList.js +3 -2
  296. package/esm/core/Tree/TreeNodeExpander.d.ts +1 -1
  297. package/esm/core/Tree/TreeNodeExpander.js +1 -1
  298. package/{cjs/core/Typography/Anchor → esm/core/Typography}/Anchor.d.ts +1 -1
  299. package/esm/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
  300. package/{cjs/core/Typography/Blockquote → esm/core/Typography}/Blockquote.d.ts +1 -1
  301. package/esm/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
  302. package/esm/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
  303. package/esm/core/Typography/{Code/Code.js → Code.js} +1 -1
  304. package/{cjs/core/Typography/Kbd → esm/core/Typography}/Kbd.d.ts +1 -1
  305. package/esm/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
  306. package/{cjs/core/Typography/Text → esm/core/Typography}/Text.d.ts +1 -1
  307. package/esm/core/Typography/{Text/Text.js → Text.js} +1 -1
  308. package/{cjs/core/utils/components → esm/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
  309. package/esm/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
  310. package/esm/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
  311. package/esm/core/utils/components/InputContainer.js +2 -2
  312. package/esm/core/utils/components/index.d.ts +0 -6
  313. package/esm/core/utils/components/index.js +0 -6
  314. package/esm/core/utils/hooks/useGlobals.d.ts +1 -1
  315. package/esm/index.d.ts +113 -1
  316. package/esm/index.js +124 -1
  317. package/esm/styles.js +5 -4
  318. package/package.json +8 -9
  319. package/styles.css +15 -15
  320. package/cjs/core/Alert/index.d.ts +0 -3
  321. package/cjs/core/Alert/index.js +0 -15
  322. package/cjs/core/Avatar/index.d.ts +0 -3
  323. package/cjs/core/Avatar/index.js +0 -15
  324. package/cjs/core/AvatarGroup/index.d.ts +0 -3
  325. package/cjs/core/AvatarGroup/index.js +0 -15
  326. package/cjs/core/Backdrop/index.d.ts +0 -1
  327. package/cjs/core/Backdrop/index.js +0 -14
  328. package/cjs/core/Badge/index.d.ts +0 -3
  329. package/cjs/core/Badge/index.js +0 -15
  330. package/cjs/core/Breadcrumbs/index.d.ts +0 -3
  331. package/cjs/core/Breadcrumbs/index.js +0 -15
  332. package/cjs/core/ButtonGroup/index.d.ts +0 -3
  333. package/cjs/core/ButtonGroup/index.js +0 -15
  334. package/cjs/core/Buttons/Button/index.d.ts +0 -3
  335. package/cjs/core/Buttons/Button/index.js +0 -15
  336. package/cjs/core/Buttons/DropdownButton/index.d.ts +0 -3
  337. package/cjs/core/Buttons/DropdownButton/index.js +0 -15
  338. package/cjs/core/Buttons/IconButton/index.d.ts +0 -3
  339. package/cjs/core/Buttons/IconButton/index.js +0 -15
  340. package/cjs/core/Buttons/IdeasButton/index.d.ts +0 -3
  341. package/cjs/core/Buttons/IdeasButton/index.js +0 -15
  342. package/cjs/core/Buttons/SplitButton/index.d.ts +0 -3
  343. package/cjs/core/Buttons/SplitButton/index.js +0 -15
  344. package/cjs/core/Buttons/index.d.ts +0 -5
  345. package/cjs/core/Buttons/index.js +0 -47
  346. package/cjs/core/Carousel/index.d.ts +0 -3
  347. package/cjs/core/Carousel/index.js +0 -15
  348. package/cjs/core/Checkbox/index.d.ts +0 -3
  349. package/cjs/core/Checkbox/index.js +0 -15
  350. package/cjs/core/ColorPicker/index.d.ts +0 -7
  351. package/cjs/core/ColorPicker/index.js +0 -48
  352. package/cjs/core/ComboBox/index.d.ts +0 -3
  353. package/cjs/core/ComboBox/index.js +0 -15
  354. package/cjs/core/DatePicker/index.d.ts +0 -3
  355. package/cjs/core/DatePicker/index.js +0 -21
  356. package/cjs/core/Dialog/index.d.ts +0 -3
  357. package/cjs/core/Dialog/index.js +0 -15
  358. package/cjs/core/DropdownMenu/index.d.ts +0 -4
  359. package/cjs/core/DropdownMenu/index.js +0 -15
  360. package/cjs/core/ExpandableBlock/index.d.ts +0 -3
  361. package/cjs/core/ExpandableBlock/index.js +0 -15
  362. package/cjs/core/Fieldset/index.d.ts +0 -3
  363. package/cjs/core/Fieldset/index.js +0 -15
  364. package/cjs/core/FileUpload/index.d.ts +0 -6
  365. package/cjs/core/FileUpload/index.js +0 -40
  366. package/cjs/core/Footer/index.d.ts +0 -4
  367. package/cjs/core/Footer/index.js +0 -21
  368. package/cjs/core/Header/index.d.ts +0 -6
  369. package/cjs/core/Header/index.js +0 -40
  370. package/cjs/core/InformationPanel/index.d.ts +0 -7
  371. package/cjs/core/InformationPanel/index.js +0 -48
  372. package/cjs/core/Input/index.d.ts +0 -3
  373. package/cjs/core/Input/index.js +0 -15
  374. package/cjs/core/InputGrid/index.d.ts +0 -3
  375. package/cjs/core/InputGrid/index.js +0 -15
  376. package/cjs/core/InputGroup/index.d.ts +0 -3
  377. package/cjs/core/InputGroup/index.js +0 -15
  378. package/cjs/core/InputWithDecorations/index.d.ts +0 -3
  379. package/cjs/core/InputWithDecorations/index.js +0 -15
  380. package/cjs/core/Label/index.d.ts +0 -3
  381. package/cjs/core/Label/index.js +0 -15
  382. package/cjs/core/LabeledInput/index.d.ts +0 -3
  383. package/cjs/core/LabeledInput/index.js +0 -15
  384. package/cjs/core/LabeledSelect/index.d.ts +0 -3
  385. package/cjs/core/LabeledSelect/index.js +0 -15
  386. package/cjs/core/LabeledTextarea/index.d.ts +0 -3
  387. package/cjs/core/LabeledTextarea/index.js +0 -15
  388. package/cjs/core/List/index.d.ts +0 -2
  389. package/cjs/core/List/index.js +0 -21
  390. package/cjs/core/Menu/index.d.ts +0 -5
  391. package/cjs/core/Menu/index.js +0 -47
  392. package/cjs/core/Modal/index.d.ts +0 -5
  393. package/cjs/core/Modal/index.js +0 -29
  394. package/cjs/core/NonIdealState/index.d.ts +0 -5
  395. package/cjs/core/NonIdealState/index.js +0 -22
  396. package/cjs/core/NotificationMarker/index.d.ts +0 -3
  397. package/cjs/core/NotificationMarker/index.js +0 -15
  398. package/cjs/core/Overlay/index.d.ts +0 -1
  399. package/cjs/core/Overlay/index.js +0 -14
  400. package/cjs/core/ProgressIndicators/index.d.ts +0 -2
  401. package/cjs/core/ProgressIndicators/index.js +0 -21
  402. package/cjs/core/Radio/index.d.ts +0 -3
  403. package/cjs/core/Radio/index.js +0 -15
  404. package/cjs/core/RadioTiles/index.d.ts +0 -4
  405. package/cjs/core/RadioTiles/index.js +0 -22
  406. package/cjs/core/SearchBox/index.d.ts +0 -3
  407. package/cjs/core/SearchBox/index.js +0 -15
  408. package/cjs/core/Select/index.d.ts +0 -4
  409. package/cjs/core/Select/index.js +0 -15
  410. package/cjs/core/SideNavigation/index.d.ts +0 -6
  411. package/cjs/core/SideNavigation/index.js +0 -40
  412. package/cjs/core/SkipToContentLink/index.d.ts +0 -3
  413. package/cjs/core/SkipToContentLink/index.js +0 -15
  414. package/cjs/core/Slider/index.d.ts +0 -3
  415. package/cjs/core/Slider/index.js +0 -15
  416. package/cjs/core/StatusMessage/index.d.ts +0 -3
  417. package/cjs/core/StatusMessage/index.js +0 -15
  418. package/cjs/core/Stepper/index.d.ts +0 -3
  419. package/cjs/core/Stepper/index.js +0 -21
  420. package/cjs/core/Surface/index.d.ts +0 -3
  421. package/cjs/core/Surface/index.js +0 -15
  422. package/cjs/core/Tabs/index.d.ts +0 -2
  423. package/cjs/core/Tabs/index.js +0 -21
  424. package/cjs/core/Tag/index.d.ts +0 -4
  425. package/cjs/core/Tag/index.js +0 -22
  426. package/cjs/core/Textarea/index.d.ts +0 -3
  427. package/cjs/core/Textarea/index.js +0 -15
  428. package/cjs/core/ThemeProvider/index.d.ts +0 -4
  429. package/cjs/core/ThemeProvider/index.js +0 -15
  430. package/cjs/core/Tile/index.d.ts +0 -3
  431. package/cjs/core/Tile/index.js +0 -15
  432. package/cjs/core/TimePicker/index.d.ts +0 -4
  433. package/cjs/core/TimePicker/index.js +0 -15
  434. package/cjs/core/Toast/index.d.ts +0 -1
  435. package/cjs/core/Toast/index.js +0 -14
  436. package/cjs/core/ToggleSwitch/index.d.ts +0 -3
  437. package/cjs/core/ToggleSwitch/index.js +0 -15
  438. package/cjs/core/Tooltip/index.d.ts +0 -3
  439. package/cjs/core/Tooltip/index.js +0 -15
  440. package/cjs/core/TransferList/index.d.ts +0 -3
  441. package/cjs/core/TransferList/index.js +0 -15
  442. package/cjs/core/Tree/index.d.ts +0 -4
  443. package/cjs/core/Tree/index.js +0 -28
  444. package/cjs/core/Typography/Anchor/index.d.ts +0 -3
  445. package/cjs/core/Typography/Anchor/index.js +0 -15
  446. package/cjs/core/Typography/Blockquote/index.d.ts +0 -3
  447. package/cjs/core/Typography/Blockquote/index.js +0 -15
  448. package/cjs/core/Typography/Code/index.d.ts +0 -3
  449. package/cjs/core/Typography/Code/index.js +0 -15
  450. package/cjs/core/Typography/Kbd/index.d.ts +0 -3
  451. package/cjs/core/Typography/Kbd/index.js +0 -21
  452. package/cjs/core/Typography/Text/index.d.ts +0 -3
  453. package/cjs/core/Typography/Text/index.js +0 -15
  454. package/cjs/core/Typography/index.d.ts +0 -5
  455. package/cjs/core/Typography/index.js +0 -54
  456. package/cjs/core/index.d.ts +0 -68
  457. package/cjs/core/index.js +0 -916
  458. package/esm/core/Alert/index.d.ts +0 -3
  459. package/esm/core/Alert/index.js +0 -6
  460. package/esm/core/Avatar/index.d.ts +0 -3
  461. package/esm/core/Avatar/index.js +0 -6
  462. package/esm/core/AvatarGroup/index.d.ts +0 -3
  463. package/esm/core/AvatarGroup/index.js +0 -6
  464. package/esm/core/Backdrop/index.d.ts +0 -1
  465. package/esm/core/Backdrop/index.js +0 -5
  466. package/esm/core/Badge/index.d.ts +0 -3
  467. package/esm/core/Badge/index.js +0 -6
  468. package/esm/core/Breadcrumbs/index.d.ts +0 -3
  469. package/esm/core/Breadcrumbs/index.js +0 -6
  470. package/esm/core/ButtonGroup/index.d.ts +0 -3
  471. package/esm/core/ButtonGroup/index.js +0 -6
  472. package/esm/core/Buttons/Button/index.d.ts +0 -3
  473. package/esm/core/Buttons/Button/index.js +0 -6
  474. package/esm/core/Buttons/DropdownButton/index.d.ts +0 -3
  475. package/esm/core/Buttons/DropdownButton/index.js +0 -6
  476. package/esm/core/Buttons/IconButton/index.d.ts +0 -3
  477. package/esm/core/Buttons/IconButton/index.js +0 -6
  478. package/esm/core/Buttons/IdeasButton/index.d.ts +0 -3
  479. package/esm/core/Buttons/IdeasButton/index.js +0 -6
  480. package/esm/core/Buttons/SplitButton/index.d.ts +0 -3
  481. package/esm/core/Buttons/SplitButton/index.js +0 -6
  482. package/esm/core/Buttons/index.d.ts +0 -5
  483. package/esm/core/Buttons/index.js +0 -9
  484. package/esm/core/Carousel/index.d.ts +0 -3
  485. package/esm/core/Carousel/index.js +0 -6
  486. package/esm/core/Checkbox/index.d.ts +0 -3
  487. package/esm/core/Checkbox/index.js +0 -6
  488. package/esm/core/ColorPicker/index.d.ts +0 -7
  489. package/esm/core/ColorPicker/index.js +0 -10
  490. package/esm/core/ComboBox/index.d.ts +0 -3
  491. package/esm/core/ComboBox/index.js +0 -6
  492. package/esm/core/DatePicker/index.d.ts +0 -3
  493. package/esm/core/DatePicker/index.js +0 -6
  494. package/esm/core/Dialog/index.d.ts +0 -3
  495. package/esm/core/Dialog/index.js +0 -6
  496. package/esm/core/DropdownMenu/index.d.ts +0 -4
  497. package/esm/core/DropdownMenu/index.js +0 -6
  498. package/esm/core/ExpandableBlock/index.d.ts +0 -3
  499. package/esm/core/ExpandableBlock/index.js +0 -6
  500. package/esm/core/Fieldset/index.d.ts +0 -3
  501. package/esm/core/Fieldset/index.js +0 -6
  502. package/esm/core/FileUpload/index.d.ts +0 -6
  503. package/esm/core/FileUpload/index.js +0 -9
  504. package/esm/core/Footer/index.d.ts +0 -4
  505. package/esm/core/Footer/index.js +0 -6
  506. package/esm/core/Header/index.d.ts +0 -6
  507. package/esm/core/Header/index.js +0 -9
  508. package/esm/core/InformationPanel/index.d.ts +0 -7
  509. package/esm/core/InformationPanel/index.js +0 -10
  510. package/esm/core/Input/index.d.ts +0 -3
  511. package/esm/core/Input/index.js +0 -6
  512. package/esm/core/InputGrid/index.d.ts +0 -3
  513. package/esm/core/InputGrid/index.js +0 -6
  514. package/esm/core/InputGroup/index.d.ts +0 -3
  515. package/esm/core/InputGroup/index.js +0 -6
  516. package/esm/core/InputWithDecorations/index.d.ts +0 -3
  517. package/esm/core/InputWithDecorations/index.js +0 -6
  518. package/esm/core/Label/index.d.ts +0 -3
  519. package/esm/core/Label/index.js +0 -6
  520. package/esm/core/LabeledInput/index.d.ts +0 -3
  521. package/esm/core/LabeledInput/index.js +0 -6
  522. package/esm/core/LabeledSelect/index.d.ts +0 -3
  523. package/esm/core/LabeledSelect/index.js +0 -6
  524. package/esm/core/LabeledTextarea/index.d.ts +0 -3
  525. package/esm/core/LabeledTextarea/index.js +0 -6
  526. package/esm/core/List/index.d.ts +0 -2
  527. package/esm/core/List/index.js +0 -6
  528. package/esm/core/Menu/index.d.ts +0 -5
  529. package/esm/core/Menu/index.js +0 -9
  530. package/esm/core/Modal/index.d.ts +0 -5
  531. package/esm/core/Modal/index.js +0 -8
  532. package/esm/core/NonIdealState/index.d.ts +0 -5
  533. package/esm/core/NonIdealState/index.js +0 -7
  534. package/esm/core/NotificationMarker/index.d.ts +0 -3
  535. package/esm/core/NotificationMarker/index.js +0 -6
  536. package/esm/core/Overlay/index.d.ts +0 -1
  537. package/esm/core/Overlay/index.js +0 -5
  538. package/esm/core/ProgressIndicators/index.d.ts +0 -2
  539. package/esm/core/ProgressIndicators/index.js +0 -6
  540. package/esm/core/Radio/index.d.ts +0 -3
  541. package/esm/core/Radio/index.js +0 -6
  542. package/esm/core/RadioTiles/index.d.ts +0 -4
  543. package/esm/core/RadioTiles/index.js +0 -7
  544. package/esm/core/SearchBox/index.d.ts +0 -3
  545. package/esm/core/SearchBox/index.js +0 -6
  546. package/esm/core/Select/index.d.ts +0 -4
  547. package/esm/core/Select/index.js +0 -6
  548. package/esm/core/SideNavigation/index.d.ts +0 -6
  549. package/esm/core/SideNavigation/index.js +0 -9
  550. package/esm/core/SkipToContentLink/index.d.ts +0 -3
  551. package/esm/core/SkipToContentLink/index.js +0 -6
  552. package/esm/core/Slider/index.d.ts +0 -3
  553. package/esm/core/Slider/index.js +0 -6
  554. package/esm/core/StatusMessage/index.d.ts +0 -3
  555. package/esm/core/StatusMessage/index.js +0 -6
  556. package/esm/core/Stepper/index.d.ts +0 -3
  557. package/esm/core/Stepper/index.js +0 -6
  558. package/esm/core/Surface/index.d.ts +0 -3
  559. package/esm/core/Surface/index.js +0 -6
  560. package/esm/core/Tabs/index.d.ts +0 -2
  561. package/esm/core/Tabs/index.js +0 -6
  562. package/esm/core/Tag/index.d.ts +0 -4
  563. package/esm/core/Tag/index.js +0 -7
  564. package/esm/core/Textarea/index.d.ts +0 -3
  565. package/esm/core/Textarea/index.js +0 -6
  566. package/esm/core/ThemeProvider/index.d.ts +0 -4
  567. package/esm/core/ThemeProvider/index.js +0 -6
  568. package/esm/core/Tile/index.d.ts +0 -3
  569. package/esm/core/Tile/index.js +0 -6
  570. package/esm/core/TimePicker/index.d.ts +0 -4
  571. package/esm/core/TimePicker/index.js +0 -6
  572. package/esm/core/Toast/index.d.ts +0 -1
  573. package/esm/core/Toast/index.js +0 -5
  574. package/esm/core/ToggleSwitch/index.d.ts +0 -3
  575. package/esm/core/ToggleSwitch/index.js +0 -6
  576. package/esm/core/Tooltip/index.d.ts +0 -3
  577. package/esm/core/Tooltip/index.js +0 -6
  578. package/esm/core/TransferList/index.d.ts +0 -3
  579. package/esm/core/TransferList/index.js +0 -6
  580. package/esm/core/Tree/index.d.ts +0 -4
  581. package/esm/core/Tree/index.js +0 -7
  582. package/esm/core/Typography/Anchor/index.d.ts +0 -3
  583. package/esm/core/Typography/Anchor/index.js +0 -6
  584. package/esm/core/Typography/Blockquote/index.d.ts +0 -3
  585. package/esm/core/Typography/Blockquote/index.js +0 -6
  586. package/esm/core/Typography/Code/index.d.ts +0 -3
  587. package/esm/core/Typography/Code/index.js +0 -6
  588. package/esm/core/Typography/Kbd/index.d.ts +0 -3
  589. package/esm/core/Typography/Kbd/index.js +0 -6
  590. package/esm/core/Typography/Text/index.d.ts +0 -3
  591. package/esm/core/Typography/Text/index.js +0 -6
  592. package/esm/core/Typography/index.d.ts +0 -5
  593. package/esm/core/Typography/index.js +0 -9
  594. package/esm/core/index.d.ts +0 -68
  595. package/esm/core/index.js +0 -132
@@ -1,4 +1,4 @@
1
1
  import type { PolymorphicForwardRefComponent } from '../utils/index.js';
2
- import type { DropdownButtonProps } from '../Buttons/DropdownButton/DropdownButton.js';
2
+ import type { DropdownButtonProps } from '../Buttons/DropdownButton.js';
3
3
  export declare const HeaderDropdownButton: PolymorphicForwardRefComponent<"button", DropdownButtonProps>;
4
4
  export default HeaderDropdownButton;
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import cx from 'classnames';
6
6
  import * as React from 'react';
7
- import { DropdownMenu } from '../DropdownMenu/index.js';
7
+ import { DropdownMenu } from '../DropdownMenu/DropdownMenu.js';
8
8
  import {
9
9
  useMergedRefs,
10
10
  SvgCaretDownSmall,
@@ -1,4 +1,4 @@
1
1
  import type { PolymorphicForwardRefComponent } from '../utils/index.js';
2
- import type { SplitButtonProps } from '../Buttons/SplitButton/SplitButton.js';
2
+ import type { SplitButtonProps } from '../Buttons/SplitButton.js';
3
3
  export declare const HeaderSplitButton: PolymorphicForwardRefComponent<"button", SplitButtonProps>;
4
4
  export default HeaderSplitButton;
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import cx from 'classnames';
6
6
  import * as React from 'react';
7
- import { DropdownMenu } from '../DropdownMenu/index.js';
7
+ import { DropdownMenu } from '../DropdownMenu/DropdownMenu.js';
8
8
  import {
9
9
  SvgCaretDownSmall,
10
10
  SvgCaretUpSmall,
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import type { AnyString } from '../types.js';
3
- import type { PolymorphicForwardRefComponent } from '../props.js';
2
+ import type { AnyString } from '../utils/types.js';
3
+ import type { PolymorphicForwardRefComponent } from '../utils/props.js';
4
4
  export type IconProps = {
5
5
  /**
6
6
  * Size of the svg.
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
- import { Box } from './Box.js';
7
+ import { Box } from '../utils/components/Box.js';
8
8
  const getSizeValue = (size) => {
9
9
  switch (size) {
10
10
  case 'small':
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
- import { IconButton } from '../Buttons/index.js';
7
+ import { IconButton } from '../Buttons/IconButton.js';
8
8
  import { SvgCloseSmall, Box } from '../utils/index.js';
9
9
  /**
10
10
  * Header of the InformationPanel to be passed in the `header` prop.
@@ -17,7 +17,6 @@ export type InputProps = {
17
17
  /**
18
18
  * Basic input component
19
19
  * @example
20
- * <Input setFocus />
21
20
  * <Input disabled />
22
21
  * <Input size='small' />
23
22
  */
@@ -8,7 +8,6 @@ import { useMergedRefs, Box } from '../utils/index.js';
8
8
  /**
9
9
  * Basic input component
10
10
  * @example
11
- * <Input setFocus />
12
11
  * <Input disabled />
13
12
  * <Input size='small' />
14
13
  */
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { PolymorphicForwardRefComponent } from '../utils/index.js';
3
- import { StatusMessage } from '../StatusMessage/index.js';
3
+ import { StatusMessage } from '../StatusMessage/StatusMessage.js';
4
4
  type InputGroupProps = {
5
5
  /**
6
6
  * Label of the group.
@@ -5,9 +5,9 @@
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
7
  import { StatusIconMap, Box } from '../utils/index.js';
8
- import { InputGrid } from '../InputGrid/index.js';
9
- import { Label } from '../Label/index.js';
10
- import { StatusMessage } from '../StatusMessage/index.js';
8
+ import { InputGrid } from '../InputGrid/InputGrid.js';
9
+ import { Label } from '../Label/Label.js';
10
+ import { StatusMessage } from '../StatusMessage/StatusMessage.js';
11
11
  /**
12
12
  * Group Checkbox/Radio components together
13
13
  * @example
@@ -33,7 +33,7 @@ export declare const InputWithDecorations: PolymorphicForwardRefComponent<"div",
33
33
  isActive?: boolean | undefined;
34
34
  label?: React.ReactNode;
35
35
  iconProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> | undefined;
36
- } & Omit<import("../Buttons/Button/Button.js").ButtonProps, "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
36
+ } & Omit<import("../Buttons/Button.js").ButtonProps, "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
37
37
  as?: "button" | undefined;
38
38
  }>;
39
39
  };
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import { Box, InputFlexContainer, useSafeContext } from '../utils/index.js';
7
- import { IconButton } from '../Buttons/index.js';
7
+ import { IconButton } from '../Buttons/IconButton.js';
8
8
  const InputWithDecorationsContext = React.createContext(undefined);
9
9
  const InputWithDecorationsComponent = React.forwardRef((props, ref) => {
10
10
  const { children, size, isDisabled, ...rest } = props;
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { Input } from '../Input/Input.js';
3
- import { Icon } from '../utils/index.js';
4
3
  import type { PolymorphicForwardRefComponent } from '../utils/index.js';
5
- import { InputGrid } from '../InputGrid/index.js';
6
- import { InputWithDecorations } from '../InputWithDecorations/index.js';
4
+ import { InputGrid } from '../InputGrid/InputGrid.js';
5
+ import { InputWithDecorations } from '../InputWithDecorations/InputWithDecorations.js';
6
+ import { Icon } from '../Icon/Icon.js';
7
7
  export type LabeledInputProps = {
8
8
  /**
9
9
  * Label of the input.
@@ -56,7 +56,7 @@ export type LabeledInputProps = {
56
56
  * <LabeledInput label='My label' />
57
57
  * <LabeledInput disabled label='My label' />
58
58
  * <LabeledInput status='positive' label='Positive' />
59
- * <LabeledInput status='negative' label='Negative' setFocus />
59
+ * <LabeledInput status='negative' label='Negative' />
60
60
  */
61
61
  export declare const LabeledInput: PolymorphicForwardRefComponent<"input", LabeledInputProps>;
62
62
  export default LabeledInput;
@@ -4,18 +4,19 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import { Input } from '../Input/Input.js';
7
- import { StatusIconMap, useId, Icon } from '../utils/index.js';
8
- import { InputGrid } from '../InputGrid/index.js';
9
- import { InputWithDecorations } from '../InputWithDecorations/index.js';
7
+ import { StatusIconMap, useId } from '../utils/index.js';
8
+ import { InputGrid } from '../InputGrid/InputGrid.js';
9
+ import { InputWithDecorations } from '../InputWithDecorations/InputWithDecorations.js';
10
10
  import { StatusMessage } from '../StatusMessage/StatusMessage.js';
11
11
  import { Label } from '../Label/Label.js';
12
+ import { Icon } from '../Icon/Icon.js';
12
13
  /**
13
14
  * Basic labeled input component
14
15
  * @example
15
16
  * <LabeledInput label='My label' />
16
17
  * <LabeledInput disabled label='My label' />
17
18
  * <LabeledInput status='positive' label='Positive' />
18
- * <LabeledInput status='negative' label='Negative' setFocus />
19
+ * <LabeledInput status='negative' label='Negative' />
19
20
  */
20
21
  export const LabeledInput = React.forwardRef((props, ref) => {
21
22
  const uid = useId();
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import type { SelectProps } from '../Select/Select.js';
3
- import { Icon } from '../utils/index.js';
4
3
  import type { LabeledInputProps } from '../LabeledInput/LabeledInput.js';
5
4
  import { InputGrid } from '../InputGrid/InputGrid.js';
5
+ import { Icon } from '../Icon/Icon.js';
6
6
  export type LabeledSelectProps<T> = {
7
7
  /**
8
8
  * Label of the select.
@@ -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 { Select } from '../Select/index.js';
7
- import { StatusIconMap, useId, Icon } from '../utils/index.js';
6
+ import { Select } from '../Select/Select.js';
7
+ import { StatusIconMap, useId } from '../utils/index.js';
8
8
  import { StatusMessage } from '../StatusMessage/StatusMessage.js';
9
9
  import { InputGrid } from '../InputGrid/InputGrid.js';
10
10
  import { Label } from '../Label/Label.js';
11
+ import { Icon } from '../Icon/Icon.js';
11
12
  /**
12
13
  * Labeled select component to select value from options.
13
14
  * @example
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Icon } from '../utils/index.js';
2
+ import { Icon } from '../Icon/Icon.js';
3
3
  import type { PolymorphicForwardRefComponent } from '../utils/index.js';
4
4
  import type { LabeledInputProps } from '../LabeledInput/LabeledInput.js';
5
5
  import { InputGrid } from '../InputGrid/InputGrid.js';
@@ -3,9 +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 { Icon } from '../utils/index.js';
6
+ import { Icon } from '../Icon/Icon.js';
7
7
  import { InputGrid } from '../InputGrid/InputGrid.js';
8
- import { LabeledInput } from '../LabeledInput/index.js';
8
+ import { LabeledInput } from '../LabeledInput/LabeledInput.js';
9
9
  /**
10
10
  * Textarea wrapper that allows for additional styling and labelling
11
11
  * @example
@@ -8,7 +8,7 @@
8
8
  * </Surface>
9
9
  * </LinkBox>
10
10
  */
11
- export declare const LinkAction: import("../props.js").PolymorphicForwardRefComponent<"a", {}>;
11
+ export declare const LinkAction: import("../utils/props.js").PolymorphicForwardRefComponent<"a", {}>;
12
12
  /**
13
13
  * Polymorphic link box component.
14
14
  * Used to wrap around your component to use LinkAction.
@@ -20,4 +20,4 @@ export declare const LinkAction: import("../props.js").PolymorphicForwardRefComp
20
20
  * </Surface>
21
21
  * </LinkBox>
22
22
  */
23
- export declare const LinkBox: import("../props.js").PolymorphicForwardRefComponent<"div", {}>;
23
+ export declare const LinkBox: import("../utils/props.js").PolymorphicForwardRefComponent<"div", {}>;
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
- import { polymorphic } from '../functions/polymorphic.js';
5
+ import { polymorphic } from '../utils/functions/polymorphic.js';
6
6
  /**
7
7
  * Polymorphic link action component.
8
8
  * It is rendered as `a` by default.
@@ -5,7 +5,6 @@
5
5
  import * as React from 'react';
6
6
  import {
7
7
  SvgCaretRightSmall,
8
- usePopover,
9
8
  Portal,
10
9
  useMergedRefs,
11
10
  useId,
@@ -13,6 +12,7 @@ import {
13
12
  import { Menu } from './Menu.js';
14
13
  import { ListItem } from '../List/ListItem.js';
15
14
  import { flushSync } from 'react-dom';
15
+ import { usePopover } from '../Popover/Popover.js';
16
16
  /**
17
17
  * Context used to provide menu item ref to sub-menu items.
18
18
  */
@@ -4,7 +4,8 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
- import { Box, VisuallyHidden } from '../utils/index.js';
7
+ import { Box } from '../utils/index.js';
8
+ import { VisuallyHidden } from '../VisuallyHidden/VisuallyHidden.js';
8
9
  /**
9
10
  * Menu item that uses skeletons to indicate loading state.
10
11
  */
@@ -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 { Dialog } from '../Dialog/index.js';
6
+ import { Dialog } from '../Dialog/Dialog.js';
7
7
  /**
8
8
  * Modal component which can wrap any content.
9
9
  * @example
@@ -3,9 +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 { Button } from '../Buttons/Button/index.js';
6
+ import { Button } from '../Buttons/Button.js';
7
7
  import { NonIdealState } from './NonIdealState.js';
8
- import { ProgressRadial } from '../ProgressIndicators/index.js';
8
+ import { ProgressRadial } from '../ProgressIndicators/ProgressRadial.js';
9
9
  import { dynamicImport } from '../utils/index.js';
10
10
  const Svg401 = React.lazy(() =>
11
11
  dynamicImport('@itwin/itwinui-illustrations-react/Svg401'),
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { Placement } from '@floating-ui/react';
3
- import type { PolymorphicForwardRefComponent } from '../index.js';
4
- import type { PortalProps } from './Portal.js';
3
+ import type { PolymorphicForwardRefComponent } from '../utils/index.js';
4
+ import type { PortalProps } from '../utils/components/Portal.js';
5
5
  type PopoverOptions = {
6
6
  /**
7
7
  * Placement of the popover content.
@@ -81,11 +81,7 @@ export declare const usePopover: (options: PopoverOptions & PopoverInternalProps
81
81
  setFloating: (node: HTMLElement | null) => void;
82
82
  } & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
83
83
  elements: {
84
- reference: import("@floating-ui/react-dom").ReferenceType | null; /**
85
- * Middleware options.
86
- *
87
- * @see https://floating-ui.com/docs/offset
88
- */
84
+ reference: import("@floating-ui/react-dom").ReferenceType | null;
89
85
  floating: HTMLElement | null;
90
86
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
91
87
  context: {
@@ -3,6 +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 cx from 'classnames';
6
7
  import {
7
8
  useFloating,
8
9
  useClick,
@@ -27,10 +28,9 @@ import {
27
28
  cloneElementWithRef,
28
29
  useControlledState,
29
30
  useMergedRefs,
30
- } from '../index.js';
31
- import { Portal } from './Portal.js';
32
- import { Surface } from '../../Surface/index.js';
33
- import { ThemeProvider } from '../../ThemeProvider/index.js';
31
+ } from '../utils/index.js';
32
+ import { Portal } from '../utils/components/Portal.js';
33
+ import { ThemeProvider } from '../ThemeProvider/ThemeProvider.js';
34
34
  // ----------------------------------------------------------------------------
35
35
  export const usePopover = (options) => {
36
36
  const {
@@ -126,6 +126,7 @@ export const Popover = React.forwardRef((props, forwardedRef) => {
126
126
  matchWidth,
127
127
  //
128
128
  // dom props
129
+ className,
129
130
  children,
130
131
  content,
131
132
  applyBackground,
@@ -170,7 +171,10 @@ export const Popover = React.forwardRef((props, forwardedRef) => {
170
171
  React.createElement(
171
172
  Box,
172
173
  {
173
- as: applyBackground ? Surface : 'div',
174
+ className: cx(
175
+ { 'iui-popover-surface': applyBackground },
176
+ className,
177
+ ),
174
178
  ...popover.getFloatingProps(rest),
175
179
  ref: popoverRef,
176
180
  },
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { InputGroup } from '../InputGroup/index.js';
2
+ import { InputGroup } from '../InputGroup/InputGroup.js';
3
3
  import type { PolymorphicForwardRefComponent } from '../utils/index.js';
4
4
  type RadioTileGroupProps = Omit<React.ComponentProps<typeof InputGroup>, 'displayStyle' | 'disabled'>;
5
5
  /**
@@ -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 { InputGroup } from '../InputGroup/index.js';
6
+ import { InputGroup } from '../InputGroup/InputGroup.js';
7
7
  import { Box } from '../utils/index.js';
8
8
  /**
9
9
  * RadioTileGroup component to group RadioTile components together
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
- import type { IconProps, PolymorphicForwardRefComponent, InputFlexContainerProps } from '../utils/index.js';
3
- import type { IconButtonProps } from '../Buttons/IconButton/IconButton.js';
2
+ import type { PolymorphicForwardRefComponent, InputFlexContainerProps } from '../utils/index.js';
3
+ import type { IconButtonProps } from '../Buttons/IconButton.js';
4
+ import type { IconProps } from '../Icon/Icon.js';
4
5
  type SearchBoxOwnProps = {
5
6
  /**
6
7
  * Whether the searchbox is expandable.
@@ -10,12 +10,12 @@ import {
10
10
  SvgCloseSmall,
11
11
  useSafeContext,
12
12
  useId,
13
- Icon,
14
13
  useMergedRefs,
15
14
  mergeEventHandlers,
16
15
  Box,
17
16
  } from '../utils/index.js';
18
- import { IconButton } from '../Buttons/IconButton/index.js';
17
+ import { IconButton } from '../Buttons/IconButton.js';
18
+ import { Icon } from '../Icon/Icon.js';
19
19
  const SearchBoxContext = React.createContext(undefined);
20
20
  const SearchBoxComponent = React.forwardRef((props, ref) => {
21
21
  const {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { usePopover } from '../utils/index.js';
3
2
  import type { CommonProps } from '../utils/index.js';
3
+ import { usePopover } from '../Popover/Popover.js';
4
4
  export type ItemRendererProps = {
5
5
  /**
6
6
  * Close handler that closes the dropdown.
@@ -4,20 +4,21 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
- import { Menu, MenuItem } from '../Menu/index.js';
7
+ import { Menu } from '../Menu/Menu.js';
8
+ import { MenuItem } from '../Menu/MenuItem.js';
8
9
  import {
9
10
  SvgCaretDownSmall,
10
11
  useId,
11
12
  AutoclearingHiddenLiveRegion,
12
13
  Box,
13
- usePopover,
14
14
  Portal,
15
15
  useMergedRefs,
16
16
  SvgCheckmark,
17
- Icon,
18
17
  } from '../utils/index.js';
19
- import SelectTag from './SelectTag.js';
20
- import SelectTagContainer from './SelectTagContainer.js';
18
+ import { SelectTag } from './SelectTag.js';
19
+ import { SelectTagContainer } from './SelectTagContainer.js';
20
+ import { Icon } from '../Icon/Icon.js';
21
+ import { usePopover } from '../Popover/Popover.js';
21
22
  const isMultipleEnabled = (variable, multiple) => {
22
23
  return multiple;
23
24
  };
@@ -5,7 +5,7 @@
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
7
  import { useOverflow, useMergedRefs, Box } from '../utils/index.js';
8
- import SelectTag from './SelectTag.js';
8
+ import { SelectTag } from './SelectTag.js';
9
9
  /**
10
10
  */
11
11
  export const SelectTagContainer = React.forwardRef((props, ref) => {
@@ -5,8 +5,8 @@
5
5
  import * as React from 'react';
6
6
  import cx from 'classnames';
7
7
  import { WithCSSTransition, SvgChevronRight, Box } from '../utils/index.js';
8
- import { IconButton } from '../Buttons/index.js';
9
- import { Tooltip } from '../Tooltip/index.js';
8
+ import { IconButton } from '../Buttons/IconButton.js';
9
+ import { Tooltip } from '../Tooltip/Tooltip.js';
10
10
  /**
11
11
  * Left side navigation menu component.
12
12
  * @example
@@ -1,5 +1,5 @@
1
1
  import type { PolymorphicForwardRefComponent } from '../utils/index.js';
2
- import type { ButtonProps } from '../Buttons/Button/Button.js';
2
+ import type { ButtonProps } from '../Buttons/Button.js';
3
3
  type SidenavButtonProps = {
4
4
  /**
5
5
  * Whether the sidenav button is active,
@@ -4,7 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import cx from 'classnames';
6
6
  import * as React from 'react';
7
- import { Button } from '../Buttons/index.js';
7
+ import { Button } from '../Buttons/Button.js';
8
8
  /**
9
9
  * Wrapper around Button to be used as SideNavigation items.
10
10
  * Label is hidden when sidenav is collapsed.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { PolymorphicForwardRefComponent } from '../utils/index.js';
3
- import type { Tooltip } from '../Tooltip/index.js';
3
+ import type { Tooltip } from '../Tooltip/Tooltip.js';
4
4
  /**
5
5
  * Determines which segments are shown with color.
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Tooltip } from '../Tooltip/index.js';
2
+ import { Tooltip } from '../Tooltip/Tooltip.js';
3
3
  import type { SliderProps } from './Slider.js';
4
4
  type ThumbProps = {
5
5
  /**
@@ -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.
@@ -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;
@@ -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,
@@ -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,