Skip to content

Releases: iTwin/iTwinUI

@itwin/itwinui-react@3.10.0

02 May 21:52
031fdf2
Compare
Choose a tag to compare

Minor Changes

  • #1942: DropdownMenu's keyboard navigation, hover triggers, and overall behavior has been improved.
  • #1942: Clicking a MenuItem with submenuItems now toggles the submenu visibility.
    • If both submenuItems and onClick props are passed, then clicking the MenuItem will toggle the submenu visibility but also still call the onClick. However, this behavior can lead to a confusing UX and is not recommended, so a warning will be shown.
  • #1919: Aggregated a subset of CSS styles across some field components: Button, Input, Textarea, and Select, in order to reduce the CSS size and improve visual consistency. Some resulting changes:
    • Input, Textarea, and Select have a similar hover state as Button.
    • Input, Textarea, and Select now show their value as greyed out when disabled.
  • #2010: Added new labelProps to ToggleSwitch to allow for customization of the label element.
  • #2011: Added dependency on jotai.

Patch Changes

  • #1942: Disabled MenuItems no longer show their submenu.
  • #1942: Fixed an issue in DropdownMenu where the submenus would not close in some circumstances, despite calling close() in onClick.
  • #2013: Fixed an issue with Table row selection not correctly deselecting all sub rows when the row has disabled sub rows or when some rows are filtered out.
  • #2009: Fixed an issue where Popover wasn't respecting the ThemeProvider's portalContainer.
  • #2011: When ThemeProvider is portaled into popup windows, it will now automatically create a portal container in the correct document, avoiding the need to manually specify portalContainer.
  • #1919: The small sized TablePaginator's buttons are now squares instead of rectangles. This makes it consistent with the shape of the regular sized TablePaginator buttons.
  • #1919: The hover styling of Breadcrumbs.Item has been made more consistent across buttons and anchors.

@itwin/itwinui-react@3.9.1

17 Apr 15:01
bf95d9e
Compare
Choose a tag to compare

Patch Changes

  • #2005: Improved IconButton so that its tooltip is removed from the DOM when not visible.
  • #2004: Fixed a performance issue in Tooltip where expensive calculations were being run even when the tooltip was not visible.

@itwin/itwinui-react@3.9.0

16 Apr 19:15
a09cd4b
Compare
Choose a tag to compare

Minor Changes

  • #1994: Added role="toolbar" support to ButtonGroup. Use this to enable the toolbar pattern, with arrow-key navigation functionality.

    <ButtonGroup role="toolbar">
  • #1986: tableFilters.DateRangeFilter now accepts showYearSelection to enable year-selection buttons.

    tableFilters.DateRangeFilter({ showYearSelection: true });
  • #1971: Added a new stretched prop to Button to allow it to span the full width of its container.

  • #1996: Anchor elements inside Text will now be underlined by default.

Patch Changes

  • #1997: Fixed an issue where draggable Dialog was overriding its intrinsic size after mount.
  • #1981: Fixed jest detection logic to correctly exit from scenarios that should not be executed in unit test environments.
  • #1982: Fixed an issue where some components (such as InputGroup) were trying to render undefined, which is not supported in React 17.
  • #1986: Updated the date pickers in tableFilters.DateRangeFilter to not display dates outside the current month.

@itwin/itwinui-react@3.8.1

03 Apr 14:15
f110901
Compare
Choose a tag to compare

Patch Changes

  • #1964: Fixed a bug with InformationPanel where changing orientation after resizing the panel would cause the panel to maintain it's resized width/height.

@itwin/itwinui-react@3.8.0

02 Apr 18:26
cb7bd9f
Compare
Choose a tag to compare

Minor Changes

  • #1957: Bumped the minimum required version of @floating-ui/react from ^0.26.3 to ^0.26.10. (Make sure to also update transitive deps!)

Patch Changes

  • #1962: Hydration checks have been added in some components to facilitate showing pure client-rendered content more eagerly.
  • #1968: Fixed a regression in Table where the layout of a custom Cell unexpectedly changed from horizontal to vertical.

@itwin/itwinui-react@3.7.4

27 Mar 15:05
38a5eaa
Compare
Choose a tag to compare

Patch Changes

  • #1944: Fixed an issue where Tooltip would stay open after clicking on the trigger element. The tooltip will now be correctly dismissed upon click.
    • Also affects other components that use tooltips internally: IconButton, SideNavigation, etc.
  • #1955: Fixed a regression in Tabs where the panel content was not occupying the full width of the container.
  • #1954: Fixed an issue in older Safari versions where visually-hidden styles inside ProgressRadial were not being applied.

@itwin/itwinui-react@3.7.3

25 Mar 21:11
794499d
Compare
Choose a tag to compare

Patch Changes

  • #1946: Fixed a bug in Table where resizing the columns and then toggling the column visibility in the column manager would trigger an unnecessary auto-scroll in the vertical direction.
  • #1943: Fixed a z-index issue in Table where the table resizer appeared above the sticky header cells.

@itwin/itwinui-react@2.12.26

25 Mar 21:07
6001f0a
Compare
Choose a tag to compare

Patch Changes

  • #1949: ThemeProvider will now correctly inherit theme changes from a v3 ancestor.

@itwin/itwinui-react@3.7.2

22 Mar 15:56
6d0104a
Compare
Choose a tag to compare

Patch Changes

  • #1939: Fixed an issue in ButtonGroup where the overflow logic was running even when overflowButton prop was not passed.

@itwin/itwinui-react@3.7.1

21 Mar 15:56
e7d1b86
Compare
Choose a tag to compare

Patch Changes

  • #1934: Fixed the types for Table column filter to allow "includesSome", which is an already-supported filter function. Also improved the types for the filter prop to improve TS autocompletion.
  • #1936: Fixed an issue in ProgressRadial where the visually hidden "Loading." text was sometimes incorrectly displayed for a short while in the beginning.