Minor Changes
-
#2106: All internal CSS class prefixes have been changed to prevent style conflicts across minor versions.
- While this is not considered a breaking change according to our support policy, this change might affect you if you ignore our pleas to not rely on these internal class names. The recommendation is to pass your own custom
className
through props.
- While this is not considered a breaking change according to our support policy, this change might affect you if you ignore our pleas to not rely on these internal class names. The recommendation is to pass your own custom
-
#2131: Development-only warnings will now be properly excluded from the production build. This is done using a separate
"development"
entrypoint listed inpackage.json#exports
. -
#2135: Changed the column manager from a
DropdownMenu
to aPopover
to fix invalid markup and accessibility issues. -
Added dependency on
@tanstack/react-virtual
to replace the custom virtual-scroll implementation. This affects theenableVirtualization
prop inComboBox
,Table
, andTree
.-
#2061: Virtualized
ComboBox
now correctly supports dynamic sizing, e.g. when options both with and withoutsubLabel
are present. -
#2092: Virtualized
Table
has been improved so that scrolling no longer jumps when rows are scrolled past. -
#2139: Virtualized
Tree
no longer requires a wrapping scrollable element, since the tree itself is scrollable now.Diff
- <div style={{overflow: 'auto', height: 'min(400px, 90vh)'}}> <Tree enableVirtualization + style={{height: 'min(400px, 90vh)'}} /> - </div>
-
Patch Changes
- #2139: Added
overflow: auto
toTree
component to provide more consistent styling across components. - #2137: Console warnings will now be displayed during development when multiple versions of iTwinUI are detected.
- #2145: Fixed an issue where the
Overlay
component was causing bundler warnings about a non-analyzable expression used in a dependency. - #2135: The
Table
column manager button's open state no longer has theButton
's blue active color. - #2142: Added
displayName
s to all components that were previously missing them. - #2141:
displayName
s have been eliminated from the production build, so they only show up during development. - #2135:
ActionColumn
'sdropdownMenuProps
no longer exposes the unnecessarymatchWidth
prop.