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

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 (599) hide show
  1. package/CHANGELOG.md +40 -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 +2 -2
  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/cjs/core/{utils/components → Popover}/Popover.d.ts +29 -13
  74. package/cjs/core/{utils/components → Popover}/Popover.js +43 -25
  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/Surface/Surface.d.ts +8 -0
  93. package/cjs/core/Surface/Surface.js +19 -1
  94. package/cjs/core/Table/SubRowExpander.d.ts +1 -1
  95. package/cjs/core/Table/SubRowExpander.js +2 -2
  96. package/cjs/core/Table/Table.d.ts +1 -1
  97. package/cjs/core/Table/Table.js +49 -49
  98. package/cjs/core/Table/TableCell.d.ts +1 -1
  99. package/cjs/core/Table/TablePaginator.js +27 -25
  100. package/cjs/core/Table/TableRowMemoized.d.ts +1 -1
  101. package/cjs/core/Table/actionHandlers/expandHandler.d.ts +1 -1
  102. package/cjs/core/Table/actionHandlers/filterHandler.d.ts +1 -1
  103. package/cjs/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
  104. package/cjs/core/Table/actionHandlers/selectHandler.d.ts +8 -8
  105. package/cjs/core/Table/cells/DefaultCell.d.ts +1 -1
  106. package/cjs/core/Table/cells/EditableCell.d.ts +1 -1
  107. package/cjs/core/Table/columns/actionColumn.d.ts +2 -2
  108. package/cjs/core/Table/columns/actionColumn.js +10 -10
  109. package/cjs/core/Table/columns/expanderColumn.d.ts +1 -1
  110. package/cjs/core/Table/columns/expanderColumn.js +5 -4
  111. package/cjs/core/Table/columns/selectionColumn.d.ts +1 -1
  112. package/cjs/core/Table/columns/selectionColumn.js +5 -5
  113. package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
  114. package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +23 -19
  115. package/cjs/core/Table/filters/FilterButtonBar.js +3 -3
  116. package/cjs/core/Table/filters/FilterToggle.d.ts +1 -1
  117. package/cjs/core/Table/filters/FilterToggle.js +4 -3
  118. package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +3 -3
  119. package/cjs/core/Table/filters/TextFilter/TextFilter.js +2 -2
  120. package/cjs/core/Table/filters/customFilterFunctions.d.ts +1 -1
  121. package/cjs/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
  122. package/cjs/core/Table/filters/types.d.ts +1 -1
  123. package/cjs/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
  124. package/cjs/core/Table/hooks/useExpanderCell.d.ts +1 -1
  125. package/cjs/core/Table/hooks/useResizeColumns.d.ts +1 -1
  126. package/cjs/core/Table/hooks/useScrollToRow.d.ts +1 -1
  127. package/cjs/core/Table/hooks/useScrollToRow.js +1 -1
  128. package/cjs/core/Table/hooks/useSelectionCell.d.ts +1 -1
  129. package/cjs/core/Table/hooks/useStickyColumns.d.ts +1 -1
  130. package/cjs/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
  131. package/cjs/core/Table/hooks/useSubRowSelection.d.ts +1 -1
  132. package/cjs/core/Table/utils.d.ts +1 -1
  133. package/cjs/core/Tag/Tag.js +2 -2
  134. package/cjs/core/Textarea/Textarea.js +2 -2
  135. package/cjs/core/Tile/Tile.d.ts +2 -2
  136. package/cjs/core/Tile/Tile.js +9 -8
  137. package/cjs/core/Toast/Toast.js +2 -2
  138. package/cjs/core/TransferList/TransferList.d.ts +1 -1
  139. package/cjs/core/TransferList/TransferList.js +6 -5
  140. package/cjs/core/Tree/TreeNodeExpander.d.ts +1 -1
  141. package/cjs/core/Tree/TreeNodeExpander.js +2 -2
  142. package/{esm/core/Typography/Anchor → cjs/core/Typography}/Anchor.d.ts +1 -1
  143. package/cjs/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
  144. package/{esm/core/Typography/Blockquote → cjs/core/Typography}/Blockquote.d.ts +1 -1
  145. package/cjs/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
  146. package/cjs/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
  147. package/cjs/core/Typography/{Code/Code.js → Code.js} +1 -1
  148. package/{esm/core/Typography/Kbd → cjs/core/Typography}/Kbd.d.ts +1 -1
  149. package/cjs/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
  150. package/{esm/core/Typography/Text → cjs/core/Typography}/Text.d.ts +1 -1
  151. package/cjs/core/Typography/{Text/Text.js → Text.js} +1 -1
  152. package/{esm/core/utils/components → cjs/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
  153. package/cjs/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
  154. package/cjs/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
  155. package/cjs/core/utils/components/InputContainer.js +4 -4
  156. package/cjs/core/utils/components/index.d.ts +0 -6
  157. package/cjs/core/utils/components/index.js +0 -6
  158. package/cjs/core/utils/hooks/useGlobals.d.ts +1 -1
  159. package/cjs/index.d.ts +113 -1
  160. package/cjs/index.js +951 -4
  161. package/cjs/styles.js +5 -4
  162. package/esm/core/Alert/Alert.d.ts +1 -1
  163. package/esm/core/Alert/Alert.js +2 -2
  164. package/esm/core/Avatar/Avatar.js +2 -6
  165. package/esm/core/Breadcrumbs/Breadcrumbs.js +1 -1
  166. package/esm/core/Buttons/{Button/Button.d.ts → Button.d.ts} +2 -2
  167. package/esm/core/Buttons/{Button/Button.js → Button.js} +1 -1
  168. package/{cjs/core/Buttons/DropdownButton → esm/core/Buttons}/DropdownButton.d.ts +3 -3
  169. package/esm/core/Buttons/{DropdownButton/DropdownButton.js → DropdownButton.js} +3 -3
  170. package/{cjs/core/Buttons/IconButton → esm/core/Buttons}/IconButton.d.ts +2 -2
  171. package/esm/core/Buttons/{IconButton/IconButton.js → IconButton.js} +3 -2
  172. package/{cjs/core/Buttons/IdeasButton → esm/core/Buttons}/IdeasButton.d.ts +1 -1
  173. package/esm/core/Buttons/{IdeasButton/IdeasButton.js → IdeasButton.js} +2 -2
  174. package/esm/core/Buttons/{SplitButton/SplitButton.d.ts → SplitButton.d.ts} +3 -3
  175. package/esm/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +5 -5
  176. package/esm/core/Carousel/Carousel.d.ts +2 -2
  177. package/esm/core/Carousel/CarouselNavigation.d.ts +2 -2
  178. package/esm/core/Carousel/CarouselNavigation.js +1 -1
  179. package/esm/core/Checkbox/Checkbox.js +1 -1
  180. package/esm/core/ColorPicker/ColorBuilder.js +1 -1
  181. package/esm/core/ColorPicker/ColorInputPanel.js +2 -2
  182. package/esm/core/ColorPicker/ColorPicker.js +5 -3
  183. package/esm/core/ComboBox/ComboBox.d.ts +1 -1
  184. package/esm/core/ComboBox/ComboBox.js +4 -4
  185. package/esm/core/ComboBox/ComboBoxEndIcon.js +2 -1
  186. package/esm/core/ComboBox/ComboBoxInput.d.ts +1 -1
  187. package/esm/core/ComboBox/ComboBoxInput.js +1 -1
  188. package/esm/core/ComboBox/ComboBoxInputContainer.js +1 -1
  189. package/esm/core/ComboBox/ComboBoxMenu.d.ts +1 -1
  190. package/esm/core/ComboBox/ComboBoxMenu.js +1 -1
  191. package/esm/core/ComboBox/helpers.d.ts +1 -1
  192. package/esm/core/DatePicker/DatePicker.js +7 -5
  193. package/esm/core/Dialog/DialogBackdrop.js +1 -1
  194. package/esm/core/Dialog/DialogTitleBar.js +1 -1
  195. package/esm/core/{utils/components → Divider}/Divider.d.ts +1 -1
  196. package/esm/core/{utils/components → Divider}/Divider.js +1 -1
  197. package/esm/core/DropdownMenu/DropdownMenu.d.ts +2 -2
  198. package/esm/core/DropdownMenu/DropdownMenu.js +2 -3
  199. package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +1 -1
  200. package/esm/core/ExpandableBlock/ExpandableBlock.js +1 -1
  201. package/esm/core/FileUpload/FileUploadCard.js +2 -2
  202. package/esm/core/FileUpload/FileUploadTemplate.js +1 -1
  203. package/esm/core/{utils/components → Flex}/Flex.d.ts +2 -2
  204. package/esm/core/{utils/components → Flex}/Flex.js +1 -1
  205. package/esm/core/Header/Header.js +2 -2
  206. package/esm/core/Header/HeaderBasicButton.d.ts +1 -1
  207. package/esm/core/Header/HeaderButton.d.ts +2 -2
  208. package/esm/core/Header/HeaderDropdownButton.d.ts +1 -1
  209. package/esm/core/Header/HeaderDropdownButton.js +1 -1
  210. package/esm/core/Header/HeaderSplitButton.d.ts +1 -1
  211. package/esm/core/Header/HeaderSplitButton.js +1 -1
  212. package/{cjs/core/utils/components → esm/core/Icon}/Icon.d.ts +2 -2
  213. package/esm/core/{utils/components → Icon}/Icon.js +1 -1
  214. package/esm/core/InformationPanel/InformationPanelHeader.js +1 -1
  215. package/esm/core/Input/Input.d.ts +0 -1
  216. package/esm/core/Input/Input.js +0 -1
  217. package/esm/core/InputGroup/InputGroup.d.ts +1 -1
  218. package/esm/core/InputGroup/InputGroup.js +3 -3
  219. package/esm/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
  220. package/esm/core/InputWithDecorations/InputWithDecorations.js +1 -1
  221. package/esm/core/LabeledInput/LabeledInput.d.ts +4 -4
  222. package/esm/core/LabeledInput/LabeledInput.js +5 -4
  223. package/esm/core/LabeledSelect/LabeledSelect.d.ts +1 -1
  224. package/esm/core/LabeledSelect/LabeledSelect.js +3 -2
  225. package/esm/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
  226. package/esm/core/LabeledTextarea/LabeledTextarea.js +2 -2
  227. package/{cjs/core/utils/components → esm/core/LinkAction}/LinkAction.d.ts +2 -2
  228. package/esm/core/{utils/components → LinkAction}/LinkAction.js +1 -1
  229. package/esm/core/Menu/MenuItem.js +1 -1
  230. package/esm/core/Menu/MenuItemSkeleton.js +2 -1
  231. package/esm/core/Modal/Modal.js +1 -1
  232. package/esm/core/NonIdealState/ErrorPage.js +2 -2
  233. package/esm/core/{utils/components → Popover}/Popover.d.ts +29 -13
  234. package/esm/core/{utils/components → Popover}/Popover.js +45 -25
  235. package/esm/core/RadioTiles/RadioTileGroup.d.ts +1 -1
  236. package/esm/core/RadioTiles/RadioTileGroup.js +1 -1
  237. package/esm/core/SearchBox/SearchBox.d.ts +3 -2
  238. package/esm/core/SearchBox/SearchBox.js +2 -2
  239. package/esm/core/Select/Select.d.ts +1 -1
  240. package/esm/core/Select/Select.js +6 -5
  241. package/esm/core/Select/SelectTagContainer.js +1 -1
  242. package/esm/core/SideNavigation/SideNavigation.js +2 -2
  243. package/esm/core/SideNavigation/SidenavButton.d.ts +1 -1
  244. package/esm/core/SideNavigation/SidenavButton.js +1 -1
  245. package/esm/core/Slider/Slider.d.ts +1 -1
  246. package/esm/core/Slider/Thumb.d.ts +1 -1
  247. package/esm/core/Slider/Thumb.js +1 -1
  248. package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
  249. package/esm/core/StatusMessage/StatusMessage.js +2 -1
  250. package/esm/core/Stepper/StepperStep.js +1 -1
  251. package/esm/core/Stepper/WorkflowDiagramStep.js +1 -1
  252. package/esm/core/Surface/Surface.d.ts +8 -0
  253. package/esm/core/Surface/Surface.js +19 -1
  254. package/esm/core/Table/SubRowExpander.d.ts +1 -1
  255. package/esm/core/Table/SubRowExpander.js +1 -1
  256. package/esm/core/Table/Table.d.ts +1 -1
  257. package/esm/core/Table/Table.js +1 -1
  258. package/esm/core/Table/TableCell.d.ts +1 -1
  259. package/esm/core/Table/TablePaginator.js +5 -3
  260. package/esm/core/Table/TableRowMemoized.d.ts +1 -1
  261. package/esm/core/Table/actionHandlers/expandHandler.d.ts +1 -1
  262. package/esm/core/Table/actionHandlers/filterHandler.d.ts +1 -1
  263. package/esm/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
  264. package/esm/core/Table/actionHandlers/selectHandler.d.ts +8 -8
  265. package/esm/core/Table/cells/DefaultCell.d.ts +1 -1
  266. package/esm/core/Table/cells/EditableCell.d.ts +1 -1
  267. package/esm/core/Table/columns/actionColumn.d.ts +2 -2
  268. package/esm/core/Table/columns/actionColumn.js +4 -4
  269. package/esm/core/Table/columns/expanderColumn.d.ts +1 -1
  270. package/esm/core/Table/columns/expanderColumn.js +2 -1
  271. package/esm/core/Table/columns/selectionColumn.d.ts +1 -1
  272. package/esm/core/Table/columns/selectionColumn.js +1 -1
  273. package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
  274. package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.js +6 -5
  275. package/esm/core/Table/filters/FilterButtonBar.js +1 -1
  276. package/esm/core/Table/filters/FilterToggle.d.ts +1 -1
  277. package/esm/core/Table/filters/FilterToggle.js +3 -7
  278. package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
  279. package/esm/core/Table/filters/TextFilter/TextFilter.js +1 -1
  280. package/esm/core/Table/filters/customFilterFunctions.d.ts +1 -1
  281. package/esm/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
  282. package/esm/core/Table/filters/types.d.ts +1 -1
  283. package/esm/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
  284. package/esm/core/Table/hooks/useExpanderCell.d.ts +1 -1
  285. package/esm/core/Table/hooks/useResizeColumns.d.ts +1 -1
  286. package/esm/core/Table/hooks/useScrollToRow.d.ts +1 -1
  287. package/esm/core/Table/hooks/useScrollToRow.js +1 -1
  288. package/esm/core/Table/hooks/useSelectionCell.d.ts +1 -1
  289. package/esm/core/Table/hooks/useStickyColumns.d.ts +1 -1
  290. package/esm/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
  291. package/esm/core/Table/hooks/useSubRowSelection.d.ts +1 -1
  292. package/esm/core/Table/utils.d.ts +1 -1
  293. package/esm/core/Tag/Tag.js +1 -1
  294. package/esm/core/Textarea/Textarea.js +1 -1
  295. package/esm/core/Tile/Tile.d.ts +2 -2
  296. package/esm/core/Tile/Tile.js +4 -4
  297. package/esm/core/Toast/Toast.js +1 -1
  298. package/esm/core/TransferList/TransferList.d.ts +1 -1
  299. package/esm/core/TransferList/TransferList.js +3 -2
  300. package/esm/core/Tree/TreeNodeExpander.d.ts +1 -1
  301. package/esm/core/Tree/TreeNodeExpander.js +1 -1
  302. package/{cjs/core/Typography/Anchor → esm/core/Typography}/Anchor.d.ts +1 -1
  303. package/esm/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
  304. package/{cjs/core/Typography/Blockquote → esm/core/Typography}/Blockquote.d.ts +1 -1
  305. package/esm/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
  306. package/esm/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
  307. package/esm/core/Typography/{Code/Code.js → Code.js} +1 -1
  308. package/{cjs/core/Typography/Kbd → esm/core/Typography}/Kbd.d.ts +1 -1
  309. package/esm/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
  310. package/{cjs/core/Typography/Text → esm/core/Typography}/Text.d.ts +1 -1
  311. package/esm/core/Typography/{Text/Text.js → Text.js} +1 -1
  312. package/{cjs/core/utils/components → esm/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
  313. package/esm/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
  314. package/esm/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
  315. package/esm/core/utils/components/InputContainer.js +2 -2
  316. package/esm/core/utils/components/index.d.ts +0 -6
  317. package/esm/core/utils/components/index.js +0 -6
  318. package/esm/core/utils/hooks/useGlobals.d.ts +1 -1
  319. package/esm/index.d.ts +113 -1
  320. package/esm/index.js +124 -1
  321. package/esm/styles.js +5 -4
  322. package/package.json +8 -9
  323. package/styles.css +15 -15
  324. package/cjs/core/Alert/index.d.ts +0 -3
  325. package/cjs/core/Alert/index.js +0 -15
  326. package/cjs/core/Avatar/index.d.ts +0 -3
  327. package/cjs/core/Avatar/index.js +0 -15
  328. package/cjs/core/AvatarGroup/index.d.ts +0 -3
  329. package/cjs/core/AvatarGroup/index.js +0 -15
  330. package/cjs/core/Backdrop/index.d.ts +0 -1
  331. package/cjs/core/Backdrop/index.js +0 -14
  332. package/cjs/core/Badge/index.d.ts +0 -3
  333. package/cjs/core/Badge/index.js +0 -15
  334. package/cjs/core/Breadcrumbs/index.d.ts +0 -3
  335. package/cjs/core/Breadcrumbs/index.js +0 -15
  336. package/cjs/core/ButtonGroup/index.d.ts +0 -3
  337. package/cjs/core/ButtonGroup/index.js +0 -15
  338. package/cjs/core/Buttons/Button/index.d.ts +0 -3
  339. package/cjs/core/Buttons/Button/index.js +0 -15
  340. package/cjs/core/Buttons/DropdownButton/index.d.ts +0 -3
  341. package/cjs/core/Buttons/DropdownButton/index.js +0 -15
  342. package/cjs/core/Buttons/IconButton/index.d.ts +0 -3
  343. package/cjs/core/Buttons/IconButton/index.js +0 -15
  344. package/cjs/core/Buttons/IdeasButton/index.d.ts +0 -3
  345. package/cjs/core/Buttons/IdeasButton/index.js +0 -15
  346. package/cjs/core/Buttons/SplitButton/index.d.ts +0 -3
  347. package/cjs/core/Buttons/SplitButton/index.js +0 -15
  348. package/cjs/core/Buttons/index.d.ts +0 -5
  349. package/cjs/core/Buttons/index.js +0 -47
  350. package/cjs/core/Carousel/index.d.ts +0 -3
  351. package/cjs/core/Carousel/index.js +0 -15
  352. package/cjs/core/Checkbox/index.d.ts +0 -3
  353. package/cjs/core/Checkbox/index.js +0 -15
  354. package/cjs/core/ColorPicker/index.d.ts +0 -7
  355. package/cjs/core/ColorPicker/index.js +0 -48
  356. package/cjs/core/ComboBox/index.d.ts +0 -3
  357. package/cjs/core/ComboBox/index.js +0 -15
  358. package/cjs/core/DatePicker/index.d.ts +0 -3
  359. package/cjs/core/DatePicker/index.js +0 -21
  360. package/cjs/core/Dialog/index.d.ts +0 -3
  361. package/cjs/core/Dialog/index.js +0 -15
  362. package/cjs/core/DropdownMenu/index.d.ts +0 -4
  363. package/cjs/core/DropdownMenu/index.js +0 -15
  364. package/cjs/core/ExpandableBlock/index.d.ts +0 -3
  365. package/cjs/core/ExpandableBlock/index.js +0 -15
  366. package/cjs/core/Fieldset/index.d.ts +0 -3
  367. package/cjs/core/Fieldset/index.js +0 -15
  368. package/cjs/core/FileUpload/index.d.ts +0 -6
  369. package/cjs/core/FileUpload/index.js +0 -40
  370. package/cjs/core/Footer/index.d.ts +0 -4
  371. package/cjs/core/Footer/index.js +0 -21
  372. package/cjs/core/Header/index.d.ts +0 -6
  373. package/cjs/core/Header/index.js +0 -40
  374. package/cjs/core/InformationPanel/index.d.ts +0 -7
  375. package/cjs/core/InformationPanel/index.js +0 -48
  376. package/cjs/core/Input/index.d.ts +0 -3
  377. package/cjs/core/Input/index.js +0 -15
  378. package/cjs/core/InputGrid/index.d.ts +0 -3
  379. package/cjs/core/InputGrid/index.js +0 -15
  380. package/cjs/core/InputGroup/index.d.ts +0 -3
  381. package/cjs/core/InputGroup/index.js +0 -15
  382. package/cjs/core/InputWithDecorations/index.d.ts +0 -3
  383. package/cjs/core/InputWithDecorations/index.js +0 -15
  384. package/cjs/core/Label/index.d.ts +0 -3
  385. package/cjs/core/Label/index.js +0 -15
  386. package/cjs/core/LabeledInput/index.d.ts +0 -3
  387. package/cjs/core/LabeledInput/index.js +0 -15
  388. package/cjs/core/LabeledSelect/index.d.ts +0 -3
  389. package/cjs/core/LabeledSelect/index.js +0 -15
  390. package/cjs/core/LabeledTextarea/index.d.ts +0 -3
  391. package/cjs/core/LabeledTextarea/index.js +0 -15
  392. package/cjs/core/List/index.d.ts +0 -2
  393. package/cjs/core/List/index.js +0 -21
  394. package/cjs/core/Menu/index.d.ts +0 -5
  395. package/cjs/core/Menu/index.js +0 -47
  396. package/cjs/core/Modal/index.d.ts +0 -5
  397. package/cjs/core/Modal/index.js +0 -29
  398. package/cjs/core/NonIdealState/index.d.ts +0 -5
  399. package/cjs/core/NonIdealState/index.js +0 -22
  400. package/cjs/core/NotificationMarker/index.d.ts +0 -3
  401. package/cjs/core/NotificationMarker/index.js +0 -15
  402. package/cjs/core/Overlay/index.d.ts +0 -1
  403. package/cjs/core/Overlay/index.js +0 -14
  404. package/cjs/core/ProgressIndicators/index.d.ts +0 -2
  405. package/cjs/core/ProgressIndicators/index.js +0 -21
  406. package/cjs/core/Radio/index.d.ts +0 -3
  407. package/cjs/core/Radio/index.js +0 -15
  408. package/cjs/core/RadioTiles/index.d.ts +0 -4
  409. package/cjs/core/RadioTiles/index.js +0 -22
  410. package/cjs/core/SearchBox/index.d.ts +0 -3
  411. package/cjs/core/SearchBox/index.js +0 -15
  412. package/cjs/core/Select/index.d.ts +0 -4
  413. package/cjs/core/Select/index.js +0 -15
  414. package/cjs/core/SideNavigation/index.d.ts +0 -6
  415. package/cjs/core/SideNavigation/index.js +0 -40
  416. package/cjs/core/SkipToContentLink/index.d.ts +0 -3
  417. package/cjs/core/SkipToContentLink/index.js +0 -15
  418. package/cjs/core/Slider/index.d.ts +0 -3
  419. package/cjs/core/Slider/index.js +0 -15
  420. package/cjs/core/StatusMessage/index.d.ts +0 -3
  421. package/cjs/core/StatusMessage/index.js +0 -15
  422. package/cjs/core/Stepper/index.d.ts +0 -3
  423. package/cjs/core/Stepper/index.js +0 -21
  424. package/cjs/core/Surface/index.d.ts +0 -3
  425. package/cjs/core/Surface/index.js +0 -15
  426. package/cjs/core/Tabs/index.d.ts +0 -2
  427. package/cjs/core/Tabs/index.js +0 -21
  428. package/cjs/core/Tag/index.d.ts +0 -4
  429. package/cjs/core/Tag/index.js +0 -22
  430. package/cjs/core/Textarea/index.d.ts +0 -3
  431. package/cjs/core/Textarea/index.js +0 -15
  432. package/cjs/core/ThemeProvider/index.d.ts +0 -4
  433. package/cjs/core/ThemeProvider/index.js +0 -15
  434. package/cjs/core/Tile/index.d.ts +0 -3
  435. package/cjs/core/Tile/index.js +0 -15
  436. package/cjs/core/TimePicker/index.d.ts +0 -4
  437. package/cjs/core/TimePicker/index.js +0 -15
  438. package/cjs/core/Toast/index.d.ts +0 -1
  439. package/cjs/core/Toast/index.js +0 -14
  440. package/cjs/core/ToggleSwitch/index.d.ts +0 -3
  441. package/cjs/core/ToggleSwitch/index.js +0 -15
  442. package/cjs/core/Tooltip/index.d.ts +0 -3
  443. package/cjs/core/Tooltip/index.js +0 -15
  444. package/cjs/core/TransferList/index.d.ts +0 -3
  445. package/cjs/core/TransferList/index.js +0 -15
  446. package/cjs/core/Tree/index.d.ts +0 -4
  447. package/cjs/core/Tree/index.js +0 -28
  448. package/cjs/core/Typography/Anchor/index.d.ts +0 -3
  449. package/cjs/core/Typography/Anchor/index.js +0 -15
  450. package/cjs/core/Typography/Blockquote/index.d.ts +0 -3
  451. package/cjs/core/Typography/Blockquote/index.js +0 -15
  452. package/cjs/core/Typography/Code/index.d.ts +0 -3
  453. package/cjs/core/Typography/Code/index.js +0 -15
  454. package/cjs/core/Typography/Kbd/index.d.ts +0 -3
  455. package/cjs/core/Typography/Kbd/index.js +0 -21
  456. package/cjs/core/Typography/Text/index.d.ts +0 -3
  457. package/cjs/core/Typography/Text/index.js +0 -15
  458. package/cjs/core/Typography/index.d.ts +0 -5
  459. package/cjs/core/Typography/index.js +0 -54
  460. package/cjs/core/index.d.ts +0 -68
  461. package/cjs/core/index.js +0 -916
  462. package/esm/core/Alert/index.d.ts +0 -3
  463. package/esm/core/Alert/index.js +0 -6
  464. package/esm/core/Avatar/index.d.ts +0 -3
  465. package/esm/core/Avatar/index.js +0 -6
  466. package/esm/core/AvatarGroup/index.d.ts +0 -3
  467. package/esm/core/AvatarGroup/index.js +0 -6
  468. package/esm/core/Backdrop/index.d.ts +0 -1
  469. package/esm/core/Backdrop/index.js +0 -5
  470. package/esm/core/Badge/index.d.ts +0 -3
  471. package/esm/core/Badge/index.js +0 -6
  472. package/esm/core/Breadcrumbs/index.d.ts +0 -3
  473. package/esm/core/Breadcrumbs/index.js +0 -6
  474. package/esm/core/ButtonGroup/index.d.ts +0 -3
  475. package/esm/core/ButtonGroup/index.js +0 -6
  476. package/esm/core/Buttons/Button/index.d.ts +0 -3
  477. package/esm/core/Buttons/Button/index.js +0 -6
  478. package/esm/core/Buttons/DropdownButton/index.d.ts +0 -3
  479. package/esm/core/Buttons/DropdownButton/index.js +0 -6
  480. package/esm/core/Buttons/IconButton/index.d.ts +0 -3
  481. package/esm/core/Buttons/IconButton/index.js +0 -6
  482. package/esm/core/Buttons/IdeasButton/index.d.ts +0 -3
  483. package/esm/core/Buttons/IdeasButton/index.js +0 -6
  484. package/esm/core/Buttons/SplitButton/index.d.ts +0 -3
  485. package/esm/core/Buttons/SplitButton/index.js +0 -6
  486. package/esm/core/Buttons/index.d.ts +0 -5
  487. package/esm/core/Buttons/index.js +0 -9
  488. package/esm/core/Carousel/index.d.ts +0 -3
  489. package/esm/core/Carousel/index.js +0 -6
  490. package/esm/core/Checkbox/index.d.ts +0 -3
  491. package/esm/core/Checkbox/index.js +0 -6
  492. package/esm/core/ColorPicker/index.d.ts +0 -7
  493. package/esm/core/ColorPicker/index.js +0 -10
  494. package/esm/core/ComboBox/index.d.ts +0 -3
  495. package/esm/core/ComboBox/index.js +0 -6
  496. package/esm/core/DatePicker/index.d.ts +0 -3
  497. package/esm/core/DatePicker/index.js +0 -6
  498. package/esm/core/Dialog/index.d.ts +0 -3
  499. package/esm/core/Dialog/index.js +0 -6
  500. package/esm/core/DropdownMenu/index.d.ts +0 -4
  501. package/esm/core/DropdownMenu/index.js +0 -6
  502. package/esm/core/ExpandableBlock/index.d.ts +0 -3
  503. package/esm/core/ExpandableBlock/index.js +0 -6
  504. package/esm/core/Fieldset/index.d.ts +0 -3
  505. package/esm/core/Fieldset/index.js +0 -6
  506. package/esm/core/FileUpload/index.d.ts +0 -6
  507. package/esm/core/FileUpload/index.js +0 -9
  508. package/esm/core/Footer/index.d.ts +0 -4
  509. package/esm/core/Footer/index.js +0 -6
  510. package/esm/core/Header/index.d.ts +0 -6
  511. package/esm/core/Header/index.js +0 -9
  512. package/esm/core/InformationPanel/index.d.ts +0 -7
  513. package/esm/core/InformationPanel/index.js +0 -10
  514. package/esm/core/Input/index.d.ts +0 -3
  515. package/esm/core/Input/index.js +0 -6
  516. package/esm/core/InputGrid/index.d.ts +0 -3
  517. package/esm/core/InputGrid/index.js +0 -6
  518. package/esm/core/InputGroup/index.d.ts +0 -3
  519. package/esm/core/InputGroup/index.js +0 -6
  520. package/esm/core/InputWithDecorations/index.d.ts +0 -3
  521. package/esm/core/InputWithDecorations/index.js +0 -6
  522. package/esm/core/Label/index.d.ts +0 -3
  523. package/esm/core/Label/index.js +0 -6
  524. package/esm/core/LabeledInput/index.d.ts +0 -3
  525. package/esm/core/LabeledInput/index.js +0 -6
  526. package/esm/core/LabeledSelect/index.d.ts +0 -3
  527. package/esm/core/LabeledSelect/index.js +0 -6
  528. package/esm/core/LabeledTextarea/index.d.ts +0 -3
  529. package/esm/core/LabeledTextarea/index.js +0 -6
  530. package/esm/core/List/index.d.ts +0 -2
  531. package/esm/core/List/index.js +0 -6
  532. package/esm/core/Menu/index.d.ts +0 -5
  533. package/esm/core/Menu/index.js +0 -9
  534. package/esm/core/Modal/index.d.ts +0 -5
  535. package/esm/core/Modal/index.js +0 -8
  536. package/esm/core/NonIdealState/index.d.ts +0 -5
  537. package/esm/core/NonIdealState/index.js +0 -7
  538. package/esm/core/NotificationMarker/index.d.ts +0 -3
  539. package/esm/core/NotificationMarker/index.js +0 -6
  540. package/esm/core/Overlay/index.d.ts +0 -1
  541. package/esm/core/Overlay/index.js +0 -5
  542. package/esm/core/ProgressIndicators/index.d.ts +0 -2
  543. package/esm/core/ProgressIndicators/index.js +0 -6
  544. package/esm/core/Radio/index.d.ts +0 -3
  545. package/esm/core/Radio/index.js +0 -6
  546. package/esm/core/RadioTiles/index.d.ts +0 -4
  547. package/esm/core/RadioTiles/index.js +0 -7
  548. package/esm/core/SearchBox/index.d.ts +0 -3
  549. package/esm/core/SearchBox/index.js +0 -6
  550. package/esm/core/Select/index.d.ts +0 -4
  551. package/esm/core/Select/index.js +0 -6
  552. package/esm/core/SideNavigation/index.d.ts +0 -6
  553. package/esm/core/SideNavigation/index.js +0 -9
  554. package/esm/core/SkipToContentLink/index.d.ts +0 -3
  555. package/esm/core/SkipToContentLink/index.js +0 -6
  556. package/esm/core/Slider/index.d.ts +0 -3
  557. package/esm/core/Slider/index.js +0 -6
  558. package/esm/core/StatusMessage/index.d.ts +0 -3
  559. package/esm/core/StatusMessage/index.js +0 -6
  560. package/esm/core/Stepper/index.d.ts +0 -3
  561. package/esm/core/Stepper/index.js +0 -6
  562. package/esm/core/Surface/index.d.ts +0 -3
  563. package/esm/core/Surface/index.js +0 -6
  564. package/esm/core/Tabs/index.d.ts +0 -2
  565. package/esm/core/Tabs/index.js +0 -6
  566. package/esm/core/Tag/index.d.ts +0 -4
  567. package/esm/core/Tag/index.js +0 -7
  568. package/esm/core/Textarea/index.d.ts +0 -3
  569. package/esm/core/Textarea/index.js +0 -6
  570. package/esm/core/ThemeProvider/index.d.ts +0 -4
  571. package/esm/core/ThemeProvider/index.js +0 -6
  572. package/esm/core/Tile/index.d.ts +0 -3
  573. package/esm/core/Tile/index.js +0 -6
  574. package/esm/core/TimePicker/index.d.ts +0 -4
  575. package/esm/core/TimePicker/index.js +0 -6
  576. package/esm/core/Toast/index.d.ts +0 -1
  577. package/esm/core/Toast/index.js +0 -5
  578. package/esm/core/ToggleSwitch/index.d.ts +0 -3
  579. package/esm/core/ToggleSwitch/index.js +0 -6
  580. package/esm/core/Tooltip/index.d.ts +0 -3
  581. package/esm/core/Tooltip/index.js +0 -6
  582. package/esm/core/TransferList/index.d.ts +0 -3
  583. package/esm/core/TransferList/index.js +0 -6
  584. package/esm/core/Tree/index.d.ts +0 -4
  585. package/esm/core/Tree/index.js +0 -7
  586. package/esm/core/Typography/Anchor/index.d.ts +0 -3
  587. package/esm/core/Typography/Anchor/index.js +0 -6
  588. package/esm/core/Typography/Blockquote/index.d.ts +0 -3
  589. package/esm/core/Typography/Blockquote/index.js +0 -6
  590. package/esm/core/Typography/Code/index.d.ts +0 -3
  591. package/esm/core/Typography/Code/index.js +0 -6
  592. package/esm/core/Typography/Kbd/index.d.ts +0 -3
  593. package/esm/core/Typography/Kbd/index.js +0 -6
  594. package/esm/core/Typography/Text/index.d.ts +0 -3
  595. package/esm/core/Typography/Text/index.js +0 -6
  596. package/esm/core/Typography/index.d.ts +0 -5
  597. package/esm/core/Typography/index.js +0 -9
  598. package/esm/core/index.d.ts +0 -68
  599. package/esm/core/index.js +0 -132
@@ -9,8 +9,8 @@ const tslib_1 = require('tslib');
9
9
  const React = tslib_1.__importStar(require('react'));
10
10
  const classnames_1 = tslib_1.__importDefault(require('classnames'));
11
11
  const index_js_1 = require('../utils/index.js');
12
- const index_js_2 = require('../Buttons/index.js');
13
- const index_js_3 = require('../Tooltip/index.js');
12
+ const IconButton_js_1 = require('../Buttons/IconButton.js');
13
+ const Tooltip_js_1 = require('../Tooltip/Tooltip.js');
14
14
  /**
15
15
  * Left side navigation menu component.
16
16
  * @example
@@ -46,7 +46,7 @@ exports.SideNavigation = React.forwardRef((props, forwardedRef) => {
46
46
  _setIsExpanded(isExpanded);
47
47
  }, [isExpanded]);
48
48
  const ExpandButton = React.createElement(
49
- index_js_2.IconButton,
49
+ IconButton_js_1.IconButton,
50
50
  {
51
51
  label: 'Toggle icon labels',
52
52
  'aria-expanded': _isExpanded,
@@ -106,7 +106,7 @@ exports.SideNavigation = React.forwardRef((props, forwardedRef) => {
106
106
  items.map((sidenavButton, index) =>
107
107
  !_isExpanded
108
108
  ? React.createElement(
109
- index_js_3.Tooltip,
109
+ Tooltip_js_1.Tooltip,
110
110
  {
111
111
  content: sidenavButton.props.children,
112
112
  placement: 'right',
@@ -130,7 +130,7 @@ exports.SideNavigation = React.forwardRef((props, forwardedRef) => {
130
130
  secondaryItems?.map((sidenavButton, index) =>
131
131
  !_isExpanded
132
132
  ? React.createElement(
133
- index_js_3.Tooltip,
133
+ Tooltip_js_1.Tooltip,
134
134
  {
135
135
  content: sidenavButton.props.children,
136
136
  placement: 'right',
@@ -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,
@@ -8,7 +8,7 @@ exports.SidenavButton = void 0;
8
8
  const tslib_1 = require('tslib');
9
9
  const classnames_1 = tslib_1.__importDefault(require('classnames'));
10
10
  const React = tslib_1.__importStar(require('react'));
11
- const index_js_1 = require('../Buttons/index.js');
11
+ const Button_js_1 = require('../Buttons/Button.js');
12
12
  /**
13
13
  * Wrapper around Button to be used as SideNavigation items.
14
14
  * Label is hidden when sidenav is collapsed.
@@ -23,7 +23,7 @@ exports.SidenavButton = React.forwardRef((props, ref) => {
23
23
  ...rest
24
24
  } = props;
25
25
  return React.createElement(
26
- index_js_1.Button,
26
+ Button_js_1.Button,
27
27
  {
28
28
  className: (0, classnames_1.default)(
29
29
  'iui-sidenav-button',
@@ -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
  /**
@@ -8,8 +8,8 @@ const tslib_1 = require('tslib');
8
8
  *--------------------------------------------------------------------------------------------*/
9
9
  const React = tslib_1.__importStar(require('react'));
10
10
  const classnames_1 = tslib_1.__importDefault(require('classnames'));
11
- const index_js_1 = require('../Tooltip/index.js');
12
- const index_js_2 = require('../utils/index.js');
11
+ const Tooltip_js_1 = require('../Tooltip/Tooltip.js');
12
+ const index_js_1 = require('../utils/index.js');
13
13
  /**
14
14
  * Thumb is a local component used to show and modify the values maintained by the Slider.
15
15
  * Only one Thumb can be active at a time. A Thumb is made active when the user selects
@@ -88,14 +88,14 @@ const Thumb = (props) => {
88
88
  }, [adjustedValue, sliderMax, sliderMin]);
89
89
  const { style, className, ...rest } = thumbProps || {};
90
90
  return React.createElement(
91
- index_js_1.Tooltip,
91
+ Tooltip_js_1.Tooltip,
92
92
  {
93
93
  placement: 'top',
94
94
  autoUpdateOptions: { animationFrame: true },
95
95
  ariaStrategy: 'none',
96
96
  ...tooltipProps,
97
97
  },
98
- React.createElement(index_js_2.Box, {
98
+ React.createElement(index_js_1.Box, {
99
99
  ...rest,
100
100
  'data-index': index,
101
101
  ref: thumbRef,
@@ -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.
@@ -9,6 +9,7 @@ const tslib_1 = require('tslib');
9
9
  const React = tslib_1.__importStar(require('react'));
10
10
  const index_js_1 = require('../utils/index.js');
11
11
  const classnames_1 = tslib_1.__importDefault(require('classnames'));
12
+ const Icon_js_1 = require('../Icon/Icon.js');
12
13
  /**
13
14
  * Component to display icon and text below the form field.
14
15
  * @example
@@ -36,7 +37,7 @@ exports.StatusMessage = React.forwardRef((props, ref) => {
36
37
  },
37
38
  !!icon
38
39
  ? React.createElement(
39
- index_js_1.Icon,
40
+ Icon_js_1.Icon,
40
41
  { 'aria-hidden': true, ...iconProps },
41
42
  icon,
42
43
  )
@@ -8,8 +8,8 @@ const tslib_1 = require('tslib');
8
8
  *--------------------------------------------------------------------------------------------*/
9
9
  const classnames_1 = tslib_1.__importDefault(require('classnames'));
10
10
  const React = tslib_1.__importStar(require('react'));
11
- const index_js_1 = require('../Tooltip/index.js');
12
- const index_js_2 = require('../utils/index.js');
11
+ const Tooltip_js_1 = require('../Tooltip/Tooltip.js');
12
+ const index_js_1 = require('../utils/index.js');
13
13
  exports.StepperStep = React.forwardRef((props, forwardedRef) => {
14
14
  const {
15
15
  title,
@@ -47,7 +47,7 @@ exports.StepperStep = React.forwardRef((props, forwardedRef) => {
47
47
  }
48
48
  };
49
49
  const stepShape = React.createElement(
50
- index_js_2.Box,
50
+ index_js_1.Box,
51
51
  {
52
52
  as: 'li',
53
53
  ...stepProps,
@@ -70,7 +70,7 @@ exports.StepperStep = React.forwardRef((props, forwardedRef) => {
70
70
  ...rest,
71
71
  },
72
72
  React.createElement(
73
- index_js_2.Box,
73
+ index_js_1.Box,
74
74
  {
75
75
  as: 'div',
76
76
  ...trackContentProps,
@@ -80,7 +80,7 @@ exports.StepperStep = React.forwardRef((props, forwardedRef) => {
80
80
  ),
81
81
  },
82
82
  React.createElement(
83
- index_js_2.Box,
83
+ index_js_1.Box,
84
84
  {
85
85
  as: 'span',
86
86
  ...circleProps,
@@ -94,7 +94,7 @@ exports.StepperStep = React.forwardRef((props, forwardedRef) => {
94
94
  ),
95
95
  type === 'default' &&
96
96
  React.createElement(
97
- index_js_2.Box,
97
+ index_js_1.Box,
98
98
  {
99
99
  as: 'span',
100
100
  ...nameProps,
@@ -108,7 +108,7 @@ exports.StepperStep = React.forwardRef((props, forwardedRef) => {
108
108
  );
109
109
  return description
110
110
  ? React.createElement(
111
- index_js_1.Tooltip,
111
+ Tooltip_js_1.Tooltip,
112
112
  { content: description },
113
113
  stepShape,
114
114
  )
@@ -8,12 +8,12 @@ const tslib_1 = require('tslib');
8
8
  *--------------------------------------------------------------------------------------------*/
9
9
  const classnames_1 = tslib_1.__importDefault(require('classnames'));
10
10
  const React = tslib_1.__importStar(require('react'));
11
- const index_js_1 = require('../Tooltip/index.js');
12
- const index_js_2 = require('../utils/index.js');
11
+ const Tooltip_js_1 = require('../Tooltip/Tooltip.js');
12
+ const index_js_1 = require('../utils/index.js');
13
13
  const WorkflowDiagramStep = (props) => {
14
14
  const { title, description, className, style, contentProps, ...rest } = props;
15
15
  const stepShape = React.createElement(
16
- index_js_2.Box,
16
+ index_js_1.Box,
17
17
  {
18
18
  as: 'li',
19
19
  className: (0, classnames_1.default)(
@@ -24,7 +24,7 @@ const WorkflowDiagramStep = (props) => {
24
24
  ...rest,
25
25
  },
26
26
  React.createElement(
27
- index_js_2.Box,
27
+ index_js_1.Box,
28
28
  {
29
29
  as: 'span',
30
30
  ...contentProps,
@@ -38,7 +38,7 @@ const WorkflowDiagramStep = (props) => {
38
38
  );
39
39
  return description
40
40
  ? React.createElement(
41
- index_js_1.Tooltip,
41
+ Tooltip_js_1.Tooltip,
42
42
  { content: description },
43
43
  stepShape,
44
44
  )
@@ -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
  */
@@ -30,6 +30,16 @@ const getSurfaceElevationValue = (elevation) => {
30
30
  return '';
31
31
  }
32
32
  };
33
+ /** Returns correct border value based on prop */
34
+ const getBorderValue = (border) => {
35
+ if (typeof border === 'string') {
36
+ return border;
37
+ }
38
+ if (border === false) {
39
+ return 'none';
40
+ }
41
+ return '';
42
+ };
33
43
  // ----------------------------------------------------------------------------
34
44
  // Surface.Header component
35
45
  const SurfaceHeader = React.forwardRef((props, ref) => {
@@ -81,10 +91,18 @@ const SurfaceBody = React.forwardRef((props, ref) => {
81
91
  */
82
92
  exports.Surface = Object.assign(
83
93
  React.forwardRef((props, ref) => {
84
- const { elevation, className, style, children, ...rest } = props;
94
+ const {
95
+ elevation,
96
+ border = true,
97
+ className,
98
+ style,
99
+ children,
100
+ ...rest
101
+ } = props;
85
102
  const [hasLayout, setHasLayout] = React.useState(false);
86
103
  const _style = {
87
104
  '--iui-surface-elevation': getSurfaceElevationValue(elevation),
105
+ '--iui-surface-border': getBorderValue(border),
88
106
  ...style,
89
107
  };
90
108
  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;
@@ -8,7 +8,7 @@ const tslib_1 = require('tslib');
8
8
  *--------------------------------------------------------------------------------------------*/
9
9
  const React = tslib_1.__importStar(require('react'));
10
10
  const index_js_1 = require('../utils/index.js');
11
- const index_js_2 = require('../Buttons/index.js');
11
+ const IconButton_js_1 = require('../Buttons/IconButton.js');
12
12
  const SubRowExpander = (props) => {
13
13
  const { cell, isDisabled, cellProps, expanderCell, density } = props;
14
14
  return React.createElement(
@@ -17,7 +17,7 @@ const SubRowExpander = (props) => {
17
17
  expanderCell
18
18
  ? expanderCell(cellProps)
19
19
  : React.createElement(
20
- index_js_2.IconButton,
20
+ IconButton_js_1.IconButton,
21
21
  {
22
22
  'aria-label': 'Toggle sub row',
23
23
  'aria-expanded': cell.row.isExpanded ? 'true' : 'false',
@@ -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";
@@ -9,23 +9,23 @@ const tslib_1 = require('tslib');
9
9
  const React = tslib_1.__importStar(require('react'));
10
10
  const classnames_1 = tslib_1.__importDefault(require('classnames'));
11
11
  const react_table_1 = require('react-table');
12
- const index_js_1 = require('../ProgressIndicators/index.js');
13
- const index_js_2 = require('../utils/index.js');
12
+ const ProgressRadial_js_1 = require('../ProgressIndicators/ProgressRadial.js');
13
+ const index_js_1 = require('../utils/index.js');
14
14
  const utils_js_1 = require('./utils.js');
15
15
  const TableRowMemoized_js_1 = require('./TableRowMemoized.js');
16
- const index_js_3 = require('./filters/index.js');
16
+ const index_js_2 = require('./filters/index.js');
17
17
  const customFilterFunctions_js_1 = require('./filters/customFilterFunctions.js');
18
- const index_js_4 = require('./hooks/index.js');
19
- const index_js_5 = require('./actionHandlers/index.js');
18
+ const index_js_3 = require('./hooks/index.js');
19
+ const index_js_4 = require('./actionHandlers/index.js');
20
20
  const VirtualScroll_js_1 = tslib_1.__importDefault(
21
21
  require('../utils/components/VirtualScroll.js'),
22
22
  );
23
- const index_js_6 = require('./columns/index.js');
23
+ const index_js_5 = require('./columns/index.js');
24
24
  const singleRowSelectedAction = 'singleRowSelected';
25
25
  const shiftRowSelectedAction = 'shiftRowSelected';
26
26
  exports.tableResizeStartAction = 'tableResizeStart';
27
27
  const tableResizeEndAction = 'tableResizeEnd';
28
- const logWarningInDev = (0, index_js_2.createWarningLogger)();
28
+ const logWarningInDev = (0, index_js_1.createWarningLogger)();
29
29
  const flattenColumns = (columns) => {
30
30
  const flatColumns = [];
31
31
  columns.forEach((column) => {
@@ -119,7 +119,7 @@ const Table = (props) => {
119
119
  emptyTableContentProps,
120
120
  ...rest
121
121
  } = props;
122
- (0, index_js_2.useGlobals)();
122
+ (0, index_js_1.useGlobals)();
123
123
  const ownerDocument = React.useRef();
124
124
  const defaultColumn = React.useMemo(
125
125
  () => ({
@@ -139,7 +139,7 @@ const Table = (props) => {
139
139
  const hasManualSelectionColumn = React.useMemo(() => {
140
140
  const flatColumns = flattenColumns(columns);
141
141
  return flatColumns.some(
142
- (column) => column.id === index_js_6.SELECTION_CELL_ID,
142
+ (column) => column.id === index_js_5.SELECTION_CELL_ID,
143
143
  );
144
144
  }, [columns]);
145
145
  const disableUserSelect = React.useCallback((e) => {
@@ -181,7 +181,7 @@ const Table = (props) => {
181
181
  onSort?.(newState);
182
182
  break;
183
183
  case react_table_1.actions.setFilter:
184
- currentFilter.current = (0, index_js_5.onFilterHandler)(
184
+ currentFilter.current = (0, index_js_4.onFilterHandler)(
185
185
  newState,
186
186
  action,
187
187
  previousState,
@@ -191,10 +191,10 @@ const Table = (props) => {
191
191
  break;
192
192
  case react_table_1.actions.toggleRowExpanded:
193
193
  case react_table_1.actions.toggleAllRowsExpanded:
194
- (0, index_js_5.onExpandHandler)(newState, instance, onExpand);
194
+ (0, index_js_4.onExpandHandler)(newState, instance, onExpand);
195
195
  break;
196
196
  case singleRowSelectedAction: {
197
- newState = (0, index_js_5.onSingleSelectHandler)(
197
+ newState = (0, index_js_4.onSingleSelectHandler)(
198
198
  newState,
199
199
  action,
200
200
  instance,
@@ -205,7 +205,7 @@ const Table = (props) => {
205
205
  break;
206
206
  }
207
207
  case shiftRowSelectedAction: {
208
- newState = (0, index_js_5.onShiftSelectHandler)(
208
+ newState = (0, index_js_4.onShiftSelectHandler)(
209
209
  newState,
210
210
  action,
211
211
  instance,
@@ -218,7 +218,7 @@ const Table = (props) => {
218
218
  case react_table_1.actions.toggleRowSelected:
219
219
  case react_table_1.actions.toggleAllRowsSelected:
220
220
  case react_table_1.actions.toggleAllPageRowsSelected: {
221
- (0, index_js_5.onToggleHandler)(
221
+ (0, index_js_4.onToggleHandler)(
222
222
  newState,
223
223
  action,
224
224
  instance,
@@ -229,11 +229,11 @@ const Table = (props) => {
229
229
  break;
230
230
  }
231
231
  case exports.tableResizeStartAction: {
232
- newState = (0, index_js_5.onTableResizeStart)(newState);
232
+ newState = (0, index_js_4.onTableResizeStart)(newState);
233
233
  break;
234
234
  }
235
235
  case tableResizeEndAction: {
236
- newState = (0, index_js_5.onTableResizeEnd)(newState, action);
236
+ newState = (0, index_js_4.onTableResizeEnd)(newState, action);
237
237
  break;
238
238
  }
239
239
  default:
@@ -281,25 +281,25 @@ const Table = (props) => {
281
281
  columnResizeMode,
282
282
  },
283
283
  react_table_1.useFlexLayout,
284
- (0, index_js_4.useResizeColumns)(ownerDocument),
284
+ (0, index_js_3.useResizeColumns)(ownerDocument),
285
285
  react_table_1.useFilters,
286
- (0, index_js_4.useSubRowFiltering)(hasAnySubRows),
286
+ (0, index_js_3.useSubRowFiltering)(hasAnySubRows),
287
287
  react_table_1.useGlobalFilter,
288
288
  react_table_1.useSortBy,
289
289
  react_table_1.useExpanded,
290
290
  react_table_1.usePagination,
291
291
  react_table_1.useRowSelect,
292
- index_js_4.useSubRowSelection,
293
- (0, index_js_4.useExpanderCell)(subComponent, expanderCell, isRowDisabled),
294
- (0, index_js_4.useSelectionCell)(
292
+ index_js_3.useSubRowSelection,
293
+ (0, index_js_3.useExpanderCell)(subComponent, expanderCell, isRowDisabled),
294
+ (0, index_js_3.useSelectionCell)(
295
295
  isSelectable,
296
296
  selectionMode,
297
297
  isRowDisabled,
298
298
  density,
299
299
  ),
300
300
  react_table_1.useColumnOrder,
301
- (0, index_js_4.useColumnDragAndDrop)(enableColumnReordering),
302
- index_js_4.useStickyColumns,
301
+ (0, index_js_3.useColumnDragAndDrop)(enableColumnReordering),
302
+ index_js_3.useStickyColumns,
303
303
  );
304
304
  const {
305
305
  getTableProps,
@@ -427,7 +427,7 @@ const Table = (props) => {
427
427
  selectionMode,
428
428
  ],
429
429
  );
430
- const { scrollToIndex, tableRowRef } = (0, index_js_4.useScrollToRow)({
430
+ const { scrollToIndex, tableRowRef } = (0, index_js_3.useScrollToRow)({
431
431
  ...props,
432
432
  page,
433
433
  });
@@ -455,9 +455,9 @@ const Table = (props) => {
455
455
  },
456
456
  [dispatch, state.columnResizing.columnWidths, flatHeaders, instance],
457
457
  );
458
- const [resizeRef] = (0, index_js_2.useResizeObserver)(onTableResize);
458
+ const [resizeRef] = (0, index_js_1.useResizeObserver)(onTableResize);
459
459
  // Flexbox handles columns resize so we take new column widths before browser repaints.
460
- (0, index_js_2.useIsomorphicLayoutEffect)(() => {
460
+ (0, index_js_1.useIsomorphicLayoutEffect)(() => {
461
461
  if (state.isTableResizing) {
462
462
  const newColumnWidths = {};
463
463
  flatHeaders.forEach((column) => {
@@ -545,7 +545,7 @@ const Table = (props) => {
545
545
  React.Fragment,
546
546
  null,
547
547
  React.createElement(
548
- index_js_2.Box,
548
+ index_js_1.Box,
549
549
  {
550
550
  ref: (element) => {
551
551
  ownerDocument.current = element?.ownerDocument;
@@ -575,7 +575,7 @@ const Table = (props) => {
575
575
  className: 'iui-table-row',
576
576
  });
577
577
  return React.createElement(
578
- index_js_2.Box,
578
+ index_js_1.Box,
579
579
  {
580
580
  as: 'div',
581
581
  ref: headerRef,
@@ -593,7 +593,7 @@ const Table = (props) => {
593
593
  ),
594
594
  },
595
595
  React.createElement(
596
- index_js_2.Box,
596
+ index_js_1.Box,
597
597
  {
598
598
  as: 'div',
599
599
  ...headerProps,
@@ -603,7 +603,7 @@ const Table = (props) => {
603
603
  ),
604
604
  },
605
605
  React.createElement(
606
- index_js_2.Box,
606
+ index_js_1.Box,
607
607
  { ...headerGroupProps },
608
608
  headerGroup.headers.map((column, index) => {
609
609
  const { onClick, ...restSortProps } =
@@ -629,7 +629,7 @@ const Table = (props) => {
629
629
  },
630
630
  });
631
631
  return React.createElement(
632
- index_js_2.Box,
632
+ index_js_1.Box,
633
633
  {
634
634
  ...columnProps,
635
635
  ...column.getDragAndDropProps(),
@@ -661,23 +661,23 @@ const Table = (props) => {
661
661
  column.render('Header'),
662
662
  (showFilterButton(column) || showSortButton(column)) &&
663
663
  React.createElement(
664
- index_js_2.Box,
664
+ index_js_1.Box,
665
665
  { className: 'iui-table-header-actions-container' },
666
666
  showFilterButton(column) &&
667
- React.createElement(index_js_3.FilterToggle, {
667
+ React.createElement(index_js_2.FilterToggle, {
668
668
  column: column,
669
669
  }),
670
670
  showSortButton(column) &&
671
671
  React.createElement(
672
- index_js_2.Box,
672
+ index_js_1.Box,
673
673
  { className: 'iui-table-cell-end-icon' },
674
674
  column.isSortedDesc ||
675
675
  (!column.isSorted && column.sortDescFirst)
676
- ? React.createElement(index_js_2.SvgSortDown, {
676
+ ? React.createElement(index_js_1.SvgSortDown, {
677
677
  className: 'iui-table-sort',
678
678
  'aria-hidden': true,
679
679
  })
680
- : React.createElement(index_js_2.SvgSortUp, {
680
+ : React.createElement(index_js_1.SvgSortUp, {
681
681
  className: 'iui-table-sort',
682
682
  'aria-hidden': true,
683
683
  }),
@@ -688,28 +688,28 @@ const Table = (props) => {
688
688
  (index !== headerGroup.headers.length - 1 ||
689
689
  columnResizeMode === 'expand') &&
690
690
  React.createElement(
691
- index_js_2.Box,
691
+ index_js_1.Box,
692
692
  {
693
693
  ...column.getResizerProps(),
694
694
  className: 'iui-table-resizer',
695
695
  },
696
- React.createElement(index_js_2.Box, {
696
+ React.createElement(index_js_1.Box, {
697
697
  className: 'iui-table-resizer-bar',
698
698
  }),
699
699
  ),
700
700
  enableColumnReordering &&
701
701
  !column.disableReordering &&
702
- React.createElement(index_js_2.Box, {
702
+ React.createElement(index_js_1.Box, {
703
703
  className: 'iui-table-reorder-bar',
704
704
  }),
705
705
  column.sticky === 'left' &&
706
706
  state.sticky.isScrolledToRight &&
707
- React.createElement(index_js_2.Box, {
707
+ React.createElement(index_js_1.Box, {
708
708
  className: 'iui-table-cell-shadow-right',
709
709
  }),
710
710
  column.sticky === 'right' &&
711
711
  state.sticky.isScrolledToLeft &&
712
- React.createElement(index_js_2.Box, {
712
+ React.createElement(index_js_1.Box, {
713
713
  className: 'iui-table-cell-shadow-left',
714
714
  }),
715
715
  );
@@ -719,7 +719,7 @@ const Table = (props) => {
719
719
  );
720
720
  }),
721
721
  React.createElement(
722
- index_js_2.Box,
722
+ index_js_1.Box,
723
723
  {
724
724
  ...bodyProps,
725
725
  ...getTableBodyProps({
@@ -758,7 +758,7 @@ const Table = (props) => {
758
758
  isLoading &&
759
759
  data.length === 0 &&
760
760
  React.createElement(
761
- index_js_2.Box,
761
+ index_js_1.Box,
762
762
  {
763
763
  as: 'div',
764
764
  ...emptyTableContentProps,
@@ -767,22 +767,22 @@ const Table = (props) => {
767
767
  emptyTableContentProps?.className,
768
768
  ),
769
769
  },
770
- React.createElement(index_js_1.ProgressRadial, {
770
+ React.createElement(ProgressRadial_js_1.ProgressRadial, {
771
771
  indeterminate: true,
772
772
  }),
773
773
  ),
774
774
  isLoading &&
775
775
  data.length !== 0 &&
776
776
  React.createElement(
777
- index_js_2.Box,
777
+ index_js_1.Box,
778
778
  { className: 'iui-table-row' },
779
779
  React.createElement(
780
- index_js_2.Box,
780
+ index_js_1.Box,
781
781
  {
782
782
  className: 'iui-table-cell',
783
783
  style: { justifyContent: 'center' },
784
784
  },
785
- React.createElement(index_js_1.ProgressRadial, {
785
+ React.createElement(ProgressRadial_js_1.ProgressRadial, {
786
786
  indeterminate: true,
787
787
  size: 'small',
788
788
  }),
@@ -792,7 +792,7 @@ const Table = (props) => {
792
792
  data.length === 0 &&
793
793
  !areFiltersSet &&
794
794
  React.createElement(
795
- index_js_2.Box,
795
+ index_js_1.Box,
796
796
  {
797
797
  as: 'div',
798
798
  ...emptyTableContentProps,
@@ -807,7 +807,7 @@ const Table = (props) => {
807
807
  (data.length === 0 || rows.length === 0) &&
808
808
  areFiltersSet &&
809
809
  React.createElement(
810
- index_js_2.Box,
810
+ index_js_1.Box,
811
811
  {
812
812
  as: 'div',
813
813
  ...emptyTableContentProps,
@@ -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;