Releases: iTwin/iTwinUI
Releases · iTwin/iTwinUI
@itwin/[email protected]
Patch Changes
- #1944: Fixed an issue where
Tooltip
would stay open after clicking on the trigger element. The tooltip will now be correctly dismissed upon click.- Also affects other components that use tooltips internally:
IconButton
,SideNavigation
, etc.
- Also affects other components that use tooltips internally:
- #1955: Fixed a regression in
Tabs
where the panel content was not occupying the full width of the container. - #1954: Fixed an issue in older Safari versions where visually-hidden styles inside
ProgressRadial
were not being applied.
@itwin/[email protected]
Patch Changes
@itwin/[email protected]
Patch Changes
- #1949: ThemeProvider will now correctly inherit theme changes from a v3 ancestor.
@itwin/[email protected]
Patch Changes
- #1939: Fixed an issue in
ButtonGroup
where the overflow logic was running even whenoverflowButton
prop was not passed.
@itwin/[email protected]
Patch Changes
- #1934: Fixed the types for
Table
columnfilter
to allow"includesSome"
, which is an already-supported filter function. Also improved the types for thefilter
prop to improve TS autocompletion. - #1936: Fixed an issue in
ProgressRadial
where the visually hidden "Loading." text was sometimes incorrectly displayed for a short while in the beginning.
@itwin/[email protected]
Minor Changes
- #1863: The filter button inside a
Table
will now always be visible, instead of only being shown on hover/focus. - #1891: The entire
Table
is now scrollable instead of just theTable
's body. This leads to a better scroll experience (e.g. theTable
's header now scrolls horizontally when hovering a dragged column near the header's left or right edges). - #1863: The responsive behavior of
Table
columns has been improved in a few different ways:- All columns now have a non-zero default min-width. While we still recommend passing a custom min-width based on your data, this default will help prevent resizable columns from becoming too small.
- The filter and sort icons in a column header will now wrap to the next line, before the text starts wrapping.
- For cells that have a string value, the value will be automatically truncated after three lines.
@itwin/[email protected]
Patch Changes
- #1916: Fixed the hover background for default tabs.
@itwin/[email protected]
Patch Changes
- #1921: Fixed
Carousel.Dot
's incorrect height.
@itwin/[email protected]
Patch changes
- #1909: Removed
margin-block
from Badge
@itwin/[email protected]
Minor Changes
- #1879: Added a new
native
prop toSelect
andLabeledSelect
. When true, a native<select>
element will be rendered. - #1886: Native
Select
(<Select native>
) offers a newstyleType
prop that accepts the values:default
(pre-existing) andborderless
(new). - #1877: Fixed a bug in
InputGroup
where nested<StatusMessage>
s were rendered when usingmessage={<StatusMessage>}
. As a result, non-stringmessage
values are no longer automatically wrapped in<StatusMessage>
.- If you were passing a custom
ReactNode
, you might need to wrap it with<StatusMessage>
for proper styling ofmessage
.
- If you were passing a custom
- #1881: Added a new subcomponent
InputWithDecorations.Icon
to replace direct usage ofIcon
insideInputWithDecorations
. - Visual changes:
- #1828: Inline padding of
Icon
no longer changes with the icon size. It is now a constant of--iui-size-xs
. - #1881:
Input
's andTextarea
's start/end inline padding when insideInputWithDecorations
is now collapsed when it is preceded/followed by aInputWithDecorations.Icon
orInputWithDecorations.Button
. This prevents unnecessary empty space inInputWithDecorations
. - #1888: The expandable
SearchBox
now shows a regular-sized button in the collapsed state. Previously, it used to incorrectly be a square button. - #1828:
SearchBox.Icon
no longer has the same width asSearchBox.Button
. Its width also no longer changes with theSearchBox
size. This is because its padding behavior is now similar toIcon
's padding behavior, where it uses a constant padding. - #1897: All instances of
<SvgStatusError>
have been updated to reflect the new octagon shape from the latest version of iTwinUI-icons. Some components affected:Icon
,Alert
,Toast
,StatusMessage
. - #1888: The expandable
SearchBox
's animation/transition between the expanded and the collapsed states is now removed.
- #1828: Inline padding of
Patch Changes
- #1865:
Dialog
/Modal
will no longer keep its wrapper in the DOM whenisOpen=false
. - #1889:
Dialog
/Modal
's close button will now be visually aligned based on the icon inside it, excluding the padding. - #1906:
Dialog
/Modal
title will now wrap to multiple lines instead of getting clipped. - #1873: Fixed
Tab
stripe size and position calculation that sometimes used to cause unnecessary overflow and thus cause a horizontal scrollbar inTabList
. - #1884: Fixed a bug that caused the
Tabs.Wrapper
to change size dependent on whichTabs.Tab
was active. - #1901: Fixed a bug in
Table
whereinitialState.columnOrder
was not being respected. - #1894: All instances of
box-sizing: content-box
have been reinforced with!important
to prevent accidental overrides from application styles. - #1828:
InputWithDecorations
now has an inline padding of1px
to account for the1px
border's inline edges. This prevents content that touches the border's inline edges from being overlapped by the border by1px
. Slightly modified expandableSearchBox
styles to account for the new padding.