Releases: iTwin/iTwinUI
Releases · iTwin/iTwinUI
@itwin/itwinui-react@3.10.0
Minor Changes
- #1942:
DropdownMenu
's keyboard navigation, hover triggers, and overall behavior has been improved. - #1942: Clicking a
MenuItem
withsubmenuItems
now toggles the submenu visibility.- If both
submenuItems
andonClick
props are passed, then clicking theMenuItem
will toggle the submenu visibility but also still call theonClick
. However, this behavior can lead to a confusing UX and is not recommended, so a warning will be shown.
- If both
- #1919: Aggregated a subset of CSS styles across some field components:
Button
,Input
,Textarea
, andSelect
, in order to reduce the CSS size and improve visual consistency. Some resulting changes:Input
,Textarea
, andSelect
have a similar hover state asButton
.Input
,Textarea
, andSelect
now show their value as greyed out when disabled.
- #2010: Added new
labelProps
toToggleSwitch
to allow for customization of the label element. - #2011: Added dependency on
jotai
.
Patch Changes
- #1942: Disabled
MenuItem
s no longer show their submenu. - #1942: Fixed an issue in
DropdownMenu
where the submenus would not close in some circumstances, despite callingclose()
inonClick
. - #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 theThemeProvider
'sportalContainer
. - #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 specifyportalContainer
. - #1919: The small sized
TablePaginator
's buttons are now squares instead of rectangles. This makes it consistent with the shape of the regular sizedTablePaginator
buttons. - #1919: The hover styling of
Breadcrumbs.Item
has been made more consistent across buttons and anchors.
@itwin/itwinui-react@3.9.1
@itwin/itwinui-react@3.9.0
Minor Changes
-
#1994: Added
role="toolbar"
support toButtonGroup
. Use this to enable the toolbar pattern, with arrow-key navigation functionality.<ButtonGroup role="toolbar">
-
#1986:
tableFilters.DateRangeFilter
now acceptsshowYearSelection
to enable year-selection buttons.tableFilters.DateRangeFilter({ showYearSelection: true });
-
#1971: Added a new
stretched
prop toButton
to allow it to span the full width of its container. -
#1996:
Anchor
elements insideText
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 renderundefined
, 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
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
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
@itwin/itwinui-react@3.7.4
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.
- Also affects other components that use tooltips internally:
- #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
Patch Changes
@itwin/itwinui-react@2.12.26
Patch Changes
- #1949: ThemeProvider will now correctly inherit theme changes from a v3 ancestor.
@itwin/itwinui-react@3.7.2
Patch Changes
- #1939: Fixed an issue in
ButtonGroup
where the overflow logic was running even whenoverflowButton
prop was not passed.
@itwin/itwinui-react@3.7.1
Patch Changes
- #1934: Fixed the types for
Table
columnfilter
to allow"includesSome"
, which is an already-supported filter function. Also improved the types for thefilter
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.