From ba06a602bb0aeffffe4110661fd629bb22cb0b82 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 29 Feb 2024 20:33:44 +0000 Subject: [PATCH] Release packages --- .changeset/beige-knives-cry.md | 6 ------ .changeset/cuddly-doors-pump.md | 5 ----- .changeset/curly-ads-march.md | 5 ----- .changeset/curvy-bananas-sleep.md | 5 ----- .changeset/itchy-cycles-lie.md | 5 ----- .changeset/light-drinks-smell.md | 5 ----- .changeset/old-camels-study.md | 5 ----- .changeset/polite-apples-promise.md | 5 ----- .changeset/proud-ligers-buy.md | 5 ----- .changeset/stupid-toes-own.md | 5 ----- .changeset/thin-bobcats-suffer.md | 5 ----- .changeset/unlucky-chefs-eat.md | 5 ----- .changeset/wicked-camels-know.md | 5 ----- .changeset/witty-geckos-brake.md | 5 ----- packages/itwinui-css/CHANGELOG.md | 15 +++++++++++++++ packages/itwinui-css/package.json | 2 +- packages/itwinui-react/CHANGELOG.md | 16 ++++++++++++++++ packages/itwinui-react/package.json | 4 ++-- 18 files changed, 34 insertions(+), 74 deletions(-) delete mode 100644 .changeset/beige-knives-cry.md delete mode 100644 .changeset/cuddly-doors-pump.md delete mode 100644 .changeset/curly-ads-march.md delete mode 100644 .changeset/curvy-bananas-sleep.md delete mode 100644 .changeset/itchy-cycles-lie.md delete mode 100644 .changeset/light-drinks-smell.md delete mode 100644 .changeset/old-camels-study.md delete mode 100644 .changeset/polite-apples-promise.md delete mode 100644 .changeset/proud-ligers-buy.md delete mode 100644 .changeset/stupid-toes-own.md delete mode 100644 .changeset/thin-bobcats-suffer.md delete mode 100644 .changeset/unlucky-chefs-eat.md delete mode 100644 .changeset/wicked-camels-know.md delete mode 100644 .changeset/witty-geckos-brake.md diff --git a/.changeset/beige-knives-cry.md b/.changeset/beige-knives-cry.md deleted file mode 100644 index 5a7470a946a..00000000000 --- a/.changeset/beige-knives-cry.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@itwin/itwinui-css': patch -'@itwin/itwinui-react': minor ---- - -Inline padding of `Icon` no longer changes with the icon size. It is now a constant of `--iui-size-xs`. diff --git a/.changeset/cuddly-doors-pump.md b/.changeset/cuddly-doors-pump.md deleted file mode 100644 index cfcbe458faa..00000000000 --- a/.changeset/cuddly-doors-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@itwin/itwinui-css": minor ---- - -`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`. diff --git a/.changeset/curly-ads-march.md b/.changeset/curly-ads-march.md deleted file mode 100644 index 16aa1344977..00000000000 --- a/.changeset/curly-ads-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@itwin/itwinui-react": minor ---- - -Fixed `LabeledSelect` bug where nested ``s were rendered when `message={}`. As a result, now when `typeof message!=="string"`, `message` is no longer automatically wrapped in ``. So you might need to manually wrap your custom `ReactNode` with `` for proper styling of `message`. diff --git a/.changeset/curvy-bananas-sleep.md b/.changeset/curvy-bananas-sleep.md deleted file mode 100644 index 0c23a7703b0..00000000000 --- a/.changeset/curvy-bananas-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': minor ---- - -`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. diff --git a/.changeset/itchy-cycles-lie.md b/.changeset/itchy-cycles-lie.md deleted file mode 100644 index 135c81d2054..00000000000 --- a/.changeset/itchy-cycles-lie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@itwin/itwinui-react": patch ---- - -Fixed `Tab` stripe size and position calculation that sometimes used to cause unnecessary overflow and thus cause a horizontal scrollbar in `TabList`. diff --git a/.changeset/light-drinks-smell.md b/.changeset/light-drinks-smell.md deleted file mode 100644 index f1b405b3422..00000000000 --- a/.changeset/light-drinks-smell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-css': patch ---- - -`.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. diff --git a/.changeset/old-camels-study.md b/.changeset/old-camels-study.md deleted file mode 100644 index a1fac11f2c5..00000000000 --- a/.changeset/old-camels-study.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@itwin/itwinui-react": patch ---- - -Fixes bug that caused the `Tabs.Wrapper` to change size dependent on which `Tabs.Tab` was active. diff --git a/.changeset/polite-apples-promise.md b/.changeset/polite-apples-promise.md deleted file mode 100644 index e77e2d61b74..00000000000 --- a/.changeset/polite-apples-promise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@itwin/itwinui-css": patch ---- - -Fixes bug that caused the `.iui-tabs-wrapper` to change size dependent on which `.iui-tab` was active. diff --git a/.changeset/proud-ligers-buy.md b/.changeset/proud-ligers-buy.md deleted file mode 100644 index 54273a20860..00000000000 --- a/.changeset/proud-ligers-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-css': patch ---- - -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. diff --git a/.changeset/stupid-toes-own.md b/.changeset/stupid-toes-own.md deleted file mode 100644 index 622e7109972..00000000000 --- a/.changeset/stupid-toes-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@itwin/itwinui-css": minor ---- - -`iui-backdrop` will now also fade in when `iui-backdrop-visible` is present during mount. diff --git a/.changeset/thin-bobcats-suffer.md b/.changeset/thin-bobcats-suffer.md deleted file mode 100644 index 7da8f8b2c9a..00000000000 --- a/.changeset/thin-bobcats-suffer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -`Dialog`/`Modal` will no longer keep its wrapper in the DOM when `isOpen=false`. diff --git a/.changeset/unlucky-chefs-eat.md b/.changeset/unlucky-chefs-eat.md deleted file mode 100644 index c8aed596a9a..00000000000 --- a/.changeset/unlucky-chefs-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@itwin/itwinui-react": minor ---- - -`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`. diff --git a/.changeset/wicked-camels-know.md b/.changeset/wicked-camels-know.md deleted file mode 100644 index fb5f85f8f42..00000000000 --- a/.changeset/wicked-camels-know.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -`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. diff --git a/.changeset/witty-geckos-brake.md b/.changeset/witty-geckos-brake.md deleted file mode 100644 index 39b43edc590..00000000000 --- a/.changeset/witty-geckos-brake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@itwin/itwinui-css": patch ---- - -`.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. diff --git a/packages/itwinui-css/CHANGELOG.md b/packages/itwinui-css/CHANGELOG.md index 1a6f4bb419c..199cd4f4927 100644 --- a/packages/itwinui-css/CHANGELOG.md +++ b/packages/itwinui-css/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 2.5.0 + +### Minor Changes + +- [#1881](https://github.com/iTwin/iTwinUI/pull/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`. +- [#1865](https://github.com/iTwin/iTwinUI/pull/1865): `iui-backdrop` will now also fade in when `iui-backdrop-visible` is present during mount. + +### Patch Changes + +- [#1828](https://github.com/iTwin/iTwinUI/pull/1828): Inline padding of `Icon` no longer changes with the icon size. It is now a constant of `--iui-size-xs`. +- [#1828](https://github.com/iTwin/iTwinUI/pull/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. +- [#1884](https://github.com/iTwin/iTwinUI/pull/1884): Fixes bug that caused the `.iui-tabs-wrapper` to change size dependent on which `.iui-tab` was active. +- [#1828](https://github.com/iTwin/iTwinUI/pull/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. +- [#1881](https://github.com/iTwin/iTwinUI/pull/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. + ## 2.4.0 ### Minor Changes diff --git a/packages/itwinui-css/package.json b/packages/itwinui-css/package.json index 0f582ae7eae..1506d4744ea 100644 --- a/packages/itwinui-css/package.json +++ b/packages/itwinui-css/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/itwinui-css", - "version": "2.4.0", + "version": "2.5.0", "author": "Bentley Systems", "license": "MIT", "main": "css/all.css", diff --git a/packages/itwinui-react/CHANGELOG.md b/packages/itwinui-react/CHANGELOG.md index 359d6513aea..f3207a730bf 100644 --- a/packages/itwinui-react/CHANGELOG.md +++ b/packages/itwinui-react/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 3.6.0 + +### Minor Changes + +- [#1828](https://github.com/iTwin/iTwinUI/pull/1828): Inline padding of `Icon` no longer changes with the icon size. It is now a constant of `--iui-size-xs`. +- [#1877](https://github.com/iTwin/iTwinUI/pull/1877): Fixed `LabeledSelect` bug where nested ``s were rendered when `message={}`. As a result, now when `typeof message!=="string"`, `message` is no longer automatically wrapped in ``. So you might need to manually wrap your custom `ReactNode` with `` for proper styling of `message`. +- [#1828](https://github.com/iTwin/iTwinUI/pull/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. +- [#1881](https://github.com/iTwin/iTwinUI/pull/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 + +- [#1873](https://github.com/iTwin/iTwinUI/pull/1873): Fixed `Tab` stripe size and position calculation that sometimes used to cause unnecessary overflow and thus cause a horizontal scrollbar in `TabList`. +- [#1884](https://github.com/iTwin/iTwinUI/pull/1884): Fixes bug that caused the `Tabs.Wrapper` to change size dependent on which `Tabs.Tab` was active. +- [#1865](https://github.com/iTwin/iTwinUI/pull/1865): `Dialog`/`Modal` will no longer keep its wrapper in the DOM when `isOpen=false`. +- [#1828](https://github.com/iTwin/iTwinUI/pull/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. + ## 3.5.0 ### Minor Changes diff --git a/packages/itwinui-react/package.json b/packages/itwinui-react/package.json index 6b6c25ed28c..0a75bb6a17b 100644 --- a/packages/itwinui-react/package.json +++ b/packages/itwinui-react/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/itwinui-react", - "version": "3.5.0", + "version": "3.6.0", "author": "Bentley Systems", "license": "MIT", "type": "module", @@ -85,7 +85,7 @@ "tslib": "^2.6.0" }, "devDependencies": { - "@itwin/itwinui-css": "^2.4.0", + "@itwin/itwinui-css": "^2.5.0", "@itwin/itwinui-variables": "3.1.0", "@swc/cli": "^0.1.62", "@swc/core": "^1.3.68",