@tencentcloud/chat-uikit-react 4.5.3 → 5.3.0
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/CHANGELOG.md +7 -0
- package/dist/components/Chat/Chat.js +1 -1
- package/dist/components/ChatHeader/AudioCallPicker/AudioCallPicker.js +1 -1
- package/dist/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.js +1 -1
- package/dist/components/ChatHeader/VideoCallPicker/VideoCallPicker.js +1 -1
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/external_modules/{classnames-HRMVOjAa.js → classnames-YINwPh9B.js} +10 -13
- package/dist/external_modules/{react-vendors-x_iUMC12.js → react-vendors-oB9rFIV-.js} +181 -178
- package/dist/index.js +2 -2
- package/dist/locales/en-US/index.d.ts +0 -94
- package/dist/locales/en-US/index.js +18 -20
- package/dist/locales/ja-JP/index.d.ts +0 -95
- package/dist/locales/ja-JP/index.js +18 -20
- package/dist/locales/ko-KR/index.d.ts +0 -95
- package/dist/locales/ko-KR/index.js +18 -20
- package/dist/locales/zh-CN/index.d.ts +0 -94
- package/dist/locales/zh-CN/index.js +18 -20
- package/dist/locales/zh-TW/index.d.ts +0 -95
- package/dist/locales/zh-TW/index.js +18 -20
- package/package.json +7 -7
- package/src/locales/en-US/index.ts +0 -2
- package/src/locales/ja-JP/index.ts +0 -2
- package/src/locales/ko-KR/index.ts +0 -2
- package/src/locales/zh-CN/index.ts +0 -2
- package/src/locales/zh-TW/index.ts +0 -2
- package/dist/locales/en-US/ChatSetting.d.ts +0 -95
- package/dist/locales/en-US/ChatSetting.js +0 -107
- package/dist/locales/ja-JP/ChatSetting.d.ts +0 -96
- package/dist/locales/ja-JP/ChatSetting.js +0 -108
- package/dist/locales/ko-KR/ChatSetting.d.ts +0 -96
- package/dist/locales/ko-KR/ChatSetting.js +0 -108
- package/dist/locales/zh-CN/ChatSetting.d.ts +0 -95
- package/dist/locales/zh-CN/ChatSetting.js +0 -107
- package/dist/locales/zh-TW/ChatSetting.d.ts +0 -96
- package/dist/locales/zh-TW/ChatSetting.js +0 -108
- package/src/locales/en-US/ChatSetting.ts +0 -116
- package/src/locales/ja-JP/ChatSetting.ts +0 -117
- package/src/locales/ko-KR/ChatSetting.ts +0 -117
- package/src/locales/zh-CN/ChatSetting.ts +0 -116
- package/src/locales/zh-TW/ChatSetting.ts +0 -117
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [5.3.0] (2026-02-05)
|
|
2
|
+
### feat
|
|
3
|
+
* Support React^19 version
|
|
4
|
+
|
|
5
|
+
### fix
|
|
6
|
+
* when single chat both sides are not contacts, do not show the modify remark function
|
|
7
|
+
|
|
1
8
|
## [4.5.3] (2025-12-30)
|
|
2
9
|
### feat
|
|
3
10
|
* Add ErrorModal for error display just in development environment
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../external_modules/classnames-
|
|
2
|
+
import { c as i } from "../../external_modules/classnames-YINwPh9B.js";
|
|
3
3
|
import { useConversationListState as n, View as m } from "tuikit-atomicx-react/chat";
|
|
4
4
|
import { ChatProvider as l } from "../../context/ChatContext.js";
|
|
5
5
|
import '../../styles/Chat.css';const h = "uikit-chat", p = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, Fragment as B, jsxs as V } from "react/jsx-runtime";
|
|
2
2
|
import { useState as j, useRef as z, useMemo as n, useCallback as r } from "react";
|
|
3
3
|
import { useUIKit as K, IconCallFilled as X, Dialog as Y } from "@tencentcloud/uikit-base-component-react";
|
|
4
|
-
import { c as Z } from "../../../external_modules/classnames-
|
|
4
|
+
import { c as Z } from "../../../external_modules/classnames-YINwPh9B.js";
|
|
5
5
|
import { useLoginState as $, useConversationListState as q, useGroupSettingState as H, ConversationType as h, startCall as y, View as J, UserPicker as Q } from "tuikit-atomicx-react/chat";
|
|
6
6
|
import '../../../styles/AudioCallPicker.css';const u = {
|
|
7
7
|
"audio-call-picker__button": "uikit-audio-call-picker__button",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { useUIKit as C } from "@tencentcloud/uikit-base-component-react";
|
|
3
|
-
import { c as m } from "../../../external_modules/classnames-
|
|
3
|
+
import { c as m } from "../../../external_modules/classnames-YINwPh9B.js";
|
|
4
4
|
import { View as a, Avatar as v } from "tuikit-atomicx-react/chat";
|
|
5
5
|
import { AudioCallPicker as g } from "../AudioCallPicker/AudioCallPicker.js";
|
|
6
6
|
import { VideoCallPicker as T } from "../VideoCallPicker/VideoCallPicker.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, Fragment as F, jsxs as T } from "react/jsx-runtime";
|
|
2
2
|
import { useState as B, useRef as j, useMemo as n, useCallback as l } from "react";
|
|
3
3
|
import { useUIKit as z, IconVideoFilled as K, Dialog as X } from "@tencentcloud/uikit-base-component-react";
|
|
4
|
-
import { c as Y } from "../../../external_modules/classnames-
|
|
4
|
+
import { c as Y } from "../../../external_modules/classnames-YINwPh9B.js";
|
|
5
5
|
import { useLoginState as Z, useConversationListState as $, useGroupSettingState as q, ConversationType as P, startCall as S, View as H, UserPicker as J } from "tuikit-atomicx-react/chat";
|
|
6
6
|
import '../../../styles/VideoCallPicker.css';const u = {
|
|
7
7
|
"video-call-picker__button": "uikit-video-call-picker__button",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, Fragment as k } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as v, useState as m, useRef as p, useEffect as b } from "react";
|
|
3
3
|
import { Modal as x } from "@mui/base/Modal";
|
|
4
|
-
import { c as u } from "../../external_modules/classnames-
|
|
5
|
-
import { C as A } from "../../external_modules/react-vendors-
|
|
4
|
+
import { c as u } from "../../external_modules/classnames-YINwPh9B.js";
|
|
5
|
+
import { C as A } from "../../external_modules/react-vendors-oB9rFIV-.js";
|
|
6
6
|
import '../../styles/Modal.css';const E = "uikit-root", N = "uikit-backdrop", R = "uikit-backdropEnterActive", t = {
|
|
7
7
|
root: E,
|
|
8
8
|
backdrop: N,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
var f = { exports: {} };
|
|
1
|
+
import { g as p } from "./react-vendors-oB9rFIV-.js";
|
|
2
|
+
var i = { exports: {} };
|
|
5
3
|
/*!
|
|
6
4
|
Copyright (c) 2018 Jed Watson.
|
|
7
5
|
Licensed under the MIT License (MIT), see
|
|
@@ -9,15 +7,15 @@ var f = { exports: {} };
|
|
|
9
7
|
*/
|
|
10
8
|
(function(e) {
|
|
11
9
|
(function() {
|
|
12
|
-
var
|
|
10
|
+
var f = {}.hasOwnProperty;
|
|
13
11
|
function s() {
|
|
14
12
|
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
15
13
|
var n = arguments[r];
|
|
16
|
-
n && (t = o(t,
|
|
14
|
+
n && (t = o(t, c(n)));
|
|
17
15
|
}
|
|
18
16
|
return t;
|
|
19
17
|
}
|
|
20
|
-
function
|
|
18
|
+
function c(t) {
|
|
21
19
|
if (typeof t == "string" || typeof t == "number")
|
|
22
20
|
return t;
|
|
23
21
|
if (typeof t != "object")
|
|
@@ -28,7 +26,7 @@ var f = { exports: {} };
|
|
|
28
26
|
return t.toString();
|
|
29
27
|
var r = "";
|
|
30
28
|
for (var n in t)
|
|
31
|
-
|
|
29
|
+
f.call(t, n) && t[n] && (r = o(r, n));
|
|
32
30
|
return r;
|
|
33
31
|
}
|
|
34
32
|
function o(t, r) {
|
|
@@ -36,10 +34,9 @@ var f = { exports: {} };
|
|
|
36
34
|
}
|
|
37
35
|
e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
|
|
38
36
|
})();
|
|
39
|
-
})(
|
|
40
|
-
var
|
|
41
|
-
const
|
|
37
|
+
})(i);
|
|
38
|
+
var a = i.exports;
|
|
39
|
+
const l = /* @__PURE__ */ p(a);
|
|
42
40
|
export {
|
|
43
|
-
|
|
44
|
-
a as g
|
|
41
|
+
l as c
|
|
45
42
|
};
|