From 36ee7e3b5ac958e4c4f61dfe232d3948d16da9a0 Mon Sep 17 00:00:00 2001 From: "iTwin.js admin" <38288322+imodeljs-admin@users.noreply.github.com> Date: Tue, 16 Jul 2024 11:52:27 -0400 Subject: [PATCH] Release packages (#2132) --- .changeset/cool-beds-hunt.md | 5 ---- .changeset/few-candles-impress.md | 5 ---- .changeset/fifty-seahorses-dance.md | 5 ---- .changeset/lucky-starfishes-enjoy.md | 5 ---- .changeset/nice-students-matter.md | 5 ---- .changeset/nine-bees-peel.md | 5 ---- .changeset/proud-hornets-itch.md | 5 ---- .changeset/rare-buckets-mate.md | 14 ---------- .changeset/real-jokes-repair.md | 5 ---- .changeset/silent-jars-trade.md | 5 ---- .changeset/silver-ways-enjoy.md | 5 ---- .changeset/violet-donkeys-help.md | 5 ---- .changeset/violet-rats-breathe.md | 5 ---- .changeset/wet-trainers-heal.md | 5 ---- packages/itwinui-react/CHANGELOG.md | 38 ++++++++++++++++++++++++++++ packages/itwinui-react/package.json | 2 +- 16 files changed, 39 insertions(+), 80 deletions(-) delete mode 100644 .changeset/cool-beds-hunt.md delete mode 100644 .changeset/few-candles-impress.md delete mode 100644 .changeset/fifty-seahorses-dance.md delete mode 100644 .changeset/lucky-starfishes-enjoy.md delete mode 100644 .changeset/nice-students-matter.md delete mode 100644 .changeset/nine-bees-peel.md delete mode 100644 .changeset/proud-hornets-itch.md delete mode 100644 .changeset/rare-buckets-mate.md delete mode 100644 .changeset/real-jokes-repair.md delete mode 100644 .changeset/silent-jars-trade.md delete mode 100644 .changeset/silver-ways-enjoy.md delete mode 100644 .changeset/violet-donkeys-help.md delete mode 100644 .changeset/violet-rats-breathe.md delete mode 100644 .changeset/wet-trainers-heal.md diff --git a/.changeset/cool-beds-hunt.md b/.changeset/cool-beds-hunt.md deleted file mode 100644 index 7aad2f273be..00000000000 --- a/.changeset/cool-beds-hunt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -Development-only warnings will now be displayed when multiple versions of iTwinUI are detected. diff --git a/.changeset/few-candles-impress.md b/.changeset/few-candles-impress.md deleted file mode 100644 index e0567c504e3..00000000000 --- a/.changeset/few-candles-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -Fixed an issue where the `Overlay` component was causing bundler warnings about a non-analyzable expression used in a dependency. diff --git a/.changeset/fifty-seahorses-dance.md b/.changeset/fifty-seahorses-dance.md deleted file mode 100644 index 48ad796da2a..00000000000 --- a/.changeset/fifty-seahorses-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': minor ---- - -Updates `ComboBox` virtualization to support dynamic sizing. This change fixes an issue where having options both with and without `subLabel` values would cause `ComboBox` components with virtualization enabled to be sized incorrectly. diff --git a/.changeset/lucky-starfishes-enjoy.md b/.changeset/lucky-starfishes-enjoy.md deleted file mode 100644 index 2880482ef02..00000000000 --- a/.changeset/lucky-starfishes-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -The `Table` column manager button's open state no longer has the `Button`'s blue active color. diff --git a/.changeset/nice-students-matter.md b/.changeset/nice-students-matter.md deleted file mode 100644 index bfac05665eb..00000000000 --- a/.changeset/nice-students-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': minor ---- - -DEV-only warnings will now only be properly excluded from the PROD bundle. This is done using a separate `"development"` entrypoint listed in `package.json#exports`. diff --git a/.changeset/nine-bees-peel.md b/.changeset/nine-bees-peel.md deleted file mode 100644 index 83b4b9bfc32..00000000000 --- a/.changeset/nine-bees-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': minor ---- - -All internal CSS class prefixes have been changed to prevent style conflicts across minor versions. While this is not considered a breaking change according to our [support policy](https://github.com/iTwin/iTwinUI/wiki/Support-policy), this change might affect you if you ignore our pleas to not rely on these internal class names. The recommendation is to pass your own custom `className` through props. diff --git a/.changeset/proud-hornets-itch.md b/.changeset/proud-hornets-itch.md deleted file mode 100644 index d1be903eee7..00000000000 --- a/.changeset/proud-hornets-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -Component `displayName`s have been eliminiated from the prod build. diff --git a/.changeset/rare-buckets-mate.md b/.changeset/rare-buckets-mate.md deleted file mode 100644 index a773b095b11..00000000000 --- a/.changeset/rare-buckets-mate.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@itwin/itwinui-react': minor ---- - -Replaced old virtualization implementation with `@tanstack/react-virtual` for the `Tree` component. Also adds `overflow: 'auto'` to the style of the outer `Tree` div when the `Tree` is virtualized, removing the need for a wrapping scrollable element. - -```diff --
- --
-``` diff --git a/.changeset/real-jokes-repair.md b/.changeset/real-jokes-repair.md deleted file mode 100644 index 0dc2810a010..00000000000 --- a/.changeset/real-jokes-repair.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -Added `displayName`s to all components that were previously missing them. diff --git a/.changeset/silent-jars-trade.md b/.changeset/silent-jars-trade.md deleted file mode 100644 index 32ce7a2af4a..00000000000 --- a/.changeset/silent-jars-trade.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -`ActionColumn`'s `dropdownMenuProps` no longer exposes the unnecessary `matchWidth` prop. diff --git a/.changeset/silver-ways-enjoy.md b/.changeset/silver-ways-enjoy.md deleted file mode 100644 index 231c2d97e97..00000000000 --- a/.changeset/silver-ways-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -Added `overflow: auto` to `Tree` component to provide more consistent styling across components. diff --git a/.changeset/violet-donkeys-help.md b/.changeset/violet-donkeys-help.md deleted file mode 100644 index 2972a312788..00000000000 --- a/.changeset/violet-donkeys-help.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': minor ---- - -Changed the column manager from a `DropdownMenu` to a `Popover` to fix invalid markup and accessibility issues. diff --git a/.changeset/violet-rats-breathe.md b/.changeset/violet-rats-breathe.md deleted file mode 100644 index 721417b2856..00000000000 --- a/.changeset/violet-rats-breathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': minor ---- - -Replaced old virtualization implementation with `@tanstack/react-virtual` for the `Table` component. This change also fixed some issues with `Table` virtualization, including the issue where scrolling would jump when rows are scrolled past in some cases. diff --git a/.changeset/wet-trainers-heal.md b/.changeset/wet-trainers-heal.md deleted file mode 100644 index 9819db97be9..00000000000 --- a/.changeset/wet-trainers-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': minor ---- - -Added dependency on `@tanstack/react-virtual`. diff --git a/packages/itwinui-react/CHANGELOG.md b/packages/itwinui-react/CHANGELOG.md index 10b0e55a4cb..b13ed4a781e 100644 --- a/packages/itwinui-react/CHANGELOG.md +++ b/packages/itwinui-react/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## 3.13.0 + +### Minor Changes + +- [#2106](https://github.com/iTwin/iTwinUI/pull/2106): All internal CSS class prefixes have been changed to prevent style conflicts across minor versions. + - While this is _not_ considered a breaking change according to our [support policy](https://github.com/iTwin/iTwinUI/wiki/Support-policy), this change might affect you if you ignore our pleas to not rely on these internal class names. The recommendation is to pass your own custom `className` through props. + +- [#2131](https://github.com/iTwin/iTwinUI/pull/2131): Development-only warnings will now be properly excluded from the production build. This is done using a separate `"development"` entrypoint listed in `package.json#exports`. + +- [#2135](https://github.com/iTwin/iTwinUI/pull/2135): Changed the column manager from a `DropdownMenu` to a `Popover` to fix invalid markup and accessibility issues. + +- Added dependency on `@tanstack/react-virtual` to replace the custom virtual-scroll implementation. This affects the `enableVirtualization` prop in `ComboBox`, `Table`, and `Tree`. + - [#2061](https://github.com/iTwin/iTwinUI/pull/2061): Virtualized `ComboBox` now correctly supports dynamic sizing, e.g. when options both with and without `subLabel` are present. + - [#2092](https://github.com/iTwin/iTwinUI/pull/2092): Virtualized `Table` has been improved so that scrolling no longer jumps when rows are scrolled past. + - [#2139](https://github.com/iTwin/iTwinUI/pull/2139): Virtualized `Tree` no longer requires a wrapping scrollable element, since the tree itself is scrollable now. +
+ Diff + + ```diff + -
+ + -
+ ``` +
+ +### Patch Changes + +- [#2139](https://github.com/iTwin/iTwinUI/pull/2139): Added `overflow: auto` to `Tree` component to provide more consistent styling across components. +- [#2137](https://github.com/iTwin/iTwinUI/pull/2137): Console warnings will now be displayed during development when multiple versions of iTwinUI are detected. +- [#2145](https://github.com/iTwin/iTwinUI/pull/2145): Fixed an issue where the `Overlay` component was causing bundler warnings about a non-analyzable expression used in a dependency. +- [#2135](https://github.com/iTwin/iTwinUI/pull/2135): The `Table` column manager button's open state no longer has the `Button`'s blue active color. +- [#2142](https://github.com/iTwin/iTwinUI/pull/2142): Added `displayName`s to all components that were previously missing them. +- [#2141](https://github.com/iTwin/iTwinUI/pull/2141): `displayName`s have been eliminated from the production build, so they only show up during development. +- [#2135](https://github.com/iTwin/iTwinUI/pull/2135): `ActionColumn`'s `dropdownMenuProps` no longer exposes the unnecessary `matchWidth` prop. + ## 3.12.2 ### Patch Changes diff --git a/packages/itwinui-react/package.json b/packages/itwinui-react/package.json index f69756b649e..5e0f44182da 100644 --- a/packages/itwinui-react/package.json +++ b/packages/itwinui-react/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/itwinui-react", - "version": "3.12.2", + "version": "3.13.0", "author": "Bentley Systems", "license": "MIT", "type": "module",