@nice2dev/ui-communication 1.0.20 → 1.0.22
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/dist/collaboration/collaborative-form.d.ts +1 -1
- package/dist/collaboration/yjs-integration.d.ts +2 -2
- package/dist/components/NiceCallScreen.d.ts +2 -1
- package/dist/components/NiceChannelView.d.ts +2 -1
- package/dist/components/NiceChatWindow.d.ts +2 -1
- package/dist/components/NiceCollaborativeEditor.d.ts +2 -1
- package/dist/components/NiceCommunication.d.ts +2 -1
- package/dist/components/NiceMessenger.d.ts +2 -1
- package/dist/components/NicePresenceIndicator.d.ts +2 -1
- package/dist/components/NiceRecordingPanel.d.ts +2 -1
- package/dist/components/NiceStorageSettings.d.ts +2 -1
- package/dist/components/NiceTeamsWorkspace.d.ts +2 -1
- package/dist/components/NiceVideoConference.d.ts +2 -1
- package/dist/components/NiceWhiteboard.d.ts +2 -1
- package/package.json +1 -1
|
@@ -54,7 +54,7 @@ export interface CollaborativeFieldProps {
|
|
|
54
54
|
/**
|
|
55
55
|
* Wrapper component showing collaborative field state
|
|
56
56
|
*/
|
|
57
|
-
export declare function CollaborativeFieldWrapper({ name: _name, focusedBy, children }: CollaborativeFieldProps): import("react
|
|
57
|
+
export declare function CollaborativeFieldWrapper({ name: _name, focusedBy, children }: CollaborativeFieldProps): import("react").JSX.Element;
|
|
58
58
|
/**
|
|
59
59
|
* Convenience hook for individual form field
|
|
60
60
|
*/
|
|
@@ -120,7 +120,7 @@ export interface PresenceAvatarsProps {
|
|
|
120
120
|
/**
|
|
121
121
|
* Component displaying active collaborators
|
|
122
122
|
*/
|
|
123
|
-
export declare function PresenceAvatars({ users, maxDisplay, size, className, }: PresenceAvatarsProps): import("react
|
|
123
|
+
export declare function PresenceAvatars({ users, maxDisplay, size, className, }: PresenceAvatarsProps): import("react").JSX.Element;
|
|
124
124
|
export interface CursorOverlayProps {
|
|
125
125
|
awareness: Map<number, AwarenessState>;
|
|
126
126
|
localClientId: number;
|
|
@@ -128,7 +128,7 @@ export interface CursorOverlayProps {
|
|
|
128
128
|
/**
|
|
129
129
|
* Component displaying other users' cursors
|
|
130
130
|
*/
|
|
131
|
-
export declare function CursorOverlay({ awareness, localClientId }: CursorOverlayProps): import("react
|
|
131
|
+
export declare function CursorOverlay({ awareness, localClientId }: CursorOverlayProps): import("react").JSX.Element;
|
|
132
132
|
export * from 'yjs';
|
|
133
133
|
export { WebsocketProvider } from 'y-websocket';
|
|
134
134
|
export { WebrtcProvider } from 'y-webrtc';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceCallScreenProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NiceCallScreen({ session, currentUser, localStream, enableScreenSharing, enableRecording, onEndCall, onMuteAudio, onMuteVideo, onStartScreenShare, onStopScreenShare, onRaiseHand, className, style, id, 'data-testid': testId, }: NiceCallScreenProps):
|
|
4
|
+
export declare function NiceCallScreen({ session, currentUser, localStream, enableScreenSharing, enableRecording, onEndCall, onMuteAudio, onMuteVideo, onStartScreenShare, onStopScreenShare, onRaiseHand, className, style, id, 'data-testid': testId, }: NiceCallScreenProps): React.JSX.Element;
|
|
4
5
|
export default NiceCallScreen;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceChannelViewProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NiceChannelView({ channel, messages, users, currentUser, team: _team, isLoading, hasMore, enableThreads, enableReactions, enableAttachments, onSendMessage, onEditMessage: _onEditMessage, onDeleteMessage: _onDeleteMessage, onReactToMessage, onPinMessage: _onPinMessage, onLoadMoreMessages, onStartCall, className, style, id, 'data-testid': testId, }: NiceChannelViewProps):
|
|
4
|
+
export declare function NiceChannelView({ channel, messages, users, currentUser, team: _team, isLoading, hasMore, enableThreads, enableReactions, enableAttachments, onSendMessage, onEditMessage: _onEditMessage, onDeleteMessage: _onDeleteMessage, onReactToMessage, onPinMessage: _onPinMessage, onLoadMoreMessages, onStartCall, className, style, id, 'data-testid': testId, }: NiceChannelViewProps): React.JSX.Element;
|
|
4
5
|
export default NiceChannelView;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceChatWindowProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NiceChatWindow({ conversation, messages, users, currentUser, isLoading, hasMore, showHeader, showUserAvatars, enableReactions, enableThreads, enableAttachments, placeholder, maxMessageLength, onSendMessage, onEditMessage, onDeleteMessage, onReactToMessage, onPinMessage, onLoadMoreMessages, onStartCall, className, style, id, 'data-testid': testId, }: NiceChatWindowProps):
|
|
4
|
+
export declare function NiceChatWindow({ conversation, messages, users, currentUser, isLoading, hasMore, showHeader, showUserAvatars, enableReactions, enableThreads, enableAttachments, placeholder, maxMessageLength, onSendMessage, onEditMessage, onDeleteMessage, onReactToMessage, onPinMessage, onLoadMoreMessages, onStartCall, className, style, id, 'data-testid': testId, }: NiceChatWindowProps): React.JSX.Element;
|
|
4
5
|
export default NiceChatWindow;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceCollaborativeEditorProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NiceCollaborativeEditor({ editorType, sessionId, currentUser, participants: propParticipants, onOperation: _onOperation, onParticipantJoin: _onParticipantJoin, onParticipantLeave: _onParticipantLeave, onCursorMove, isReadOnly, showParticipants, showCursors, pendingOperations, conflictCount, className, style, children, 'data-testid': testId, }: NiceCollaborativeEditorProps):
|
|
4
|
+
export declare function NiceCollaborativeEditor({ editorType, sessionId, currentUser, participants: propParticipants, onOperation: _onOperation, onParticipantJoin: _onParticipantJoin, onParticipantLeave: _onParticipantLeave, onCursorMove, isReadOnly, showParticipants, showCursors, pendingOperations, conflictCount, className, style, children, 'data-testid': testId, }: NiceCollaborativeEditorProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceCommunicationProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -20,5 +21,5 @@ import { NiceCommunicationProps } from '../types/communicationTypes';
|
|
|
20
21
|
* onSendMessage={handleSend} onStartCall={handleCall} />
|
|
21
22
|
* ```
|
|
22
23
|
*/
|
|
23
|
-
export declare function NiceCommunication(props: NiceCommunicationProps):
|
|
24
|
+
export declare function NiceCommunication(props: NiceCommunicationProps): React.JSX.Element;
|
|
24
25
|
export default NiceCommunication;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceMessengerProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NiceMessenger({ conversations, messages, users, currentUser, activeConversationId, teams, enableGroupConversations, showPresence, enableSearch, onSendMessage, onEditMessage, onDeleteMessage, onReactToMessage, onPinMessage, onLoadMoreMessages, onMarkAsRead, onStartCall, onCreateConversation, className, style, id, 'data-testid': testId, }: NiceMessengerProps):
|
|
4
|
+
export declare function NiceMessenger({ conversations, messages, users, currentUser, activeConversationId, teams, enableGroupConversations, showPresence, enableSearch, onSendMessage, onEditMessage, onDeleteMessage, onReactToMessage, onPinMessage, onLoadMoreMessages, onMarkAsRead, onStartCall, onCreateConversation, className, style, id, 'data-testid': testId, }: NiceMessengerProps): React.JSX.Element;
|
|
4
5
|
export default NiceMessenger;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NicePresenceIndicatorProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NicePresenceIndicator({ status, size, showLabel, showTooltip, className, style, id, 'data-testid': testId, }: NicePresenceIndicatorProps):
|
|
4
|
+
export declare function NicePresenceIndicator({ status, size, showLabel, showTooltip, className, style, id, 'data-testid': testId, }: NicePresenceIndicatorProps): React.JSX.Element;
|
|
4
5
|
export default NicePresenceIndicator;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceRecordingPanelProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NiceRecordingPanel({ recordings: externalRecordings, onRecordingStart, onRecordingStop, onRecordingPause, onRecordingResume, onRecordingDelete, onRecordingDownload, activeRecordingId, sessionType, className, style, 'data-testid': testId, }: NiceRecordingPanelProps):
|
|
4
|
+
export declare function NiceRecordingPanel({ recordings: externalRecordings, onRecordingStart, onRecordingStop, onRecordingPause, onRecordingResume, onRecordingDelete, onRecordingDownload, activeRecordingId, sessionType, className, style, 'data-testid': testId, }: NiceRecordingPanelProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceStorageSettingsProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NiceStorageSettings({ storageConfig, encryptionConfig, onStorageConfigChange, onEncryptionConfigChange, currentUsageBytes, showEncryption, showRetention, showQuota, className, style, 'data-testid': testId, }: NiceStorageSettingsProps):
|
|
4
|
+
export declare function NiceStorageSettings({ storageConfig, encryptionConfig, onStorageConfigChange, onEncryptionConfigChange, currentUsageBytes, showEncryption, showRetention, showQuota, className, style, 'data-testid': testId, }: NiceStorageSettingsProps): React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceTeamsWorkspaceProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NiceTeamsWorkspace({ currentUser, users, teams, conversations, messages, activeCall, incomingCall, meetings, transport: _transport, rtcConfig: _rtcConfig, enableCalls, enableMeetings, enableScreenSharing, enableWhiteboard, storageConfig, onSendMessage, onEditMessage, onDeleteMessage, onReactToMessage, onPinMessage, onLoadMoreMessages, onMarkAsRead, onStartCall, onAcceptCall, onDeclineCall, onEndCall, onMuteAudio, onMuteVideo, onStartScreenShare, onStopScreenShare, className, style, id, 'data-testid': testId, }: NiceTeamsWorkspaceProps):
|
|
4
|
+
export declare function NiceTeamsWorkspace({ currentUser, users, teams, conversations, messages, activeCall, incomingCall, meetings, transport: _transport, rtcConfig: _rtcConfig, enableCalls, enableMeetings, enableScreenSharing, enableWhiteboard, storageConfig, onSendMessage, onEditMessage, onDeleteMessage, onReactToMessage, onPinMessage, onLoadMoreMessages, onMarkAsRead, onStartCall, onAcceptCall, onDeclineCall, onEndCall, onMuteAudio, onMuteVideo, onStartScreenShare, onStopScreenShare, className, style, id, 'data-testid': testId, }: NiceTeamsWorkspaceProps): React.JSX.Element;
|
|
4
5
|
export default NiceTeamsWorkspace;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceVideoConferenceProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NiceVideoConference({ session, currentUser, localStream, enableScreenSharing, enableRecording, enableTranscription, enableRaiseHand, maxGridCols, onEndCall, onMuteAudio, onMuteVideo, onStartScreenShare, onStopScreenShare, onRaiseHand, className, style, id, 'data-testid': testId, }: NiceVideoConferenceProps):
|
|
4
|
+
export declare function NiceVideoConference({ session, currentUser, localStream, enableScreenSharing, enableRecording, enableTranscription, enableRaiseHand, maxGridCols, onEndCall, onMuteAudio, onMuteVideo, onStartScreenShare, onStopScreenShare, onRaiseHand, className, style, id, 'data-testid': testId, }: NiceVideoConferenceProps): React.JSX.Element;
|
|
4
5
|
export default NiceVideoConference;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { NiceWhiteboardProps } from '../types/communicationTypes';
|
|
2
3
|
|
|
3
|
-
export declare function NiceWhiteboard({ session: initialSession, currentUser, onOperation, remoteOperations, readonly, enableLayers, enableExport, enableLaserPointer: _enableLaserPointer, enableVectorEditor, enableDiagramEditor, onExport, onSessionUpdate, storageConfig, className, style, 'data-testid': testId, }: NiceWhiteboardProps):
|
|
4
|
+
export declare function NiceWhiteboard({ session: initialSession, currentUser, onOperation, remoteOperations, readonly, enableLayers, enableExport, enableLaserPointer: _enableLaserPointer, enableVectorEditor, enableDiagramEditor, onExport, onSessionUpdate, storageConfig, className, style, 'data-testid': testId, }: NiceWhiteboardProps): React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice2dev/ui-communication",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
4
4
|
"description": "NiceCommunication — full-spectrum communication suite: chat bubble, messenger, voice/video calls, multi-party conference, and Teams-style workspace. Provider-agnostic RTC transport.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|