Skip to content

Commit fed644b

Browse files
committed
update changelog
1 parent 0defa12 commit fed644b

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

CHANGELOG.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,28 @@
5757
export default CustomChannelSettings;
5858
```
5959

60-
- **DX Improvements: ChannelSetting UserListItem**
61-
- `UserListItemMenu` has been newly component
60+
- DX Improvements: ChannelSetting UserListItem
61+
- `UserListItemMenu` has been newly created
6262
- Provided it as a module which also contains `UserListItemMenuProvider` and `useUserListItemMenuContext`
63-
- **Example usage:**
6463
```tsx
6564
import { UserListItemMenu, UserListItemMenuProvider, useUserListItemMenuContext } from '@sendbird/uikit-react/ui/UserListItemMenu';
6665
```
67-
How to use?
66+
- Added new `renderUserListItem` props to the list components of `ChannelSettings`:
67+
* `OperatorList`, `MemberList`, `MutedMemberList`, `BannedUserList`
68+
- Exported the following modules:
69+
* `OperatorList`, `MemberList`, `MutedMemberList`, `BannedUserList`
70+
```tsx
71+
import { OperatorList, MemberList, MutedMemberList, BannedUserList } from '@sendbird/uikit-react/ChannelSettings/components/ChannelSettingsUI';
72+
```
73+
- Merged `ui/UserListItem` and `ChannelSettings/components/UserListItem`:
74+
* Use `ui/UserListItem` from now on
75+
* Added `size` prop to `UserListItem`, which now accepts two values: 'normal' and 'small' ('small' replaces the previous `ChannelSettings/components/UserListItem`)
76+
* `normal`: Used primarily in Modals
77+
* `small`: Used primarily in Lists
78+
- **Example usage:**
6879
```tsx
69-
<SomeUserListComponent
70-
renderUserListItem={(props) => ( // TODO: will be added
80+
<ChannelSettings
81+
renderUserListItem={(props) => (
7182
<UserListItem {...props}
7283
renderListItemMenu={(props) => (
7384
<UserListItemMenu
@@ -93,6 +104,11 @@
93104
### Fixes
94105
- Fixed image file viewer header style
95106
- Disabled `isSuperGroupReactionsEnabled` setter
107+
- Use `APP_LAYOUT_ROOT` to get the area info of the UIKit
108+
```tsx
109+
export const APP_LAYOUT_ROOT = 'sendbird-app__layout';
110+
```
111+
* To ensure the menu positions are calculated correctly, wrap the entire area using `SendbirdProvider` with a tag that has the specified ID.
96112

97113
### Chore
98114
- Updated `@sendbird/chat` version to 4.13.0

0 commit comments

Comments
 (0)