@tencentcloud/chat-uikit-react 3.4.6 → 3.4.7
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 +6 -1
- package/dist/components/Chat/Chat.js +1 -1
- package/dist/components/ChatHeader/AudioCallPicker/AudioCallPicker.js +33 -33
- package/dist/components/ChatHeader/ChatHeader.js +1 -1
- package/dist/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.js +1 -1
- package/dist/components/ChatHeader/VideoCallPicker/VideoCallPicker.js +9 -9
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Model/index.js +1 -1
- package/dist/components/Plugins/index.js +1 -1
- package/dist/components/Popup/index.js +1 -1
- package/dist/components/Profile/ProfileDefault.js +1 -1
- package/dist/components/Profile/myProfile/MyProfile.js +1 -1
- package/dist/hooks/useChatHeader.js +1 -1
- package/dist/{index-Bdq5g_zL-D-10MRRF.js → index-J-xtCKzN-BPkGsnbF.js} +29735 -28443
- package/dist/index.js +114 -93
- package/dist/styles/AudioCallPicker.css +1 -1
- package/dist/styles/VideoCallPicker.css +1 -1
- package/dist/styles/index-J-xtCKzN.css +1 -0
- package/dist/styles/index.css +1 -1
- package/dist/styles/index2.css +1 -1
- package/dist/styles/index3.css +1 -1
- package/dist/styles/index4.css +1 -1
- package/dist/styles/index5.css +1 -1
- package/package.json +4 -4
- package/src/components/ChatHeader/AudioCallPicker/AudioCallPicker.module.scss +4 -1
- package/src/components/ChatHeader/AudioCallPicker/AudioCallPicker.tsx +1 -1
- package/src/components/ChatHeader/VideoCallPicker/VideoCallPicker.module.scss +4 -0
- package/dist/styles/index-Bdq5g_zL.css +0 -1
package/dist/styles/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.checkbox{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;position:relative}.checkbox-default{box-sizing:border-box;width:14px;height:14px;border-radius:14px;border:1px solid #DDDDDD}.checkbox-input{margin:0;padding:0;position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;opacity:0}[data-uikit-theme=light] .info{background-color:var(--uikit-theme-light-bg-color-operate);color:var(--uikit-theme-light-text-color-primary);transition:color .3s ease-out,border-color .3s ease-out,background-color .3s ease-out}[data-uikit-theme=dark] .info{background-color:var(--uikit-theme-dark-bg-color-operate);color:var(--uikit-theme-dark-text-color-primary);transition:color .3s ease-out,border-color .3s ease-out,background-color .3s ease-out}[data-uikit-theme=light] .warn{background-color:var(--uikit-theme-light-text-color-warning);color:#fff;transition:color .3s ease-out,border-color .3s ease-out,background-color .3s ease-out}[data-uikit-theme=dark] .warn{background-color:var(--uikit-theme-dark-text-color-warning);color:#fff;transition:color .3s ease-out,border-color .3s ease-out,background-color .3s ease-out}[data-uikit-theme=light] .error{background-color:var(--uikit-theme-light-text-color-error);color:#fff;transition:color .3s ease-out,border-color .3s ease-out,background-color .3s ease-out}[data-uikit-theme=dark] .error{background-color:var(--uikit-theme-dark-text-color-error);color:#fff;transition:color .3s ease-out,border-color .3s ease-out,background-color .3s ease-out}
|
package/dist/styles/index2.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.model{background:#00000080;position:fixed;z-index:5;width:100vw;top:0;left:0;bottom:0;display:flex;justify-content:center;align-items:center}
|
package/dist/styles/index3.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.plugin{display:flex;align-items:center;height:100%;padding:0 8px;gap:8px}.plugin-popup{height:100%;display:flex;align-items:center;position:relative}.plugin-popup-box{position:absolute;z-index:5;bottom:100%}.plugin-popup-box{border-radius:8px;overflow:hidden}[data-uikit-theme=light] .plugin-popup-box{background-color:var(--uikit-theme-light-dropdown-color-default);box-shadow:0 0 10px 0 var(--uikit-theme-light-shadow-color);transition:color .3s ease-out,border-color .3s ease-out,background-color .3s ease-out}[data-uikit-theme=dark] .plugin-popup-box{background-color:var(--uikit-theme-dark-dropdown-color-default);box-shadow:0 0 10px 0 var(--uikit-theme-dark-shadow-color);transition:color .3s ease-out,border-color .3s ease-out,background-color .3s ease-out}
|
package/dist/styles/index4.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.popup{opacity:0}.popup-show{opacity:1}
|
package/dist/styles/index5.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:after,*:before{box-sizing:border-box}ul,li{list-style:none;padding:0;margin:0}picture,img,video,canvas,svg{display:block;max-width:100%}img{max-width:100%;height:auto;vertical-align:middle;image-rendering:-webkit-optimize-contrast;aspect-ratio:attr(width)/attr(height);display:inline-block;-webkit-user-drag:none;-webkit-user-select:none;user-select:none}img:not([src],[srcset]){visibility:hidden}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencentcloud/chat-uikit-react",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@mui/base": "5.0.0-beta.66",
|
|
46
|
-
"tuikit-atomicx-react": "
|
|
46
|
+
"tuikit-atomicx-react": "4.4.3",
|
|
47
47
|
"classnames": "^2.5.1",
|
|
48
48
|
"react-transition-group": "^4.4.5",
|
|
49
49
|
"zustand": "^5.0.0"
|
|
@@ -99,10 +99,10 @@
|
|
|
99
99
|
"i18next": "^23.7.11",
|
|
100
100
|
"react": "^18.2.0",
|
|
101
101
|
"react-dom": "^18.2.0",
|
|
102
|
-
"@tencentcloud/lite-chat": "^1.
|
|
102
|
+
"@tencentcloud/lite-chat": "^1.6.3",
|
|
103
103
|
"@tencentcloud/tui-core-lite": "~1.0.0",
|
|
104
104
|
"@tencentcloud/chat-uikit-engine-lite": "~1.0.1",
|
|
105
|
-
"@tencentcloud/uikit-base-component-react": "1.1.
|
|
105
|
+
"@tencentcloud/uikit-base-component-react": "1.1.2",
|
|
106
106
|
"@tencentcloud/universal-api": "^2.4.0"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -47,11 +47,14 @@
|
|
|
47
47
|
// Global styles for dialog (non-module)
|
|
48
48
|
|
|
49
49
|
.group-call-dialog {
|
|
50
|
-
background: white;
|
|
51
50
|
border-radius: 8px;
|
|
52
51
|
max-width: 500px;
|
|
53
52
|
max-height: 70vh;
|
|
54
53
|
display: flex;
|
|
55
54
|
flex-direction: column;
|
|
56
55
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 15%);
|
|
56
|
+
|
|
57
|
+
@include theme() {
|
|
58
|
+
background-color: get(bg-color-operate);
|
|
59
|
+
}
|
|
57
60
|
}
|
|
@@ -107,7 +107,7 @@ const AudioCallPicker = (props: AudioCallPickerProps) => {
|
|
|
107
107
|
} catch (error) {
|
|
108
108
|
console.error('Failed to start private audio call:', error);
|
|
109
109
|
}
|
|
110
|
-
}, []);
|
|
110
|
+
}, [activeConversation?.conversationID]);
|
|
111
111
|
|
|
112
112
|
const loadMoreGroupMembers = useCallback((): void => {
|
|
113
113
|
if (activeConversation?.type !== ConversationType.GROUP) {
|