easemob-chat-uikit 1.0.0-beta4 → 1.0.0-beta5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +7 -74
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## 简介
|
|
4
4
|
|
|
5
|
-
easemob-chat-uikit 是基于环信 Chat SDK 的一款 UI 组件库,提供通用的 UI 组件,和包含聊天业务逻辑的 module 组件,以及可以完整使用的容器组件, 容器组件允许用户使用 renderX 方法来进行自定义。
|
|
5
|
+
easemob-chat-uikit 是基于环信 Chat SDK 的一款 UI 组件库,提供通用的 UI 组件,和包含聊天业务逻辑的 module 组件,以及可以完整使用的容器组件, 容器组件允许用户使用 renderX 方法来进行自定义。easemob-chat-uikit 提供 provider 来管理数据,provider 自动监听 SDK 事件,来更新数据,并驱动 UI 更新。开发者可根据实际业务需求利用该库快速搭建自定义 IM 应用。
|
|
6
6
|
|
|
7
7
|
## 技术原理
|
|
8
8
|
|
|
@@ -35,11 +35,11 @@ UIKIt 由三部分组成:UI 组件,管理数据的 mobx store, chat SDK。UI
|
|
|
35
35
|
<td style=font-size:10px>将会话从会话列表中删除</td>
|
|
36
36
|
</tr>
|
|
37
37
|
<tr>
|
|
38
|
-
<td
|
|
38
|
+
<td>免打扰</td>
|
|
39
39
|
<td style=font-size:10px>开启消息免打扰或关闭消息免打扰</td>
|
|
40
40
|
</tr>
|
|
41
41
|
<tr>
|
|
42
|
-
<td
|
|
42
|
+
<td>置顶</td>
|
|
43
43
|
<td style=font-size:10px>将会话固定在列表顶部</td>
|
|
44
44
|
</tr>
|
|
45
45
|
<tr>
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easemob-chat-uikit",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta5",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
6
|
-
"type": "
|
|
7
|
-
"module": "
|
|
8
|
-
"types": "
|
|
5
|
+
"main": "ChatUI.umd.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"module": "ChatUI.esm.js",
|
|
8
|
+
"types": "types/ChatUI.d.ts",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"dev": "vite --host",
|
|
11
11
|
"build": "pnpm build:components",
|
|
@@ -34,73 +34,6 @@
|
|
|
34
34
|
],
|
|
35
35
|
"author": "",
|
|
36
36
|
"license": "ISC",
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
|
|
39
|
-
"@babel/preset-env": "^7.20.2",
|
|
40
|
-
"@babel/preset-react": "^7.18.6",
|
|
41
|
-
"@storybook/addon-actions": "^6.5.13",
|
|
42
|
-
"@storybook/addon-essentials": "^6.5.13",
|
|
43
|
-
"@storybook/addon-interactions": "^6.5.13",
|
|
44
|
-
"@storybook/addon-links": "^6.5.13",
|
|
45
|
-
"@storybook/builder-vite": "^0.2.5",
|
|
46
|
-
"@storybook/react": "^6.5.13",
|
|
47
|
-
"@storybook/testing-library": "^0.0.13",
|
|
48
|
-
"@testing-library/react": "^13.4.0",
|
|
49
|
-
"@types/react-sticky": "^6.0.4",
|
|
50
|
-
"@types/react-window": "^1.8.5",
|
|
51
|
-
"@types/testing-library__jest-dom": "^5.14.5",
|
|
52
|
-
"@vitest/coverage-c8": "^0.25.1",
|
|
53
|
-
"acorn-jsx": "^5.3.2",
|
|
54
|
-
"agora-chat": "^1.2.0",
|
|
55
|
-
"axios": "^1.5.0",
|
|
56
|
-
"babel-loader": "^8.3.0",
|
|
57
|
-
"eslint": "^8.23.1",
|
|
58
|
-
"eslint-plugin-storybook": "^0.6.7",
|
|
59
|
-
"esno": "^0.16.3",
|
|
60
|
-
"handlebars": "^4.7.7",
|
|
61
|
-
"happy-dom": "^7.6.7",
|
|
62
|
-
"prettier": "^2.7.1",
|
|
63
|
-
"react-styleguidist": "^13.0.0",
|
|
64
|
-
"storybook-addon-sass-postcss": "^0.1.3",
|
|
65
|
-
"vite": "3.0.7",
|
|
66
|
-
"vite-plugin-dts": "^1.7.0",
|
|
67
|
-
"vitepress": "0.22.4",
|
|
68
|
-
"vitest": "^0.25.1"
|
|
69
|
-
},
|
|
70
|
-
"dependencies": {
|
|
71
|
-
"@rollup/plugin-typescript": "^9.0.2",
|
|
72
|
-
"@storybook/cli": "^6.5.13",
|
|
73
|
-
"@testing-library/jest-dom": "^5.16.5",
|
|
74
|
-
"@types/react": "^18.0.25",
|
|
75
|
-
"ahooks": "^3.7.5",
|
|
76
|
-
"chat-callkit": "1.2.0",
|
|
77
|
-
"chatuim2": "1.1.0",
|
|
78
|
-
"classnames": "^2.3.2",
|
|
79
|
-
"core-js": "3",
|
|
80
|
-
"easemob-websdk": "^4.3.0",
|
|
81
|
-
"i18next": "^22.4.14",
|
|
82
|
-
"js-audio-recorder": "^1.0.7",
|
|
83
|
-
"link-preview-js": "^3.0.4",
|
|
84
|
-
"mobx": "^6.8.0",
|
|
85
|
-
"mobx-react-lite": "^3.4.3",
|
|
86
|
-
"pinyin-pro": "^3.18.2",
|
|
87
|
-
"prop-types": "^15.8.1",
|
|
88
|
-
"rc-motion": "^2.6.2",
|
|
89
|
-
"rc-tooltip": "5.1.1",
|
|
90
|
-
"rc-trigger": "^5.3.4",
|
|
91
|
-
"rc-util": "^5.27.1",
|
|
92
|
-
"react": "^18.2.0",
|
|
93
|
-
"react-dom": "^18.2.0",
|
|
94
|
-
"react-fast-marquee": "^1.6.2",
|
|
95
|
-
"react-i18next": "^12.2.0",
|
|
96
|
-
"react-string-replace": "^1.1.0",
|
|
97
|
-
"react-window": "^1.8.8",
|
|
98
|
-
"react-window-infinite-loader": "^1.0.8",
|
|
99
|
-
"recorder-js": "^1.0.7",
|
|
100
|
-
"sass": "^1.56.1",
|
|
101
|
-
"tsconfig-paths-webpack-plugin": "^4.0.1",
|
|
102
|
-
"tslib": "^2.4.1",
|
|
103
|
-
"typescript": "^4.8.4",
|
|
104
|
-
"vite-plugin-svgr": "^2.4.0"
|
|
105
|
-
}
|
|
37
|
+
"devDependencies": {},
|
|
38
|
+
"dependencies": {}
|
|
106
39
|
}
|