@tencentcloud/chat-uikit-react 4.5.1 → 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.
Files changed (40) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/components/Chat/Chat.js +1 -1
  3. package/dist/components/ChatHeader/AudioCallPicker/AudioCallPicker.js +1 -1
  4. package/dist/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.js +1 -1
  5. package/dist/components/ChatHeader/VideoCallPicker/VideoCallPicker.js +1 -1
  6. package/dist/components/Modal/Modal.js +2 -2
  7. package/dist/external_modules/{classnames-HRMVOjAa.js → classnames-YINwPh9B.js} +10 -13
  8. package/dist/external_modules/{react-vendors-x_iUMC12.js → react-vendors-oB9rFIV-.js} +181 -178
  9. package/dist/index.js +2 -2
  10. package/dist/locales/en-US/index.d.ts +0 -94
  11. package/dist/locales/en-US/index.js +18 -20
  12. package/dist/locales/ja-JP/index.d.ts +0 -95
  13. package/dist/locales/ja-JP/index.js +18 -20
  14. package/dist/locales/ko-KR/index.d.ts +0 -95
  15. package/dist/locales/ko-KR/index.js +18 -20
  16. package/dist/locales/zh-CN/index.d.ts +0 -94
  17. package/dist/locales/zh-CN/index.js +18 -20
  18. package/dist/locales/zh-TW/index.d.ts +0 -95
  19. package/dist/locales/zh-TW/index.js +18 -20
  20. package/package.json +7 -7
  21. package/src/locales/en-US/index.ts +0 -2
  22. package/src/locales/ja-JP/index.ts +0 -2
  23. package/src/locales/ko-KR/index.ts +0 -2
  24. package/src/locales/zh-CN/index.ts +0 -2
  25. package/src/locales/zh-TW/index.ts +0 -2
  26. package/dist/locales/en-US/ChatSetting.d.ts +0 -95
  27. package/dist/locales/en-US/ChatSetting.js +0 -107
  28. package/dist/locales/ja-JP/ChatSetting.d.ts +0 -96
  29. package/dist/locales/ja-JP/ChatSetting.js +0 -108
  30. package/dist/locales/ko-KR/ChatSetting.d.ts +0 -96
  31. package/dist/locales/ko-KR/ChatSetting.js +0 -108
  32. package/dist/locales/zh-CN/ChatSetting.d.ts +0 -95
  33. package/dist/locales/zh-CN/ChatSetting.js +0 -107
  34. package/dist/locales/zh-TW/ChatSetting.d.ts +0 -96
  35. package/dist/locales/zh-TW/ChatSetting.js +0 -108
  36. package/src/locales/en-US/ChatSetting.ts +0 -116
  37. package/src/locales/ja-JP/ChatSetting.ts +0 -117
  38. package/src/locales/ko-KR/ChatSetting.ts +0 -117
  39. package/src/locales/zh-CN/ChatSetting.ts +0 -116
  40. package/src/locales/zh-TW/ChatSetting.ts +0 -117
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
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
+
8
+ ## [4.5.3] (2025-12-30)
9
+ ### feat
10
+ * Add ErrorModal for error display just in development environment
11
+
1
12
  ## [4.5.1] (2025-12-16)
2
13
 
3
14
  ### feat
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { c as i } from "../../external_modules/classnames-HRMVOjAa.js";
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-HRMVOjAa.js";
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-HRMVOjAa.js";
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-HRMVOjAa.js";
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-HRMVOjAa.js";
5
- import { C as A } from "../../external_modules/react-vendors-x_iUMC12.js";
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
- function a(e) {
2
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
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 i = {}.hasOwnProperty;
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, u(n)));
14
+ n && (t = o(t, c(n)));
17
15
  }
18
16
  return t;
19
17
  }
20
- function u(t) {
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
- i.call(t, n) && t[n] && (r = o(r, n));
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
- })(f);
40
- var c = f.exports;
41
- const p = /* @__PURE__ */ a(c);
37
+ })(i);
38
+ var a = i.exports;
39
+ const l = /* @__PURE__ */ p(a);
42
40
  export {
43
- p as c,
44
- a as g
41
+ l as c
45
42
  };