@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/ui/theme.d.ts
DELETED
|
@@ -1,404 +0,0 @@
|
|
|
1
|
-
import { type ChalkThemeTokenValues } from "./theme-tokens";
|
|
2
|
-
export type NativeColorScheme = "dark" | "light";
|
|
3
|
-
export declare function createNativeTheme(themeTokens?: ChalkThemeTokenValues, colorScheme?: NativeColorScheme): {
|
|
4
|
-
colorScheme: NativeColorScheme;
|
|
5
|
-
colors: {
|
|
6
|
-
paper: string;
|
|
7
|
-
paper2: string;
|
|
8
|
-
surfaceMuted: string;
|
|
9
|
-
ink: string;
|
|
10
|
-
ink2: string;
|
|
11
|
-
ink3: string;
|
|
12
|
-
inkSecondary: string;
|
|
13
|
-
inkTertiary: string;
|
|
14
|
-
line: string;
|
|
15
|
-
lineStrong: string;
|
|
16
|
-
chalkGreen: string;
|
|
17
|
-
washGreen: string;
|
|
18
|
-
chalkYellow: string;
|
|
19
|
-
washYellow: string;
|
|
20
|
-
chalkBlue: string;
|
|
21
|
-
washBlue: string;
|
|
22
|
-
chalkPink: string;
|
|
23
|
-
washPink: string;
|
|
24
|
-
successBackground: string;
|
|
25
|
-
warningBackground: string;
|
|
26
|
-
information: string;
|
|
27
|
-
informationBackground: string;
|
|
28
|
-
dangerBackground: string;
|
|
29
|
-
background: string;
|
|
30
|
-
foreground: string;
|
|
31
|
-
card: string;
|
|
32
|
-
cardForeground: string;
|
|
33
|
-
surface: string;
|
|
34
|
-
popover: string;
|
|
35
|
-
popoverForeground: string;
|
|
36
|
-
primary: string;
|
|
37
|
-
primaryForeground: string;
|
|
38
|
-
secondary: string;
|
|
39
|
-
secondaryForeground: string;
|
|
40
|
-
muted: string;
|
|
41
|
-
mutedForeground: string;
|
|
42
|
-
accent: string;
|
|
43
|
-
accentForeground: string;
|
|
44
|
-
destructive: string;
|
|
45
|
-
destructiveForeground: string;
|
|
46
|
-
border: string;
|
|
47
|
-
input: string;
|
|
48
|
-
ring: string;
|
|
49
|
-
success: string;
|
|
50
|
-
danger: string;
|
|
51
|
-
error: string;
|
|
52
|
-
stageBackground: string;
|
|
53
|
-
stageAccent: string;
|
|
54
|
-
tileBackground: string;
|
|
55
|
-
controlsBackground: string;
|
|
56
|
-
glassSurface: string;
|
|
57
|
-
transparent: string;
|
|
58
|
-
onDark: string;
|
|
59
|
-
darkCanvas: string;
|
|
60
|
-
raisedSurface: string;
|
|
61
|
-
insetSurface: string;
|
|
62
|
-
elevatedSurface: string;
|
|
63
|
-
nearDarkSurface: string;
|
|
64
|
-
lightSurface: string;
|
|
65
|
-
lightText: string;
|
|
66
|
-
lightMutedText: string;
|
|
67
|
-
lightSubtleText: string;
|
|
68
|
-
info: string;
|
|
69
|
-
dangerStrong: string;
|
|
70
|
-
warning: string;
|
|
71
|
-
placeholder: string;
|
|
72
|
-
brandTeal: string;
|
|
73
|
-
brandCyan: string;
|
|
74
|
-
statusOffline: string;
|
|
75
|
-
speakingAccent: string;
|
|
76
|
-
whiteOverlay04: string;
|
|
77
|
-
whiteOverlay05: string;
|
|
78
|
-
whiteOverlay06: string;
|
|
79
|
-
whiteOverlay08: string;
|
|
80
|
-
whiteOverlay10: string;
|
|
81
|
-
whiteOverlay12: string;
|
|
82
|
-
whiteOverlay16: string;
|
|
83
|
-
whiteOverlay20: string;
|
|
84
|
-
whiteOverlay25: string;
|
|
85
|
-
whiteOverlay40: string;
|
|
86
|
-
whiteOverlay50: string;
|
|
87
|
-
whiteOverlay60: string;
|
|
88
|
-
whiteOverlay68: string;
|
|
89
|
-
whiteOverlay72: string;
|
|
90
|
-
darkOverlay16: string;
|
|
91
|
-
darkOverlay22: string;
|
|
92
|
-
darkOverlay30: string;
|
|
93
|
-
darkOverlay40: string;
|
|
94
|
-
darkOverlay45: string;
|
|
95
|
-
darkOverlay50: string;
|
|
96
|
-
darkOverlay55: string;
|
|
97
|
-
canvasOverlay85: string;
|
|
98
|
-
chromeOverlay82: string;
|
|
99
|
-
accentOverlay04: string;
|
|
100
|
-
dangerSurfaceOverlay94: string;
|
|
101
|
-
};
|
|
102
|
-
avatarPalettes: readonly [readonly ["#14b8a6", "#0f766e", "#99f6e4"], readonly ["#f59e0b", "#b45309", "#fde68a"], readonly ["#ec4899", "#be185d", "#fbcfe8"], readonly ["#8b5cf6", "#6d28d9", "#ddd6fe"], readonly ["#06b6d4", "#0e7490", "#cffafe"], readonly ["#22c55e", "#15803d", "#bbf7d0"]];
|
|
103
|
-
logo: {
|
|
104
|
-
arc: string;
|
|
105
|
-
mint: string;
|
|
106
|
-
mintDark: string;
|
|
107
|
-
gold: string;
|
|
108
|
-
goldDark: string;
|
|
109
|
-
sky: string;
|
|
110
|
-
skyDark: string;
|
|
111
|
-
coral: string;
|
|
112
|
-
coralDark: string;
|
|
113
|
-
};
|
|
114
|
-
radius: {
|
|
115
|
-
xs: number;
|
|
116
|
-
sm: number;
|
|
117
|
-
md: number;
|
|
118
|
-
lg: number;
|
|
119
|
-
xl: number;
|
|
120
|
-
"2xl": number;
|
|
121
|
-
full: number;
|
|
122
|
-
};
|
|
123
|
-
spacing: {
|
|
124
|
-
xs: number;
|
|
125
|
-
sm: number;
|
|
126
|
-
md: number;
|
|
127
|
-
lg: number;
|
|
128
|
-
xl: number;
|
|
129
|
-
"2xl": number;
|
|
130
|
-
"3xl": number;
|
|
131
|
-
"4xl": number;
|
|
132
|
-
"5xl": number;
|
|
133
|
-
"6xl": number;
|
|
134
|
-
};
|
|
135
|
-
typography: {
|
|
136
|
-
eyebrow: {
|
|
137
|
-
fontSize: number;
|
|
138
|
-
fontWeight: "700";
|
|
139
|
-
textTransform: "uppercase";
|
|
140
|
-
letterSpacing: number;
|
|
141
|
-
};
|
|
142
|
-
title: {
|
|
143
|
-
fontSize: number;
|
|
144
|
-
fontWeight: "800";
|
|
145
|
-
lineHeight: number;
|
|
146
|
-
};
|
|
147
|
-
heading: {
|
|
148
|
-
fontSize: number;
|
|
149
|
-
fontWeight: "700";
|
|
150
|
-
lineHeight: number;
|
|
151
|
-
};
|
|
152
|
-
subheading: {
|
|
153
|
-
fontSize: number;
|
|
154
|
-
fontWeight: "700";
|
|
155
|
-
lineHeight: number;
|
|
156
|
-
};
|
|
157
|
-
body: {
|
|
158
|
-
fontSize: number;
|
|
159
|
-
lineHeight: number;
|
|
160
|
-
};
|
|
161
|
-
label: {
|
|
162
|
-
fontSize: number;
|
|
163
|
-
fontWeight: "600";
|
|
164
|
-
};
|
|
165
|
-
meta: {
|
|
166
|
-
fontSize: number;
|
|
167
|
-
lineHeight: number;
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
shadows: {
|
|
171
|
-
sm: {
|
|
172
|
-
shadowColor: string;
|
|
173
|
-
shadowOffset: {
|
|
174
|
-
width: number;
|
|
175
|
-
height: number;
|
|
176
|
-
};
|
|
177
|
-
shadowOpacity: number;
|
|
178
|
-
shadowRadius: number;
|
|
179
|
-
elevation: number;
|
|
180
|
-
};
|
|
181
|
-
md: {
|
|
182
|
-
shadowColor: string;
|
|
183
|
-
shadowOffset: {
|
|
184
|
-
width: number;
|
|
185
|
-
height: number;
|
|
186
|
-
};
|
|
187
|
-
shadowOpacity: number;
|
|
188
|
-
shadowRadius: number;
|
|
189
|
-
elevation: number;
|
|
190
|
-
};
|
|
191
|
-
lg: {
|
|
192
|
-
shadowColor: string;
|
|
193
|
-
shadowOffset: {
|
|
194
|
-
width: number;
|
|
195
|
-
height: number;
|
|
196
|
-
};
|
|
197
|
-
shadowOpacity: number;
|
|
198
|
-
shadowRadius: number;
|
|
199
|
-
elevation: number;
|
|
200
|
-
};
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
export type NativeTheme = ReturnType<typeof createNativeTheme>;
|
|
204
|
-
export declare const Theme: {
|
|
205
|
-
colorScheme: NativeColorScheme;
|
|
206
|
-
colors: {
|
|
207
|
-
paper: string;
|
|
208
|
-
paper2: string;
|
|
209
|
-
surfaceMuted: string;
|
|
210
|
-
ink: string;
|
|
211
|
-
ink2: string;
|
|
212
|
-
ink3: string;
|
|
213
|
-
inkSecondary: string;
|
|
214
|
-
inkTertiary: string;
|
|
215
|
-
line: string;
|
|
216
|
-
lineStrong: string;
|
|
217
|
-
chalkGreen: string;
|
|
218
|
-
washGreen: string;
|
|
219
|
-
chalkYellow: string;
|
|
220
|
-
washYellow: string;
|
|
221
|
-
chalkBlue: string;
|
|
222
|
-
washBlue: string;
|
|
223
|
-
chalkPink: string;
|
|
224
|
-
washPink: string;
|
|
225
|
-
successBackground: string;
|
|
226
|
-
warningBackground: string;
|
|
227
|
-
information: string;
|
|
228
|
-
informationBackground: string;
|
|
229
|
-
dangerBackground: string;
|
|
230
|
-
background: string;
|
|
231
|
-
foreground: string;
|
|
232
|
-
card: string;
|
|
233
|
-
cardForeground: string;
|
|
234
|
-
surface: string;
|
|
235
|
-
popover: string;
|
|
236
|
-
popoverForeground: string;
|
|
237
|
-
primary: string;
|
|
238
|
-
primaryForeground: string;
|
|
239
|
-
secondary: string;
|
|
240
|
-
secondaryForeground: string;
|
|
241
|
-
muted: string;
|
|
242
|
-
mutedForeground: string;
|
|
243
|
-
accent: string;
|
|
244
|
-
accentForeground: string;
|
|
245
|
-
destructive: string;
|
|
246
|
-
destructiveForeground: string;
|
|
247
|
-
border: string;
|
|
248
|
-
input: string;
|
|
249
|
-
ring: string;
|
|
250
|
-
success: string;
|
|
251
|
-
danger: string;
|
|
252
|
-
error: string;
|
|
253
|
-
stageBackground: string;
|
|
254
|
-
stageAccent: string;
|
|
255
|
-
tileBackground: string;
|
|
256
|
-
controlsBackground: string;
|
|
257
|
-
glassSurface: string;
|
|
258
|
-
transparent: string;
|
|
259
|
-
onDark: string;
|
|
260
|
-
darkCanvas: string;
|
|
261
|
-
raisedSurface: string;
|
|
262
|
-
insetSurface: string;
|
|
263
|
-
elevatedSurface: string;
|
|
264
|
-
nearDarkSurface: string;
|
|
265
|
-
lightSurface: string;
|
|
266
|
-
lightText: string;
|
|
267
|
-
lightMutedText: string;
|
|
268
|
-
lightSubtleText: string;
|
|
269
|
-
info: string;
|
|
270
|
-
dangerStrong: string;
|
|
271
|
-
warning: string;
|
|
272
|
-
placeholder: string;
|
|
273
|
-
brandTeal: string;
|
|
274
|
-
brandCyan: string;
|
|
275
|
-
statusOffline: string;
|
|
276
|
-
speakingAccent: string;
|
|
277
|
-
whiteOverlay04: string;
|
|
278
|
-
whiteOverlay05: string;
|
|
279
|
-
whiteOverlay06: string;
|
|
280
|
-
whiteOverlay08: string;
|
|
281
|
-
whiteOverlay10: string;
|
|
282
|
-
whiteOverlay12: string;
|
|
283
|
-
whiteOverlay16: string;
|
|
284
|
-
whiteOverlay20: string;
|
|
285
|
-
whiteOverlay25: string;
|
|
286
|
-
whiteOverlay40: string;
|
|
287
|
-
whiteOverlay50: string;
|
|
288
|
-
whiteOverlay60: string;
|
|
289
|
-
whiteOverlay68: string;
|
|
290
|
-
whiteOverlay72: string;
|
|
291
|
-
darkOverlay16: string;
|
|
292
|
-
darkOverlay22: string;
|
|
293
|
-
darkOverlay30: string;
|
|
294
|
-
darkOverlay40: string;
|
|
295
|
-
darkOverlay45: string;
|
|
296
|
-
darkOverlay50: string;
|
|
297
|
-
darkOverlay55: string;
|
|
298
|
-
canvasOverlay85: string;
|
|
299
|
-
chromeOverlay82: string;
|
|
300
|
-
accentOverlay04: string;
|
|
301
|
-
dangerSurfaceOverlay94: string;
|
|
302
|
-
};
|
|
303
|
-
avatarPalettes: readonly [readonly ["#14b8a6", "#0f766e", "#99f6e4"], readonly ["#f59e0b", "#b45309", "#fde68a"], readonly ["#ec4899", "#be185d", "#fbcfe8"], readonly ["#8b5cf6", "#6d28d9", "#ddd6fe"], readonly ["#06b6d4", "#0e7490", "#cffafe"], readonly ["#22c55e", "#15803d", "#bbf7d0"]];
|
|
304
|
-
logo: {
|
|
305
|
-
arc: string;
|
|
306
|
-
mint: string;
|
|
307
|
-
mintDark: string;
|
|
308
|
-
gold: string;
|
|
309
|
-
goldDark: string;
|
|
310
|
-
sky: string;
|
|
311
|
-
skyDark: string;
|
|
312
|
-
coral: string;
|
|
313
|
-
coralDark: string;
|
|
314
|
-
};
|
|
315
|
-
radius: {
|
|
316
|
-
xs: number;
|
|
317
|
-
sm: number;
|
|
318
|
-
md: number;
|
|
319
|
-
lg: number;
|
|
320
|
-
xl: number;
|
|
321
|
-
"2xl": number;
|
|
322
|
-
full: number;
|
|
323
|
-
};
|
|
324
|
-
spacing: {
|
|
325
|
-
xs: number;
|
|
326
|
-
sm: number;
|
|
327
|
-
md: number;
|
|
328
|
-
lg: number;
|
|
329
|
-
xl: number;
|
|
330
|
-
"2xl": number;
|
|
331
|
-
"3xl": number;
|
|
332
|
-
"4xl": number;
|
|
333
|
-
"5xl": number;
|
|
334
|
-
"6xl": number;
|
|
335
|
-
};
|
|
336
|
-
typography: {
|
|
337
|
-
eyebrow: {
|
|
338
|
-
fontSize: number;
|
|
339
|
-
fontWeight: "700";
|
|
340
|
-
textTransform: "uppercase";
|
|
341
|
-
letterSpacing: number;
|
|
342
|
-
};
|
|
343
|
-
title: {
|
|
344
|
-
fontSize: number;
|
|
345
|
-
fontWeight: "800";
|
|
346
|
-
lineHeight: number;
|
|
347
|
-
};
|
|
348
|
-
heading: {
|
|
349
|
-
fontSize: number;
|
|
350
|
-
fontWeight: "700";
|
|
351
|
-
lineHeight: number;
|
|
352
|
-
};
|
|
353
|
-
subheading: {
|
|
354
|
-
fontSize: number;
|
|
355
|
-
fontWeight: "700";
|
|
356
|
-
lineHeight: number;
|
|
357
|
-
};
|
|
358
|
-
body: {
|
|
359
|
-
fontSize: number;
|
|
360
|
-
lineHeight: number;
|
|
361
|
-
};
|
|
362
|
-
label: {
|
|
363
|
-
fontSize: number;
|
|
364
|
-
fontWeight: "600";
|
|
365
|
-
};
|
|
366
|
-
meta: {
|
|
367
|
-
fontSize: number;
|
|
368
|
-
lineHeight: number;
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
shadows: {
|
|
372
|
-
sm: {
|
|
373
|
-
shadowColor: string;
|
|
374
|
-
shadowOffset: {
|
|
375
|
-
width: number;
|
|
376
|
-
height: number;
|
|
377
|
-
};
|
|
378
|
-
shadowOpacity: number;
|
|
379
|
-
shadowRadius: number;
|
|
380
|
-
elevation: number;
|
|
381
|
-
};
|
|
382
|
-
md: {
|
|
383
|
-
shadowColor: string;
|
|
384
|
-
shadowOffset: {
|
|
385
|
-
width: number;
|
|
386
|
-
height: number;
|
|
387
|
-
};
|
|
388
|
-
shadowOpacity: number;
|
|
389
|
-
shadowRadius: number;
|
|
390
|
-
elevation: number;
|
|
391
|
-
};
|
|
392
|
-
lg: {
|
|
393
|
-
shadowColor: string;
|
|
394
|
-
shadowOffset: {
|
|
395
|
-
width: number;
|
|
396
|
-
height: number;
|
|
397
|
-
};
|
|
398
|
-
shadowOpacity: number;
|
|
399
|
-
shadowRadius: number;
|
|
400
|
-
elevation: number;
|
|
401
|
-
};
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
|
-
//# sourceMappingURL=theme.d.ts.map
|
package/dist/ui/theme.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/ui/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAIxF,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,OAAO,CAAC;AAEjD,wBAAgB,iBAAiB,CAAC,WAAW,GAAE,qBAA8B,EAAE,WAAW,GAAE,iBAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2MrH;AAED,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE/D,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsB,CAAC"}
|
package/dist/ui/theme.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { NativeParticipantState } from "../ui/native-types";
|
|
2
|
-
type SpaceParticipant = NativeParticipantState["participants"][number];
|
|
3
|
-
export declare const NATIVE_COMPACT_VIEWPORT_MAX_WIDTH = 768;
|
|
4
|
-
export declare const NATIVE_COMPACT_GRID_PAGE_SIZE = 4;
|
|
5
|
-
export type SpacePrimaryContent = "grid" | "screen-share" | "screen-share-placeholder" | "whiteboard" | "split";
|
|
6
|
-
export interface NativeScreenShareStateLike {
|
|
7
|
-
isActive: boolean;
|
|
8
|
-
isLocalSharing: boolean;
|
|
9
|
-
sharerParticipantId: string | null;
|
|
10
|
-
videoTrack: MediaStreamTrack | null;
|
|
11
|
-
}
|
|
12
|
-
export interface ResolveNativeSpaceLayoutOptions {
|
|
13
|
-
participants: readonly SpaceParticipant[];
|
|
14
|
-
localParticipant: SpaceParticipant | null;
|
|
15
|
-
screenShare: NativeScreenShareStateLike;
|
|
16
|
-
isWhiteboardOpen: boolean;
|
|
17
|
-
isCompactViewport: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface ResolvedNativeSpaceLayout {
|
|
20
|
-
allParticipants: readonly SpaceParticipant[];
|
|
21
|
-
gridPages: readonly (readonly SpaceParticipant[])[];
|
|
22
|
-
primaryContent: SpacePrimaryContent;
|
|
23
|
-
isStageMode: boolean;
|
|
24
|
-
isSplit: boolean;
|
|
25
|
-
showScreenShare: boolean;
|
|
26
|
-
isCompactViewport: boolean;
|
|
27
|
-
screenSharer: SpaceParticipant | null;
|
|
28
|
-
screenShareTrack: MediaStreamTrack | null;
|
|
29
|
-
isLocalScreenShare: boolean;
|
|
30
|
-
}
|
|
31
|
-
export declare function isRenderableTrack(track: MediaStreamTrack | null | undefined): track is MediaStreamTrack;
|
|
32
|
-
export declare function normalizeStageParticipants(participants: readonly SpaceParticipant[], localParticipant: SpaceParticipant | null): SpaceParticipant[];
|
|
33
|
-
export declare function buildCompactParticipantPages(participants: readonly SpaceParticipant[], pageSize?: number): SpaceParticipant[][];
|
|
34
|
-
export declare function resolveScreenShareSource(participants: readonly SpaceParticipant[], localParticipant: SpaceParticipant | null, screenShare: NativeScreenShareStateLike): {
|
|
35
|
-
screenSharer: SpaceParticipant | null;
|
|
36
|
-
screenShareTrack: MediaStreamTrack | null;
|
|
37
|
-
isLocalScreenShare: boolean;
|
|
38
|
-
showScreenShare: boolean;
|
|
39
|
-
};
|
|
40
|
-
export declare function resolveNativeSpaceLayout({ participants, localParticipant, screenShare, isWhiteboardOpen, isCompactViewport }: ResolveNativeSpaceLayoutOptions): ResolvedNativeSpaceLayout;
|
|
41
|
-
export {};
|
|
42
|
-
//# sourceMappingURL=native-space-layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"native-space-layout.d.ts","sourceRoot":"","sources":["../../src/utils/native-space-layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,KAAK,gBAAgB,GAAG,sBAAsB,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvE,eAAO,MAAM,iCAAiC,MAAM,CAAC;AACrD,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,cAAc,GAAG,0BAA0B,GAAG,YAAY,GAAG,OAAO,CAAC;AAEhH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,UAAU,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACrC;AAED,MAAM,WAAW,+BAA+B;IAC9C,YAAY,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAC1C,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC1C,WAAW,EAAE,0BAA0B,CAAC;IACxC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,yBAAyB;IACxC,eAAe,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAC7C,SAAS,EAAE,SAAS,CAAC,SAAS,gBAAgB,EAAE,CAAC,EAAE,CAAC;IACpD,cAAc,EAAE,mBAAmB,CAAC;IACpC,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACtC,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC1C,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAMD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,IAAI,gBAAgB,CAOvG;AAED,wBAAgB,0BAA0B,CAAC,YAAY,EAAE,SAAS,gBAAgB,EAAE,EAAE,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,GAAG,gBAAgB,EAAE,CAmBnJ;AAED,wBAAgB,4BAA4B,CAAC,YAAY,EAAE,SAAS,gBAAgB,EAAE,EAAE,QAAQ,SAAgC,GAAG,gBAAgB,EAAE,EAAE,CAUtJ;AAED,wBAAgB,wBAAwB,CACtC,YAAY,EAAE,SAAS,gBAAgB,EAAE,EACzC,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,EACzC,WAAW,EAAE,0BAA0B,GACtC;IACD,YAAY,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACtC,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC1C,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;CAC1B,CAaA;AAED,wBAAgB,wBAAwB,CAAC,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,EAAE,+BAA+B,GAAG,yBAAyB,CA2BzL"}
|
package/src/android.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./index";
|