imodeljs-admin
released this
24 Sep 15:02
·
75 commits
to main
since this release
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.