@itwin/itwinui-react 3.17.0-dev.1 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (664) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/DEV-cjs/core/Alert/Alert.js +4 -2
  3. package/DEV-cjs/core/Avatar/Avatar.js +4 -2
  4. package/DEV-cjs/core/AvatarGroup/AvatarGroup.js +4 -2
  5. package/DEV-cjs/core/Backdrop/Backdrop.js +4 -2
  6. package/DEV-cjs/core/Badge/Badge.js +4 -2
  7. package/DEV-cjs/core/Breadcrumbs/Breadcrumbs.js +4 -2
  8. package/DEV-cjs/core/ButtonGroup/ButtonGroup.js +6 -6
  9. package/DEV-cjs/core/Buttons/Button.js +4 -2
  10. package/DEV-cjs/core/Buttons/DropdownButton.js +4 -2
  11. package/DEV-cjs/core/Buttons/IconButton.js +4 -2
  12. package/DEV-cjs/core/Buttons/IdeasButton.js +4 -2
  13. package/DEV-cjs/core/Buttons/SplitButton.js +4 -2
  14. package/DEV-cjs/core/Carousel/Carousel.js +4 -2
  15. package/DEV-cjs/core/Carousel/CarouselContext.js +1 -1
  16. package/DEV-cjs/core/Carousel/CarouselDot.js +4 -2
  17. package/DEV-cjs/core/Carousel/CarouselDotsList.js +4 -2
  18. package/DEV-cjs/core/Carousel/CarouselNavigation.js +4 -2
  19. package/DEV-cjs/core/Carousel/CarouselSlide.js +5 -3
  20. package/DEV-cjs/core/Carousel/CarouselSlider.js +5 -3
  21. package/DEV-cjs/core/Checkbox/Checkbox.js +7 -4
  22. package/DEV-cjs/core/ColorPicker/ColorBuilder.js +5 -3
  23. package/DEV-cjs/core/ColorPicker/ColorInputPanel.js +4 -2
  24. package/DEV-cjs/core/ColorPicker/ColorPalette.js +4 -2
  25. package/DEV-cjs/core/ColorPicker/ColorPicker.js +4 -2
  26. package/DEV-cjs/core/ColorPicker/ColorPickerContext.js +1 -1
  27. package/DEV-cjs/core/ColorPicker/ColorSwatch.js +4 -2
  28. package/DEV-cjs/core/ComboBox/ComboBox.js +1 -1
  29. package/DEV-cjs/core/ComboBox/ComboBoxEndIcon.js +4 -2
  30. package/DEV-cjs/core/ComboBox/ComboBoxInput.js +1 -1
  31. package/DEV-cjs/core/ComboBox/ComboBoxInputContainer.js +1 -1
  32. package/DEV-cjs/core/ComboBox/ComboBoxMenu.js +4 -2
  33. package/DEV-cjs/core/ComboBox/ComboBoxMenuItem.js +1 -1
  34. package/DEV-cjs/core/ComboBox/ComboBoxMultipleContainer.js +1 -1
  35. package/DEV-cjs/core/ComboBox/helpers.js +1 -1
  36. package/DEV-cjs/core/DatePicker/DatePicker.js +4 -2
  37. package/DEV-cjs/core/Dialog/Dialog.js +39 -44
  38. package/DEV-cjs/core/Dialog/DialogBackdrop.js +10 -3
  39. package/DEV-cjs/core/Dialog/DialogContext.js +1 -1
  40. package/DEV-cjs/core/Dialog/DialogDragContext.js +1 -1
  41. package/DEV-cjs/core/Dialog/DialogMain.js +46 -36
  42. package/DEV-cjs/core/Dialog/DialogMainContext.js +23 -0
  43. package/DEV-cjs/core/Dialog/DialogTitleBar.js +14 -3
  44. package/DEV-cjs/core/Divider/Divider.js +4 -2
  45. package/DEV-cjs/core/DropdownMenu/DropdownMenu.js +1 -1
  46. package/DEV-cjs/core/ExpandableBlock/ExpandableBlock.js +4 -2
  47. package/DEV-cjs/core/Fieldset/Fieldset.js +4 -2
  48. package/DEV-cjs/core/FileUpload/FileEmptyCard.js +4 -2
  49. package/DEV-cjs/core/FileUpload/FileUpload.js +4 -2
  50. package/DEV-cjs/core/FileUpload/FileUploadCard.js +4 -2
  51. package/DEV-cjs/core/FileUpload/FileUploadTemplate.js +4 -2
  52. package/DEV-cjs/core/Flex/Flex.js +4 -2
  53. package/DEV-cjs/core/Footer/Footer.js +4 -2
  54. package/DEV-cjs/core/Header/Header.js +4 -2
  55. package/DEV-cjs/core/Header/HeaderBasicButton.js +4 -2
  56. package/DEV-cjs/core/Header/HeaderBreadcrumbs.js +4 -2
  57. package/DEV-cjs/core/Header/HeaderButton.js +1 -1
  58. package/DEV-cjs/core/Header/HeaderDropdownButton.js +1 -1
  59. package/DEV-cjs/core/Header/HeaderLogo.js +4 -2
  60. package/DEV-cjs/core/Header/HeaderSplitButton.js +4 -2
  61. package/DEV-cjs/core/Icon/Icon.js +4 -2
  62. package/DEV-cjs/core/InformationPanel/InformationPanel.js +4 -2
  63. package/DEV-cjs/core/InformationPanel/InformationPanelContent.js +4 -2
  64. package/DEV-cjs/core/InformationPanel/InformationPanelHeader.js +4 -2
  65. package/DEV-cjs/core/Input/Input.js +4 -2
  66. package/DEV-cjs/core/InputGrid/InputGrid.js +4 -2
  67. package/DEV-cjs/core/InputGroup/InputGroup.js +4 -2
  68. package/DEV-cjs/core/InputWithDecorations/InputWithDecorations.js +1 -1
  69. package/DEV-cjs/core/Label/Label.js +5 -3
  70. package/DEV-cjs/core/LabeledInput/LabeledInput.js +4 -2
  71. package/DEV-cjs/core/LabeledSelect/LabeledSelect.js +1 -1
  72. package/DEV-cjs/core/LabeledTextarea/LabeledTextarea.js +1 -1
  73. package/DEV-cjs/core/LinkAction/LinkAction.js +4 -2
  74. package/DEV-cjs/core/List/List.js +23 -2
  75. package/DEV-cjs/core/List/ListItem.js +4 -2
  76. package/DEV-cjs/core/Menu/Menu.js +4 -2
  77. package/DEV-cjs/core/Menu/MenuItem.js +4 -2
  78. package/DEV-cjs/core/Menu/MenuItemSkeleton.js +4 -2
  79. package/DEV-cjs/core/Modal/Modal.js +1 -1
  80. package/DEV-cjs/core/NonIdealState/ErrorPage.js +10 -10
  81. package/DEV-cjs/core/NonIdealState/NonIdealState.js +4 -2
  82. package/DEV-cjs/core/NotificationMarker/NotificationMarker.js +4 -2
  83. package/DEV-cjs/core/Overlay/Overlay.js +2 -2
  84. package/DEV-cjs/core/Panels/Panels.js +9 -5
  85. package/DEV-cjs/core/Panels/helpers.js +1 -1
  86. package/DEV-cjs/core/Popover/Popover.js +5 -3
  87. package/DEV-cjs/core/ProgressIndicators/ProgressLinear.js +4 -2
  88. package/DEV-cjs/core/ProgressIndicators/ProgressRadial.js +4 -2
  89. package/DEV-cjs/core/Radio/Radio.js +4 -2
  90. package/DEV-cjs/core/RadioTiles/RadioTile.js +4 -2
  91. package/DEV-cjs/core/RadioTiles/RadioTileGroup.js +4 -2
  92. package/DEV-cjs/core/SearchBox/SearchBox.js +4 -2
  93. package/DEV-cjs/core/Select/Select.js +4 -2
  94. package/DEV-cjs/core/Select/SelectTag.js +4 -2
  95. package/DEV-cjs/core/Select/SelectTagContainer.js +4 -2
  96. package/DEV-cjs/core/SideNavigation/SideNavigation.js +45 -45
  97. package/DEV-cjs/core/SideNavigation/SidenavButton.js +4 -2
  98. package/DEV-cjs/core/SideNavigation/SidenavSubmenu.js +4 -2
  99. package/DEV-cjs/core/SideNavigation/SidenavSubmenuHeader.js +4 -2
  100. package/DEV-cjs/core/SkipToContentLink/SkipToContentLink.js +4 -2
  101. package/DEV-cjs/core/Slider/Slider.js +49 -39
  102. package/DEV-cjs/core/Slider/Thumb.js +4 -2
  103. package/DEV-cjs/core/Slider/Track.js +4 -2
  104. package/DEV-cjs/core/StatusMessage/StatusMessage.js +4 -2
  105. package/DEV-cjs/core/Stepper/Stepper.js +35 -25
  106. package/DEV-cjs/core/Stepper/StepperStep.js +4 -2
  107. package/DEV-cjs/core/Stepper/WorkflowDiagram.js +4 -2
  108. package/DEV-cjs/core/Stepper/WorkflowDiagramStep.js +4 -2
  109. package/DEV-cjs/core/Surface/Surface.js +4 -2
  110. package/DEV-cjs/core/Table/ColumnHeader.js +4 -2
  111. package/DEV-cjs/core/Table/SubRowExpander.js +1 -1
  112. package/DEV-cjs/core/Table/Table.js +9 -4
  113. package/DEV-cjs/core/Table/TableCell.js +4 -2
  114. package/DEV-cjs/core/Table/TableExpandableContentMemoized.js +4 -2
  115. package/DEV-cjs/core/Table/TablePaginator.js +4 -2
  116. package/DEV-cjs/core/Table/TableRowMemoized.js +5 -2
  117. package/DEV-cjs/core/Table/actionHandlers/selectHandler.js +7 -8
  118. package/DEV-cjs/core/Table/cells/DefaultCell.js +21 -6
  119. package/DEV-cjs/core/Table/cells/EditableCell.js +4 -2
  120. package/DEV-cjs/core/Table/columns/actionColumn.js +1 -1
  121. package/DEV-cjs/core/Table/columns/expanderColumn.js +1 -1
  122. package/DEV-cjs/core/Table/columns/selectionColumn.js +1 -1
  123. package/DEV-cjs/core/Table/filters/BaseFilter.js +4 -2
  124. package/DEV-cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +1 -1
  125. package/DEV-cjs/core/Table/filters/DateRangeFilter/DateRangeFilter.js +1 -1
  126. package/DEV-cjs/core/Table/filters/FilterButtonBar.js +4 -2
  127. package/DEV-cjs/core/Table/filters/FilterToggle.js +4 -2
  128. package/DEV-cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
  129. package/DEV-cjs/core/Table/filters/TextFilter/TextFilter.js +1 -1
  130. package/DEV-cjs/core/Table/filters/defaultFilterFunctions.js +6 -5
  131. package/DEV-cjs/core/Table/filters/tableFilters.js +1 -1
  132. package/DEV-cjs/core/Table/hooks/useExpanderCell.js +1 -1
  133. package/DEV-cjs/core/Table/hooks/useResizeColumns.js +6 -4
  134. package/DEV-cjs/core/Table/hooks/useScrollToRow.js +1 -1
  135. package/DEV-cjs/core/Table/hooks/useSubRowFiltering.js +1 -1
  136. package/DEV-cjs/core/Table/hooks/useSubRowSelection.js +1 -1
  137. package/DEV-cjs/core/Table/utils.js +1 -1
  138. package/DEV-cjs/core/Tabs/Tabs.js +15 -5
  139. package/DEV-cjs/core/Tag/Tag.js +4 -2
  140. package/DEV-cjs/core/Tag/TagContainer.js +4 -2
  141. package/DEV-cjs/core/Textarea/Textarea.js +1 -1
  142. package/DEV-cjs/core/ThemeProvider/ThemeContext.js +1 -1
  143. package/DEV-cjs/core/ThemeProvider/ThemeProvider.js +12 -7
  144. package/DEV-cjs/core/Tile/Tile.js +4 -2
  145. package/DEV-cjs/core/TimePicker/TimePicker.js +4 -2
  146. package/DEV-cjs/core/Toast/Toast.js +136 -79
  147. package/DEV-cjs/core/Toast/Toaster.js +15 -5
  148. package/DEV-cjs/core/ToggleSwitch/ToggleSwitch.js +4 -2
  149. package/DEV-cjs/core/Tooltip/Tooltip.js +21 -12
  150. package/DEV-cjs/core/TransferList/TransferList.js +4 -2
  151. package/DEV-cjs/core/Tree/Tree.js +1 -1
  152. package/DEV-cjs/core/Tree/TreeContext.js +1 -1
  153. package/DEV-cjs/core/Tree/TreeNode.js +4 -2
  154. package/DEV-cjs/core/Tree/TreeNodeExpander.js +4 -2
  155. package/DEV-cjs/core/Typography/Anchor.js +4 -2
  156. package/DEV-cjs/core/Typography/Blockquote.js +4 -2
  157. package/DEV-cjs/core/Typography/Kbd.js +4 -2
  158. package/DEV-cjs/core/Typography/Text.js +4 -2
  159. package/DEV-cjs/core/VisuallyHidden/VisuallyHidden.js +5 -3
  160. package/DEV-cjs/react-table/react-table.types-test.js +2 -2
  161. package/DEV-cjs/styles.js +1 -1
  162. package/DEV-cjs/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
  163. package/DEV-cjs/utils/components/ButtonBase.js +8 -4
  164. package/DEV-cjs/utils/components/FocusTrap.js +6 -6
  165. package/DEV-cjs/utils/components/InputContainer.js +4 -2
  166. package/DEV-cjs/utils/components/InputFlexContainer.js +4 -2
  167. package/DEV-cjs/utils/components/LineClamp.js +1 -1
  168. package/DEV-cjs/utils/components/MiddleTextTruncation.js +1 -1
  169. package/DEV-cjs/utils/components/OverflowContainer.js +1 -1
  170. package/DEV-cjs/utils/components/Portal.js +5 -3
  171. package/DEV-cjs/utils/components/Resizer.js +1 -1
  172. package/DEV-cjs/utils/components/ShadowRoot.js +5 -3
  173. package/DEV-cjs/utils/components/index.js +0 -1
  174. package/DEV-cjs/utils/functions/focusable.js +1 -1
  175. package/DEV-cjs/utils/functions/polymorphic.js +4 -2
  176. package/DEV-cjs/utils/functions/react.js +3 -5
  177. package/DEV-cjs/utils/hooks/useContainerWidth.js +1 -1
  178. package/DEV-cjs/utils/hooks/useControlledState.js +1 -1
  179. package/DEV-cjs/utils/hooks/useDragAndDrop.js +3 -3
  180. package/DEV-cjs/utils/hooks/useEventListener.js +2 -2
  181. package/DEV-cjs/utils/hooks/useGlobals.js +1 -1
  182. package/DEV-cjs/utils/hooks/useId.js +1 -1
  183. package/DEV-cjs/utils/hooks/useInstance.js +1 -1
  184. package/DEV-cjs/utils/hooks/useIntersection.js +1 -1
  185. package/DEV-cjs/utils/hooks/useIsClient.js +1 -1
  186. package/DEV-cjs/utils/hooks/useIsomorphicLayoutEffect.js +1 -1
  187. package/DEV-cjs/utils/hooks/useLatestRef.js +1 -1
  188. package/DEV-cjs/utils/hooks/useMediaQuery.js +1 -1
  189. package/DEV-cjs/utils/hooks/useMergedRefs.js +1 -1
  190. package/DEV-cjs/utils/hooks/useResizeObserver.js +2 -2
  191. package/DEV-cjs/utils/hooks/useSafeContext.js +1 -1
  192. package/DEV-cjs/utils/hooks/useSyncExternalStore.js +1 -1
  193. package/DEV-cjs/utils/hooks/useVirtualScroll.js +1 -1
  194. package/DEV-cjs/utils/hooks/useWarningLogger.js +1 -1
  195. package/DEV-cjs/utils/icons/StatusIconMap.js +1 -1
  196. package/DEV-cjs/utils/icons/SvgCalendar.js +1 -1
  197. package/DEV-cjs/utils/icons/SvgCaretDownSmall.js +1 -1
  198. package/DEV-cjs/utils/icons/SvgCaretRightSmall.js +1 -1
  199. package/DEV-cjs/utils/icons/SvgCaretUpSmall.js +1 -1
  200. package/DEV-cjs/utils/icons/SvgCheckmark.js +1 -1
  201. package/DEV-cjs/utils/icons/SvgCheckmarkSmall.js +1 -1
  202. package/DEV-cjs/utils/icons/SvgChevronLeft.js +1 -1
  203. package/DEV-cjs/utils/icons/SvgChevronLeftDouble.js +1 -1
  204. package/DEV-cjs/utils/icons/SvgChevronRight.js +1 -1
  205. package/DEV-cjs/utils/icons/SvgChevronRightDouble.js +1 -1
  206. package/DEV-cjs/utils/icons/SvgChevronRightSmall.js +1 -1
  207. package/DEV-cjs/utils/icons/SvgClose.js +1 -1
  208. package/DEV-cjs/utils/icons/SvgCloseSmall.js +1 -1
  209. package/DEV-cjs/utils/icons/SvgColumnManager.js +1 -1
  210. package/DEV-cjs/utils/icons/SvgDocument.js +1 -1
  211. package/DEV-cjs/utils/icons/SvgFilter.js +1 -1
  212. package/DEV-cjs/utils/icons/SvgFilterHollow.js +1 -1
  213. package/DEV-cjs/utils/icons/SvgImportantSmall.js +1 -1
  214. package/DEV-cjs/utils/icons/SvgInfoCircular.js +1 -1
  215. package/DEV-cjs/utils/icons/SvgMore.js +1 -1
  216. package/DEV-cjs/utils/icons/SvgMoreVertical.js +1 -1
  217. package/DEV-cjs/utils/icons/SvgNew.js +1 -1
  218. package/DEV-cjs/utils/icons/SvgSearch.js +1 -1
  219. package/DEV-cjs/utils/icons/SvgSmileyHappy.js +1 -1
  220. package/DEV-cjs/utils/icons/SvgSortDown.js +1 -1
  221. package/DEV-cjs/utils/icons/SvgSortUp.js +1 -1
  222. package/DEV-cjs/utils/icons/SvgStatusError.js +1 -1
  223. package/DEV-cjs/utils/icons/SvgStatusSuccess.js +1 -1
  224. package/DEV-cjs/utils/icons/SvgStatusWarning.js +1 -1
  225. package/DEV-cjs/utils/icons/SvgSwap.js +1 -1
  226. package/DEV-cjs/utils/icons/SvgUpload.js +1 -1
  227. package/DEV-cjs/utils/providers/HydrationProvider.js +1 -1
  228. package/DEV-cjs/utils/providers/ScopeProvider.js +1 -1
  229. package/DEV-esm/core/ButtonGroup/ButtonGroup.js +2 -4
  230. package/DEV-esm/core/Carousel/CarouselSlide.js +1 -1
  231. package/DEV-esm/core/Carousel/CarouselSlider.js +1 -1
  232. package/DEV-esm/core/Checkbox/Checkbox.js +3 -2
  233. package/DEV-esm/core/ColorPicker/ColorBuilder.js +1 -1
  234. package/DEV-esm/core/Dialog/Dialog.js +32 -42
  235. package/DEV-esm/core/Dialog/DialogBackdrop.js +6 -1
  236. package/DEV-esm/core/Dialog/DialogMain.js +42 -34
  237. package/DEV-esm/core/Dialog/DialogMainContext.js +3 -0
  238. package/DEV-esm/core/Dialog/DialogTitleBar.js +10 -1
  239. package/DEV-esm/core/Label/Label.js +1 -1
  240. package/DEV-esm/core/List/List.js +20 -3
  241. package/DEV-esm/core/Overlay/Overlay.js +1 -1
  242. package/DEV-esm/core/Panels/Panels.js +3 -2
  243. package/DEV-esm/core/Popover/Popover.js +1 -1
  244. package/DEV-esm/core/SideNavigation/SideNavigation.js +37 -44
  245. package/DEV-esm/core/Slider/Slider.js +45 -37
  246. package/DEV-esm/core/Stepper/Stepper.js +31 -23
  247. package/DEV-esm/core/Table/Table.js +5 -2
  248. package/DEV-esm/core/Table/TableRowMemoized.js +1 -0
  249. package/DEV-esm/core/Table/actionHandlers/selectHandler.js +7 -8
  250. package/DEV-esm/core/Table/cells/DefaultCell.js +17 -4
  251. package/DEV-esm/core/Table/filters/defaultFilterFunctions.js +6 -5
  252. package/DEV-esm/core/Table/hooks/useResizeColumns.js +6 -4
  253. package/DEV-esm/core/Tabs/Tabs.js +11 -3
  254. package/DEV-esm/core/ThemeProvider/ThemeProvider.js +2 -3
  255. package/DEV-esm/core/Toast/Toast.js +131 -75
  256. package/DEV-esm/core/Toast/Toaster.js +11 -3
  257. package/DEV-esm/core/Tooltip/Tooltip.js +5 -7
  258. package/DEV-esm/core/VisuallyHidden/VisuallyHidden.js +1 -1
  259. package/DEV-esm/react-table/react-table.types-test.js +1 -1
  260. package/DEV-esm/styles.js +1 -1
  261. package/DEV-esm/utils/components/ButtonBase.js +4 -2
  262. package/DEV-esm/utils/components/FocusTrap.js +5 -5
  263. package/DEV-esm/utils/components/Portal.js +1 -1
  264. package/DEV-esm/utils/components/ShadowRoot.js +1 -1
  265. package/DEV-esm/utils/components/index.js +0 -1
  266. package/DEV-esm/utils/functions/react.js +2 -4
  267. package/DEV-esm/utils/hooks/useDragAndDrop.js +2 -2
  268. package/DEV-esm/utils/hooks/useEventListener.js +1 -1
  269. package/DEV-esm/utils/hooks/useResizeObserver.js +1 -1
  270. package/LICENSE.md +1 -1
  271. package/cjs/core/Alert/Alert.d.ts +1 -3
  272. package/cjs/core/Alert/Alert.js +4 -2
  273. package/cjs/core/Avatar/Avatar.d.ts +2 -1
  274. package/cjs/core/Avatar/Avatar.js +4 -2
  275. package/cjs/core/AvatarGroup/AvatarGroup.js +4 -2
  276. package/cjs/core/Backdrop/Backdrop.js +4 -2
  277. package/cjs/core/Badge/Badge.js +4 -2
  278. package/cjs/core/Breadcrumbs/Breadcrumbs.js +4 -2
  279. package/cjs/core/ButtonGroup/ButtonGroup.js +6 -6
  280. package/cjs/core/Buttons/Button.d.ts +2 -2
  281. package/cjs/core/Buttons/Button.js +4 -2
  282. package/cjs/core/Buttons/DropdownButton.d.ts +2 -1
  283. package/cjs/core/Buttons/DropdownButton.js +4 -2
  284. package/cjs/core/Buttons/IconButton.js +4 -2
  285. package/cjs/core/Buttons/IdeasButton.js +4 -2
  286. package/cjs/core/Buttons/SplitButton.d.ts +1 -1
  287. package/cjs/core/Buttons/SplitButton.js +4 -2
  288. package/cjs/core/Carousel/Carousel.d.ts +2 -6
  289. package/cjs/core/Carousel/Carousel.js +4 -2
  290. package/cjs/core/Carousel/CarouselContext.js +1 -1
  291. package/cjs/core/Carousel/CarouselDot.js +4 -2
  292. package/cjs/core/Carousel/CarouselDotsList.js +4 -2
  293. package/cjs/core/Carousel/CarouselNavigation.d.ts +2 -6
  294. package/cjs/core/Carousel/CarouselNavigation.js +4 -2
  295. package/cjs/core/Carousel/CarouselSlide.js +5 -3
  296. package/cjs/core/Carousel/CarouselSlider.js +5 -3
  297. package/cjs/core/Checkbox/Checkbox.js +7 -4
  298. package/cjs/core/ColorPicker/ColorBuilder.js +5 -3
  299. package/cjs/core/ColorPicker/ColorInputPanel.js +4 -2
  300. package/cjs/core/ColorPicker/ColorPalette.js +4 -2
  301. package/cjs/core/ColorPicker/ColorPicker.js +4 -2
  302. package/cjs/core/ColorPicker/ColorPickerContext.js +1 -1
  303. package/cjs/core/ColorPicker/ColorSwatch.js +4 -2
  304. package/cjs/core/ComboBox/ComboBox.d.ts +3 -3
  305. package/cjs/core/ComboBox/ComboBox.js +1 -1
  306. package/cjs/core/ComboBox/ComboBoxEndIcon.js +4 -2
  307. package/cjs/core/ComboBox/ComboBoxInput.d.ts +1 -1
  308. package/cjs/core/ComboBox/ComboBoxInput.js +1 -1
  309. package/cjs/core/ComboBox/ComboBoxInputContainer.js +1 -1
  310. package/cjs/core/ComboBox/ComboBoxMenu.js +4 -2
  311. package/cjs/core/ComboBox/ComboBoxMenuItem.d.ts +18 -6
  312. package/cjs/core/ComboBox/ComboBoxMenuItem.js +1 -1
  313. package/cjs/core/ComboBox/ComboBoxMultipleContainer.js +1 -1
  314. package/cjs/core/ComboBox/helpers.d.ts +3 -3
  315. package/cjs/core/ComboBox/helpers.js +1 -1
  316. package/cjs/core/DatePicker/DatePicker.js +4 -2
  317. package/cjs/core/Dialog/Dialog.d.ts +1 -1
  318. package/cjs/core/Dialog/Dialog.js +39 -44
  319. package/cjs/core/Dialog/DialogBackdrop.d.ts +1 -1
  320. package/cjs/core/Dialog/DialogBackdrop.js +10 -3
  321. package/cjs/core/Dialog/DialogContext.d.ts +1 -1
  322. package/cjs/core/Dialog/DialogContext.js +1 -1
  323. package/cjs/core/Dialog/DialogDragContext.js +1 -1
  324. package/cjs/core/Dialog/DialogMain.js +46 -36
  325. package/cjs/core/Dialog/DialogMainContext.d.ts +7 -0
  326. package/cjs/core/Dialog/DialogMainContext.js +23 -0
  327. package/cjs/core/Dialog/DialogTitleBar.js +14 -3
  328. package/cjs/core/Divider/Divider.js +4 -2
  329. package/cjs/core/DropdownMenu/DropdownMenu.d.ts +1 -1
  330. package/cjs/core/DropdownMenu/DropdownMenu.js +1 -1
  331. package/cjs/core/ExpandableBlock/ExpandableBlock.d.ts +1 -3
  332. package/cjs/core/ExpandableBlock/ExpandableBlock.js +4 -2
  333. package/cjs/core/Fieldset/Fieldset.js +4 -2
  334. package/cjs/core/FileUpload/FileEmptyCard.js +4 -2
  335. package/cjs/core/FileUpload/FileUpload.js +4 -2
  336. package/cjs/core/FileUpload/FileUploadCard.js +4 -2
  337. package/cjs/core/FileUpload/FileUploadTemplate.js +4 -2
  338. package/cjs/core/Flex/Flex.js +4 -2
  339. package/cjs/core/Footer/Footer.js +4 -2
  340. package/cjs/core/Header/Header.d.ts +1 -1
  341. package/cjs/core/Header/Header.js +4 -2
  342. package/cjs/core/Header/HeaderBasicButton.js +4 -2
  343. package/cjs/core/Header/HeaderBreadcrumbs.js +4 -2
  344. package/cjs/core/Header/HeaderButton.js +1 -1
  345. package/cjs/core/Header/HeaderDropdownButton.js +1 -1
  346. package/cjs/core/Header/HeaderLogo.d.ts +2 -1
  347. package/cjs/core/Header/HeaderLogo.js +4 -2
  348. package/cjs/core/Header/HeaderSplitButton.js +4 -2
  349. package/cjs/core/Icon/Icon.js +4 -2
  350. package/cjs/core/InformationPanel/InformationPanel.js +4 -2
  351. package/cjs/core/InformationPanel/InformationPanelContent.js +4 -2
  352. package/cjs/core/InformationPanel/InformationPanelHeader.js +4 -2
  353. package/cjs/core/Input/Input.js +4 -2
  354. package/cjs/core/InputGrid/InputGrid.js +4 -2
  355. package/cjs/core/InputGroup/InputGroup.js +4 -2
  356. package/cjs/core/InputWithDecorations/InputWithDecorations.d.ts +2 -6
  357. package/cjs/core/InputWithDecorations/InputWithDecorations.js +1 -1
  358. package/cjs/core/Label/Label.js +5 -3
  359. package/cjs/core/LabeledInput/LabeledInput.d.ts +1 -1
  360. package/cjs/core/LabeledInput/LabeledInput.js +4 -2
  361. package/cjs/core/LabeledSelect/LabeledSelect.d.ts +2 -2
  362. package/cjs/core/LabeledSelect/LabeledSelect.js +1 -1
  363. package/cjs/core/LabeledTextarea/LabeledTextarea.js +1 -1
  364. package/cjs/core/LinkAction/LinkAction.js +4 -2
  365. package/cjs/core/List/List.d.ts +2 -1
  366. package/cjs/core/List/List.js +23 -2
  367. package/cjs/core/List/ListItem.js +4 -2
  368. package/cjs/core/Menu/Menu.js +4 -2
  369. package/cjs/core/Menu/MenuItem.d.ts +5 -5
  370. package/cjs/core/Menu/MenuItem.js +4 -2
  371. package/cjs/core/Menu/MenuItemSkeleton.js +4 -2
  372. package/cjs/core/Modal/Modal.js +1 -1
  373. package/cjs/core/NonIdealState/ErrorPage.js +10 -10
  374. package/cjs/core/NonIdealState/NonIdealState.js +4 -2
  375. package/cjs/core/NotificationMarker/NotificationMarker.js +4 -2
  376. package/cjs/core/Overlay/Overlay.js +2 -2
  377. package/cjs/core/Panels/Panels.d.ts +2 -2
  378. package/cjs/core/Panels/Panels.js +9 -5
  379. package/cjs/core/Panels/helpers.js +1 -1
  380. package/cjs/core/Popover/Popover.d.ts +1 -1
  381. package/cjs/core/Popover/Popover.js +5 -3
  382. package/cjs/core/ProgressIndicators/ProgressLinear.js +4 -2
  383. package/cjs/core/ProgressIndicators/ProgressRadial.js +4 -2
  384. package/cjs/core/Radio/Radio.js +4 -2
  385. package/cjs/core/RadioTiles/RadioTile.d.ts +1 -1
  386. package/cjs/core/RadioTiles/RadioTile.js +4 -2
  387. package/cjs/core/RadioTiles/RadioTileGroup.js +4 -2
  388. package/cjs/core/SearchBox/SearchBox.js +4 -2
  389. package/cjs/core/Select/Select.d.ts +6 -6
  390. package/cjs/core/Select/Select.js +4 -2
  391. package/cjs/core/Select/SelectTag.js +4 -2
  392. package/cjs/core/Select/SelectTagContainer.js +4 -2
  393. package/cjs/core/SideNavigation/SideNavigation.d.ts +3 -3
  394. package/cjs/core/SideNavigation/SideNavigation.js +45 -45
  395. package/cjs/core/SideNavigation/SidenavButton.js +4 -2
  396. package/cjs/core/SideNavigation/SidenavSubmenu.js +4 -2
  397. package/cjs/core/SideNavigation/SidenavSubmenuHeader.js +4 -2
  398. package/cjs/core/SkipToContentLink/SkipToContentLink.js +4 -2
  399. package/cjs/core/Slider/Slider.js +49 -39
  400. package/cjs/core/Slider/Thumb.js +4 -2
  401. package/cjs/core/Slider/Track.js +4 -2
  402. package/cjs/core/StatusMessage/StatusMessage.d.ts +1 -1
  403. package/cjs/core/StatusMessage/StatusMessage.js +4 -2
  404. package/cjs/core/Stepper/Stepper.js +35 -25
  405. package/cjs/core/Stepper/StepperStep.js +4 -2
  406. package/cjs/core/Stepper/WorkflowDiagram.js +4 -2
  407. package/cjs/core/Stepper/WorkflowDiagramStep.js +4 -2
  408. package/cjs/core/Surface/Surface.js +4 -2
  409. package/cjs/core/Table/ColumnHeader.js +4 -2
  410. package/cjs/core/Table/SubRowExpander.js +1 -1
  411. package/cjs/core/Table/Table.d.ts +1 -1
  412. package/cjs/core/Table/Table.js +9 -4
  413. package/cjs/core/Table/TableCell.js +4 -2
  414. package/cjs/core/Table/TableExpandableContentMemoized.d.ts +4 -3
  415. package/cjs/core/Table/TableExpandableContentMemoized.js +4 -2
  416. package/cjs/core/Table/TablePaginator.js +4 -2
  417. package/cjs/core/Table/TableRowMemoized.d.ts +1 -1
  418. package/cjs/core/Table/TableRowMemoized.js +5 -2
  419. package/cjs/core/Table/actionHandlers/selectHandler.js +7 -8
  420. package/cjs/core/Table/cells/DefaultCell.d.ts +2 -2
  421. package/cjs/core/Table/cells/DefaultCell.js +21 -6
  422. package/cjs/core/Table/cells/EditableCell.js +4 -2
  423. package/cjs/core/Table/columns/actionColumn.js +1 -1
  424. package/cjs/core/Table/columns/expanderColumn.js +1 -1
  425. package/cjs/core/Table/columns/selectionColumn.js +1 -1
  426. package/cjs/core/Table/filters/BaseFilter.js +4 -2
  427. package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +1 -1
  428. package/cjs/core/Table/filters/DateRangeFilter/DateRangeFilter.js +1 -1
  429. package/cjs/core/Table/filters/FilterButtonBar.js +4 -2
  430. package/cjs/core/Table/filters/FilterToggle.js +4 -2
  431. package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
  432. package/cjs/core/Table/filters/TextFilter/TextFilter.js +1 -1
  433. package/cjs/core/Table/filters/defaultFilterFunctions.js +6 -5
  434. package/cjs/core/Table/filters/tableFilters.js +1 -1
  435. package/cjs/core/Table/hooks/useExpanderCell.js +1 -1
  436. package/cjs/core/Table/hooks/useResizeColumns.d.ts +1 -1
  437. package/cjs/core/Table/hooks/useResizeColumns.js +6 -4
  438. package/cjs/core/Table/hooks/useScrollToRow.js +1 -1
  439. package/cjs/core/Table/hooks/useSubRowFiltering.js +1 -1
  440. package/cjs/core/Table/hooks/useSubRowSelection.js +1 -1
  441. package/cjs/core/Table/utils.js +1 -1
  442. package/cjs/core/Tabs/Tabs.d.ts +2 -4
  443. package/cjs/core/Tabs/Tabs.js +15 -5
  444. package/cjs/core/Tag/Tag.js +4 -2
  445. package/cjs/core/Tag/TagContainer.js +4 -2
  446. package/cjs/core/Textarea/Textarea.js +1 -1
  447. package/cjs/core/ThemeProvider/ThemeContext.js +1 -1
  448. package/cjs/core/ThemeProvider/ThemeProvider.d.ts +7 -2
  449. package/cjs/core/ThemeProvider/ThemeProvider.js +12 -7
  450. package/cjs/core/Tile/Tile.d.ts +1 -3
  451. package/cjs/core/Tile/Tile.js +4 -2
  452. package/cjs/core/TimePicker/TimePicker.js +4 -2
  453. package/cjs/core/Toast/Toast.d.ts +1 -1
  454. package/cjs/core/Toast/Toast.js +136 -79
  455. package/cjs/core/Toast/Toaster.d.ts +1 -1
  456. package/cjs/core/Toast/Toaster.js +15 -5
  457. package/cjs/core/ToggleSwitch/ToggleSwitch.d.ts +1 -1
  458. package/cjs/core/ToggleSwitch/ToggleSwitch.js +4 -2
  459. package/cjs/core/Tooltip/Tooltip.d.ts +2 -1
  460. package/cjs/core/Tooltip/Tooltip.js +21 -12
  461. package/cjs/core/TransferList/TransferList.d.ts +1 -3
  462. package/cjs/core/TransferList/TransferList.js +4 -2
  463. package/cjs/core/Tree/Tree.d.ts +1 -1
  464. package/cjs/core/Tree/Tree.js +1 -1
  465. package/cjs/core/Tree/TreeContext.js +1 -1
  466. package/cjs/core/Tree/TreeNode.d.ts +1 -1
  467. package/cjs/core/Tree/TreeNode.js +4 -2
  468. package/cjs/core/Tree/TreeNodeExpander.js +4 -2
  469. package/cjs/core/Typography/Anchor.js +4 -2
  470. package/cjs/core/Typography/Blockquote.js +4 -2
  471. package/cjs/core/Typography/Kbd.js +4 -2
  472. package/cjs/core/Typography/Text.js +4 -2
  473. package/cjs/core/VisuallyHidden/VisuallyHidden.js +5 -3
  474. package/cjs/react-table/react-table.d.ts +3 -3
  475. package/cjs/react-table/react-table.types-test.js +2 -2
  476. package/cjs/styles.js +1 -1
  477. package/cjs/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
  478. package/cjs/utils/components/ButtonBase.js +8 -4
  479. package/cjs/utils/components/FocusTrap.d.ts +1 -1
  480. package/cjs/utils/components/FocusTrap.js +6 -6
  481. package/cjs/utils/components/InputContainer.d.ts +1 -1
  482. package/cjs/utils/components/InputContainer.js +4 -2
  483. package/cjs/utils/components/InputFlexContainer.js +4 -2
  484. package/cjs/utils/components/LineClamp.js +1 -1
  485. package/cjs/utils/components/MiddleTextTruncation.js +1 -1
  486. package/cjs/utils/components/OverflowContainer.js +1 -1
  487. package/cjs/utils/components/Portal.d.ts +3 -3
  488. package/cjs/utils/components/Portal.js +5 -3
  489. package/cjs/utils/components/Resizer.d.ts +2 -2
  490. package/cjs/utils/components/Resizer.js +1 -1
  491. package/cjs/utils/components/ShadowRoot.js +5 -3
  492. package/cjs/utils/components/index.d.ts +0 -1
  493. package/cjs/utils/components/index.js +0 -1
  494. package/cjs/utils/functions/focusable.d.ts +1 -1
  495. package/cjs/utils/functions/focusable.js +1 -1
  496. package/cjs/utils/functions/polymorphic.d.ts +3 -2
  497. package/cjs/utils/functions/polymorphic.js +4 -2
  498. package/cjs/utils/functions/react.d.ts +1 -1
  499. package/cjs/utils/functions/react.js +3 -5
  500. package/cjs/utils/hooks/useContainerWidth.js +1 -1
  501. package/cjs/utils/hooks/useControlledState.js +1 -1
  502. package/cjs/utils/hooks/useDragAndDrop.d.ts +1 -1
  503. package/cjs/utils/hooks/useDragAndDrop.js +3 -3
  504. package/cjs/utils/hooks/useEventListener.js +2 -2
  505. package/cjs/utils/hooks/useGlobals.js +1 -1
  506. package/cjs/utils/hooks/useId.js +1 -1
  507. package/cjs/utils/hooks/useInstance.js +1 -1
  508. package/cjs/utils/hooks/useIntersection.js +1 -1
  509. package/cjs/utils/hooks/useIsClient.js +1 -1
  510. package/cjs/utils/hooks/useIsomorphicLayoutEffect.js +1 -1
  511. package/cjs/utils/hooks/useLatestRef.d.ts +1 -1
  512. package/cjs/utils/hooks/useLatestRef.js +1 -1
  513. package/cjs/utils/hooks/useMediaQuery.js +1 -1
  514. package/cjs/utils/hooks/useMergedRefs.d.ts +2 -2
  515. package/cjs/utils/hooks/useMergedRefs.js +1 -1
  516. package/cjs/utils/hooks/useResizeObserver.js +2 -2
  517. package/cjs/utils/hooks/useSafeContext.js +1 -1
  518. package/cjs/utils/hooks/useSyncExternalStore.js +1 -1
  519. package/cjs/utils/hooks/useVirtualScroll.js +1 -1
  520. package/cjs/utils/hooks/useWarningLogger.js +1 -1
  521. package/cjs/utils/icons/StatusIconMap.js +1 -1
  522. package/cjs/utils/icons/SvgCalendar.js +1 -1
  523. package/cjs/utils/icons/SvgCaretDownSmall.js +1 -1
  524. package/cjs/utils/icons/SvgCaretRightSmall.js +1 -1
  525. package/cjs/utils/icons/SvgCaretUpSmall.js +1 -1
  526. package/cjs/utils/icons/SvgCheckmark.js +1 -1
  527. package/cjs/utils/icons/SvgCheckmarkSmall.js +1 -1
  528. package/cjs/utils/icons/SvgChevronLeft.js +1 -1
  529. package/cjs/utils/icons/SvgChevronLeftDouble.js +1 -1
  530. package/cjs/utils/icons/SvgChevronRight.js +1 -1
  531. package/cjs/utils/icons/SvgChevronRightDouble.js +1 -1
  532. package/cjs/utils/icons/SvgChevronRightSmall.js +1 -1
  533. package/cjs/utils/icons/SvgClose.js +1 -1
  534. package/cjs/utils/icons/SvgCloseSmall.js +1 -1
  535. package/cjs/utils/icons/SvgColumnManager.js +1 -1
  536. package/cjs/utils/icons/SvgDocument.js +1 -1
  537. package/cjs/utils/icons/SvgFilter.js +1 -1
  538. package/cjs/utils/icons/SvgFilterHollow.js +1 -1
  539. package/cjs/utils/icons/SvgImportantSmall.js +1 -1
  540. package/cjs/utils/icons/SvgInfoCircular.js +1 -1
  541. package/cjs/utils/icons/SvgMore.js +1 -1
  542. package/cjs/utils/icons/SvgMoreVertical.js +1 -1
  543. package/cjs/utils/icons/SvgNew.js +1 -1
  544. package/cjs/utils/icons/SvgSearch.js +1 -1
  545. package/cjs/utils/icons/SvgSmileyHappy.js +1 -1
  546. package/cjs/utils/icons/SvgSortDown.js +1 -1
  547. package/cjs/utils/icons/SvgSortUp.js +1 -1
  548. package/cjs/utils/icons/SvgStatusError.js +1 -1
  549. package/cjs/utils/icons/SvgStatusSuccess.js +1 -1
  550. package/cjs/utils/icons/SvgStatusWarning.js +1 -1
  551. package/cjs/utils/icons/SvgSwap.js +1 -1
  552. package/cjs/utils/icons/SvgUpload.js +1 -1
  553. package/cjs/utils/props.d.ts +3 -3
  554. package/cjs/utils/providers/HydrationProvider.js +1 -1
  555. package/cjs/utils/providers/ScopeProvider.d.ts +2 -2
  556. package/cjs/utils/providers/ScopeProvider.js +1 -1
  557. package/esm/core/Alert/Alert.d.ts +1 -3
  558. package/esm/core/Avatar/Avatar.d.ts +2 -1
  559. package/esm/core/ButtonGroup/ButtonGroup.js +2 -4
  560. package/esm/core/Buttons/Button.d.ts +2 -2
  561. package/esm/core/Buttons/DropdownButton.d.ts +2 -1
  562. package/esm/core/Buttons/SplitButton.d.ts +1 -1
  563. package/esm/core/Carousel/Carousel.d.ts +2 -6
  564. package/esm/core/Carousel/CarouselNavigation.d.ts +2 -6
  565. package/esm/core/Carousel/CarouselSlide.js +1 -1
  566. package/esm/core/Carousel/CarouselSlider.js +1 -1
  567. package/esm/core/Checkbox/Checkbox.js +3 -2
  568. package/esm/core/ColorPicker/ColorBuilder.js +1 -1
  569. package/esm/core/ComboBox/ComboBox.d.ts +3 -3
  570. package/esm/core/ComboBox/ComboBoxInput.d.ts +1 -1
  571. package/esm/core/ComboBox/ComboBoxMenuItem.d.ts +18 -6
  572. package/esm/core/ComboBox/helpers.d.ts +3 -3
  573. package/esm/core/Dialog/Dialog.d.ts +1 -1
  574. package/esm/core/Dialog/Dialog.js +32 -42
  575. package/esm/core/Dialog/DialogBackdrop.d.ts +1 -1
  576. package/esm/core/Dialog/DialogBackdrop.js +6 -1
  577. package/esm/core/Dialog/DialogContext.d.ts +1 -1
  578. package/esm/core/Dialog/DialogMain.js +42 -34
  579. package/esm/core/Dialog/DialogMainContext.d.ts +7 -0
  580. package/esm/core/Dialog/DialogMainContext.js +3 -0
  581. package/esm/core/Dialog/DialogTitleBar.js +10 -1
  582. package/esm/core/DropdownMenu/DropdownMenu.d.ts +1 -1
  583. package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +1 -3
  584. package/esm/core/Header/Header.d.ts +1 -1
  585. package/esm/core/Header/HeaderLogo.d.ts +2 -1
  586. package/esm/core/InputWithDecorations/InputWithDecorations.d.ts +2 -6
  587. package/esm/core/Label/Label.js +1 -1
  588. package/esm/core/LabeledInput/LabeledInput.d.ts +1 -1
  589. package/esm/core/LabeledSelect/LabeledSelect.d.ts +2 -2
  590. package/esm/core/List/List.d.ts +2 -1
  591. package/esm/core/List/List.js +20 -3
  592. package/esm/core/Menu/MenuItem.d.ts +5 -5
  593. package/esm/core/Overlay/Overlay.js +1 -1
  594. package/esm/core/Panels/Panels.d.ts +2 -2
  595. package/esm/core/Panels/Panels.js +3 -2
  596. package/esm/core/Popover/Popover.d.ts +1 -1
  597. package/esm/core/Popover/Popover.js +1 -1
  598. package/esm/core/RadioTiles/RadioTile.d.ts +1 -1
  599. package/esm/core/Select/Select.d.ts +6 -6
  600. package/esm/core/SideNavigation/SideNavigation.d.ts +3 -3
  601. package/esm/core/SideNavigation/SideNavigation.js +37 -44
  602. package/esm/core/Slider/Slider.js +45 -37
  603. package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
  604. package/esm/core/Stepper/Stepper.js +31 -23
  605. package/esm/core/Table/Table.d.ts +1 -1
  606. package/esm/core/Table/Table.js +5 -2
  607. package/esm/core/Table/TableExpandableContentMemoized.d.ts +4 -3
  608. package/esm/core/Table/TableRowMemoized.d.ts +1 -1
  609. package/esm/core/Table/TableRowMemoized.js +1 -0
  610. package/esm/core/Table/actionHandlers/selectHandler.js +7 -8
  611. package/esm/core/Table/cells/DefaultCell.d.ts +2 -2
  612. package/esm/core/Table/cells/DefaultCell.js +17 -4
  613. package/esm/core/Table/filters/defaultFilterFunctions.js +6 -5
  614. package/esm/core/Table/hooks/useResizeColumns.d.ts +1 -1
  615. package/esm/core/Table/hooks/useResizeColumns.js +6 -4
  616. package/esm/core/Tabs/Tabs.d.ts +2 -4
  617. package/esm/core/Tabs/Tabs.js +11 -3
  618. package/esm/core/ThemeProvider/ThemeProvider.d.ts +7 -2
  619. package/esm/core/ThemeProvider/ThemeProvider.js +2 -3
  620. package/esm/core/Tile/Tile.d.ts +1 -3
  621. package/esm/core/Toast/Toast.d.ts +1 -1
  622. package/esm/core/Toast/Toast.js +131 -75
  623. package/esm/core/Toast/Toaster.d.ts +1 -1
  624. package/esm/core/Toast/Toaster.js +11 -3
  625. package/esm/core/ToggleSwitch/ToggleSwitch.d.ts +1 -1
  626. package/esm/core/Tooltip/Tooltip.d.ts +2 -1
  627. package/esm/core/Tooltip/Tooltip.js +5 -7
  628. package/esm/core/TransferList/TransferList.d.ts +1 -3
  629. package/esm/core/Tree/Tree.d.ts +1 -1
  630. package/esm/core/Tree/TreeNode.d.ts +1 -1
  631. package/esm/core/VisuallyHidden/VisuallyHidden.js +1 -1
  632. package/esm/react-table/react-table.d.ts +3 -3
  633. package/esm/react-table/react-table.types-test.js +1 -1
  634. package/esm/styles.js +1 -1
  635. package/esm/utils/components/ButtonBase.js +4 -2
  636. package/esm/utils/components/FocusTrap.d.ts +1 -1
  637. package/esm/utils/components/FocusTrap.js +5 -5
  638. package/esm/utils/components/InputContainer.d.ts +1 -1
  639. package/esm/utils/components/Portal.d.ts +3 -3
  640. package/esm/utils/components/Portal.js +1 -1
  641. package/esm/utils/components/Resizer.d.ts +2 -2
  642. package/esm/utils/components/ShadowRoot.js +1 -1
  643. package/esm/utils/components/index.d.ts +0 -1
  644. package/esm/utils/components/index.js +0 -1
  645. package/esm/utils/functions/focusable.d.ts +1 -1
  646. package/esm/utils/functions/polymorphic.d.ts +3 -2
  647. package/esm/utils/functions/react.d.ts +1 -1
  648. package/esm/utils/functions/react.js +2 -4
  649. package/esm/utils/hooks/useDragAndDrop.d.ts +1 -1
  650. package/esm/utils/hooks/useDragAndDrop.js +2 -2
  651. package/esm/utils/hooks/useEventListener.js +1 -1
  652. package/esm/utils/hooks/useLatestRef.d.ts +1 -1
  653. package/esm/utils/hooks/useMergedRefs.d.ts +2 -2
  654. package/esm/utils/hooks/useResizeObserver.js +1 -1
  655. package/esm/utils/props.d.ts +3 -3
  656. package/esm/utils/providers/ScopeProvider.d.ts +2 -2
  657. package/package.json +44 -46
  658. package/styles.css +10 -10
  659. package/DEV-cjs/utils/components/WithCSSTransition.js +0 -60
  660. package/DEV-esm/utils/components/WithCSSTransition.js +0 -49
  661. package/cjs/utils/components/WithCSSTransition.d.ts +0 -6
  662. package/cjs/utils/components/WithCSSTransition.js +0 -60
  663. package/esm/utils/components/WithCSSTransition.d.ts +0 -6
  664. package/esm/utils/components/WithCSSTransition.js +0 -49
