Skip to content

Commit

Permalink
Release packages (#2241)
Browse files Browse the repository at this point in the history
  • Loading branch information
imodeljs-admin authored Sep 24, 2024
1 parent 748a250 commit 521ec80
Show file tree
Hide file tree
Showing 12 changed files with 67 additions and 95 deletions.
5 changes: 0 additions & 5 deletions .changeset/eight-kids-train.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/giant-mayflies-wash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-dogs-marry.md

This file was deleted.

28 changes: 0 additions & 28 deletions .changeset/hungry-rocks-matter.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lucky-suits-decide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/short-planets-listen.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shy-mangos-arrive.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/slimy-vans-lick.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/stale-parents-kiss.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/thick-deers-act.md

This file was deleted.

66 changes: 66 additions & 0 deletions packages/itwinui-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,71 @@
# Changelog

## 3.15.0

### Minor Changes

- [#2233](https://github.com/iTwin/iTwinUI/pull/2233): `Popover` now enables the [`hide` middleware](https://floating-ui.com/docs/hide) to hide the floating content when the trigger is hidden.
- This also affects other popover-like components (e.g. `Select`, `ComboBox`, `DropdownMenu`, `SplitButton`).
- If the floating content gets hidden even when it shouldn't (e.g. due to some custom styles interfering with the trigger's hide detection), consider disabling the `hide` middleware.

- [#2233](https://github.com/iTwin/iTwinUI/pull/2233): Added a new `dropdownMenuProps` prop to `SplitButton` for additional control over the menu (e.g. to disable the [`hide` middleware](https://floating-ui.com/docs/hide)).

- [#2259](https://github.com/iTwin/iTwinUI/pull/2259): `ComboBox` and `Select` now allow customizing the portal behavior of the floating listbox.

- To customize `ComboBox` portaling behavior, use `dropdownMenuProps.portal`.
- To customize `Select` portaling behavior, use `popoverProps.portal`.

<details>
<summary>Example</summary>

To turn off the default portaling behavior, use `portal: false`.

```jsx
<ComboBox
options={[…]}
dropdownMenuProps={{ portal: false }}
/>
```

```jsx
<Select
options={[…]}
popoverProps={{ portal: false }}
/>
```

</details>

- [#2238](https://github.com/iTwin/iTwinUI/pull/2238): Passing `styleType="borderless"` to `SearchBox.ExpandButton` now works as expected. This is because collapsed `SearchBox` will now hide its border and background in favor of the ones from `SearchBox.ExpandButton`.

<details>
<summary>Example</summary>

```diff
<SearchBox expandable>
<SearchBox.CollapsedState>
- <SearchBox.ExpandButton/>
+ <SearchBox.ExpandButton styleType="borderless"/>
</SearchBox.CollapsedState>
<SearchBox.ExpandedState>…</SearchBox.ExpandedState>
</SearchBox>
```

</details>

- [#2211](https://github.com/iTwin/iTwinUI/pull/2211): Added the ability to have custom `props` for each sub-component of `ColorPicker`.
- New **ColorBuilder** props: `colorFieldProps`, `colorDotProps`, `opacitySliderProps`, and `hueSliderProps`.
- New **ColorInputPanel** props: `panelLabelProps`, `colorInputContainerProps`, `inputFieldsGroupProps` and `swapColorFormatButtonProps`.
- New **ColorPalette** props: `labelProps`, and `paletteContainerProps`.

### Patch Changes

- [#2208](https://github.com/iTwin/iTwinUI/pull/2208): Fixed an issue in `Table` where `subComponent` was broken when enabling virtualization.
- [#2239](https://github.com/iTwin/iTwinUI/pull/2239): Fixed `scrollToRow` in un-virtualized `Table`. In virtualized `Table`, `scrollToRow` now scrolls to the top for consistent behavior.
- [#2233](https://github.com/iTwin/iTwinUI/pull/2233): `Popover`'s `middleware.hide` prop is now respected.
- [#2208](https://github.com/iTwin/iTwinUI/pull/2208): `Table`'s animation to show and hide its `subComponent` is now removed.
- [#2252](https://github.com/iTwin/iTwinUI/pull/2252): Fixed an issue where some components (e.g. `VisuallyHidden` inside `ProgressRadial`) were losing their styles when reparented into a different window.

## 3.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/itwinui-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itwin/itwinui-react",
"version": "3.14.2",
"version": "3.15.0",
"author": "Bentley Systems",
"license": "MIT",
"type": "module",
Expand Down

0 comments on commit 521ec80

Please sign in to comment.