@q9labsai/chalk-react-native 4.1.17 → 5.0.1
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/README.md +134 -29
- package/android/build.gradle +35 -0
- package/android/compatibility/ModuleApiCompatibility.java +215 -0
- package/android/src/main/AndroidManifest.xml +2 -1
- package/android/src/main/java/ai/q9labs/chalk/reactnative/ChalkSpaceForegroundService.java +105 -31
- package/android/src/main/kotlin/ai/q9labs/chalk/reactnative/ChalkAndroidConnectionServicePackage.kt +2 -0
- package/android/src/main/kotlin/ai/q9labs/chalk/reactnative/ChalkAudioRouteModule.kt +137 -0
- package/android/src/main/kotlin/ai/q9labs/chalk/reactnative/ChalkCallServiceModule.kt +32 -0
- package/android/src/main/kotlin/ai/q9labs/chalk/reactnative/CommunicationDeviceListener.kt +23 -0
- package/android/src/test/kotlin/ai/q9labs/chalk/compatibility/UnsafeSignatures.kt +29 -0
- package/dist/android/call-service.d.ts +4 -0
- package/dist/android/call-service.d.ts.map +1 -0
- package/dist/avatar/FaceAvatar.d.ts +19 -0
- package/dist/avatar/FaceAvatar.d.ts.map +1 -0
- package/dist/avatar/tile-avatar-size.d.ts +3 -0
- package/dist/avatar/tile-avatar-size.d.ts.map +1 -0
- package/dist/chunk-GYVZSOGQ.js +30 -0
- package/dist/chunk-IHE6EA3T.js +25 -0
- package/dist/chunk-OIBT2FNM.js +1479 -0
- package/dist/client.d.ts +1 -5
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +185 -2
- package/dist/components/EmbeddedWhiteboard.d.ts.map +1 -1
- package/dist/components/native-media-visibility.d.ts +3 -2
- package/dist/components/native-media-visibility.d.ts.map +1 -1
- package/dist/components/useAndroidCallService.d.ts +8 -0
- package/dist/components/useAndroidCallService.d.ts.map +1 -0
- package/dist/dev.d.ts +10 -0
- package/dist/dev.d.ts.map +1 -0
- package/dist/dev.js +10 -0
- package/dist/dock/Dock.d.ts +23 -0
- package/dist/dock/Dock.d.ts.map +1 -0
- package/dist/dock/LeaveMenu.d.ts +12 -0
- package/dist/dock/LeaveMenu.d.ts.map +1 -0
- package/dist/dock/MoreSheet.d.ts +17 -0
- package/dist/dock/MoreSheet.d.ts.map +1 -0
- package/dist/dock/ReactionBurst.d.ts +8 -0
- package/dist/dock/ReactionBurst.d.ts.map +1 -0
- package/dist/dock/RoutePicker.d.ts +16 -0
- package/dist/dock/RoutePicker.d.ts.map +1 -0
- package/dist/dock/audio-route.d.ts +25 -0
- package/dist/dock/audio-route.d.ts.map +1 -0
- package/dist/error-YOPTEH5N.wav +0 -0
- package/dist/frame/CallFrame.d.ts +17 -0
- package/dist/frame/CallFrame.d.ts.map +1 -0
- package/dist/frame/Chalk.d.ts +40 -0
- package/dist/frame/Chalk.d.ts.map +1 -0
- package/dist/frame/back-handler.d.ts +6 -0
- package/dist/frame/back-handler.d.ts.map +1 -0
- package/dist/frame/dev-scenario.d.ts +28 -0
- package/dist/frame/dev-scenario.d.ts.map +1 -0
- package/dist/frame/device-layout.d.ts +16 -0
- package/dist/frame/device-layout.d.ts.map +1 -0
- package/dist/frame/measurement.d.ts +28 -0
- package/dist/frame/measurement.d.ts.map +1 -0
- package/dist/frame/portal.d.ts +24 -0
- package/dist/frame/portal.d.ts.map +1 -0
- package/dist/frame/preferences.d.ts +21 -0
- package/dist/frame/preferences.d.ts.map +1 -0
- package/dist/frame/regions.d.ts +25 -0
- package/dist/frame/regions.d.ts.map +1 -0
- package/dist/hand-DFWVXPH2.wav +0 -0
- package/dist/haptics/haptics.d.ts +12 -0
- package/dist/haptics/haptics.d.ts.map +1 -0
- package/dist/header/CallDetailsSheet.d.ts +18 -0
- package/dist/header/CallDetailsSheet.d.ts.map +1 -0
- package/dist/header/Header.d.ts +17 -0
- package/dist/header/Header.d.ts.map +1 -0
- package/dist/header/QrCode.d.ts +6 -0
- package/dist/header/QrCode.d.ts.map +1 -0
- package/dist/icons/Icon.d.ts +12 -0
- package/dist/icons/Icon.d.ts.map +1 -0
- package/dist/icons/icon-element.d.ts +24 -0
- package/dist/icons/icon-element.d.ts.map +1 -0
- package/dist/icons/icon-paths.d.ts +530 -0
- package/dist/icons/icon-paths.d.ts.map +1 -0
- package/dist/index.d.ts +6 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2956 -38
- package/dist/join-Z6RL5AHE.wav +0 -0
- package/dist/knock-4VBQSHK4.wav +0 -0
- package/dist/leave-MQLZOWQD.wav +0 -0
- package/dist/limbo/Limbo.d.ts +25 -0
- package/dist/limbo/Limbo.d.ts.map +1 -0
- package/dist/limbo/Veil.d.ts +10 -0
- package/dist/limbo/Veil.d.ts.map +1 -0
- package/dist/media/native-capture-error.d.ts +7 -0
- package/dist/media/native-capture-error.d.ts.map +1 -0
- package/dist/message-6Y6WJGTB.wav +0 -0
- package/dist/motion/MovingFrame.d.ts +36 -0
- package/dist/motion/MovingFrame.d.ts.map +1 -0
- package/dist/motion/motion.d.ts +82 -0
- package/dist/motion/motion.d.ts.map +1 -0
- package/dist/motion/presence.d.ts +6 -0
- package/dist/motion/presence.d.ts.map +1 -0
- package/dist/motion/press.d.ts +15 -0
- package/dist/motion/press.d.ts.map +1 -0
- package/dist/mute-H5SJFXVI.wav +0 -0
- package/dist/primitives/BottomSheet.d.ts +36 -0
- package/dist/primitives/BottomSheet.d.ts.map +1 -0
- package/dist/primitives/ChalkText.d.ts +13 -0
- package/dist/primitives/ChalkText.d.ts.map +1 -0
- package/dist/primitives/CopyButton.d.ts +11 -0
- package/dist/primitives/CopyButton.d.ts.map +1 -0
- package/dist/primitives/IconButton.d.ts +26 -0
- package/dist/primitives/IconButton.d.ts.map +1 -0
- package/dist/primitives/Menu.d.ts +39 -0
- package/dist/primitives/Menu.d.ts.map +1 -0
- package/dist/primitives/NameTag.d.ts +19 -0
- package/dist/primitives/NameTag.d.ts.map +1 -0
- package/dist/primitives/PillButton.d.ts +19 -0
- package/dist/primitives/PillButton.d.ts.map +1 -0
- package/dist/primitives/SegmentedControl.d.ts +17 -0
- package/dist/primitives/SegmentedControl.d.ts.map +1 -0
- package/dist/primitives/SheetGroup.d.ts +24 -0
- package/dist/primitives/SheetGroup.d.ts.map +1 -0
- package/dist/primitives/Switch.d.ts +9 -0
- package/dist/primitives/Switch.d.ts.map +1 -0
- package/dist/primitives/TileShell.d.ts +18 -0
- package/dist/primitives/TileShell.d.ts.map +1 -0
- package/dist/primitives/announce.d.ts +3 -0
- package/dist/primitives/announce.d.ts.map +1 -0
- package/dist/primitives/menu-placement.d.ts +32 -0
- package/dist/primitives/menu-placement.d.ts.map +1 -0
- package/dist/primitives/toast/Toast.d.ts +8 -0
- package/dist/primitives/toast/Toast.d.ts.map +1 -0
- package/dist/primitives/toast/ToastStack.d.ts +18 -0
- package/dist/primitives/toast/ToastStack.d.ts.map +1 -0
- package/dist/primitives/toast/toast-store.d.ts +39 -0
- package/dist/primitives/toast/toast-store.d.ts.map +1 -0
- package/dist/recording-Q4GB77Y4.wav +0 -0
- package/dist/sheets/people-chat/ChatNotices.d.ts +14 -0
- package/dist/sheets/people-chat/ChatNotices.d.ts.map +1 -0
- package/dist/sheets/people-chat/ChatTab.d.ts +6 -0
- package/dist/sheets/people-chat/ChatTab.d.ts.map +1 -0
- package/dist/sheets/people-chat/Composer.d.ts +7 -0
- package/dist/sheets/people-chat/Composer.d.ts.map +1 -0
- package/dist/sheets/people-chat/PeopleChatSheet.d.ts +17 -0
- package/dist/sheets/people-chat/PeopleChatSheet.d.ts.map +1 -0
- package/dist/sheets/people-chat/PeopleTab.d.ts +3 -0
- package/dist/sheets/people-chat/PeopleTab.d.ts.map +1 -0
- package/dist/sheets/people-chat/PhotoViewer.d.ts +19 -0
- package/dist/sheets/people-chat/PhotoViewer.d.ts.map +1 -0
- package/dist/sheets/people-chat/TextField.d.ts +4 -0
- package/dist/sheets/people-chat/TextField.d.ts.map +1 -0
- package/dist/sheets/people-chat/attachments.d.ts +33 -0
- package/dist/sheets/people-chat/attachments.d.ts.map +1 -0
- package/dist/sheets/people-chat/chat-model.d.ts +64 -0
- package/dist/sheets/people-chat/chat-model.d.ts.map +1 -0
- package/dist/sheets/people-chat/people-model.d.ts +43 -0
- package/dist/sheets/people-chat/people-model.d.ts.map +1 -0
- package/dist/sounds/sounds.d.ts +33 -0
- package/dist/sounds/sounds.d.ts.map +1 -0
- package/dist/space-client/create-native-space-client.d.ts +0 -4
- package/dist/space-client/create-native-space-client.d.ts.map +1 -1
- package/dist/space-client/random-uuid.d.ts +7 -0
- package/dist/space-client/random-uuid.d.ts.map +1 -0
- package/dist/stage/ContentTile.d.ts +18 -0
- package/dist/stage/ContentTile.d.ts.map +1 -0
- package/dist/stage/ParticipantTile.d.ts +18 -0
- package/dist/stage/ParticipantTile.d.ts.map +1 -0
- package/dist/stage/Stage.d.ts +14 -0
- package/dist/stage/Stage.d.ts.map +1 -0
- package/dist/stage/TileSheet.d.ts +12 -0
- package/dist/stage/TileSheet.d.ts.map +1 -0
- package/dist/stage/camera.d.ts +7 -0
- package/dist/stage/camera.d.ts.map +1 -0
- package/dist/stage/layout.d.ts +57 -0
- package/dist/stage/layout.d.ts.map +1 -0
- package/dist/stage/space-selector.d.ts +10 -0
- package/dist/stage/space-selector.d.ts.map +1 -0
- package/dist/stage/stage-view.d.ts +23 -0
- package/dist/stage/stage-view.d.ts.map +1 -0
- package/dist/status/CallOverlays.d.ts +17 -0
- package/dist/status/CallOverlays.d.ts.map +1 -0
- package/dist/status/ChalkArrival.d.ts +24 -0
- package/dist/status/ChalkArrival.d.ts.map +1 -0
- package/dist/status/StatusPage.d.ts +14 -0
- package/dist/status/StatusPage.d.ts.map +1 -0
- package/dist/status/call-screen.d.ts +20 -0
- package/dist/status/call-screen.d.ts.map +1 -0
- package/dist/test-VD2KAM4D.wav +0 -0
- package/dist/theme/theme.d.ts +15 -0
- package/dist/theme/theme.d.ts.map +1 -0
- package/dist/theme/tokens.d.ts +248 -0
- package/dist/theme/tokens.d.ts.map +1 -0
- package/dist/toasts/CallEventToasts.d.ts +21 -0
- package/dist/toasts/CallEventToasts.d.ts.map +1 -0
- package/dist/toasts/notices.d.ts +34 -0
- package/dist/toasts/notices.d.ts.map +1 -0
- package/dist/ui/ChalkUI.d.ts +12 -0
- package/dist/ui/ChalkUI.d.ts.map +1 -0
- package/dist/ui.d.ts +25 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +77 -0
- package/dist/unmute-2XR2LICU.wav +0 -0
- package/embedded/chalk-whiteboard/asset-manifest.json +2 -2
- package/embedded/chalk-whiteboard/renderer.js +510 -510
- package/ios/ChalkAudioRouteModule.swift +93 -0
- package/ios/ChalkAudioRouteModuleBridge.m +9 -0
- package/package.json +46 -76
- package/src/android/call-service.ts +19 -0
- package/src/avatar/FaceAvatar.tsx +145 -0
- package/src/avatar/tile-avatar-size.ts +4 -0
- package/src/client.ts +1 -5
- package/src/components/EmbeddedWhiteboard.tsx +14 -71
- package/src/components/native-media-visibility.ts +1 -2
- package/src/components/useAndroidCallService.ts +41 -0
- package/src/dev.ts +9 -0
- package/src/dock/Dock.tsx +95 -0
- package/src/dock/LeaveMenu.tsx +21 -0
- package/src/dock/MoreSheet.tsx +233 -0
- package/src/dock/ReactionBurst.tsx +55 -0
- package/src/dock/RoutePicker.tsx +42 -0
- package/src/dock/audio-route.ts +69 -0
- package/src/frame/CallFrame.tsx +209 -0
- package/src/frame/Chalk.tsx +83 -0
- package/src/frame/back-handler.ts +19 -0
- package/src/frame/dev-scenario.ts +48 -0
- package/src/frame/device-layout.tsx +31 -0
- package/src/frame/measurement.ts +44 -0
- package/src/frame/portal.tsx +107 -0
- package/src/frame/preferences.tsx +48 -0
- package/src/frame/regions.test.ts +38 -0
- package/src/frame/regions.ts +60 -0
- package/src/haptics/haptics.ts +19 -0
- package/src/header/CallDetailsSheet.tsx +139 -0
- package/src/header/Header.tsx +107 -0
- package/src/header/QrCode.tsx +34 -0
- package/src/icons/Icon.tsx +35 -0
- package/src/icons/icon-element.ts +11 -0
- package/src/icons/icon-paths.ts +199 -0
- package/src/index.ts +6 -9
- package/src/limbo/Limbo.tsx +159 -0
- package/src/limbo/Veil.tsx +36 -0
- package/src/media/native-capture-error.test.ts +19 -0
- package/src/media/native-capture-error.ts +13 -0
- package/src/motion/MovingFrame.tsx +101 -0
- package/src/motion/motion.ts +33 -0
- package/src/motion/presence.ts +20 -0
- package/src/motion/press.ts +35 -0
- package/src/primitives/BottomSheet.tsx +211 -0
- package/src/primitives/ChalkText.tsx +23 -0
- package/src/primitives/CopyButton.tsx +78 -0
- package/src/primitives/IconButton.tsx +90 -0
- package/src/primitives/Menu.tsx +212 -0
- package/src/primitives/NameTag.tsx +68 -0
- package/src/primitives/PillButton.tsx +56 -0
- package/src/primitives/SegmentedControl.tsx +55 -0
- package/src/primitives/SheetGroup.tsx +72 -0
- package/src/primitives/Switch.tsx +39 -0
- package/src/primitives/TileShell.tsx +53 -0
- package/src/primitives/announce.ts +7 -0
- package/src/primitives/menu-placement.test.ts +50 -0
- package/src/primitives/menu-placement.ts +43 -0
- package/src/primitives/toast/Toast.tsx +50 -0
- package/src/primitives/toast/ToastStack.tsx +89 -0
- package/src/primitives/toast/toast-store.ts +86 -0
- package/src/sheets/people-chat/ChatNotices.tsx +69 -0
- package/src/sheets/people-chat/ChatTab.tsx +186 -0
- package/src/sheets/people-chat/Composer.tsx +182 -0
- package/src/sheets/people-chat/PeopleChatSheet.tsx +100 -0
- package/src/sheets/people-chat/PeopleTab.tsx +326 -0
- package/src/sheets/people-chat/PhotoViewer.tsx +132 -0
- package/src/sheets/people-chat/TextField.tsx +14 -0
- package/src/sheets/people-chat/attachments.tsx +183 -0
- package/src/sheets/people-chat/chat-model.ts +157 -0
- package/src/sheets/people-chat/people-chat-model.test.ts +98 -0
- package/src/sheets/people-chat/people-model.ts +68 -0
- package/src/sounds/assets/error.wav +0 -0
- package/src/sounds/assets/hand.wav +0 -0
- package/src/sounds/assets/join.wav +0 -0
- package/src/sounds/assets/knock.wav +0 -0
- package/src/sounds/assets/leave.wav +0 -0
- package/src/sounds/assets/message.wav +0 -0
- package/src/sounds/assets/mute.wav +0 -0
- package/src/sounds/assets/recording.wav +0 -0
- package/src/sounds/assets/test.wav +0 -0
- package/src/sounds/assets/unmute.wav +0 -0
- package/src/sounds/assets.d.ts +5 -0
- package/src/sounds/sounds.ts +50 -0
- package/src/space-client/create-native-space-client.ts +20 -181
- package/src/space-client/random-uuid.ts +17 -0
- package/src/space-client/whiteboard-watchdog.test.ts +23 -0
- package/src/stage/ContentTile.tsx +100 -0
- package/src/stage/ParticipantTile.tsx +140 -0
- package/src/stage/Stage.tsx +152 -0
- package/src/stage/TileSheet.tsx +116 -0
- package/src/stage/camera.ts +20 -0
- package/src/stage/layout.test.ts +77 -0
- package/src/stage/layout.ts +226 -0
- package/src/stage/space-selector.ts +31 -0
- package/src/stage/stage-view.tsx +68 -0
- package/src/status/CallOverlays.tsx +47 -0
- package/src/status/ChalkArrival.tsx +53 -0
- package/src/status/StatusPage.tsx +123 -0
- package/src/status/call-screen.test.ts +42 -0
- package/src/status/call-screen.ts +29 -0
- package/src/theme/theme.tsx +28 -0
- package/src/theme/tokens.ts +247 -0
- package/src/toasts/CallEventToasts.tsx +192 -0
- package/src/toasts/notices.test.ts +92 -0
- package/src/toasts/notices.ts +62 -0
- package/src/ui/ChalkUI.tsx +49 -0
- package/src/ui.ts +24 -0
- package/dist/android.d.ts +0 -2
- package/dist/android.d.ts.map +0 -1
- package/dist/android.js +0 -62
- package/dist/chunk-2OS7SSXE.js +0 -552
- package/dist/chunk-5DQ4KBRH.js +0 -690
- package/dist/chunk-ITLUHTVS.js +0 -5271
- package/dist/chunk-JB4LNWVP.js +0 -247
- package/dist/components/Chalk.d.ts +0 -79
- package/dist/components/Chalk.d.ts.map +0 -1
- package/dist/components/ChatMessageList.d.ts +0 -11
- package/dist/components/ChatMessageList.d.ts.map +0 -1
- package/dist/components/Entrance.d.ts +0 -22
- package/dist/components/Entrance.d.ts.map +0 -1
- package/dist/components/EntranceView.android.d.ts +0 -4
- package/dist/components/EntranceView.android.d.ts.map +0 -1
- package/dist/components/EntranceView.d.ts +0 -18
- package/dist/components/EntranceView.d.ts.map +0 -1
- package/dist/components/EntranceView.ios-pad.d.ts +0 -3
- package/dist/components/EntranceView.ios-pad.d.ts.map +0 -1
- package/dist/components/EntranceView.ios-phone.d.ts +0 -3
- package/dist/components/EntranceView.ios-phone.d.ts.map +0 -1
- package/dist/components/EntranceView.macos.d.ts +0 -4
- package/dist/components/EntranceView.macos.d.ts.map +0 -1
- package/dist/components/FaceAvatar.d.ts +0 -16
- package/dist/components/FaceAvatar.d.ts.map +0 -1
- package/dist/components/GradientSurface.d.ts +0 -14
- package/dist/components/GradientSurface.d.ts.map +0 -1
- package/dist/components/MediaView.d.ts +0 -14
- package/dist/components/MediaView.d.ts.map +0 -1
- package/dist/components/ReactionPicker.d.ts +0 -10
- package/dist/components/ReactionPicker.d.ts.map +0 -1
- package/dist/components/SpaceView.android.d.ts +0 -2
- package/dist/components/SpaceView.android.d.ts.map +0 -1
- package/dist/components/SpaceView.d.ts +0 -33
- package/dist/components/SpaceView.d.ts.map +0 -1
- package/dist/components/SpaceView.ios-pad.d.ts +0 -2
- package/dist/components/SpaceView.ios-pad.d.ts.map +0 -1
- package/dist/components/SpaceView.ios-phone.d.ts +0 -2
- package/dist/components/SpaceView.ios-phone.d.ts.map +0 -1
- package/dist/components/SpaceView.macos.d.ts +0 -2
- package/dist/components/SpaceView.macos.d.ts.map +0 -1
- package/dist/components/SpaceView.shared.d.ts +0 -3
- package/dist/components/SpaceView.shared.d.ts.map +0 -1
- package/dist/components/episode-diagnostic-render-observer.d.ts +0 -2
- package/dist/components/episode-diagnostic-render-observer.d.ts.map +0 -1
- package/dist/components/logo/Logo.d.ts +0 -11
- package/dist/components/logo/Logo.d.ts.map +0 -1
- package/dist/components/native-animation-controller.d.ts +0 -7
- package/dist/components/native-animation-controller.d.ts.map +0 -1
- package/dist/components/native-chat.d.ts +0 -8
- package/dist/components/native-chat.d.ts.map +0 -1
- package/dist/components/native-entrance/entrance-controller-store.d.ts +0 -34
- package/dist/components/native-entrance/entrance-controller-store.d.ts.map +0 -1
- package/dist/components/native-entrance/useEntranceController.d.ts +0 -19
- package/dist/components/native-entrance/useEntranceController.d.ts.map +0 -1
- package/dist/components/native-joining-loading-animation.d.ts +0 -9
- package/dist/components/native-joining-loading-animation.d.ts.map +0 -1
- package/dist/components/native-space-view/AppearanceSettings.d.ts +0 -2
- package/dist/components/native-space-view/AppearanceSettings.d.ts.map +0 -1
- package/dist/components/native-space-view/FeedbackSheet.d.ts +0 -12
- package/dist/components/native-space-view/FeedbackSheet.d.ts.map +0 -1
- package/dist/components/native-space-view/ParticipantActionSheet.d.ts +0 -9
- package/dist/components/native-space-view/ParticipantActionSheet.d.ts.map +0 -1
- package/dist/components/native-space-view/SettingsSheet.d.ts +0 -7
- package/dist/components/native-space-view/SettingsSheet.d.ts.map +0 -1
- package/dist/components/native-space-view/SpaceActionMenu.d.ts +0 -10
- package/dist/components/native-space-view/SpaceActionMenu.d.ts.map +0 -1
- package/dist/components/native-space-view/SpaceBottomDock.android.d.ts +0 -4
- package/dist/components/native-space-view/SpaceBottomDock.android.d.ts.map +0 -1
- package/dist/components/native-space-view/SpaceChatAttachment.d.ts +0 -8
- package/dist/components/native-space-view/SpaceChatAttachment.d.ts.map +0 -1
- package/dist/components/native-space-view/SpaceChatSheet.d.ts +0 -5
- package/dist/components/native-space-view/SpaceChatSheet.d.ts.map +0 -1
- package/dist/components/native-space-view/SpaceGrid.android.d.ts +0 -8
- package/dist/components/native-space-view/SpaceGrid.android.d.ts.map +0 -1
- package/dist/components/native-space-view/SpaceMoreSheet.d.ts +0 -7
- package/dist/components/native-space-view/SpaceMoreSheet.d.ts.map +0 -1
- package/dist/components/native-space-view/SpacePanelSheet.d.ts +0 -5
- package/dist/components/native-space-view/SpacePanelSheet.d.ts.map +0 -1
- package/dist/components/native-space-view/SpacePeopleSheet.d.ts +0 -5
- package/dist/components/native-space-view/SpacePeopleSheet.d.ts.map +0 -1
- package/dist/components/native-space-view/SpaceStage.android.d.ts +0 -29
- package/dist/components/native-space-view/SpaceStage.android.d.ts.map +0 -1
- package/dist/components/native-space-view/SpaceSurfacePrimitives.d.ts +0 -30
- package/dist/components/native-space-view/SpaceSurfacePrimitives.d.ts.map +0 -1
- package/dist/components/native-space-view/SpaceTopBar.android.d.ts +0 -11
- package/dist/components/native-space-view/SpaceTopBar.android.d.ts.map +0 -1
- package/dist/components/native-space-view/SpaceWhiteboardSurface.d.ts +0 -15
- package/dist/components/native-space-view/SpaceWhiteboardSurface.d.ts.map +0 -1
- package/dist/components/native-space-view/diagnostics.d.ts +0 -48
- package/dist/components/native-space-view/diagnostics.d.ts.map +0 -1
- package/dist/components/native-space-view/format-space-duration.d.ts +0 -2
- package/dist/components/native-space-view/format-space-duration.d.ts.map +0 -1
- package/dist/components/native-space-view/native-space-grid-keys.d.ts +0 -3
- package/dist/components/native-space-view/native-space-grid-keys.d.ts.map +0 -1
- package/dist/components/native-space-view/native-space-page-store.d.ts +0 -8
- package/dist/components/native-space-view/native-space-page-store.d.ts.map +0 -1
- package/dist/components/native-space-view/space-chat-attachments.d.ts +0 -15
- package/dist/components/native-space-view/space-chat-attachments.d.ts.map +0 -1
- package/dist/components/native-space-view/space-panel-layout.d.ts +0 -10
- package/dist/components/native-space-view/space-panel-layout.d.ts.map +0 -1
- package/dist/components/native-space-view/space-progressive-surface-helpers.d.ts +0 -16
- package/dist/components/native-space-view/space-progressive-surface-helpers.d.ts.map +0 -1
- package/dist/components/native-space-view/space-progressive-surface-types.d.ts +0 -3
- package/dist/components/native-space-view/space-progressive-surface-types.d.ts.map +0 -1
- package/dist/components/native-space-view/types.d.ts +0 -24
- package/dist/components/native-space-view/types.d.ts.map +0 -1
- package/dist/components/native-space-view/useSpaceViewController.contract.d.ts +0 -41
- package/dist/components/native-space-view/useSpaceViewController.contract.d.ts.map +0 -1
- package/dist/components/native-space-view/useSpaceViewController.d.ts +0 -156
- package/dist/components/native-space-view/useSpaceViewController.d.ts.map +0 -1
- package/dist/components/native-space-view/useSpaceViewDerived.d.ts +0 -12
- package/dist/components/native-space-view/useSpaceViewDerived.d.ts.map +0 -1
- package/dist/components/native-space-view/useSpaceViewPanels.d.ts +0 -70
- package/dist/components/native-space-view/useSpaceViewPanels.d.ts.map +0 -1
- package/dist/feedback/native-capture.d.ts +0 -9
- package/dist/feedback/native-capture.d.ts.map +0 -1
- package/dist/feedback/native-evidence.d.ts +0 -3
- package/dist/feedback/native-evidence.d.ts.map +0 -1
- package/dist/hooks/entrance-preview-store.d.ts +0 -16
- package/dist/hooks/entrance-preview-store.d.ts.map +0 -1
- package/dist/hooks/useEntrancePreview.d.ts +0 -7
- package/dist/hooks/useEntrancePreview.d.ts.map +0 -1
- package/dist/hooks/useLayout.d.ts +0 -16
- package/dist/hooks/useLayout.d.ts.map +0 -1
- package/dist/hooks/usePanels.d.ts +0 -12
- package/dist/hooks/usePanels.d.ts.map +0 -1
- package/dist/ios-pad.d.ts +0 -2
- package/dist/ios-pad.d.ts.map +0 -1
- package/dist/ios-pad.js +0 -62
- package/dist/ios-phone.d.ts +0 -2
- package/dist/ios-phone.d.ts.map +0 -1
- package/dist/ios-phone.js +0 -62
- package/dist/ios.d.ts +0 -2
- package/dist/ios.d.ts.map +0 -1
- package/dist/ios.js +0 -62
- package/dist/macos.d.ts +0 -2
- package/dist/macos.d.ts.map +0 -1
- package/dist/macos.js +0 -62
- package/dist/space-client/cloudflare-rtk-native.d.ts +0 -3
- package/dist/space-client/cloudflare-rtk-native.d.ts.map +0 -1
- package/dist/telemetry.d.ts +0 -63
- package/dist/telemetry.d.ts.map +0 -1
- package/dist/ui/appearance.d.ts +0 -246
- package/dist/ui/appearance.d.ts.map +0 -1
- package/dist/ui/appearance.js +0 -14
- package/dist/ui/native-appearance-context.d.ts +0 -15
- package/dist/ui/native-appearance-context.d.ts.map +0 -1
- package/dist/ui/native-theme.d.ts +0 -17
- package/dist/ui/native-theme.d.ts.map +0 -1
- package/dist/ui/native-types.d.ts +0 -38
- package/dist/ui/native-types.d.ts.map +0 -1
- package/dist/ui/participant-avatar.d.ts +0 -21
- package/dist/ui/participant-avatar.d.ts.map +0 -1
- package/dist/ui/theme-tokens.d.ts +0 -25
- package/dist/ui/theme-tokens.d.ts.map +0 -1
- package/dist/ui/theme.d.ts +0 -404
- package/dist/ui/theme.d.ts.map +0 -1
- package/dist/ui/theme.js +0 -8
- package/dist/utils/native-space-layout.d.ts +0 -42
- package/dist/utils/native-space-layout.d.ts.map +0 -1
- package/src/android.ts +0 -1
- package/src/components/Chalk.tsx +0 -363
- package/src/components/ChatMessageList.tsx +0 -209
- package/src/components/Entrance.tsx +0 -42
- package/src/components/EntranceView.android.tsx +0 -274
- package/src/components/EntranceView.ios-pad.tsx +0 -326
- package/src/components/EntranceView.ios-phone.tsx +0 -271
- package/src/components/EntranceView.macos.tsx +0 -278
- package/src/components/EntranceView.tsx +0 -38
- package/src/components/FaceAvatar.tsx +0 -120
- package/src/components/GradientSurface.tsx +0 -23
- package/src/components/MediaView.tsx +0 -76
- package/src/components/ReactionPicker.tsx +0 -98
- package/src/components/SpaceView.android.tsx +0 -1
- package/src/components/SpaceView.ios-pad.tsx +0 -1
- package/src/components/SpaceView.ios-phone.tsx +0 -1
- package/src/components/SpaceView.macos.tsx +0 -1
- package/src/components/SpaceView.shared.tsx +0 -98
- package/src/components/SpaceView.tsx +0 -54
- package/src/components/episode-diagnostic-render-observer.ts +0 -12
- package/src/components/logo/Logo.tsx +0 -309
- package/src/components/native-animation-controller.ts +0 -36
- package/src/components/native-chat.ts +0 -23
- package/src/components/native-entrance/entrance-controller-store.ts +0 -112
- package/src/components/native-entrance/useEntranceController.ts +0 -60
- package/src/components/native-joining-loading-animation.ts +0 -26
- package/src/components/native-space-view/AppearanceSettings.tsx +0 -114
- package/src/components/native-space-view/FeedbackSheet.tsx +0 -296
- package/src/components/native-space-view/ParticipantActionSheet.tsx +0 -99
- package/src/components/native-space-view/SettingsSheet.tsx +0 -164
- package/src/components/native-space-view/SpaceActionMenu.tsx +0 -109
- package/src/components/native-space-view/SpaceBottomDock.android.tsx +0 -115
- package/src/components/native-space-view/SpaceChatAttachment.tsx +0 -105
- package/src/components/native-space-view/SpaceChatSheet.tsx +0 -184
- package/src/components/native-space-view/SpaceGrid.android.tsx +0 -323
- package/src/components/native-space-view/SpaceMoreSheet.tsx +0 -190
- package/src/components/native-space-view/SpacePanelSheet.tsx +0 -45
- package/src/components/native-space-view/SpacePeopleSheet.tsx +0 -116
- package/src/components/native-space-view/SpaceStage.android.tsx +0 -372
- package/src/components/native-space-view/SpaceSurfacePrimitives.tsx +0 -75
- package/src/components/native-space-view/SpaceTopBar.android.tsx +0 -113
- package/src/components/native-space-view/SpaceWhiteboardSurface.tsx +0 -69
- package/src/components/native-space-view/diagnostics.ts +0 -84
- package/src/components/native-space-view/format-space-duration.ts +0 -3
- package/src/components/native-space-view/native-space-grid-keys.ts +0 -6
- package/src/components/native-space-view/native-space-page-store.ts +0 -41
- package/src/components/native-space-view/space-chat-attachments.test.ts +0 -26
- package/src/components/native-space-view/space-chat-attachments.ts +0 -37
- package/src/components/native-space-view/space-panel-layout.ts +0 -10
- package/src/components/native-space-view/space-progressive-surface-helpers.ts +0 -33
- package/src/components/native-space-view/space-progressive-surface-types.ts +0 -3
- package/src/components/native-space-view/types.ts +0 -25
- package/src/components/native-space-view/useSpaceViewController.contract.ts +0 -34
- package/src/components/native-space-view/useSpaceViewController.ts +0 -416
- package/src/components/native-space-view/useSpaceViewDerived.ts +0 -29
- package/src/components/native-space-view/useSpaceViewPanels.ts +0 -170
- package/src/feedback/native-capture.ts +0 -62
- package/src/feedback/native-evidence.ts +0 -37
- package/src/hooks/entrance-preview-store.ts +0 -99
- package/src/hooks/useEntrancePreview.ts +0 -26
- package/src/hooks/useLayout.ts +0 -37
- package/src/hooks/usePanels.ts +0 -30
- package/src/ios-pad.ts +0 -1
- package/src/ios-phone.ts +0 -1
- package/src/ios.ts +0 -1
- package/src/macos.ts +0 -1
- package/src/space-client/cloudflare-rtk-native.ts +0 -104
- package/src/telemetry.ts +0 -234
- package/src/types/hugeicons-direct.d.ts +0 -4
- package/src/types/react-native-safe-area-context.d.ts +0 -8
- package/src/ui/appearance.ts +0 -808
- package/src/ui/native-appearance-context.tsx +0 -74
- package/src/ui/native-theme.tsx +0 -54
- package/src/ui/native-types.ts +0 -40
- package/src/ui/participant-avatar.ts +0 -47
- package/src/ui/theme-tokens.ts +0 -41
- package/src/ui/theme.ts +0 -214
- package/src/utils/native-space-layout.ts +0 -135
package/dist/telemetry.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { syncTelemetryCorrelation, type DiagnosticObservation, type JourneyTelemetryContext, type RtcConnectionStateSnapshot, type RtcStatsLike, type SyncFrameObservation } from "@q9labsai/chalk-client/telemetry";
|
|
2
|
-
export interface TelemetryJourney {
|
|
3
|
-
readonly context: JourneyTelemetryContext;
|
|
4
|
-
readonly headers: Readonly<Record<string, string>>;
|
|
5
|
-
/** Internal native bridge; callers must not inspect or derive media credentials. */
|
|
6
|
-
readonly setAuthenticatedTelemetryHeaders?: (headers: Readonly<Record<string, string>> | undefined) => void;
|
|
7
|
-
recordDiagnostic(observation: DiagnosticObservation): unknown;
|
|
8
|
-
recordRtcSummary(connection: RtcConnectionStateSnapshot, stats: Iterable<RtcStatsLike>): unknown;
|
|
9
|
-
recordSyncFrame(observation: SyncFrameObservation): unknown;
|
|
10
|
-
}
|
|
11
|
-
export interface WhiteboardMetric {
|
|
12
|
-
readonly name: string;
|
|
13
|
-
readonly value: number;
|
|
14
|
-
readonly attributes?: Readonly<Record<string, string | number | boolean>>;
|
|
15
|
-
}
|
|
16
|
-
export interface ConnectionTelemetry {
|
|
17
|
-
readonly apiHeaders: Readonly<Record<string, string>>;
|
|
18
|
-
readonly context: JourneyTelemetryContext;
|
|
19
|
-
readonly syncCorrelation: ReturnType<typeof syncTelemetryCorrelation>;
|
|
20
|
-
}
|
|
21
|
-
export interface RtcPeerConnection {
|
|
22
|
-
readonly connectionState?: string;
|
|
23
|
-
readonly iceConnectionState?: string;
|
|
24
|
-
readonly signalingState?: string;
|
|
25
|
-
addEventListener(type: NativeRtcStateEvent, listener: () => void): void;
|
|
26
|
-
getStats(): Promise<unknown>;
|
|
27
|
-
removeEventListener(type: NativeRtcStateEvent, listener: () => void): void;
|
|
28
|
-
}
|
|
29
|
-
type NativeRtcStateEvent = "connectionstatechange" | "iceconnectionstatechange" | "signalingstatechange";
|
|
30
|
-
export interface Telemetry {
|
|
31
|
-
readonly connection: ConnectionTelemetry;
|
|
32
|
-
observePeerConnection(peerConnection: RtcPeerConnection): () => void;
|
|
33
|
-
recordSyncFrame(observation: SyncFrameObservation): void;
|
|
34
|
-
recordWhiteboardMetric(metric: WhiteboardMetric): void;
|
|
35
|
-
}
|
|
36
|
-
export interface NativeJourneyContext {
|
|
37
|
-
readonly journeyId: string;
|
|
38
|
-
readonly traceparent: string;
|
|
39
|
-
readonly tracestate?: string;
|
|
40
|
-
readonly recordWhiteboardMetric: (metric: WhiteboardMetric) => void;
|
|
41
|
-
}
|
|
42
|
-
type NativeTelemetryClient = {
|
|
43
|
-
readonly getSnapshot: () => {
|
|
44
|
-
readonly connection: {
|
|
45
|
-
readonly status: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
readonly subscribe: (listener: () => void) => () => void;
|
|
49
|
-
readonly dispose: () => void;
|
|
50
|
-
};
|
|
51
|
-
export declare function authenticatedNativeCredential(credential: () => Promise<string>, journey: TelemetryJourney | undefined): Promise<string>;
|
|
52
|
-
/** Binds authenticated-header cleanup to the private native client's terminal lifecycle. */
|
|
53
|
-
export declare function bindNativeAuthenticatedTelemetry(client: NativeTelemetryClient, journey: TelemetryJourney | undefined): void;
|
|
54
|
-
export declare function registerNativeJourneyContext(client: object, journey: TelemetryJourney | undefined, telemetry: Telemetry | undefined): void;
|
|
55
|
-
export declare function getNativeJourneyContext(client: object): NativeJourneyContext | undefined;
|
|
56
|
-
/** Connects a typed journey to native API, WebSocket, and WebRTC boundaries without collecting raw media or network data. */
|
|
57
|
-
export declare function createTelemetry(journey: TelemetryJourney): Telemetry;
|
|
58
|
-
export declare function syncTransportCloseDiagnostic(event: {
|
|
59
|
-
readonly code?: unknown;
|
|
60
|
-
readonly reason?: unknown;
|
|
61
|
-
}): DiagnosticObservation;
|
|
62
|
-
export {};
|
|
63
|
-
//# sourceMappingURL=telemetry.d.ts.map
|
package/dist/telemetry.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../src/telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,KAAK,qBAAqB,EAAE,KAAK,uBAAuB,EAAE,KAAK,0BAA0B,EAAE,KAAK,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAErN,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,OAAO,EAAE,uBAAuB,CAAC;IAC1C,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACnD,oFAAoF;IACpF,QAAQ,CAAC,gCAAgC,CAAC,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,KAAK,IAAI,CAAC;IAC5G,gBAAgB,CAAC,WAAW,EAAE,qBAAqB,GAAG,OAAO,CAAC;IAC9D,gBAAgB,CAAC,UAAU,EAAE,0BAA0B,EAAE,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC;IACjG,eAAe,CAAC,WAAW,EAAE,oBAAoB,GAAG,OAAO,CAAC;CAC7D;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB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
|
-
export interface NativeShadowToken {
|
|
2
|
-
readonly color: string;
|
|
3
|
-
readonly offset: Readonly<{
|
|
4
|
-
readonly width: number;
|
|
5
|
-
readonly height: number;
|
|
6
|
-
}>;
|
|
7
|
-
readonly opacity: number;
|
|
8
|
-
readonly radius: number;
|
|
9
|
-
readonly elevation: number;
|
|
10
|
-
}
|
|
11
|
-
export interface NativeAppearanceTokens {
|
|
12
|
-
readonly canvas: string;
|
|
13
|
-
readonly chrome: string;
|
|
14
|
-
readonly stage: string;
|
|
15
|
-
readonly panel: string;
|
|
16
|
-
readonly tileBase: string;
|
|
17
|
-
/** The participant-color wash strength, represented as a 0–1 fraction for native compositing. */
|
|
18
|
-
readonly tileColorStrength: number;
|
|
19
|
-
readonly text: string;
|
|
20
|
-
readonly textMuted: string;
|
|
21
|
-
readonly line: string;
|
|
22
|
-
readonly lineStrong: string;
|
|
23
|
-
readonly control: string;
|
|
24
|
-
readonly controlHover: string;
|
|
25
|
-
readonly controlGroup: string;
|
|
26
|
-
readonly controlPrimary: string;
|
|
27
|
-
readonly controlPrimaryHover: string;
|
|
28
|
-
readonly controlActive: string;
|
|
29
|
-
readonly controlActiveLine: string;
|
|
30
|
-
readonly controlActiveText: string;
|
|
31
|
-
readonly messageRemote: string;
|
|
32
|
-
readonly messageLocal: string;
|
|
33
|
-
readonly messageLocalText: string;
|
|
34
|
-
readonly input: string;
|
|
35
|
-
readonly shadows: Readonly<{
|
|
36
|
-
readonly xs: NativeShadowToken;
|
|
37
|
-
readonly sm: NativeShadowToken;
|
|
38
|
-
readonly control: NativeShadowToken;
|
|
39
|
-
}>;
|
|
40
|
-
}
|
|
41
|
-
export type NativeTextureKind = "none" | "paper-grain" | "slate";
|
|
42
|
-
export type NativeTextureBlendMode = "normal" | "soft-light" | "multiply";
|
|
43
|
-
/**
|
|
44
|
-
* A renderer-neutral description of the web texture recipes.
|
|
45
|
-
*
|
|
46
|
-
* React Native does not provide CSS filters or blend modes on every supported
|
|
47
|
-
* platform. Consumers can map these primitives to Views, images, or a native
|
|
48
|
-
* drawing surface without pulling a texture dependency into the SDK.
|
|
49
|
-
*/
|
|
50
|
-
export interface NativeTextureDescriptor {
|
|
51
|
-
readonly kind: NativeTextureKind;
|
|
52
|
-
readonly blendMode: NativeTextureBlendMode;
|
|
53
|
-
readonly opacity: number;
|
|
54
|
-
readonly tileSize: number | null;
|
|
55
|
-
readonly grain?: Readonly<{
|
|
56
|
-
readonly baseFrequency: number;
|
|
57
|
-
readonly octaves: number;
|
|
58
|
-
readonly opacity: number;
|
|
59
|
-
}>;
|
|
60
|
-
readonly lines?: Readonly<{
|
|
61
|
-
readonly angle: number;
|
|
62
|
-
readonly period: number;
|
|
63
|
-
readonly width: number;
|
|
64
|
-
readonly color: string;
|
|
65
|
-
readonly opacity: number;
|
|
66
|
-
}>;
|
|
67
|
-
}
|
|
68
|
-
export declare const THEME_PALETTES: readonly [{
|
|
69
|
-
readonly value: "light";
|
|
70
|
-
readonly label: "Chalk Light";
|
|
71
|
-
readonly family: "Chalk";
|
|
72
|
-
readonly mode: "light";
|
|
73
|
-
readonly swatch: readonly ["#f7f6f2", "#ffffff", "#202329"];
|
|
74
|
-
readonly tokens: NativeAppearanceTokens;
|
|
75
|
-
}, {
|
|
76
|
-
readonly value: "warm-porcelain";
|
|
77
|
-
readonly label: "Warm Porcelain";
|
|
78
|
-
readonly family: "Warm";
|
|
79
|
-
readonly mode: "light";
|
|
80
|
-
readonly swatch: readonly ["#f6f0e7", "#eadfd2", "#51443c"];
|
|
81
|
-
readonly tokens: NativeAppearanceTokens;
|
|
82
|
-
}, {
|
|
83
|
-
readonly value: "cool-mist";
|
|
84
|
-
readonly label: "Cool Mist";
|
|
85
|
-
readonly family: "Graphite";
|
|
86
|
-
readonly mode: "light";
|
|
87
|
-
readonly swatch: readonly ["#f2f6f8", "#dfe8ee", "#34414d"];
|
|
88
|
-
readonly tokens: NativeAppearanceTokens;
|
|
89
|
-
}, {
|
|
90
|
-
readonly value: "paper-and-ink";
|
|
91
|
-
readonly label: "Paper & Ink";
|
|
92
|
-
readonly family: "Ink";
|
|
93
|
-
readonly mode: "light";
|
|
94
|
-
readonly swatch: readonly ["#fafaf7", "#e8e8e2", "#15171a"];
|
|
95
|
-
readonly tokens: NativeAppearanceTokens;
|
|
96
|
-
}, {
|
|
97
|
-
readonly value: "cream-and-clay";
|
|
98
|
-
readonly label: "Cream & Clay";
|
|
99
|
-
readonly family: "Espresso";
|
|
100
|
-
readonly mode: "light";
|
|
101
|
-
readonly swatch: readonly ["#fbf2e7", "#e8c8b0", "#7a4329"];
|
|
102
|
-
readonly tokens: NativeAppearanceTokens;
|
|
103
|
-
}, {
|
|
104
|
-
readonly value: "studio-canvas";
|
|
105
|
-
readonly label: "Studio Canvas";
|
|
106
|
-
readonly family: "Atelier";
|
|
107
|
-
readonly mode: "light";
|
|
108
|
-
readonly swatch: readonly ["#f7f3e9", "#dce6d5", "#48594b"];
|
|
109
|
-
readonly tokens: NativeAppearanceTokens;
|
|
110
|
-
}, {
|
|
111
|
-
readonly value: "prism-daylight";
|
|
112
|
-
readonly label: "Prism Daylight";
|
|
113
|
-
readonly family: "Prism";
|
|
114
|
-
readonly mode: "light";
|
|
115
|
-
readonly swatch: readonly ["#faf9ff", "#e8ddfa", "#4c2e78"];
|
|
116
|
-
readonly tokens: NativeAppearanceTokens;
|
|
117
|
-
}, {
|
|
118
|
-
readonly value: "signal-white";
|
|
119
|
-
readonly label: "Signal White";
|
|
120
|
-
readonly family: "Signal";
|
|
121
|
-
readonly mode: "light";
|
|
122
|
-
readonly swatch: readonly ["#ffffff", "#ddecf9", "#0879d9"];
|
|
123
|
-
readonly tokens: NativeAppearanceTokens;
|
|
124
|
-
}, {
|
|
125
|
-
readonly value: "warm-charcoal";
|
|
126
|
-
readonly label: "Warm Charcoal";
|
|
127
|
-
readonly family: "Warm";
|
|
128
|
-
readonly mode: "dark";
|
|
129
|
-
readonly swatch: readonly ["#151513", "#292925", "#65b4d0"];
|
|
130
|
-
readonly tokens: NativeAppearanceTokens;
|
|
131
|
-
}, {
|
|
132
|
-
readonly value: "cool-graphite";
|
|
133
|
-
readonly label: "Cool Graphite";
|
|
134
|
-
readonly family: "Graphite";
|
|
135
|
-
readonly mode: "dark";
|
|
136
|
-
readonly swatch: readonly ["#101318", "#202632", "#55aac9"];
|
|
137
|
-
readonly tokens: NativeAppearanceTokens;
|
|
138
|
-
}, {
|
|
139
|
-
readonly value: "high-contrast-ink";
|
|
140
|
-
readonly label: "High-contrast Ink";
|
|
141
|
-
readonly family: "Ink";
|
|
142
|
-
readonly mode: "dark";
|
|
143
|
-
readonly swatch: readonly ["#0c0e12", "#242932", "#63b9d7"];
|
|
144
|
-
readonly tokens: NativeAppearanceTokens;
|
|
145
|
-
}, {
|
|
146
|
-
readonly value: "espresso-night";
|
|
147
|
-
readonly label: "Espresso Night";
|
|
148
|
-
readonly family: "Espresso";
|
|
149
|
-
readonly mode: "dark";
|
|
150
|
-
readonly swatch: readonly ["#15110f", "#2c211d", "#c98656"];
|
|
151
|
-
readonly tokens: NativeAppearanceTokens;
|
|
152
|
-
}, {
|
|
153
|
-
readonly value: "chalkboard-atelier";
|
|
154
|
-
readonly label: "Chalkboard Atelier";
|
|
155
|
-
readonly family: "Atelier";
|
|
156
|
-
readonly mode: "dark";
|
|
157
|
-
readonly swatch: readonly ["#0d1714", "#20332c", "#76bed1"];
|
|
158
|
-
readonly tokens: NativeAppearanceTokens;
|
|
159
|
-
}, {
|
|
160
|
-
readonly value: "prism-nocturne";
|
|
161
|
-
readonly label: "Prism Nocturne";
|
|
162
|
-
readonly family: "Prism";
|
|
163
|
-
readonly mode: "dark";
|
|
164
|
-
readonly swatch: readonly ["#100d17", "#231b30", "#9a63e6"];
|
|
165
|
-
readonly tokens: NativeAppearanceTokens;
|
|
166
|
-
}, {
|
|
167
|
-
readonly value: "cosmic-chalk";
|
|
168
|
-
readonly label: "Cosmic Chalk";
|
|
169
|
-
readonly family: "Cosmic";
|
|
170
|
-
readonly mode: "dark";
|
|
171
|
-
readonly swatch: readonly ["#080f20", "#10182b", "#8fdcff"];
|
|
172
|
-
readonly tokens: NativeAppearanceTokens;
|
|
173
|
-
}, {
|
|
174
|
-
readonly value: "oled-signal";
|
|
175
|
-
readonly label: "OLED Signal";
|
|
176
|
-
readonly family: "Signal";
|
|
177
|
-
readonly mode: "dark";
|
|
178
|
-
readonly swatch: readonly ["#000000", "#11151a", "#2f86ff"];
|
|
179
|
-
readonly tokens: NativeAppearanceTokens;
|
|
180
|
-
}];
|
|
181
|
-
export type ThemePalette = (typeof THEME_PALETTES)[number]["value"];
|
|
182
|
-
export type ThemeMode = (typeof THEME_PALETTES)[number]["mode"];
|
|
183
|
-
export declare const THEME_TEXTURES: readonly [{
|
|
184
|
-
readonly value: "none";
|
|
185
|
-
readonly label: "Clean";
|
|
186
|
-
readonly description: "Pure color with no material overlay.";
|
|
187
|
-
readonly descriptor: {
|
|
188
|
-
readonly kind: "none";
|
|
189
|
-
readonly blendMode: "normal";
|
|
190
|
-
readonly opacity: 0;
|
|
191
|
-
readonly tileSize: null;
|
|
192
|
-
};
|
|
193
|
-
}, {
|
|
194
|
-
readonly value: "paper";
|
|
195
|
-
readonly label: "Paper Grain";
|
|
196
|
-
readonly description: "A fine organic grain over the selected palette.";
|
|
197
|
-
readonly descriptor: {
|
|
198
|
-
readonly kind: "paper-grain";
|
|
199
|
-
readonly blendMode: "soft-light";
|
|
200
|
-
readonly opacity: 0.24;
|
|
201
|
-
readonly tileSize: 180;
|
|
202
|
-
readonly grain: {
|
|
203
|
-
readonly baseFrequency: 0.74;
|
|
204
|
-
readonly octaves: 4;
|
|
205
|
-
readonly opacity: 0.24;
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
}, {
|
|
209
|
-
readonly value: "slate";
|
|
210
|
-
readonly label: "Slate";
|
|
211
|
-
readonly description: "A subtle directional mineral texture.";
|
|
212
|
-
readonly descriptor: {
|
|
213
|
-
readonly kind: "slate";
|
|
214
|
-
readonly blendMode: "soft-light";
|
|
215
|
-
readonly opacity: 0.2;
|
|
216
|
-
readonly tileSize: 220;
|
|
217
|
-
readonly grain: {
|
|
218
|
-
readonly baseFrequency: 0.36;
|
|
219
|
-
readonly octaves: 5;
|
|
220
|
-
readonly opacity: 0.2;
|
|
221
|
-
};
|
|
222
|
-
readonly lines: {
|
|
223
|
-
readonly angle: 7;
|
|
224
|
-
readonly period: 19;
|
|
225
|
-
readonly width: 1;
|
|
226
|
-
readonly color: "#ffffff";
|
|
227
|
-
readonly opacity: 0.018;
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
}];
|
|
231
|
-
export type ThemeTexture = (typeof THEME_TEXTURES)[number]["value"];
|
|
232
|
-
export interface ThemeAppearance {
|
|
233
|
-
readonly palette: ThemePalette;
|
|
234
|
-
readonly texture: ThemeTexture;
|
|
235
|
-
}
|
|
236
|
-
export interface NativeAppearance {
|
|
237
|
-
readonly palette: ThemePalette;
|
|
238
|
-
readonly mode: ThemeMode;
|
|
239
|
-
readonly texture: ThemeTexture;
|
|
240
|
-
readonly tokens: NativeAppearanceTokens;
|
|
241
|
-
readonly textureDescriptor: NativeTextureDescriptor;
|
|
242
|
-
}
|
|
243
|
-
export declare function isDarkThemePalette(palette: ThemePalette): boolean;
|
|
244
|
-
export declare function getThemeMode(palette: ThemePalette): ThemeMode;
|
|
245
|
-
export declare function resolveNativeAppearance(appearance?: Partial<ThemeAppearance>): NativeAppearance;
|
|
246
|
-
//# sourceMappingURL=appearance.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appearance.d.ts","sourceRoot":"","sources":["../../src/ui/appearance.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC;QACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CA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,
|
|
11
|
-
getThemeMode,
|
|
12
|
-
isDarkThemePalette,
|
|
13
|
-
resolveNativeAppearance
|
|
14
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type PropsWithChildren } from "react";
|
|
2
|
-
import { type NativeAppearance, type ThemeAppearance, type ThemePalette, type ThemeTexture } from "./appearance";
|
|
3
|
-
interface NativeAppearanceContextValue {
|
|
4
|
-
readonly appearance: NativeAppearance;
|
|
5
|
-
readonly setPalette: (palette: ThemePalette) => void;
|
|
6
|
-
readonly setTexture: (texture: ThemeTexture) => void;
|
|
7
|
-
}
|
|
8
|
-
interface NativeAppearanceProviderProps extends PropsWithChildren {
|
|
9
|
-
readonly initialAppearance?: Partial<ThemeAppearance>;
|
|
10
|
-
}
|
|
11
|
-
export declare function NativeAppearanceProvider({ children, initialAppearance }: NativeAppearanceProviderProps): React.JSX.Element;
|
|
12
|
-
export declare function useNativeAppearance(): NativeAppearanceContextValue;
|
|
13
|
-
export declare function NativeTextureOverlay(): React.JSX.Element | null;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=native-appearance-context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"native-appearance-context.d.ts","sourceRoot":"","sources":["../../src/ui/native-appearance-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGrH,OAAO,EAA2B,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAE1I,UAAU,4BAA4B;IACpC,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IACrD,QAAQ,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;CACtD;AAID,UAAU,6BAA8B,SAAQ,iBAAiB;IAC/D,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACvD;AAED,wBAAgB,wBAAwB,CAAC,EAAE,QAAQ,EAAE,iBAAiB,EAAE,EAAE,6BAA6B,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA4B1H;AAED,wBAAgB,mBAAmB,IAAI,4BAA4B,CAIlE;AAED,wBAAgB,oBAAoB,IAAI,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAc/D"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
import type { NativeAppearance } from "./appearance";
|
|
3
|
-
import { type NativeColorScheme, type NativeTheme } from "./theme";
|
|
4
|
-
import { type ChalkThemeTokenValues } from "./theme-tokens";
|
|
5
|
-
export interface NativeThemeInput {
|
|
6
|
-
readonly colorScheme?: NativeColorScheme;
|
|
7
|
-
readonly accent?: string;
|
|
8
|
-
readonly tokens?: Partial<ChalkThemeTokenValues>;
|
|
9
|
-
}
|
|
10
|
-
export declare function resolveNativeTheme(input?: NativeThemeInput, appearance?: NativeAppearance): NativeTheme;
|
|
11
|
-
export declare function NativeThemeProvider({ appearance, children, theme }: {
|
|
12
|
-
readonly appearance?: NativeAppearance;
|
|
13
|
-
readonly children: ReactNode;
|
|
14
|
-
readonly theme?: NativeThemeInput;
|
|
15
|
-
}): React.JSX.Element;
|
|
16
|
-
export declare function useNativeTheme(): NativeTheme;
|
|
17
|
-
//# sourceMappingURL=native-theme.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"native-theme.d.ts","sourceRoot":"","sources":["../../src/ui/native-theme.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAA4B,KAAK,iBAAiB,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC7F,OAAO,EAAwD,KAAK,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAElH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,WAAW,CAAC,EAAE,iBAAiB,CAAC;IACzC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC;CAClD;AAID,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,gBAAgB,EAAE,UAAU,CAAC,EAAE,gBAAgB,GAAG,WAAW,CAYvG;AAED,wBAAgB,mBAAmB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE;IAAE,QAAQ,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,gBAAgB,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAGnM;AAED,wBAAgB,cAAc,IAAI,WAAW,CAE5C"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { ChatAttachment, ChatReadReceipt, Participant, Reaction } from "@q9labsai/chalk-client";
|
|
2
|
-
export type Layout = "grid" | "focus" | "presentation";
|
|
3
|
-
export type NativePanel = "chat" | "participants" | "whiteboard" | null;
|
|
4
|
-
export type ParticipantGradientPreference = "auto" | "subtle" | "vivid" | "mono";
|
|
5
|
-
export type NativeParticipant = Participant & {
|
|
6
|
-
readonly id: string;
|
|
7
|
-
readonly audioEnabled: boolean;
|
|
8
|
-
readonly videoEnabled: boolean;
|
|
9
|
-
readonly audioTrack: MediaStreamTrack | null;
|
|
10
|
-
readonly videoTrack: MediaStreamTrack | null;
|
|
11
|
-
readonly screenShareTrack: MediaStreamTrack | null;
|
|
12
|
-
};
|
|
13
|
-
export type NativeParticipantState = {
|
|
14
|
-
readonly participants: readonly NativeParticipant[];
|
|
15
|
-
readonly localParticipant: NativeParticipant | null;
|
|
16
|
-
readonly activeSpeaker: NativeParticipant | null;
|
|
17
|
-
readonly count: number;
|
|
18
|
-
};
|
|
19
|
-
export type NativeChatMessage = {
|
|
20
|
-
readonly id: string;
|
|
21
|
-
readonly sequence: string;
|
|
22
|
-
readonly senderId: string;
|
|
23
|
-
readonly senderName: string;
|
|
24
|
-
readonly text: string;
|
|
25
|
-
readonly content: string;
|
|
26
|
-
readonly attachments: readonly ChatAttachment[];
|
|
27
|
-
readonly readBy: readonly (ChatReadReceipt & {
|
|
28
|
-
readonly displayName: string;
|
|
29
|
-
})[];
|
|
30
|
-
readonly timestamp: number;
|
|
31
|
-
};
|
|
32
|
-
export type NativeReaction = {
|
|
33
|
-
readonly id: string;
|
|
34
|
-
readonly emoji: Reaction;
|
|
35
|
-
readonly participantId: string;
|
|
36
|
-
readonly participantName: string;
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=native-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"native-types.d.ts","sourceRoot":"","sources":["../../src/ui/native-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAErG,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,cAAc,CAAC;AACvD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,cAAc,GAAG,YAAY,GAAG,IAAI,CAAC;AACxE,MAAM,MAAM,6BAA6B,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAEjF,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG;IAC5C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,YAAY,EAAE,OAA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 +0,0 @@
|
|
|
1
|
-
import type { ParticipantGradientPreference } from "./native-types";
|
|
2
|
-
export interface ParticipantColor {
|
|
3
|
-
readonly primary: string;
|
|
4
|
-
readonly gradientEnd: string;
|
|
5
|
-
readonly surface: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const PARTICIPANT_AVATAR_PALETTE: readonly {
|
|
8
|
-
readonly primary: string;
|
|
9
|
-
readonly surface: string;
|
|
10
|
-
}[];
|
|
11
|
-
export declare function getParticipantInitials(name?: string): string;
|
|
12
|
-
export declare function getParticipantColor(seed?: string, _preference?: ParticipantGradientPreference): ParticipantColor;
|
|
13
|
-
export declare function getParticipantAvatarRecipe(seed?: string, preference?: ParticipantGradientPreference): {
|
|
14
|
-
colors: ParticipantColor;
|
|
15
|
-
gradientStops: {
|
|
16
|
-
color: string;
|
|
17
|
-
offset: string;
|
|
18
|
-
}[];
|
|
19
|
-
facehashColors: string[];
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=participant-avatar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"participant-avatar.d.ts","sourceRoot":"","sources":["../../src/ui/participant-avatar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAKpE,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,0BAA0B,EAAqE,SAAS;IAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,CAAC;AAE9K,wBAAgB,sBAAsB,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAI5D;AAED,wBAAgB,mBAAmB,CAAC,IAAI,SAAU,EAAE,WAAW,CAAC,EAAE,6BAA6B,GAAG,gBAAgB,CAOjH;AAED,wBAAgB,0BAA0B,CAAC,IAAI,SAAU,EAAE,UAAU,CAAC,EAAE,6BAA6B;;;;;;;EAUpG"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The one default token set shared by the public Chalk theme and native styles.
|
|
3
|
-
* Components consume semantic aliases from `Theme`, never raw color literals.
|
|
4
|
-
*/
|
|
5
|
-
export declare const DEFAULT_CHALK_THEME_TOKENS: {
|
|
6
|
-
readonly canvas: "#0a0a0b";
|
|
7
|
-
readonly chrome: "#141418";
|
|
8
|
-
readonly surface: "#141418";
|
|
9
|
-
readonly stage: "#101314";
|
|
10
|
-
readonly text: "#fbffff";
|
|
11
|
-
readonly mutedText: "#71717a";
|
|
12
|
-
readonly line: "#1c1c1f";
|
|
13
|
-
readonly accent: "#1bb6a6";
|
|
14
|
-
readonly accentText: "#ffffff";
|
|
15
|
-
readonly positive: "#22c55e";
|
|
16
|
-
readonly danger: "#ef4444";
|
|
17
|
-
readonly dangerSurface: "#7f1d1d";
|
|
18
|
-
readonly focus: "#1bb6a6";
|
|
19
|
-
readonly shadow: "#000000";
|
|
20
|
-
};
|
|
21
|
-
/** Light-mode defaults for the same public token contract. */
|
|
22
|
-
export declare const LIGHT_CHALK_THEME_TOKENS: ChalkThemeTokenValues;
|
|
23
|
-
export type ChalkThemeTokenName = keyof typeof DEFAULT_CHALK_THEME_TOKENS;
|
|
24
|
-
export type ChalkThemeTokenValues = Readonly<Record<ChalkThemeTokenName, string>>;
|
|
25
|
-
//# sourceMappingURL=theme-tokens.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme-tokens.d.ts","sourceRoot":"","sources":["../../src/ui/theme-tokens.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;CAe7B,CAAC;AAEX,8DAA8D;AAC9D,eAAO,MAAM,wBAAwB,EAAE,qBAetC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,0BAA0B,CAAC;AAC1E,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC,CAAC"}
|