@@ -1,60 +0,0 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', {
3
- value: true,
4
- });
5
- Object.defineProperty(exports, 'WithCSSTransition', {
6
- enumerable: true,
7
- get: function () {
8
- return WithCSSTransition;
9
- },
10
- });
11
- const _interop_require_wildcard = require('@swc/helpers/_/_interop_require_wildcard');
12
- const _react = _interop_require_wildcard._(require('react'));
13
- const _reacttransitiongroup = require('react-transition-group');
14
- const _styles = require('../../styles.js');
15
- const WithCSSTransition = (props) => {
16
- let { in: visible, dimension = 'height', children, ...rest } = props;
17
- let expandedSize = _react.useRef(0);
18
- let dimensionCamelCase = 'height' === dimension ? 'Height' : 'Width';
19
- return _react.createElement(
20
- _reacttransitiongroup.CSSTransition,
21
- {
22
- in: visible,
23
- timeout: 200,
24
- unmountOnExit: true,
25
- onEnter: (node) => {
26
- node.style[`min${dimensionCamelCase}`] = 'initial';
27
- node.style[dimension] = '0px';
28
- },
29
- onEntering: (node) => {
30
- node.style[dimension] = `${expandedSize.current}px`;
31
- },
32
- onEntered: (node) => {
33
- node.style[`min${dimensionCamelCase}`] = '';
34
- node.style[dimension] = '';
35
- },
36
- onExit: (node) => {
37
- node.style[dimension] = `${expandedSize.current}px`;
38
- },
39
- onExiting: (node) => {
40
- node.style[`min${dimensionCamelCase}`] = 'initial';
41
- node.style[dimension] = '0px';
42
- },
43
- classNames: {
44
- enter: _styles.styles['iui-enter'],
45
- enterActive: _styles.styles['iui-enter-active'],
46
- exit: _styles.styles['iui-exit'],
47
- exitActive: _styles.styles['iui-exit-active'],
48
- },
49
- ...rest,
50
- },
51
- _react.isValidElement(children)
52
- ? _react.cloneElement(children, {
53
- ref: (el) => {
54
- if (el)
55
- expandedSize.current = el.getBoundingClientRect()[dimension];
56
- },
57
- })
58
- : _react.createElement(_react.Fragment, null),
59
- );
60
- };
@@ -1,49 +0,0 @@
1
- import * as React from 'react';
2
- import { CSSTransition } from 'react-transition-group';
3
- import { styles } from '../../styles.js';
4
- export const WithCSSTransition = (props) => {
5
- let { in: visible, dimension = 'height', children, ...rest } = props;
6
- let expandedSize = React.useRef(0);
7
- let dimensionCamelCase = 'height' === dimension ? 'Height' : 'Width';
8
- return React.createElement(
9
- CSSTransition,
10
- {
11
- in: visible,
12
- timeout: 200,
13
- unmountOnExit: true,
14
- onEnter: (node) => {
15
- node.style[`min${dimensionCamelCase}`] = 'initial';
16
- node.style[dimension] = '0px';
17
- },
18
- onEntering: (node) => {
19
- node.style[dimension] = `${expandedSize.current}px`;
20
- },
21
- onEntered: (node) => {
22
- node.style[`min${dimensionCamelCase}`] = '';
23
- node.style[dimension] = '';
24
- },
25
- onExit: (node) => {
26
- node.style[dimension] = `${expandedSize.current}px`;
27
- },
28
- onExiting: (node) => {
29
- node.style[`min${dimensionCamelCase}`] = 'initial';
30
- node.style[dimension] = '0px';
31
- },
32
- classNames: {
33
- enter: styles['iui-enter'],
34
- enterActive: styles['iui-enter-active'],
35
- exit: styles['iui-exit'],
36
- exitActive: styles['iui-exit-active'],
37
- },
38
- ...rest,
39
- },
40
- React.isValidElement(children)
41
- ? React.cloneElement(children, {
42
- ref: (el) => {
43
- if (el)
44
- expandedSize.current = el.getBoundingClientRect()[dimension];
45
- },
46
- })
47
- : React.createElement(React.Fragment, null),
48
- );
49
- };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import { CSSTransition } from 'react-transition-group';
3
- export declare const WithCSSTransition: (props: Partial<React.ComponentPropsWithoutRef<typeof CSSTransition>> & {
4
- children: JSX.Element;
5
- dimension?: "height" | "width";
6
- }) => React.JSX.Element;
@@ -1,60 +0,0 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', {
3
- value: true,
4
- });
5
- Object.defineProperty(exports, 'WithCSSTransition', {
6
- enumerable: true,
7
- get: function () {
8
- return WithCSSTransition;
9
- },
10
- });
11
- const _interop_require_wildcard = require('@swc/helpers/_/_interop_require_wildcard');
12
- const _react = _interop_require_wildcard._(require('react'));
13
- const _reacttransitiongroup = require('react-transition-group');
14
- const _styles = require('../../styles.js');
15
- const WithCSSTransition = (props) => {
16
- let { in: visible, dimension = 'height', children, ...rest } = props;
17
- let expandedSize = _react.useRef(0);
18
- let dimensionCamelCase = 'height' === dimension ? 'Height' : 'Width';
19
- return _react.createElement(
20
- _reacttransitiongroup.CSSTransition,
21
- {
22
- in: visible,
23
- timeout: 200,
24
- unmountOnExit: true,
25
- onEnter: (node) => {
26
- node.style[`min${dimensionCamelCase}`] = 'initial';
27
- node.style[dimension] = '0px';
28
- },
29
- onEntering: (node) => {
30
- node.style[dimension] = `${expandedSize.current}px`;
31
- },
32
- onEntered: (node) => {
33
- node.style[`min${dimensionCamelCase}`] = '';
34
- node.style[dimension] = '';
35
- },
36
- onExit: (node) => {
37
- node.style[dimension] = `${expandedSize.current}px`;
38
- },
39
- onExiting: (node) => {
40
- node.style[`min${dimensionCamelCase}`] = 'initial';
41
- node.style[dimension] = '0px';
42
- },
43
- classNames: {
44
- enter: _styles.styles['iui-enter'],
45
- enterActive: _styles.styles['iui-enter-active'],
46
- exit: _styles.styles['iui-exit'],
47
- exitActive: _styles.styles['iui-exit-active'],
48
- },
49
- ...rest,
50
- },
51
- _react.isValidElement(children)
52
- ? _react.cloneElement(children, {
53
- ref: (el) => {
54
- if (el)
55
- expandedSize.current = el.getBoundingClientRect()[dimension];
56
- },
57
- })
58
- : _react.createElement(_react.Fragment, null),
59
- );
60
- };
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import { CSSTransition } from 'react-transition-group';
3
- export declare const WithCSSTransition: (props: Partial<React.ComponentPropsWithoutRef<typeof CSSTransition>> & {
4
- children: JSX.Element;
5
- dimension?: "height" | "width";
6
- }) => React.JSX.Element;
@@ -1,49 +0,0 @@
1
- import * as React from 'react';
2
- import { CSSTransition } from 'react-transition-group';
3
- import { styles } from '../../styles.js';
4
- export const WithCSSTransition = (props) => {
5
- let { in: visible, dimension = 'height', children, ...rest } = props;
6
- let expandedSize = React.useRef(0);
7
- let dimensionCamelCase = 'height' === dimension ? 'Height' : 'Width';
8
- return React.createElement(
9
- CSSTransition,
10
- {
11
- in: visible,
12
- timeout: 200,
13
- unmountOnExit: true,
14
- onEnter: (node) => {
15
- node.style[`min${dimensionCamelCase}`] = 'initial';
16
- node.style[dimension] = '0px';
17
- },
18
- onEntering: (node) => {
19
- node.style[dimension] = `${expandedSize.current}px`;
20
- },
21
- onEntered: (node) => {
22
- node.style[`min${dimensionCamelCase}`] = '';
23
- node.style[dimension] = '';
24
- },
25
- onExit: (node) => {
26
- node.style[dimension] = `${expandedSize.current}px`;
27
- },
28
- onExiting: (node) => {
29
- node.style[`min${dimensionCamelCase}`] = 'initial';
30
- node.style[dimension] = '0px';
31
- },
32
- classNames: {
33
- enter: styles['iui-enter'],
34
- enterActive: styles['iui-enter-active'],
35
- exit: styles['iui-exit'],
36
- exitActive: styles['iui-exit-active'],
37
- },
38
- ...rest,
39
- },
40
- React.isValidElement(children)
41
- ? React.cloneElement(children, {
42
- ref: (el) => {
43
- if (el)
44
- expandedSize.current = el.getBoundingClientRect()[dimension];
45
- },
46
- })
47
- : React.createElement(React.Fragment, null),
48
- );
49
- };