Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
@itwin/itwinui-react@3.12.0
Minor Changes
#2048: Added a new
defaultValue
prop toComboBox
. This is useful when you don't want to maintain your own state but still want to control the initialvalue
.#2076: Added open popover styling to
Button
(andIconButton
). When an associatedPopover
orDropdownMenu
is open, the button will now get a subtle visual indication.#2111: Added the ability to pass arbitrary DOM props to
TreeNode
.#2107: A new
meta
object is exported, containing meta information about the package.#2048: Fixed a bug in
ComboBox
where the controlled state (value
prop) was not given priority over the uncontrolled state. As a result:value={myDefaultValue}
will no longer work. Instead, use the newdefaultValue
prop.value={null}
will now force the ComboBox to be in controlled mode. If you want to reset the value but be in uncontrolled mode, then usevalue={undefined}
instead.#2101: Passing an
IconButton
toTile.QuickAction
andTile.TypeIndicator
is now deprecated. UseTile.IconButton
instead.#2021: In menu-like components (
DropdownMenu
,SplitButton
,Table
's column manager), using the mouse to operate the menu will no longer move focus like it does when using the keyboard.#2021:
MenuItem
'stabIndex
now is0
when it's selected and-1
when it's not. Additionally,MenuItem
passed inside most menu type components (e.g.DropdownMenu
,SplitButton
,Table
's column manager, etc.) have rovingtabIndex
.Dependency changes:
@floating-ui/react
to0.26.18
.tslib
with@swc/helpers
. This is used mainly by the CommonJS build for interop reasons.Patch Changes
Select
caused by updating@floating-ui/react
to0.26.18
.Tile.IconButton
where the hover state wasn't working.MenuItem
now renders as a<button>
instead of a<div>
.Popover
was sometimes showing up in the wrong window during the first render.ComboBox
where theisSelected
passed toitemRenderer
was alwaysfalse
whenevermultiple
wastrue
.Build Output Changes
React.createElement
."module": "NodeNext"
."exports"
fallback for/react-table
types is now handled usingtypesVersions
.prettier
for easier debugging.