Releases: iTwin/iTwinUI
Releases · iTwin/iTwinUI
@itwin/[email protected]
Minor Changes
- #2001: Added a new generic
unstable_Panels
component for easy setup of nested screens/panels. Example uses: multi-layered menus, wizards, settings screens, etc.- This API is temporarily marked as unstable to collect feedback for some time to tailor the generic component specifically to users' needs.
- #2345:
Stepper
now allows passing custom icon or content in each step circle using astepContent
property in each item of thesteps
array. - #2294:
ComboBox
withmultiple
enabled now offers aclearFilterOnOptionToggle
prop to control whether the filter is cleared or not when an option is toggled. Default value istrue
(i.e. no breaking change). - #2299/5d313a7: Added new
tileContainer
prop toRadioTileGroup
to allow further customization of inner DOM elements.
Patch Changes
- #2337: Fixed a
Table
bug where row items could not be focused via theTab
key. - #2317: Fixed duplicate data returned from
Table
'sonSelect
prop. - #2316:
TablePaginator
's page buttons no longer get overlapped by neighboring paginator elements. - #2327: Fixed a
Tree
bug where thesize
prop was not respected when virtualization was enabled. - #2311: Updated the default value of
Dialog
'ssetFocus
prop to be based on the value of thetrapFocus
prop. - #2154: Fixed bugs and improved performance in components with overflow support (e.g.
ComboBox
,Select
,ButtonGroup
,Breadcrumbs
, etc.) - #2339: Improved the accessibility of
MiddleTextTruncation
so that the entire untruncated text is part of the accessibility tree. - #2334:
DatePicker
withenableRangeSelect
now allowsstartDate
andendDate
to both beundefined
(e.g. when there is no initial range). PassingDate
to just one of them is not allowed. - #2347:
InputWithDecorations.Input
now properly getscursor: not-allowed
when disabled. - #2323: Ensured that the
useToaster
wrapper does not block clicks when used within other portal containers (e.g. from AppUI).
@itwin/[email protected]
@itwin/[email protected]
Patch Changes
- #2297: More robust fix for an issue where nested
Popover
s were automatically closing due to faulty "outside click" detection. - #2295:
ComboBox
withmultiple={true}
properly clears its input's value whenever the filter is cleared. e.g. when an option is toggled or the combobox is unfocused. - #2288:
Table
now displays development-only console warnings when bothsubRows
andsubComponent
are simultaneously passed to it. - #2301: Fixed arrow keys page navigation in
TablePaginator
. - #2303:
TablePaginator
shows ellipses only whenever needed.
@itwin/[email protected]
Patch Changes
- #2285: Fixed an issue in
ProgressLinear
where passing astyle
prop would cause it to lose itsvalue
. - #2281: Inputs (e.g.
Input
,ComboBox
, etc.) with "small" size now have the same height as other field elements with "small" size (e.g.Button
). - #2274:
IconButton
s insideTransferList.Toolbar
will now show tooltips on the right side by default to avoid obscuring adjacent buttons in the group. This placement can be changed using thelabelProps.placement
prop on theIconButton
. - #2274:
TransferList.Toolbar
implements the previously missing toolbar pattern, including the arrow-key navigation functionality.
@itwin/[email protected]
@itwin/[email protected]
@itwin/[email protected]
Minor Changes
-
#2233:
Popover
now enables thehide
middleware to hide the floating content when the trigger is hidden.- This also affects other popover-like components (e.g.
Select
,ComboBox
,DropdownMenu
,SplitButton
). - If the floating content gets hidden even when it shouldn't (e.g. due to some custom styles interfering with the trigger's hide detection), consider disabling the
hide
middleware.
- This also affects other popover-like components (e.g.
-
#2233: Added a new
dropdownMenuProps
prop toSplitButton
for additional control over the menu (e.g. to disable thehide
middleware). -
#2259:
ComboBox
andSelect
now allow customizing the portal behavior of the floating listbox.- To customize
ComboBox
portaling behavior, usedropdownMenuProps.portal
. - To customize
Select
portaling behavior, usepopoverProps.portal
.
Example
To turn off the default portaling behavior, use
portal: false
.<ComboBox options={[…]} dropdownMenuProps={{ portal: false }} />
<Select options={[…]} popoverProps={{ portal: false }} />
- To customize
-
#2238: Passing
styleType="borderless"
toSearchBox.ExpandButton
now works as expected. This is because collapsedSearchBox
will now hide its border and background in favor of the ones fromSearchBox.ExpandButton
.Example
<SearchBox expandable> <SearchBox.CollapsedState> - <SearchBox.ExpandButton/> + <SearchBox.ExpandButton styleType="borderless"/> </SearchBox.CollapsedState> <SearchBox.ExpandedState>…</SearchBox.ExpandedState> </SearchBox>
-
#2211: Added the ability to have custom props for each sub-component of
ColorPicker
.- New ColorBuilder props:
colorFieldProps
,colorDotProps
,opacitySliderProps
, andhueSliderProps
. - New ColorInputPanel props:
panelLabelProps
,colorInputContainerProps
,inputFieldsGroupProps
andswapColorFormatButtonProps
. - New ColorPalette props:
labelProps
, andpaletteContainerProps
.
- New ColorBuilder props:
Patch Changes
- #2208: Fixed an issue in
Table
wheresubComponent
was broken when enabling virtualization. - #2239: Fixed
scrollToRow
in un-virtualizedTable
. In virtualizedTable
,scrollToRow
now scrolls to the top for consistent behavior. - #2233:
Popover
'smiddleware.hide
prop is now respected. - #2208:
Table
's animation to show and hide itssubComponent
is now removed. - #2252: Fixed an issue where some components (e.g.
VisuallyHidden
insideProgressRadial
) were losing their styles when reparented into a different window.
@itwin/[email protected]
Patch Changes
@itwin/[email protected]
Patch Changes
- #2209: Fixed an issue where nested
Popover
s were automatically closing due to faulty "outside click" detection. - #2213: Dev-only warnings have been improved so that they are correctly shown for every individual instance of a component. Additionally, these warnings are now logged using
console.error
, which results in a better stack trace.
@itwin/[email protected]
Minor Changes
- #2040: Changed values of disabled text and disabled icon colors to better contrast agaist regular text and icon colors.
- Introduced new
--iui-color-text-disabled-hover
&--iui-color-icon-disabled-hover
variables.
- Introduced new