Skip to content

Commit 9fc3753

Browse files
author
Sravan S
committed
3.0.0-beta.2] (April 29 2022)
Feature: * Mention * Add isMentionEnabled props to the <App /> and <SendbirdProvider /> * Add userMention into the config props of the <App /> andd <SendbirdProvider /> * <SendbirdProvider config={{ userMention: { maxMentionCount: 10, maxSuggestionCount: 15 } }} /> * maxMentionCount: A maximum count that you can mention in the message input * maxSuggestionCount: A maximum user count that the SuggestedMentionList suggests for user mention * Create SuggestedMentionList component under the Channel smart component * Create SuggestedUserMentionItem component * Create MentionUserLabel ui component * Add string set * MENTION_NAME__NO_NAME: '(No name)' * MENTION_COUNT__OVER_LIMIT: 'You can mention up to %d times per message.' Fix: * Type definition file fix for TS project For typescript projects, add `node_modules/@sendbird/uikit-react/index.d.ts` to your `include` section in tsconfig file to get type definitions * Move font import to top of CSS file Some bundlers such as parcel throw error: `@import rules must precede all rules aside from @charset and @layer statements` Resolve this issue by moving the line to the top
1 parent 61be7da commit 9fc3753

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
lines changed

CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Changelog - v3
22

3+
## [3.0.0-beta.2] (April 29 2022)
4+
5+
Feature:
6+
* Mention
7+
* Add isMentionEnabled props to the <App /> and <SendbirdProvider />
8+
* Add userMention into the config props of the <App /> andd <SendbirdProvider />
9+
* <SendbirdProvider config={{ userMention: { maxMentionCount: 10, maxSuggestionCount: 15 } }} />
10+
* maxMentionCount: A maximum count that you can mention in the message input
11+
* maxSuggestionCount: A maximum user count that the SuggestedMentionList suggests for user mention
12+
* Create SuggestedMentionList component under the Channel smart component
13+
* Create SuggestedUserMentionItem component
14+
* Create MentionUserLabel ui component
15+
* Add string set
16+
* MENTION_NAME__NO_NAME: '(No name)'
17+
* MENTION_COUNT__OVER_LIMIT: 'You can mention up to %d times per message.'
18+
Fix:
19+
* Type definition file fix for TS project
20+
For typescript projects, add `node_modules/@sendbird/uikit-react/index.d.ts`
21+
to your `include` section in tsconfig file to get type definitions
22+
23+
* Move font import to top of CSS file
24+
Some bundlers such as parcel throw error:
25+
`@import rules must precede all rules aside from @charset and @layer statements`
26+
Resolve this issue by moving the line to the top
27+
328
## [3.0.0-beta] (Apr 12 2022)
429

530
This is the official beta for Sendbird UIKit for React version 3!

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-react",
3-
"version": "3.0.0-beta",
3+
"version": "3.0.0-beta.2",
44
"description": "React based UI kit for sendbird",
55
"main": "dist/index.js",
66
"style": "dist/index.css",

scripts/package.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"css-vars-ponyfill": "^2.3.2",
3232
"date-fns": "^2.16.1",
3333
"prop-types": "^15.7.2",
34-
"sendbird": "^3.1.4"
34+
"sendbird": "^3.1.10"
3535
},
3636
"bugs": {
3737
"url": "https://community.sendbird.com"

scripts/steps.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
2. Update and replace dist/index.d.ts with scripts/index_d_ts
33
3. Update and replace dist/package.json with scripts/package.template.json
44
4. Update and replace dist/README.md with main README.md
5+
5. Make sure CSS is in dist/dist/index.css
56
5. npm publish inside dist
67

78
We do step 2 because half project is in TS and other half in JS. Will update tooling soon to fix this issue

0 commit comments

Comments
 (0)