v4.14.0
4.14.0 Change Notes
Table of contents:
@itwin/appui-react
Deprecations
- Deprecated
StatusBarcomponent in favor ofStatusBarComposer. #848 - Deprecated
StatusBarnamespace. Please use the components directly. #848- Deprecated
StatusBar.PopupandStatusBarPopupin favor ofStatusBarPopover. - Deprecated
StatusBar.FieldandStatusBarFieldin favor of iTwinUI Button.
- Deprecated
- Deprecated
StatusBarIndicatorin favor of iTwinUI Button (or other components) and AppUIStatusBarPopover. #848 - Deprecated
StatusBarLabelIndicatorin favor of iTwinUI Label and AppUIIcon. #848
Additions
-
controlWidgetVisibilitypreview feature. When enabled, additional UI elements are rendered to allow the end user of the layout to control widget visibility. #856Currently applications might use
WidgetStateto 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
StatusBarPopoverto replaceStatusBar.Popup. The component uses iTwinUI Popover with some consistent styling for allStatusBarfields.StatusBarPopovershould wrap the element that triggers it (e.g. a button). #848 -
Added
StatusBarPopover.ExpandIndicatorwhich adds an indicator to show that a button has expandable content.StatusBarPopover.ExpandIndicatoris supposed to be used inStatusBarPopovertrigger 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
widgetActionDropdownpreview 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
titleattribute. #856 - Started using iTwinUI components for
StatusBarfield components. That includes both the button and the popup. #848
Fixes
- Fixed
StatusBarComposeroverflow item order. Now status fields should always go into overflow from right to left. #848
@itwin/components-react
Deprecations
- Deprecated
DoublePropertyValueRendererandNavigationPropertyValueRendererin favor of defaultPrimitivePropertyValueRenderer. #832 - Deprecated
RadialMenuandRadialButtoncomponents that were designed for a retired design pattern in favor ofContextMenuor iTwinUI dropdown menu. #850
Changes
- Updated
VirtualizedPropertyGridcomponent #849:- Enable user selection for property records
- Display browser context menu on property records if
onPropertyContextMenuandisPropertySelectionOnRightClickEnabledprops are not set - Increased area of an element separator to avoid column overlap
- Changed handlers of
VirtualizedPropertyGridandUrlPropertyValueRenderercomponents to open links withpwscheme in a new window. #860