Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release packages #1871

Merged
merged 3 commits into from
Mar 8, 2024
Merged

Release packages #1871

merged 3 commits into from
Mar 8, 2024

Conversation

imodeljs-admin
Copy link
Collaborator

@imodeljs-admin imodeljs-admin commented Feb 21, 2024

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

  • #1881: input's and textarea'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.
  • #1889: Added data-iui-shift attribute selectors to borderless buttons, to help with visual alignment.
  • #1879: Add styling for native <select> element.
  • #1886: Add borderless select variant.
  • #1865: iui-backdrop will now also fade in when iui-backdrop-visible is present during mount.

Patch Changes

  • #1828: Inline padding of Icon no longer changes with the icon size. It is now a constant of --iui-size-xs.
  • #1889: The close button in dialog will now be visually aligned based on the icon inside it, excluding the padding.
  • #1828: .iui-input-flex-container now has an inline padding of 1px to account for the 1px border's inline edges. This prevents content that touches the border's inline edges from being overlapped by the border by 1px. Slightly modified .iui-expandable-searchbox styles to account for the new padding.
  • #1888: The .iui-expandable-searchbox now shows a regular-sized button in the collapsed state. Previously, it used to incorrectly be a square button.
  • #1888: .iui-expandable-searchbox's animation/transition between the expanded and the collapsed states is now removed.
  • #1884: Fixes bug that caused the .iui-tabs-wrapper to change size dependent on which .iui-tab was active.
  • #1828: The .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.
  • #1894: All instances of box-sizing: content-box have been reinforced with !important to prevent accidental overrides from application styles.
  • #1906: Dialog title will now wrap to multiple lines instead of getting clippped.
  • #1881: .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 and input/textarea in .iui-input-flex-container, and that is now handled by .iui-input-flex-container-icon instead.

@itwin/[email protected]

Minor Changes

  • #1828: Inline padding of Icon no longer changes with the icon size. It is now a constant of --iui-size-xs.
  • #1877: Fixed LabeledSelect bug where nested <StatusMessage>s were rendered when message={<StatusMessage>}. As a result, now when typeof message!=="string", message is no longer automatically wrapped in <StatusMessage>. So you might need to manually wrap your custom ReactNode with <StatusMessage> for proper styling of message.
  • #1828: SearchBox.Icon no longer has the same width as SearchBox.Button. Its width also no longer changes with the SearchBox size. This is because its padding behavior is now similar to Icon'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: Alert, Toast, StatusMessage.
  • #1886: Native Select (<Select native>) offers a new styleType prop that accepts the values: default (pre-existing) and borderless (new).
  • #1888: The expandable SearchBox's animation/transition between the expanded and the collapsed states is now removed.
  • #1879: Added a new native prop to Select and LabeledSelect. When true, a native <select> element will be rendered.
  • #1881: Input's and Textarea's start/end inline padding when inside InputWithDecorations is now collapsed when it is preceded/followed by a InputWithDecorations.Icon or InputWithDecorations.Button. This prevents unnecessary empty space in InputWithDecorations. InputWithDecorations.Icon is a new subcomponent with the main purpose of collapsing the padding between the icon/button and input/textarea in InputWithDecorations.

Patch Changes

  • #1889: The close button in dialog will now be visually aligned based on the icon inside it, excluding the padding.
  • #1888: The expandable SearchBox now shows a regular-sized button in the collapsed state. Previously, it used to incorrectly be a square button.
  • #1873: Fixed Tab stripe size and position calculation that sometimes used to cause unnecessary overflow and thus cause a horizontal scrollbar in TabList.
  • #1884: Fixes bug that caused the Tabs.Wrapper to change size dependent on which Tabs.Tab was active.
  • #1901: Fixed a bug in Table where initialState.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.
  • #1906: Dialog title will now wrap to multiple lines instead of getting clippped.
  • #1865: Dialog/Modal will no longer keep its wrapper in the DOM when isOpen=false.
  • #1828: InputWithDecorations now has an inline padding of 1px to account for the 1px border's inline edges. This prevents content that touches the border's inline edges from being overlapped by the border by 1px. Slightly modified expandable SearchBox styles to account for the new padding.

@imodeljs-admin imodeljs-admin requested review from a team as code owners February 21, 2024 18:29
@imodeljs-admin imodeljs-admin requested review from r100-stack and Ben-Pusey-Bentley and removed request for a team February 21, 2024 18:29
@mayank99 mayank99 marked this pull request as draft February 21, 2024 18:40
@imodeljs-admin imodeljs-admin force-pushed the changeset-release/main branch 2 times, most recently from 0a2f2b5 to 490b05c Compare February 22, 2024 22:15
@mayank99 mayank99 force-pushed the changeset-release/main branch from 48f9495 to 400cc18 Compare February 22, 2024 22:42
@imodeljs-admin imodeljs-admin force-pushed the changeset-release/main branch 11 times, most recently from f5cadf2 to ba06a60 Compare February 29, 2024 20:33
@imodeljs-admin imodeljs-admin force-pushed the changeset-release/main branch 7 times, most recently from 3b798ea to b05d4fb Compare March 5, 2024 16:00
@imodeljs-admin imodeljs-admin force-pushed the changeset-release/main branch 6 times, most recently from 1ce9b94 to da0d3e2 Compare March 8, 2024 14:15
@imodeljs-admin imodeljs-admin force-pushed the changeset-release/main branch from da0d3e2 to 2064d67 Compare March 8, 2024 15:22
@mayank99 mayank99 marked this pull request as ready for review March 8, 2024 15:50
@mayank99 mayank99 merged commit b70940c into main Mar 8, 2024
15 checks passed
@mayank99 mayank99 deleted the changeset-release/main branch March 8, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants