@orbitconnect/react 0.1.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 +56 -0
- package/LICENSE +21 -0
- package/README.md +374 -0
- package/dist/OrbitContext.d.ts +87 -0
- package/dist/OrbitProvider.d.ts +24 -0
- package/dist/api/client.d.ts +44 -0
- package/dist/api/index.d.ts +2 -0
- package/dist/bg.svg +1 -0
- package/dist/call/CallContext.d.ts +27 -0
- package/dist/call/CallProvider.d.ts +4 -0
- package/dist/components/call/CallControls.d.ts +18 -0
- package/dist/components/call/CallHistory.d.ts +22 -0
- package/dist/components/call/CallScreen.d.ts +11 -0
- package/dist/components/call/InCallChatPanel.d.ts +7 -0
- package/dist/components/call/IncomingCallModal.d.ts +8 -0
- package/dist/components/call/OutgoingCallScreen.d.ts +8 -0
- package/dist/components/call/VideoCallScreen.d.ts +23 -0
- package/dist/components/call/index.d.ts +11 -0
- package/dist/components/chat/AttachmentPicker.d.ts +23 -0
- package/dist/components/chat/AttachmentRenderer.d.ts +15 -0
- package/dist/components/chat/AudioRecorder.d.ts +6 -0
- package/dist/components/chat/BatchToolbar.d.ts +8 -0
- package/dist/components/chat/CallBanner.d.ts +14 -0
- package/dist/components/chat/ChatBox.d.ts +90 -0
- package/dist/components/chat/Composer.d.ts +15 -0
- package/dist/components/chat/ConversationList.d.ts +32 -0
- package/dist/components/chat/ConversationPicker.d.ts +7 -0
- package/dist/components/chat/ConversationProfile.d.ts +13 -0
- package/dist/components/chat/DocumentViewer.d.ts +2 -0
- package/dist/components/chat/EmojiPicker.d.ts +5 -0
- package/dist/components/chat/ImageViewer.d.ts +2 -0
- package/dist/components/chat/LinkPreview.d.ts +7 -0
- package/dist/components/chat/MediaMessage.d.ts +5 -0
- package/dist/components/chat/MediaViewer.d.ts +13 -0
- package/dist/components/chat/MessageActionMenu.d.ts +16 -0
- package/dist/components/chat/MessageBubble.d.ts +61 -0
- package/dist/components/chat/MessageInfoSheet.d.ts +7 -0
- package/dist/components/chat/MessageInput.d.ts +12 -0
- package/dist/components/chat/MessageList.d.ts +7 -0
- package/dist/components/chat/QuickMessages.d.ts +17 -0
- package/dist/components/chat/ReactionDialog.d.ts +6 -0
- package/dist/components/chat/ReplyComposer.d.ts +8 -0
- package/dist/components/chat/StickerPicker.d.ts +21 -0
- package/dist/components/chat/VideoViewer.d.ts +2 -0
- package/dist/components/chat/emojiData.d.ts +9 -0
- package/dist/components/chat/index.d.ts +44 -0
- package/dist/components/chat/mediaViewerRegistry.d.ts +22 -0
- package/dist/components/chat/urlUtils.d.ts +1 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/meeting/MeetingControls.d.ts +15 -0
- package/dist/components/meeting/MeetingRoom.d.ts +27 -0
- package/dist/components/meeting/ParticipantGrid.d.ts +6 -0
- package/dist/components/meeting/ParticipantsPanel.d.ts +8 -0
- package/dist/components/meeting/ReactionBurst.d.ts +9 -0
- package/dist/components/meeting/ScreenShareView.d.ts +5 -0
- package/dist/components/meeting/WaitingRoom.d.ts +7 -0
- package/dist/components/meeting/index.d.ts +8 -0
- package/dist/components/ui/Avatar.d.ts +13 -0
- package/dist/components/ui/BottomNav.d.ts +8 -0
- package/dist/components/ui/EscalationButton.d.ts +12 -0
- package/dist/components/ui/IconBtn.d.ts +8 -0
- package/dist/components/ui/PoweredBy.d.ts +1 -0
- package/dist/components/ui/index.d.ts +5 -0
- package/dist/favicon.svg +1 -0
- package/dist/hooks/index.d.ts +20 -0
- package/dist/hooks/useAppBrand.d.ts +6 -0
- package/dist/hooks/useCall.d.ts +2 -0
- package/dist/hooks/useCallHistory.d.ts +5 -0
- package/dist/hooks/useConversations.d.ts +7 -0
- package/dist/hooks/useMedia.d.ts +19 -0
- package/dist/hooks/useMeeting.d.ts +22 -0
- package/dist/hooks/useMeetingWebRTC.d.ts +28 -0
- package/dist/hooks/useMessages.d.ts +11 -0
- package/dist/hooks/useNotifications.d.ts +19 -0
- package/dist/hooks/usePresence.d.ts +8 -0
- package/dist/hooks/usePushToken.d.ts +11 -0
- package/dist/hooks/useRealtime.d.ts +21 -0
- package/dist/hooks/useRecording.d.ts +16 -0
- package/dist/hooks/useSound.d.ts +9 -0
- package/dist/hooks/useWebRTC.d.ts +12 -0
- package/dist/icons.svg +24 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +12441 -0
- package/dist/meeting/MeetingContext.d.ts +19 -0
- package/dist/meeting/MeetingProvider.d.ts +4 -0
- package/dist/meeting/index.d.ts +3 -0
- package/dist/socket/OrbitListenerProvider.d.ts +14 -0
- package/dist/socket/OrbitSocket.d.ts +97 -0
- package/dist/socket/config.d.ts +10 -0
- package/dist/socket/context.d.ts +10 -0
- package/dist/socket/events.d.ts +283 -0
- package/dist/socket/index.d.ts +8 -0
- package/dist/socket/useOrbitEvent.d.ts +8 -0
- package/dist/theme/ThemeProvider.d.ts +17 -0
- package/dist/theme/defaults.d.ts +3 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/types.d.ts +85 -0
- package/dist/widgets/Chat.d.ts +13 -0
- package/dist/widgets/MeetingWidget.d.ts +6 -0
- package/dist/widgets/VideoCall.d.ts +1 -0
- package/dist/widgets/index.d.ts +6 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@orbitconnect/react",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "OrbitConnect React SDK — drop-in real-time chat, voice/video calls, and meetings",
|
|
5
|
+
"author": "OrbitConnect <sdk@orbitconnect.cloud>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://github.com/core-dynamics/orbitconnect-sdk#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/core-dynamics/orbitconnect-sdk.git",
|
|
11
|
+
"directory": "sdk/react"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"orbitconnect",
|
|
15
|
+
"chat",
|
|
16
|
+
"react",
|
|
17
|
+
"sdk",
|
|
18
|
+
"webrtc",
|
|
19
|
+
"websocket",
|
|
20
|
+
"video-call",
|
|
21
|
+
"meetings"
|
|
22
|
+
],
|
|
23
|
+
"type": "module",
|
|
24
|
+
"main": "dist/index.js",
|
|
25
|
+
"module": "dist/index.js",
|
|
26
|
+
"types": "dist/index.d.ts",
|
|
27
|
+
"sideEffects": [
|
|
28
|
+
"dist/index.css"
|
|
29
|
+
],
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"import": "./dist/index.js",
|
|
33
|
+
"types": "./dist/index.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./index.css": "./dist/index.css"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"README.md",
|
|
40
|
+
"CHANGELOG.md",
|
|
41
|
+
"LICENSE"
|
|
42
|
+
],
|
|
43
|
+
"scripts": {
|
|
44
|
+
"dev": "vite",
|
|
45
|
+
"build": "vite build && tsc -p tsconfig.build.json && tailwindcss -i ./src/index.css -o ./dist/index.css --minify",
|
|
46
|
+
"typecheck": "tsc -p tsconfig.app.json --noEmit",
|
|
47
|
+
"lint": "eslint .",
|
|
48
|
+
"preview": "vite preview",
|
|
49
|
+
"prepublishOnly": "npm run build"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"react": ">=18.0.0",
|
|
53
|
+
"react-dom": ">=18.0.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@babel/core": "^7.29.0",
|
|
57
|
+
"@eslint/js": "^9.39.4",
|
|
58
|
+
"@rolldown/plugin-babel": "^0.2.2",
|
|
59
|
+
"@types/babel__core": "^7.20.5",
|
|
60
|
+
"@types/node": "^24.12.2",
|
|
61
|
+
"@types/react": "^19.2.14",
|
|
62
|
+
"@types/react-dom": "^19.2.3",
|
|
63
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
64
|
+
"autoprefixer": "^10.5.0",
|
|
65
|
+
"babel-plugin-react-compiler": "^1.0.0",
|
|
66
|
+
"eslint": "^9.39.4",
|
|
67
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
68
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
69
|
+
"globals": "^17.4.0",
|
|
70
|
+
"lucide-react": "^1.8.0",
|
|
71
|
+
"postcss": "^8.5.9",
|
|
72
|
+
"react": "^19.2.4",
|
|
73
|
+
"react-dom": "^19.2.4",
|
|
74
|
+
"tailwindcss": "3.4",
|
|
75
|
+
"typescript": "~6.0.2",
|
|
76
|
+
"typescript-eslint": "^8.58.0",
|
|
77
|
+
"vite": "^8.0.4"
|
|
78
|
+
}
|
|
79
|
+
}
|