v4.14.0
4.14.0 Change Notes
Table of contents:
@itwin/appui-react
Deprecations
- Deprecated
StatusBar
component in favor ofStatusBarComposer
. #848 - Deprecated
StatusBar
namespace. Please use the components directly. #848- Deprecated
StatusBar.Popup
andStatusBarPopup
in favor ofStatusBarPopover
. - Deprecated
StatusBar.Field
andStatusBarField
in favor of iTwinUI Button.
- Deprecated
- Deprecated
StatusBarIndicator
in favor of iTwinUI Button (or other components) and AppUIStatusBarPopover
. #848 - Deprecated
StatusBarLabelIndicator
in favor of iTwinUI Label and AppUIIcon
. #848
Additions
-
controlWidgetVisibility
preview feature. When enabled, additional UI elements are rendered to allow the end user of the layout to control widget visibility. #856Currently applications might use
WidgetState
to control widget visibility programmatically and expect the widgets to stay hidden until a certain condition is met. Since this preview feature adds UI elements to control widget visibility, it might conflict with the application's logic. To avoid this, the application should useUiItemsManager.register()
andUiItemsManager.unregister()
to strictly manage what widgets are available to the end-user.Additionally an array of widget ids can be specified to only expose visibility controls for specific widgets. This allows applications to experiment with other use-cases, like keeping at least one widget visible at all times.
-
Added
StatusBarPopover
to replaceStatusBar.Popup
. The component uses iTwinUI Popover with some consistent styling for allStatusBar
fields.StatusBarPopover
should wrap the element that triggers it (e.g. a button). #848 -
Added
StatusBarPopover.ExpandIndicator
which adds an indicator to show that a button has expandable content.StatusBarPopover.ExpandIndicator
is supposed to be used inStatusBarPopover
trigger buttons. #848Usage example:
// With iTwinUI Button <StatusBarPopover> <Button styleType="borderless"> {label} <StatusBarPopover.ExpandIndicator /> </Button> </StatusBarPopover> // With iTwinUI IconButton <StatusBarPopover> <IconButton styleType="borderless"> <SvgLightbulbHollow /> <StatusBarPopover.ExpandIndicator /> </IconButton> </StatusBarPopover>
Changes
- The dropdown menu of
widgetActionDropdown
preview feature will close once one of the menu items is activated. #856 - The labels for the buttons in the widget title bar will be rendered as tooltips, rather than using the
title
attribute. #856 - Started using iTwinUI components for
StatusBar
field components. That includes both the button and the popup. #848
Fixes
- Fixed
StatusBarComposer
overflow item order. Now status fields should always go into overflow from right to left. #848
@itwin/components-react
Deprecations
- Deprecated
DoublePropertyValueRenderer
andNavigationPropertyValueRenderer
in favor of defaultPrimitivePropertyValueRenderer
. #832 - Deprecated
RadialMenu
andRadialButton
components that were designed for a retired design pattern in favor ofContextMenu
or iTwinUI dropdown menu. #850
Changes
- Updated
VirtualizedPropertyGrid
component #849:- Enable user selection for property records
- Display browser context menu on property records if
onPropertyContextMenu
andisPropertySelectionOnRightClickEnabled
props are not set - Increased area of an element separator to avoid column overlap
- Changed handlers of
VirtualizedPropertyGrid
andUrlPropertyValueRenderer
components to open links withpw
scheme in a new window. #860