@nice2dev/ui-communication 1.0.21 → 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.
@@ -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/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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): import("react/jsx-runtime").JSX.Element;
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.21",
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",