Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@itwin/[email protected]
Minor Changes
input
's andtextarea
's start/end inline padding when inside.iui-input-flex-container
is now collapsed when it is preceded/followed by a.iui-input-flex-container-icon
(e.g. borderless.iui-button
or padded.iui-svg-icon
). This prevents unnecessary empty space in the flex container..iui-input-flex-container-icon
is a new class with the main purpose of collapsing the padding between the icon/button and input/textarea in.iui-input-flex-container
.data-iui-shift
attribute selectors to borderless buttons, to help with visual alignment.<select>
element.iui-backdrop
will now also fade in wheniui-backdrop-visible
is present during mount.Patch Changes
Icon
no longer changes with the icon size. It is now a constant of--iui-size-xs
..iui-input-flex-container
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.iui-expandable-searchbox
styles to account for the new padding..iui-expandable-searchbox
now shows a regular-sized button in the collapsed state. Previously, it used to incorrectly be a square button..iui-expandable-searchbox
's animation/transition between the expanded and the collapsed states is now removed..iui-tabs-wrapper
to change size dependent on which.iui-tab
was active..iui-svg-icon
inside the.iui-searchbox
no longer has the same width as.iui-button
. Its width also no longer changes with the.iui-searchbox
size. This is because its padding behavior is now similar to.iui-svg-icon
's padding behavior, where it uses a constant padding.box-sizing: content-box
have been reinforced with!important
to prevent accidental overrides from application styles..iui-search-input
and.iui-search-icon
are now no-op. This is because the main objective of these two classes was collapsing the padding between the icon andinput
/textarea
in.iui-input-flex-container
, and that is now handled by.iui-input-flex-container-icon
instead.@itwin/[email protected]
Minor Changes
Icon
no longer changes with the icon size. It is now a constant of--iui-size-xs
.LabeledSelect
bug where nested<StatusMessage>
s were rendered whenmessage={<StatusMessage>}
. As a result, now whentypeof message!=="string"
,message
is no longer automatically wrapped in<StatusMessage>
. So you might need to manually wrap your customReactNode
with<StatusMessage>
for proper styling ofmessage
.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.<SvgStatusError>
have been updated to reflect the new octagon shape from the latest version of iTwinUI-icons. Some components affected:Alert
,Toast
,StatusMessage
.Select
(<Select native>
) offers a newstyleType
prop that accepts the values:default
(pre-existing) andborderless
(new).SearchBox
's animation/transition between the expanded and the collapsed states is now removed.native
prop toSelect
andLabeledSelect
. When true, a native<select>
element will be rendered.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
.InputWithDecorations.Icon
is a new subcomponent with the main purpose of collapsing the padding between the icon/button and input/textarea inInputWithDecorations
.Patch Changes
SearchBox
now shows a regular-sized button in the collapsed state. Previously, it used to incorrectly be a square button.Tab
stripe size and position calculation that sometimes used to cause unnecessary overflow and thus cause a horizontal scrollbar inTabList
.Tabs.Wrapper
to change size dependent on whichTabs.Tab
was active.Table
whereinitialState.columnOrder
was not being respected.box-sizing: content-box
have been reinforced with!important
to prevent accidental overrides from application styles.Dialog
/Modal
will no longer keep its wrapper in the DOM whenisOpen=false
.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.