@stream-io/video-react-native-sdk 0.0.1-alpha.141
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +739 -0
- package/LICENSE +219 -0
- package/README.md +19 -0
- package/dist/__tests__/components/ActiveCall.test.d.ts +1 -0
- package/dist/__tests__/components/ActiveCall.test.js +89 -0
- package/dist/__tests__/components/ActiveCall.test.js.map +1 -0
- package/dist/__tests__/components/Avatar.test.d.ts +1 -0
- package/dist/__tests__/components/Avatar.test.js +34 -0
- package/dist/__tests__/components/Avatar.test.js.map +1 -0
- package/dist/__tests__/components/ParticipantView.test.d.ts +1 -0
- package/dist/__tests__/components/ParticipantView.test.js +66 -0
- package/dist/__tests__/components/ParticipantView.test.js.map +1 -0
- package/dist/__tests__/mocks/call.d.ts +2 -0
- package/dist/__tests__/mocks/call.js +21 -0
- package/dist/__tests__/mocks/call.js.map +1 -0
- package/dist/__tests__/mocks/client.d.ts +2 -0
- package/dist/__tests__/mocks/client.js +31 -0
- package/dist/__tests__/mocks/client.js.map +1 -0
- package/dist/__tests__/mocks/participant.d.ts +3 -0
- package/dist/__tests__/mocks/participant.js +25 -0
- package/dist/__tests__/mocks/participant.js.map +1 -0
- package/dist/__tests__/utils/RNTLTools.d.ts +15 -0
- package/dist/__tests__/utils/RNTLTools.js +54 -0
- package/dist/__tests__/utils/RNTLTools.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -0
- package/dist/jest-setup.d.ts +1 -0
- package/dist/jest-setup.js +34 -0
- package/dist/jest-setup.js.map +1 -0
- package/dist/src/components/ActiveCall.d.ts +18 -0
- package/dist/src/components/ActiveCall.js +117 -0
- package/dist/src/components/ActiveCall.js.map +1 -0
- package/dist/src/components/Avatar.d.ts +25 -0
- package/dist/src/components/Avatar.js +55 -0
- package/dist/src/components/Avatar.js.map +1 -0
- package/dist/src/components/CallControlsButton.d.ts +22 -0
- package/dist/src/components/CallControlsButton.js +43 -0
- package/dist/src/components/CallControlsButton.js.map +1 -0
- package/dist/src/components/CallControlsView.d.ts +9 -0
- package/dist/src/components/CallControlsView.js +95 -0
- package/dist/src/components/CallControlsView.js.map +1 -0
- package/dist/src/components/CallParticipantsBadge.d.ts +1 -0
- package/dist/src/components/CallParticipantsBadge.js +48 -0
- package/dist/src/components/CallParticipantsBadge.js.map +1 -0
- package/dist/src/components/CallParticipantsInfoView.d.ts +21 -0
- package/dist/src/components/CallParticipantsInfoView.js +213 -0
- package/dist/src/components/CallParticipantsInfoView.js.map +1 -0
- package/dist/src/components/CallParticipantsList.d.ts +25 -0
- package/dist/src/components/CallParticipantsList.js +124 -0
- package/dist/src/components/CallParticipantsList.js.map +1 -0
- package/dist/src/components/CallParticipantsOptions.d.ts +8 -0
- package/dist/src/components/CallParticipantsOptions.js +189 -0
- package/dist/src/components/CallParticipantsOptions.js.map +1 -0
- package/dist/src/components/CallParticipantsSpotlightView.d.ts +1 -0
- package/dist/src/components/CallParticipantsSpotlightView.js +40 -0
- package/dist/src/components/CallParticipantsSpotlightView.js.map +1 -0
- package/dist/src/components/CallParticipantsView.d.ts +1 -0
- package/dist/src/components/CallParticipantsView.js +31 -0
- package/dist/src/components/CallParticipantsView.js.map +1 -0
- package/dist/src/components/IncomingCallView.d.ts +1 -0
- package/dist/src/components/IncomingCallView.js +98 -0
- package/dist/src/components/IncomingCallView.js.map +1 -0
- package/dist/src/components/LobbyView.d.ts +1 -0
- package/dist/src/components/LobbyView.js +215 -0
- package/dist/src/components/LobbyView.js.map +1 -0
- package/dist/src/components/LocalVideoView.d.ts +34 -0
- package/dist/src/components/LocalVideoView.js +100 -0
- package/dist/src/components/LocalVideoView.js.map +1 -0
- package/dist/src/components/NetworkQualityIndicator.d.ts +8 -0
- package/dist/src/components/NetworkQualityIndicator.js +36 -0
- package/dist/src/components/NetworkQualityIndicator.js.map +1 -0
- package/dist/src/components/OutgoingCallView.d.ts +1 -0
- package/dist/src/components/OutgoingCallView.js +103 -0
- package/dist/src/components/OutgoingCallView.js.map +1 -0
- package/dist/src/components/ParticipantReaction.d.ts +7 -0
- package/dist/src/components/ParticipantReaction.js +45 -0
- package/dist/src/components/ParticipantReaction.js.map +1 -0
- package/dist/src/components/ParticipantView.d.ts +42 -0
- package/dist/src/components/ParticipantView.js +256 -0
- package/dist/src/components/ParticipantView.js.map +1 -0
- package/dist/src/components/ReactionsModal.d.ts +7 -0
- package/dist/src/components/ReactionsModal.js +65 -0
- package/dist/src/components/ReactionsModal.js.map +1 -0
- package/dist/src/components/ToggleAudioButton.d.ts +1 -0
- package/dist/src/components/ToggleAudioButton.js +78 -0
- package/dist/src/components/ToggleAudioButton.js.map +1 -0
- package/dist/src/components/ToggleVideoButton.d.ts +1 -0
- package/dist/src/components/ToggleVideoButton.js +78 -0
- package/dist/src/components/ToggleVideoButton.js.map +1 -0
- package/dist/src/components/UserInfoView.d.ts +13 -0
- package/dist/src/components/UserInfoView.js +82 -0
- package/dist/src/components/UserInfoView.js.map +1 -0
- package/dist/src/components/VideoRenderer.d.ts +65 -0
- package/dist/src/components/VideoRenderer.js +18 -0
- package/dist/src/components/VideoRenderer.js.map +1 -0
- package/dist/src/components/index.d.ts +12 -0
- package/dist/src/components/index.js +29 -0
- package/dist/src/components/index.js.map +1 -0
- package/dist/src/constants/A11yLabels.d.ts +20 -0
- package/dist/src/constants/A11yLabels.js +29 -0
- package/dist/src/constants/A11yLabels.js.map +1 -0
- package/dist/src/constants/index.d.ts +11 -0
- package/dist/src/constants/index.js +30 -0
- package/dist/src/constants/index.js.map +1 -0
- package/dist/src/contexts/StreamVideoContext/createStoreContext.d.ts +14 -0
- package/dist/src/contexts/StreamVideoContext/createStoreContext.js +100 -0
- package/dist/src/contexts/StreamVideoContext/createStoreContext.js.map +1 -0
- package/dist/src/contexts/StreamVideoContext/index.d.ts +30 -0
- package/dist/src/contexts/StreamVideoContext/index.js +18 -0
- package/dist/src/contexts/StreamVideoContext/index.js.map +1 -0
- package/dist/src/contexts/index.d.ts +1 -0
- package/dist/src/contexts/index.js +18 -0
- package/dist/src/contexts/index.js.map +1 -0
- package/dist/src/hooks/index.d.ts +10 -0
- package/dist/src/hooks/index.js +27 -0
- package/dist/src/hooks/index.js.map +1 -0
- package/dist/src/hooks/useCallControls.d.ts +14 -0
- package/dist/src/hooks/useCallControls.js +148 -0
- package/dist/src/hooks/useCallControls.js.map +1 -0
- package/dist/src/hooks/useCallCycleEffect.d.ts +8 -0
- package/dist/src/hooks/useCallCycleEffect.js +62 -0
- package/dist/src/hooks/useCallCycleEffect.js.map +1 -0
- package/dist/src/hooks/useCallKeep.d.ts +11 -0
- package/dist/src/hooks/useCallKeep.js +41 -0
- package/dist/src/hooks/useCallKeep.js.map +1 -0
- package/dist/src/hooks/useCreateStreamVideoClient.d.ts +33 -0
- package/dist/src/hooks/useCreateStreamVideoClient.js +40 -0
- package/dist/src/hooks/useCreateStreamVideoClient.js.map +1 -0
- package/dist/src/hooks/useIncallManager.d.ts +13 -0
- package/dist/src/hooks/useIncallManager.js +24 -0
- package/dist/src/hooks/useIncallManager.js.map +1 -0
- package/dist/src/hooks/useLocalVideoStream.d.ts +7 -0
- package/dist/src/hooks/useLocalVideoStream.js +34 -0
- package/dist/src/hooks/useLocalVideoStream.js.map +1 -0
- package/dist/src/hooks/useMutingState.d.ts +12 -0
- package/dist/src/hooks/useMutingState.js +25 -0
- package/dist/src/hooks/useMutingState.js.map +1 -0
- package/dist/src/hooks/usePermissionNotification.d.ts +18 -0
- package/dist/src/hooks/usePermissionNotification.js +33 -0
- package/dist/src/hooks/usePermissionNotification.js.map +1 -0
- package/dist/src/hooks/usePermissionRequest.d.ts +1 -0
- package/dist/src/hooks/usePermissionRequest.js +62 -0
- package/dist/src/hooks/usePermissionRequest.js.map +1 -0
- package/dist/src/hooks/usePublishMediaStreams.d.ts +6 -0
- package/dist/src/hooks/usePublishMediaStreams.js +49 -0
- package/dist/src/hooks/usePublishMediaStreams.js.map +1 -0
- package/dist/src/icons/ArrowRight.d.ts +5 -0
- package/dist/src/icons/ArrowRight.js +9 -0
- package/dist/src/icons/ArrowRight.js.map +1 -0
- package/dist/src/icons/CameraSwitch.d.ts +5 -0
- package/dist/src/icons/CameraSwitch.js +9 -0
- package/dist/src/icons/CameraSwitch.js.map +1 -0
- package/dist/src/icons/Chat.d.ts +5 -0
- package/dist/src/icons/Chat.js +9 -0
- package/dist/src/icons/Chat.js.map +1 -0
- package/dist/src/icons/Cross.d.ts +5 -0
- package/dist/src/icons/Cross.js +9 -0
- package/dist/src/icons/Cross.js.map +1 -0
- package/dist/src/icons/Mic.d.ts +5 -0
- package/dist/src/icons/Mic.js +10 -0
- package/dist/src/icons/Mic.js.map +1 -0
- package/dist/src/icons/MicOff.d.ts +5 -0
- package/dist/src/icons/MicOff.js +9 -0
- package/dist/src/icons/MicOff.js.map +1 -0
- package/dist/src/icons/Participants.d.ts +5 -0
- package/dist/src/icons/Participants.js +9 -0
- package/dist/src/icons/Participants.js.map +1 -0
- package/dist/src/icons/Phone.d.ts +5 -0
- package/dist/src/icons/Phone.js +9 -0
- package/dist/src/icons/Phone.js.map +1 -0
- package/dist/src/icons/PhoneDown.d.ts +5 -0
- package/dist/src/icons/PhoneDown.js +10 -0
- package/dist/src/icons/PhoneDown.js.map +1 -0
- package/dist/src/icons/Pin.d.ts +5 -0
- package/dist/src/icons/Pin.js +9 -0
- package/dist/src/icons/Pin.js.map +1 -0
- package/dist/src/icons/Reaction.d.ts +5 -0
- package/dist/src/icons/Reaction.js +9 -0
- package/dist/src/icons/Reaction.js.map +1 -0
- package/dist/src/icons/ScreenShare.d.ts +5 -0
- package/dist/src/icons/ScreenShare.js +40 -0
- package/dist/src/icons/ScreenShare.js.map +1 -0
- package/dist/src/icons/Settings.d.ts +5 -0
- package/dist/src/icons/Settings.js +34 -0
- package/dist/src/icons/Settings.js.map +1 -0
- package/dist/src/icons/Spotlight.d.ts +5 -0
- package/dist/src/icons/Spotlight.js +9 -0
- package/dist/src/icons/Spotlight.js.map +1 -0
- package/dist/src/icons/ThreeDots.d.ts +5 -0
- package/dist/src/icons/ThreeDots.js +11 -0
- package/dist/src/icons/ThreeDots.js.map +1 -0
- package/dist/src/icons/Video.d.ts +5 -0
- package/dist/src/icons/Video.js +9 -0
- package/dist/src/icons/Video.js.map +1 -0
- package/dist/src/icons/VideoDisabled.d.ts +5 -0
- package/dist/src/icons/VideoDisabled.js +10 -0
- package/dist/src/icons/VideoDisabled.js.map +1 -0
- package/dist/src/icons/VideoOff.d.ts +5 -0
- package/dist/src/icons/VideoOff.js +10 -0
- package/dist/src/icons/VideoOff.js.map +1 -0
- package/dist/src/icons/VideoSlash.d.ts +5 -0
- package/dist/src/icons/VideoSlash.js +10 -0
- package/dist/src/icons/VideoSlash.js.map +1 -0
- package/dist/src/icons/index.d.ts +19 -0
- package/dist/src/icons/index.js +36 -0
- package/dist/src/icons/index.js.map +1 -0
- package/dist/src/providers/MediaDevices.d.ts +9 -0
- package/dist/src/providers/MediaDevices.js +43 -0
- package/dist/src/providers/MediaDevices.js.map +1 -0
- package/dist/src/providers/StreamCall.d.ts +81 -0
- package/dist/src/providers/StreamCall.js +74 -0
- package/dist/src/providers/StreamCall.js.map +1 -0
- package/dist/src/providers/StreamVideo.d.ts +10 -0
- package/dist/src/providers/StreamVideo.js +66 -0
- package/dist/src/providers/StreamVideo.js.map +1 -0
- package/dist/src/providers/index.d.ts +2 -0
- package/dist/src/providers/index.js +19 -0
- package/dist/src/providers/index.js.map +1 -0
- package/dist/src/theme/avatar.d.ts +2 -0
- package/dist/src/theme/avatar.js +11 -0
- package/dist/src/theme/avatar.js.map +1 -0
- package/dist/src/theme/button.d.ts +2 -0
- package/dist/src/theme/button.js +11 -0
- package/dist/src/theme/button.js.map +1 -0
- package/dist/src/theme/colors.d.ts +3 -0
- package/dist/src/theme/colors.js +49 -0
- package/dist/src/theme/colors.js.map +1 -0
- package/dist/src/theme/constants.d.ts +47 -0
- package/dist/src/theme/constants.js +54 -0
- package/dist/src/theme/constants.js.map +1 -0
- package/dist/src/theme/fonts.d.ts +2 -0
- package/dist/src/theme/fonts.js +67 -0
- package/dist/src/theme/fonts.js.map +1 -0
- package/dist/src/theme/icon.d.ts +2 -0
- package/dist/src/theme/icon.js +11 -0
- package/dist/src/theme/icon.js.map +1 -0
- package/dist/src/theme/index.d.ts +2 -0
- package/dist/src/theme/index.js +26 -0
- package/dist/src/theme/index.js.map +1 -0
- package/dist/src/theme/margin.d.ts +2 -0
- package/dist/src/theme/margin.js +11 -0
- package/dist/src/theme/margin.js.map +1 -0
- package/dist/src/theme/padding.d.ts +2 -0
- package/dist/src/theme/padding.js +11 -0
- package/dist/src/theme/padding.js.map +1 -0
- package/dist/src/theme/rounded.d.ts +2 -0
- package/dist/src/theme/rounded.js +11 -0
- package/dist/src/theme/rounded.js.map +1 -0
- package/dist/src/theme/spacing.d.ts +2 -0
- package/dist/src/theme/spacing.js +11 -0
- package/dist/src/theme/spacing.js.map +1 -0
- package/dist/src/theme/types.d.ts +45 -0
- package/dist/src/theme/types.js +3 -0
- package/dist/src/theme/types.js.map +1 -0
- package/dist/src/utils/StreamVideoRN.d.ts +25 -0
- package/dist/src/utils/StreamVideoRN.js +23 -0
- package/dist/src/utils/StreamVideoRN.js.map +1 -0
- package/dist/src/utils/hooks/index.d.ts +3 -0
- package/dist/src/utils/hooks/index.js +20 -0
- package/dist/src/utils/hooks/index.js.map +1 -0
- package/dist/src/utils/hooks/useAppStateListener.d.ts +1 -0
- package/dist/src/utils/hooks/useAppStateListener.js +41 -0
- package/dist/src/utils/hooks/useAppStateListener.js.map +1 -0
- package/dist/src/utils/hooks/useDebouncedValue.d.ts +7 -0
- package/dist/src/utils/hooks/useDebouncedValue.js +22 -0
- package/dist/src/utils/hooks/useDebouncedValue.js.map +1 -0
- package/dist/src/utils/hooks/usePrevious.d.ts +1 -0
- package/dist/src/utils/hooks/usePrevious.js +13 -0
- package/dist/src/utils/hooks/usePrevious.js.map +1 -0
- package/dist/src/utils/index.d.ts +5 -0
- package/dist/src/utils/index.js +53 -0
- package/dist/src/utils/index.js.map +1 -0
- package/dist/src/utils/verifyAndroidBluetoothPermissions.d.ts +1 -0
- package/dist/src/utils/verifyAndroidBluetoothPermissions.js +30 -0
- package/dist/src/utils/verifyAndroidBluetoothPermissions.js.map +1 -0
- package/index.ts +22 -0
- package/package.json +70 -0
- package/src/components/ActiveCall.tsx +122 -0
- package/src/components/Avatar.tsx +88 -0
- package/src/components/CallControlsButton.tsx +72 -0
- package/src/components/CallControlsView.tsx +128 -0
- package/src/components/CallParticipantsBadge.tsx +57 -0
- package/src/components/CallParticipantsInfoView.tsx +287 -0
- package/src/components/CallParticipantsList.tsx +172 -0
- package/src/components/CallParticipantsOptions.tsx +248 -0
- package/src/components/CallParticipantsSpotlightView.tsx +53 -0
- package/src/components/CallParticipantsView.tsx +30 -0
- package/src/components/IncomingCallView.tsx +133 -0
- package/src/components/LobbyView.tsx +236 -0
- package/src/components/LocalVideoView.tsx +141 -0
- package/src/components/NetworkQualityIndicator.tsx +72 -0
- package/src/components/OutgoingCallView.tsx +133 -0
- package/src/components/ParticipantReaction.tsx +59 -0
- package/src/components/ParticipantView.tsx +315 -0
- package/src/components/ReactionsModal.tsx +90 -0
- package/src/components/ToggleAudioButton.tsx +103 -0
- package/src/components/ToggleVideoButton.tsx +103 -0
- package/src/components/UserInfoView.tsx +118 -0
- package/src/components/VideoRenderer.tsx +85 -0
- package/src/components/index.ts +12 -0
- package/src/constants/A11yLabels.ts +24 -0
- package/src/constants/index.ts +28 -0
- package/src/contexts/StreamVideoContext/createStoreContext.tsx +117 -0
- package/src/contexts/StreamVideoContext/index.tsx +37 -0
- package/src/contexts/index.ts +1 -0
- package/src/hooks/index.ts +10 -0
- package/src/hooks/useCallControls.tsx +186 -0
- package/src/hooks/useCallCycleEffect.tsx +68 -0
- package/src/hooks/useCallKeep.tsx +51 -0
- package/src/hooks/useCreateStreamVideoClient.tsx +77 -0
- package/src/hooks/useIncallManager.tsx +23 -0
- package/src/hooks/useLocalVideoStream.ts +36 -0
- package/src/hooks/useMutingState.ts +24 -0
- package/src/hooks/usePermissionNotification.tsx +53 -0
- package/src/hooks/usePermissionRequest.tsx +67 -0
- package/src/hooks/usePublishMediaStreams.ts +59 -0
- package/src/icons/ArrowRight.tsx +16 -0
- package/src/icons/CameraSwitch.tsx +14 -0
- package/src/icons/Chat.tsx +14 -0
- package/src/icons/Cross.tsx +14 -0
- package/src/icons/Mic.tsx +18 -0
- package/src/icons/MicOff.tsx +14 -0
- package/src/icons/Participants.tsx +16 -0
- package/src/icons/Phone.tsx +14 -0
- package/src/icons/PhoneDown.tsx +15 -0
- package/src/icons/Pin.tsx +16 -0
- package/src/icons/Reaction.tsx +14 -0
- package/src/icons/ScreenShare.tsx +32 -0
- package/src/icons/Settings.tsx +13 -0
- package/src/icons/Spotlight.tsx +16 -0
- package/src/icons/ThreeDots.tsx +13 -0
- package/src/icons/Video.tsx +14 -0
- package/src/icons/VideoDisabled.tsx +22 -0
- package/src/icons/VideoOff.tsx +20 -0
- package/src/icons/VideoSlash.tsx +15 -0
- package/src/icons/index.tsx +19 -0
- package/src/providers/MediaDevices.tsx +45 -0
- package/src/providers/StreamCall.tsx +136 -0
- package/src/providers/StreamVideo.tsx +50 -0
- package/src/providers/index.ts +2 -0
- package/src/theme/avatar.ts +9 -0
- package/src/theme/button.ts +9 -0
- package/src/theme/colors.ts +49 -0
- package/src/theme/constants.ts +51 -0
- package/src/theme/fonts.ts +65 -0
- package/src/theme/icon.ts +9 -0
- package/src/theme/index.ts +25 -0
- package/src/theme/margin.ts +9 -0
- package/src/theme/padding.ts +9 -0
- package/src/theme/rounded.ts +9 -0
- package/src/theme/spacing.ts +9 -0
- package/src/theme/types.ts +64 -0
- package/src/utils/StreamVideoRN.ts +35 -0
- package/src/utils/hooks/index.ts +3 -0
- package/src/utils/hooks/useAppStateListener.ts +48 -0
- package/src/utils/hooks/useDebouncedValue.ts +21 -0
- package/src/utils/hooks/usePrevious.ts +11 -0
- package/src/utils/index.ts +45 -0
- package/src/utils/verifyAndroidBluetoothPermissions.ts +31 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const Chat = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 21 20">
|
|
9
|
+
<Path
|
|
10
|
+
d="M 17.1887 0.353516 H 2.37385 C 1.35534 0.353516 0.522003 1.18685 0.522003 2.20537 V 18.872 L 4.22571 15.1683 H 17.1887 C 18.2072 15.1683 19.0405 14.335 19.0405 13.3165 V 2.20537 C 19.0405 1.18685 18.2072 0.353516 17.1887 0.353516 Z M 17.1887 13.3165 H 4.22571 L 2.37385 15.1683 V 2.20537 H 17.1887 V 13.3165 Z"
|
|
11
|
+
fill={color}
|
|
12
|
+
/>
|
|
13
|
+
</Svg>
|
|
14
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const Cross = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 12 13">
|
|
9
|
+
<Path
|
|
10
|
+
d="M 0.322153 11.8408 C 0.700083 12.2188 1.34168 12.21 1.71083 11.8408 L 5.99989 7.56055 L 10.2802 11.8408 C 10.6493 12.21 11.2909 12.2188 11.6688 11.8408 C 12.0468 11.4629 12.038 10.8213 11.6688 10.4521 L 7.38856 6.16309 L 11.6688 1.88281 C 12.038 1.51367 12.0468 0.87207 11.6688 0.494141 C 11.2909 0.116211 10.6493 0.125 10.2802 0.494141 L 5.99989 4.77441 L 1.71083 0.485352 C 1.34168 0.125 0.700083 0.116211 0.322153 0.494141 C -0.0557764 0.87207 -0.0469874 1.51367 0.322153 1.88281 L 4.60243 6.16309 L 0.322153 10.4521 C -0.0469874 10.8213 -0.0557764 11.4629 0.322153 11.8408 Z"
|
|
11
|
+
fill={color}
|
|
12
|
+
/>
|
|
13
|
+
</Svg>
|
|
14
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const Mic = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 22 28">
|
|
9
|
+
<Path
|
|
10
|
+
d="M11 17.6c2.459 0 4.444-1.923 4.444-4.305V4.683C15.444 2.301 13.46.378 11 .378 8.54.378 6.555 2.3 6.555 4.683v8.612c0 2.382 1.986 4.305 4.445 4.305Z"
|
|
11
|
+
fill={color}
|
|
12
|
+
/>
|
|
13
|
+
<Path
|
|
14
|
+
d="M18.407 13.295c0 3.96-3.318 7.176-7.407 7.176-4.09 0-7.408-3.215-7.408-7.176H.63c0 5.066 3.867 9.228 8.89 9.931v4.42h2.962v-4.42c5.022-.703 8.89-4.865 8.89-9.931h-2.964Z"
|
|
15
|
+
fill={color}
|
|
16
|
+
/>
|
|
17
|
+
</Svg>
|
|
18
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const MicOff = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 21 25">
|
|
9
|
+
<Path
|
|
10
|
+
d="M9.99986 0.241211C7.89048 0.241211 6.37263 1.70794 6.16057 3.87469V4.23026L13.9061 11.9417C13.9284 11.8639 13.9284 11.775 13.9284 11.6861V4.39693C13.9284 1.93017 12.2655 0.241211 9.99986 0.241211ZM18.6159 21.0976C18.9731 21.442 19.5423 21.442 19.8771 21.0976C20.2119 20.742 20.2231 20.1864 19.8771 19.842L1.98647 2.05239C1.64049 1.70794 1.07129 1.69682 0.725307 2.05239C0.379325 2.38574 0.379325 2.96354 0.725307 3.29689L18.6159 21.0976ZM1.46191 12.0861C1.46191 16.6863 4.54227 19.8309 8.96191 20.2531V22.5088H4.86593C4.27441 22.5088 3.78334 22.9754 3.78334 23.5644C3.78334 24.1422 4.27441 24.6199 4.86593 24.6199H15.1338C15.7253 24.6199 16.2164 24.1422 16.2164 23.5644C16.2164 22.9754 15.7253 22.5088 15.1338 22.5088H11.0378V20.2531C12.3883 20.1198 13.6048 19.742 14.6427 19.1308L13.1137 17.5975C12.2208 18.0419 11.1717 18.2864 9.99986 18.2864C6.19406 18.2864 3.61593 15.7974 3.61593 12.0083V9.89715C3.61593 9.30823 3.12486 8.85266 2.53334 8.85266C1.94182 8.85266 1.46191 9.30823 1.46191 9.89715V12.0861ZM16.049 14.0751L17.7566 15.764C18.2588 14.6973 18.5266 13.4528 18.5266 12.0861V9.89715C18.5266 9.30823 18.0467 8.85266 17.4552 8.85266C16.8637 8.85266 16.3838 9.30823 16.3838 9.89715V12.0083C16.3838 12.7639 16.2722 13.4528 16.049 14.0751ZM9.99986 15.9863C10.4463 15.9863 10.8816 15.9085 11.2722 15.764L6.04897 10.575V11.8306C6.04897 14.2973 7.73423 15.9863 9.99986 15.9863Z"
|
|
11
|
+
fill={color}
|
|
12
|
+
/>
|
|
13
|
+
</Svg>
|
|
14
|
+
);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const Participants = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 23 20">
|
|
9
|
+
<Path
|
|
10
|
+
clipRule="evenodd"
|
|
11
|
+
d="M 11 8 C 13.2091 8 15 6.20914 15 4 C 15 1.79086 13.2091 0 11 0 C 8.79086 0 7 1.79086 7 4 C 7 6.20914 8.79086 8 11 8 Z M 5.5 1 C 3.567 1 2 2.567 2 4.5 C 2 6.433 3.567 8 5.5 8 C 6.05228 8 6.5 7.55228 6.5 7 C 6.5 6.44772 6.05228 6 5.5 6 C 4.67157 6 4 5.32843 4 4.5 C 4 3.67157 4.67157 3 5.5 3 C 6.05228 3 6.5 2.55228 6.5 2 C 6.5 1.44772 6.05228 1 5.5 1 Z M 4 16 C 4 12.134 7.13401 9 11 9 C 14.866 9 18 12.134 18 16 C 18 16.397 17.9669 16.7869 17.903 17.1671 C 17.6021 18.9581 13 19.5 11 19.5 C 9 19.5 4.41865 19.0753 4.09763 17.1708 C 4.03335 16.7894 4 16.3982 4 16 Z M 3.85402 10.7725 C 4.28304 10.4247 4.34889 9.79494 4.0011 9.36592 C 3.6533 8.9369 3.02357 8.87105 2.59455 9.21884 C 1.01345 10.5006 0 12.4618 0 14.659 C 0 15.0572 0.0333547 15.4484 0.0976325 15.8297 C 0.18943 16.3743 0.705335 16.7414 1.24994 16.6496 C 1.79454 16.5578 2.16161 16.0419 2.06981 15.4973 C 2.02397 15.2253 2 14.9453 2 14.659 C 2 13.0903 2.72123 11.6908 3.85402 10.7725 Z M 20.5 4.5 C 20.5 2.567 18.933 1 17 1 C 16.4477 1 16 1.44772 16 2 C 16 2.55228 16.4477 3 17 3 C 17.8284 3 18.5 3.67157 18.5 4.5 C 18.5 5.32843 17.8284 6 17 6 C 16.4477 6 16 6.44772 16 7 C 16 7.55228 16.4477 8 17 8 C 18.933 8 20.5 6.433 20.5 4.5 Z M 18.3703 10.7725 C 17.9413 10.4247 17.8755 9.79494 18.2233 9.36592 C 18.5711 8.9369 19.2008 8.87105 19.6298 9.21884 C 21.2109 10.5006 22.2244 12.4618 22.2244 14.659 C 22.2244 15.0572 22.191 15.4484 22.1267 15.8297 C 22.0349 16.3743 21.519 16.7414 20.9744 16.6496 C 20.4298 16.5578 20.0628 16.0419 20.1546 15.4973 C 20.2004 15.2253 20.2244 14.9453 20.2244 14.659 C 20.2244 13.0903 19.5031 11.6908 18.3703 10.7725 Z"
|
|
12
|
+
fill={color}
|
|
13
|
+
fillRule="evenodd"
|
|
14
|
+
/>
|
|
15
|
+
</Svg>
|
|
16
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const Phone = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 34 33">
|
|
9
|
+
<Path
|
|
10
|
+
d="M9.779 24.114c5 5.017 11.085 8.881 16.052 8.881 2.22 0 4.17-.78 5.73-2.508.914-1.017 1.474-2.187 1.474-3.356 0-.899-.356-1.78-1.22-2.39l-5.204-3.695c-.83-.577-1.509-.848-2.12-.848-.796 0-1.508.44-2.287 1.22l-1.22 1.22a.982.982 0 0 1-.662.272c-.271 0-.525-.102-.695-.203-1.068-.577-2.898-2.136-4.593-3.831-1.695-1.695-3.272-3.509-3.831-4.594a1.454 1.454 0 0 1-.187-.695.95.95 0 0 1 .255-.644l1.22-1.237c.763-.797 1.22-1.492 1.22-2.288 0-.628-.27-1.306-.847-2.12L9.186 2.147C8.559 1.265 7.677.892 6.71.892c-1.153 0-2.305.508-3.305 1.474C1.71 3.96.965 5.943.965 8.13c0 4.967 3.814 10.984 8.814 15.985Z"
|
|
11
|
+
fill={color}
|
|
12
|
+
/>
|
|
13
|
+
</Svg>
|
|
14
|
+
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Path, Svg } from 'react-native-svg';
|
|
2
|
+
import { A11yIcons } from '../constants/A11yLabels';
|
|
3
|
+
|
|
4
|
+
type Props = {
|
|
5
|
+
color: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const PhoneDown = ({ color }: Props) => (
|
|
9
|
+
<Svg viewBox="0 0 42 17" accessibilityLabel={A11yIcons.HANG_UP_CALL}>
|
|
10
|
+
<Path
|
|
11
|
+
d="M20.983.96C13.406.977 6.372 2.536 2.863 6.045 1.287 7.621.473 9.537.575 11.876c.068 1.373.508 2.576 1.322 3.407.644.627 1.526 1 2.56.83l6.305-1.067c.983-.153 1.661-.458 2.102-.899.56-.559.729-1.373.729-2.474l.017-1.746c0-.272.118-.475.27-.644.187-.204.442-.306.645-.34 1.17-.27 3.56-.542 6.475-.542 2.899 0 5.289.204 6.458.543.187.05.44.152.627.339.153.17.255.372.271.627l.017 1.763c.017 1.101.187 1.915.746 2.474.441.441 1.119.746 2.102.899l6.238 1.05c1.068.187 1.966-.203 2.644-.88.814-.78 1.271-1.984 1.305-3.374.068-2.322-.813-4.238-2.373-5.797C35.527 2.536 28.577.96 20.983.96Z"
|
|
12
|
+
fill={color}
|
|
13
|
+
/>
|
|
14
|
+
</Svg>
|
|
15
|
+
);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const Pin = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 24 24">
|
|
9
|
+
<Path
|
|
10
|
+
fill={color}
|
|
11
|
+
fillRule="evenodd"
|
|
12
|
+
clipRule="evenodd"
|
|
13
|
+
d="M 16.041 0.293372 C 15.7956 0.0479219 15.4405 -0.0529382 15.1027 0.0268118 C 14.7649 0.106562 14.4924 0.355552 14.3826 0.684852 L 13.7492 2.58516 L 8.0804 8.25401 C 5.69213 7.71299 2.39999 9.68517 0.293348 11.7918 C -0.0977825 12.1829 -0.0977825 12.8171 0.293348 13.2082 L 4.8344 17.7493 L 1.70985 20.8738 C 1.31872 21.265 1.31872 21.8991 1.70985 22.2902 C 2.10098 22.6814 2.73513 22.6814 3.12626 22.2902 L 6.2508 19.1657 L 10.7918 23.7067 C 11.1829 24.0978 11.8171 24.0978 12.2082 23.7067 C 14.3148 21.6 16.287 18.3079 15.746 15.9196 L 21.4148 10.2508 L 23.3151 9.61735 C 23.6444 9.50758 23.8934 9.23514 23.9732 8.89731 C 24.0529 8.55948 23.9521 8.20444 23.7066 7.95899 L 16.041 0.293372 Z M 15.5748 3.4429 L 15.7705 2.85567 L 21.1443 8.2295 L 20.5571 8.42525 C 20.4096 8.47441 20.2756 8.55725 20.1656 8.6672 L 13.9164 14.9164 C 13.6481 15.1847 13.5545 15.5814 13.6744 15.9413 C 14.1518 17.3733 12.8573 19.8847 11.4693 21.5514 L 2.44861 12.5307 C 4.11529 11.1427 6.62666 9.84822 8.0587 10.3256 C 8.4186 10.4455 8.8153 10.3519 9.0836 10.0836 L 15.3328 3.83438 C 15.4427 3.72444 15.5256 3.59041 15.5748 3.4429 Z"
|
|
14
|
+
/>
|
|
15
|
+
</Svg>
|
|
16
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const Reaction = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 22 20">
|
|
9
|
+
<Path
|
|
10
|
+
fill={color}
|
|
11
|
+
d="M 5.50033 8.16667 C 5.50033 7.40583 6.11449 6.79167 6.87533 6.79167 C 7.63616 6.79167 8.25033 7.40583 8.25033 8.16667 C 8.25033 8.9275 7.63616 9.54167 6.87533 9.54167 C 6.11449 9.54167 5.50033 8.9275 5.50033 8.16667 Z M 10.0837 15.5 C 12.2195 15.5 14.0345 14.1617 14.7678 12.2917 H 5.39949 C 6.13283 14.1617 7.94783 15.5 10.0837 15.5 Z M 13.292 9.54167 C 14.0528 9.54167 14.667 8.9275 14.667 8.16667 C 14.667 7.40583 14.0528 6.79167 13.292 6.79167 C 12.5312 6.79167 11.917 7.40583 11.917 8.16667 C 11.917 8.9275 12.5312 9.54167 13.292 9.54167 Z M 19.2503 0.375 H 17.417 V 2.20833 H 15.5837 V 4.04167 H 17.417 V 5.875 H 19.2503 V 4.04167 H 21.0837 V 2.20833 H 19.2503 V 0.375 Z M 17.417 10.4583 C 17.417 14.51 14.1353 17.7917 10.0837 17.7917 C 6.03199 17.7917 2.75033 14.51 2.75033 10.4583 C 2.75033 6.40667 6.03199 3.125 10.0837 3.125 C 11.422 3.125 12.6687 3.49167 13.7503 4.115 V 2.06167 C 12.6228 1.56667 11.3853 1.29167 10.0745 1.29167 C 5.01449 1.29167 0.916992 5.39833 0.916992 10.4583 C 0.916992 15.5183 5.01449 19.625 10.0745 19.625 C 15.1437 19.625 19.2503 15.5183 19.2503 10.4583 C 19.2503 9.49583 19.0945 8.57917 18.8195 7.70833 H 16.867 C 17.2153 8.56083 17.417 9.48667 17.417 10.4583 Z"
|
|
12
|
+
/>
|
|
13
|
+
</Svg>
|
|
14
|
+
);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import Svg, { Mask, Path } from 'react-native-svg';
|
|
2
|
+
import { A11yIcons } from '../constants/A11yLabels';
|
|
3
|
+
|
|
4
|
+
type Props = {
|
|
5
|
+
color: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const ScreenShare = ({ color }: Props) => {
|
|
9
|
+
return (
|
|
10
|
+
<Svg viewBox="0 0 24 24" accessibilityLabel={A11yIcons.SCREEN_SHARE}>
|
|
11
|
+
<Mask id="path-1-inside-1_1396_84816">
|
|
12
|
+
<Path
|
|
13
|
+
fillRule="evenodd"
|
|
14
|
+
clipRule="evenodd"
|
|
15
|
+
d="M 2 6.68176 C 2 5.57719 2.89543 4.68176 4 4.68176 H 20 C 21.1046 4.68176 22 5.57719 22 6.68176 V 16.3181 C 22 17.4227 21.1046 18.3181 20 18.3181 H 4 C 2.89543 18.3181 2 17.4227 2 16.3181 V 6.68176 Z M 10.4209 11.5243 L 8.3635 11.5 L 11.9999 7.25755 L 15.6362 11.5 L 13.5065 11.5247 V 15.7424 L 10.4209 15.7424 V 11.5243 Z"
|
|
16
|
+
/>
|
|
17
|
+
</Mask>
|
|
18
|
+
|
|
19
|
+
<Path
|
|
20
|
+
fill={color}
|
|
21
|
+
fillRule="evenodd"
|
|
22
|
+
clipRule="evenodd"
|
|
23
|
+
d="M 2 6.68176 C 2 5.57719 2.89543 4.68176 4 4.68176 H 20 C 21.1046 4.68176 22 5.57719 22 6.68176 V 16.3181 C 22 17.4227 21.1046 18.3181 20 18.3181 H 4 C 2.89543 18.3181 2 17.4227 2 16.3181 V 6.68176 Z M 10.4209 11.5243 L 8.3635 11.5 L 11.9999 7.25755 L 15.6362 11.5 L 13.5065 11.5247 V 15.7424 L 10.4209 15.7424 V 11.5243 Z"
|
|
24
|
+
/>
|
|
25
|
+
<Path
|
|
26
|
+
mask="url(#path-1-inside-1_1396_84816)"
|
|
27
|
+
fill={color}
|
|
28
|
+
d="M 8.3635 11.5 L 6.84499 10.1984 L 4.05865 13.4491 L 8.33982 13.4998 L 8.3635 11.5 Z M 10.4209 11.5243 H 12.4209 V 9.54789 L 10.4446 9.52449 L 10.4209 11.5243 Z M 11.9999 7.25755 L 13.5184 5.95597 L 11.9999 4.18437 L 10.4814 5.95597 L 11.9999 7.25755 Z M 15.6362 11.5 L 15.6594 13.4998 L 19.9419 13.4501 L 17.1547 10.1984 L 15.6362 11.5 Z M 13.5065 11.5247 L 13.4833 9.52483 L 11.5065 9.54778 V 11.5247 H 13.5065 Z M 13.5065 15.7424 L 13.5065 17.7424 L 15.5065 17.7424 V 15.7424 H 13.5065 Z M 10.4209 15.7424 H 8.42094 V 17.7424 H 10.4209 L 10.4209 15.7424 Z M 4 2.68176 C 1.79086 2.68176 0 4.47263 0 6.68176 H 4 V 6.68176 V 2.68176 Z M 20 2.68176 H 4 V 6.68176 H 20 V 2.68176 Z M 24 6.68176 C 24 4.47262 22.2091 2.68176 20 2.68176 V 6.68176 H 24 Z M 24 16.3181 V 6.68176 H 20 V 16.3181 H 24 Z M 20 20.3181 C 22.2091 20.3181 24 18.5273 24 16.3181 H 20 V 16.3181 V 20.3181 Z M 4 20.3181 H 20 V 16.3181 H 4 V 20.3181 Z M 0 16.3181 C 0 18.5273 1.79086 20.3181 4 20.3181 V 16.3181 H 4 H 0 Z M 0 6.68176 V 16.3181 H 4 V 6.68176 H 0 Z M 8.33982 13.4998 L 10.3973 13.5242 L 10.4446 9.52449 L 8.38719 9.50012 L 8.33982 13.4998 Z M 10.4814 5.95597 L 6.84499 10.1984 L 9.88202 12.8016 L 13.5184 8.55913 L 10.4814 5.95597 Z M 17.1547 10.1984 L 13.5184 5.95597 L 10.4814 8.55913 L 14.1177 12.8016 L 17.1547 10.1984 Z M 13.5297 13.5246 L 15.6594 13.4998 L 15.613 9.50011 L 13.4833 9.52483 L 13.5297 13.5246 Z M 11.5065 11.5247 V 15.7424 H 15.5065 V 11.5247 H 11.5065 Z M 13.5065 13.7424 L 10.4209 13.7424 L 10.4209 17.7424 L 13.5065 17.7424 L 13.5065 13.7424 Z M 12.4209 15.7424 V 11.5243 H 8.42094 V 15.7424 H 12.4209 Z"
|
|
29
|
+
/>
|
|
30
|
+
</Svg>
|
|
31
|
+
);
|
|
32
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const Settings = ({ color }: Props) => {
|
|
8
|
+
return (
|
|
9
|
+
<Svg viewBox="0 0 24 24" fill={color}>
|
|
10
|
+
<Path d="M3.34 17a10.017 10.017 0 01-.978-2.326 3 3 0 00.002-5.347A9.99 9.99 0 014.865 4.99a3 3 0 004.631-2.674 9.99 9.99 0 015.007.002 3 3 0 004.632 2.672A9.99 9.99 0 0120.66 7c.433.749.757 1.53.978 2.326a3 3 0 00-.002 5.347 9.991 9.991 0 01-2.5 4.337 3 3 0 00-4.632 2.674 9.99 9.99 0 01-5.007-.002 3 3 0 00-4.632-2.672A10.02 10.02 0 013.34 17zm5.66.196a4.993 4.993 0 012.25 2.77c.5.047 1 .048 1.5 0a4.993 4.993 0 012.25-2.77 4.993 4.993 0 013.525-.564c.29-.408.54-.843.748-1.298A4.993 4.993 0 0118 12c0-1.26.47-2.437 1.273-3.334-.21-.455-.46-.89-.75-1.298A4.993 4.993 0 0115 6.804a4.992 4.992 0 01-2.25-2.77c-.499-.047-1-.048-1.499-.001a4.993 4.993 0 01-2.25 2.77 4.993 4.993 0 01-3.526.565 7.99 7.99 0 00-.748 1.298A4.993 4.993 0 016 12a4.99 4.99 0 01-1.273 3.334c.21.455.46.89.75 1.298A4.993 4.993 0 019 17.196zM12 15a3 3 0 110-6 3 3 0 010 6zm0-2a1 1 0 100-2 1 1 0 000 2z" />
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
|
13
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const SpotLight = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 24 24">
|
|
9
|
+
<Path
|
|
10
|
+
fill={color}
|
|
11
|
+
fillRule="evenodd"
|
|
12
|
+
clipRule="evenodd"
|
|
13
|
+
d="M 12 22 C 17.5228 22 22 17.5228 22 12 C 22 6.47715 17.5228 2 12 2 C 6.47715 2 2 6.47715 2 12 C 2 17.5228 6.47715 22 12 22 Z M 12 24 C 18.6274 24 24 18.6274 24 12 C 24 5.37258 18.6274 0 12 0 C 5.37258 0 0 5.37258 0 12 C 0 18.6274 5.37258 24 12 24 Z"
|
|
14
|
+
/>
|
|
15
|
+
</Svg>
|
|
16
|
+
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Svg, Circle } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const ThreeDots = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 24 24">
|
|
9
|
+
<Circle cx="3.5" cy="12" r="2.5" fill={color} />
|
|
10
|
+
<Circle cx="12" cy="12" r="2.5" fill={color} />
|
|
11
|
+
<Circle cx="20.5" cy="12" r="2.5" fill={color} />
|
|
12
|
+
</Svg>
|
|
13
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const Video = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 29 19">
|
|
9
|
+
<Path
|
|
10
|
+
d="M4.725 18.635h11.741c2.411 0 3.795-1.35 3.795-3.717V3.958c0-2.366-1.295-3.716-3.705-3.716H4.726C2.403.242.93 1.592.93 3.958v11.038c0 2.355 1.395 3.639 3.794 3.639Zm17.177-5.603 3.817 3.281c.457.402.948.659 1.417.659.904 0 1.518-.648 1.518-1.63V3.59c0-.982-.614-1.63-1.518-1.63-.48 0-.96.257-1.417.659L21.902 5.9v7.132Z"
|
|
11
|
+
fill={color}
|
|
12
|
+
/>
|
|
13
|
+
</Svg>
|
|
14
|
+
);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const VideoDisabled = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 24 24">
|
|
9
|
+
<Path
|
|
10
|
+
d="M 22.1126 16.2238 L 19.1546 13.6686 V 8.37994 L 22.1126 5.82471 L 22.1127 5.82476 L 22.1205 5.81781 C 22.4413 5.53481 22.6269 5.49515 22.686 5.49515 C 22.8267 5.49515 22.8809 5.53948 22.9048 5.56519 C 22.9344 5.59687 23 5.69295 23 5.91262 V 16.1359 C 23 16.3556 22.9344 16.4517 22.9048 16.4833 C 22.8809 16.5091 22.8267 16.5534 22.686 16.5534 C 22.634 16.5534 22.4383 16.5111 22.1205 16.2307 L 22.1206 16.2307 L 22.1126 16.2238 Z M 13.4493 18 H 3.28502 C 2.41817 18 1.87542 17.7686 1.55341 17.4618 C 1.23884 17.162 1 16.6616 1 15.835 V 6.23301 C 1 5.4144 1.24841 4.88792 1.58386 4.5637 C 1.92432 4.23463 2.47262 4 3.28502 4 H 13.5266 C 14.3853 4 14.898 4.23821 15.1995 4.54532 C 15.5041 4.85542 15.7343 5.37926 15.7343 6.23301 V 15.767 C 15.7343 16.6029 15.4949 17.126 15.1733 17.4423 C 14.8492 17.7609 14.3088 18 13.4493 18 Z"
|
|
11
|
+
fill={'none'}
|
|
12
|
+
stroke={color}
|
|
13
|
+
strokeWidth={2}
|
|
14
|
+
/>
|
|
15
|
+
<Path
|
|
16
|
+
d="M 5.79311 7.27924 C 5.38794 6.90692 4.73102 6.90692 4.32585 7.27924 C 3.92068 7.65156 3.92068 8.25521 4.32585 8.62753 L 6.90766 11 L 4.32586 13.3725 C 3.92069 13.7448 3.92069 14.3484 4.32586 14.7208 C 4.73103 15.0931 5.38795 15.0931 5.79312 14.7208 L 8.37492 12.3483 L 10.9567 14.7208 C 11.3619 15.0931 12.0188 15.0931 12.424 14.7208 C 12.8291 14.3484 12.8291 13.7448 12.424 13.3725 L 9.84217 11 L 12.424 8.62754 C 12.8291 8.25521 12.8291 7.65156 12.424 7.27924 C 12.0188 6.90692 11.3619 6.90692 10.9567 7.27924 L 8.37492 9.65171 L 5.79311 7.27924 Z"
|
|
17
|
+
fill={color}
|
|
18
|
+
fillRule="evenodd"
|
|
19
|
+
clipRule="evenodd"
|
|
20
|
+
/>
|
|
21
|
+
</Svg>
|
|
22
|
+
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const VideoOff = ({ color }: Props) => (
|
|
8
|
+
<Svg viewBox="0 0 24 24" fill={color}>
|
|
9
|
+
<Path
|
|
10
|
+
fill={color}
|
|
11
|
+
d="M 22.1126 16.2238 L 19.1546 13.6686 V 8.37994 L 22.1126 5.82471 L 22.1127 5.82476 L 22.1205 5.81781 C 22.4413 5.53481 22.6269 5.49515 22.686 5.49515 C 22.8267 5.49515 22.8809 5.53948 22.9048 5.56519 C 22.9344 5.59687 23 5.69295 23 5.91262 V 16.1359 C 23 16.3556 22.9344 16.4517 22.9048 16.4833 C 22.8809 16.5091 22.8267 16.5534 22.686 16.5534 C 22.634 16.5534 22.4383 16.5111 22.1205 16.2307 L 22.1206 16.2307 L 22.1126 16.2238 Z M 13.4493 18 H 3.28502 C 2.41817 18 1.87542 17.7686 1.55341 17.4618 C 1.23884 17.162 1 16.6616 1 15.835 V 6.23301 C 1 5.4144 1.24841 4.88792 1.58386 4.5637 C 1.92432 4.23463 2.47262 4 3.28502 4 H 13.5266 C 14.3853 4 14.898 4.23821 15.1995 4.54532 C 15.5041 4.85542 15.7343 5.37926 15.7343 6.23301 V 15.767 C 15.7343 16.6029 15.4949 17.126 15.1733 17.4423 C 14.8492 17.7609 14.3088 18 13.4493 18 Z"
|
|
12
|
+
/>
|
|
13
|
+
<Path
|
|
14
|
+
fill={color}
|
|
15
|
+
fillRule="evenodd"
|
|
16
|
+
clipRule="evenodd"
|
|
17
|
+
d="M 5.79311 7.27924 C 5.38794 6.90692 4.73102 6.90692 4.32585 7.27924 C 3.92068 7.65156 3.92068 8.25521 4.32585 8.62753 L 6.90766 11 L 4.32586 13.3725 C 3.92069 13.7448 3.92069 14.3484 4.32586 14.7208 C 4.73103 15.0931 5.38795 15.0931 5.79312 14.7208 L 8.37492 12.3483 L 10.9567 14.7208 C 11.3619 15.0931 12.0188 15.0931 12.424 14.7208 C 12.8291 14.3484 12.8291 13.7448 12.424 13.3725 L 9.84217 11 L 12.424 8.62754 C 12.8291 8.25521 12.8291 7.65156 12.424 7.27924 C 12.0188 6.90692 11.3619 6.90692 10.9567 7.27924 L 8.37492 9.65171 L 5.79311 7.27924 Z"
|
|
18
|
+
/>
|
|
19
|
+
</Svg>
|
|
20
|
+
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Svg, Path } from 'react-native-svg';
|
|
2
|
+
import { A11yIcons } from '../../src/constants/A11yLabels';
|
|
3
|
+
|
|
4
|
+
type Props = {
|
|
5
|
+
color: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const VideoSlash = ({ color }: Props) => (
|
|
9
|
+
<Svg viewBox="0 0 30 25" accessibilityLabel={A11yIcons.MUTED_VIDEO}>
|
|
10
|
+
<Path
|
|
11
|
+
d="M22.4886 24.1679C22.8345 24.5139 23.4037 24.5139 23.7497 24.1679C24.0845 23.8219 24.0957 23.2639 23.7497 22.9067L1.81892 0.998256C1.4841 0.652274 0.903739 0.652274 0.557757 0.998256C0.222935 1.34424 0.222935 1.9246 0.557757 2.25942L22.4886 24.1679ZM17.5555 3.35317H6.14927L21.1604 18.3643C21.2274 18.0407 21.2609 17.6166 21.2609 17.2259V7.06968C21.2609 4.70361 19.9662 3.35317 17.5555 3.35317ZM22.9015 16.1433L26.7073 19.4246C27.1761 19.8264 27.656 20.0831 28.1359 20.0831C29.0399 20.0831 29.6537 19.4358 29.6537 18.4536V6.70138C29.6537 5.71924 29.0399 5.07192 28.1359 5.07192C27.656 5.07192 27.1761 5.32861 26.7073 5.7304L22.9015 9.01165V16.1433ZM5.72517 21.746H18.0801L2.13142 5.79736C2.00865 6.10986 1.94169 6.61209 1.94169 7.10317V18.0853C1.94169 20.4402 3.31445 21.746 5.72517 21.746Z"
|
|
12
|
+
fill={color}
|
|
13
|
+
/>
|
|
14
|
+
</Svg>
|
|
15
|
+
);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './CameraSwitch';
|
|
2
|
+
export * from './Mic';
|
|
3
|
+
export * from './MicOff';
|
|
4
|
+
export * from './Phone';
|
|
5
|
+
export * from './PhoneDown';
|
|
6
|
+
export * from './Settings';
|
|
7
|
+
export * from './Video';
|
|
8
|
+
export * from './VideoSlash';
|
|
9
|
+
export * from './Chat';
|
|
10
|
+
export * from './Participants';
|
|
11
|
+
export * from './ThreeDots';
|
|
12
|
+
export * from './Pin';
|
|
13
|
+
export * from './Spotlight';
|
|
14
|
+
export * from './VideoOff';
|
|
15
|
+
export * from './Cross';
|
|
16
|
+
export * from './ScreenShare';
|
|
17
|
+
export * from './ArrowRight';
|
|
18
|
+
export * from './Reaction';
|
|
19
|
+
export * from './VideoDisabled';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React, { useEffect, useRef } from 'react';
|
|
2
|
+
import { getAudioDevices, getVideoDevices } from '@stream-io/video-client';
|
|
3
|
+
import { MediaDeviceInfo, useStreamVideoStoreSetState } from '../contexts';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A renderless component that provides the audio and video devices to the store
|
|
7
|
+
* This component must be a child of StreamVideoStoreProvider
|
|
8
|
+
* @internal
|
|
9
|
+
*
|
|
10
|
+
* @category Device Management
|
|
11
|
+
*/
|
|
12
|
+
export const MediaDevices = (): React.ReactElement | null => {
|
|
13
|
+
const setState = useStreamVideoStoreSetState();
|
|
14
|
+
const initialVideoDeviceSet = useRef(false);
|
|
15
|
+
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
const setAudioDevices = (audioDevices: MediaDeviceInfo[]) => {
|
|
18
|
+
setState({ audioDevices, currentAudioDevice: audioDevices[0] });
|
|
19
|
+
};
|
|
20
|
+
const subscription = getAudioDevices().subscribe(setAudioDevices);
|
|
21
|
+
return () => subscription.unsubscribe();
|
|
22
|
+
}, [setState]);
|
|
23
|
+
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
const setVideoDevices = (videoDevices: MediaDeviceInfo[]) => {
|
|
26
|
+
if (videoDevices.length > 0 && !initialVideoDeviceSet.current) {
|
|
27
|
+
const frontFacingVideoDevice = videoDevices.find(
|
|
28
|
+
(videoDevice) =>
|
|
29
|
+
videoDevice.kind === 'videoinput' && videoDevice.facing === 'front',
|
|
30
|
+
);
|
|
31
|
+
const initialVideoDevice = frontFacingVideoDevice ?? videoDevices[0];
|
|
32
|
+
if (initialVideoDevice) {
|
|
33
|
+
initialVideoDeviceSet.current = true;
|
|
34
|
+
setState({ videoDevices, currentVideoDevice: initialVideoDevice });
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
setState({ videoDevices });
|
|
39
|
+
};
|
|
40
|
+
const subscription = getVideoDevices().subscribe(setVideoDevices);
|
|
41
|
+
return () => subscription.unsubscribe();
|
|
42
|
+
}, [setState]);
|
|
43
|
+
|
|
44
|
+
return null;
|
|
45
|
+
};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import {
|
|
2
|
+
StreamCallProvider,
|
|
3
|
+
useStreamVideoClient,
|
|
4
|
+
} from '@stream-io/video-react-bindings';
|
|
5
|
+
import React, { PropsWithChildren, useEffect, useState } from 'react';
|
|
6
|
+
import { Call, CallingState } from '@stream-io/video-client';
|
|
7
|
+
import { useCallCycleEffect } from '../hooks';
|
|
8
|
+
|
|
9
|
+
type InitWithCallCID = {
|
|
10
|
+
/**
|
|
11
|
+
* The call type.
|
|
12
|
+
*/
|
|
13
|
+
callType: string;
|
|
14
|
+
/**
|
|
15
|
+
* The call id.
|
|
16
|
+
*/
|
|
17
|
+
callId: string;
|
|
18
|
+
/**
|
|
19
|
+
* The call instance to use.
|
|
20
|
+
*/
|
|
21
|
+
call?: Call;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
type InitWithCallInstance = {
|
|
25
|
+
/**
|
|
26
|
+
* The call instance to use.
|
|
27
|
+
*/
|
|
28
|
+
call: Call | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The call type.
|
|
31
|
+
*/
|
|
32
|
+
callType?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The call id.
|
|
35
|
+
*/
|
|
36
|
+
callId?: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
type InitStreamCall = InitWithCallCID | InitWithCallInstance;
|
|
40
|
+
|
|
41
|
+
export type StreamCallProps = InitStreamCall & {
|
|
42
|
+
callCycleHandlers: CallCycleHandlersType;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* StreamCall is a wrapper component that orchestrates the call life cycle logic and
|
|
46
|
+
* provides the call object to the children components.
|
|
47
|
+
* @param PropsWithChildren<StreamCallProps>
|
|
48
|
+
*
|
|
49
|
+
* @category Client State
|
|
50
|
+
*/
|
|
51
|
+
export const StreamCall = ({
|
|
52
|
+
callId,
|
|
53
|
+
callType = 'default',
|
|
54
|
+
call,
|
|
55
|
+
callCycleHandlers = {},
|
|
56
|
+
children,
|
|
57
|
+
}: PropsWithChildren<StreamCallProps>) => {
|
|
58
|
+
const videoClient = useStreamVideoClient();
|
|
59
|
+
const [activeCall, setActiveCall] = useState<Call | undefined>(() => {
|
|
60
|
+
if (call) return call;
|
|
61
|
+
if (!videoClient || !callId || !callType) return;
|
|
62
|
+
return videoClient?.call(callType, callId);
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
// Effect to create a new call with the given call id and type if the call doesn't exist
|
|
66
|
+
useEffect(() => {
|
|
67
|
+
if (!videoClient) return;
|
|
68
|
+
|
|
69
|
+
if (callId && callType && !activeCall) {
|
|
70
|
+
const newCall = videoClient.call(callType, callId);
|
|
71
|
+
setActiveCall(newCall);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return () => {
|
|
75
|
+
if (activeCall?.state.callingState === CallingState.LEFT) return;
|
|
76
|
+
activeCall?.leave().catch((e) => console.log(e));
|
|
77
|
+
setActiveCall(undefined);
|
|
78
|
+
};
|
|
79
|
+
}, [activeCall, callId, callType, videoClient]);
|
|
80
|
+
|
|
81
|
+
return (
|
|
82
|
+
<StreamCallProvider call={activeCall}>
|
|
83
|
+
<CallCycleLogicsWrapper callCycleHandlers={callCycleHandlers}>
|
|
84
|
+
{children}
|
|
85
|
+
</CallCycleLogicsWrapper>
|
|
86
|
+
</StreamCallProvider>
|
|
87
|
+
);
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Exclude types from documentaiton site, but we should still add doc comments
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
export type CallCycleHandlersType = {
|
|
95
|
+
/**
|
|
96
|
+
* Handler called after a call is joined. Mostly used for navigation and related actions.
|
|
97
|
+
*/
|
|
98
|
+
onCallJoined?: () => void;
|
|
99
|
+
/**
|
|
100
|
+
* Handler called after a callee receives a call. Mostly used for navigation and related actions.
|
|
101
|
+
*/
|
|
102
|
+
onCallIncoming?: () => void;
|
|
103
|
+
/**
|
|
104
|
+
* Handler called after a call is hung up by the caller. Mostly used for navigation and cleanup actions.
|
|
105
|
+
*/
|
|
106
|
+
onCallHungUp?: () => void;
|
|
107
|
+
/**
|
|
108
|
+
* Handler called after a caller initiates a call. Mostly used for navigation and related actions.
|
|
109
|
+
*/
|
|
110
|
+
onCallOutgoing?: () => void;
|
|
111
|
+
/**
|
|
112
|
+
* Handler called after a call is rejected. Mostly used for navigation and cleanup actions.
|
|
113
|
+
*/
|
|
114
|
+
onCallRejected?: () => void;
|
|
115
|
+
/**
|
|
116
|
+
* Handler called when the call is in joining state. Mostly used for navigation and related actions.
|
|
117
|
+
*/
|
|
118
|
+
onCallJoining?: () => void;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Exclude types from documentaiton site, but we should still add doc comments
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
export type CallCycleLogicsWrapperProps = {
|
|
126
|
+
callCycleHandlers: CallCycleHandlersType;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
export const CallCycleLogicsWrapper = ({
|
|
130
|
+
callCycleHandlers,
|
|
131
|
+
children,
|
|
132
|
+
}: PropsWithChildren<CallCycleLogicsWrapperProps>) => {
|
|
133
|
+
useCallCycleEffect(callCycleHandlers);
|
|
134
|
+
|
|
135
|
+
return <>{children}</>;
|
|
136
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
StreamVideo as StreamVideoProvider,
|
|
3
|
+
StreamVideoProps,
|
|
4
|
+
} from '@stream-io/video-react-bindings';
|
|
5
|
+
import React, { PropsWithChildren, useEffect } from 'react';
|
|
6
|
+
import { StreamVideoStoreProvider } from '../contexts/StreamVideoContext';
|
|
7
|
+
import NetInfo from '@react-native-community/netinfo';
|
|
8
|
+
import { MediaDevices } from './MediaDevices';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @param props
|
|
13
|
+
* @returns
|
|
14
|
+
*
|
|
15
|
+
* @category Client State
|
|
16
|
+
*/
|
|
17
|
+
export const StreamVideo = (props: PropsWithChildren<StreamVideoProps>) => {
|
|
18
|
+
const { client, children, translationsOverrides, i18nInstance, language } =
|
|
19
|
+
props;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Effect to inform the coordinator about the online status of the app
|
|
23
|
+
*/
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
const unsubscribe = NetInfo.addEventListener((state) => {
|
|
26
|
+
const { isConnected, isInternetReachable } = state;
|
|
27
|
+
const isOnline = isConnected !== false && isInternetReachable !== false;
|
|
28
|
+
// @ts-expect-error - due to being incompatible with DOM event type
|
|
29
|
+
client.streamClient.wsConnection?.onlineStatusChanged({
|
|
30
|
+
type: isOnline ? 'online' : 'offline',
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
return unsubscribe;
|
|
35
|
+
}, [client]);
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<StreamVideoProvider
|
|
39
|
+
client={client}
|
|
40
|
+
translationsOverrides={translationsOverrides}
|
|
41
|
+
i18nInstance={i18nInstance}
|
|
42
|
+
language={language}
|
|
43
|
+
>
|
|
44
|
+
<StreamVideoStoreProvider>
|
|
45
|
+
<MediaDevices />
|
|
46
|
+
{children}
|
|
47
|
+
</StreamVideoStoreProvider>
|
|
48
|
+
</StreamVideoProvider>
|
|
49
|
+
);
|
|
50
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ButtonScheme } from './types';
|
|
2
|
+
|
|
3
|
+
export const button: ButtonScheme = {
|
|
4
|
+
xs: { height: 40, width: 40, borderRadius: 20 },
|
|
5
|
+
sm: { height: 50, width: 50, borderRadius: 25 },
|
|
6
|
+
md: { height: 60, width: 60, borderRadius: 30 },
|
|
7
|
+
lg: { height: 70, width: 70, borderRadius: 35 },
|
|
8
|
+
xl: { height: 80, width: 80, borderRadius: 40 },
|
|
9
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { palette } from './constants';
|
|
2
|
+
import { ColorType } from './types';
|
|
3
|
+
|
|
4
|
+
const opacityToHex = (opacity: number) => {
|
|
5
|
+
return Math.round(opacity * 255)
|
|
6
|
+
.toString(16)
|
|
7
|
+
.padStart(2, '0');
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const colors: ColorType = {
|
|
11
|
+
light: {
|
|
12
|
+
primary: palette.blue500,
|
|
13
|
+
error: palette.red400,
|
|
14
|
+
info: palette.green500,
|
|
15
|
+
static_black: palette.grey950,
|
|
16
|
+
static_white: palette.grey50,
|
|
17
|
+
static_overlay: palette.grey950 + opacityToHex(0.85),
|
|
18
|
+
static_grey: palette.grey700,
|
|
19
|
+
disabled: palette.grey400,
|
|
20
|
+
text_low_emphasis: palette.grey500,
|
|
21
|
+
text_high_emphasis: palette.grey950,
|
|
22
|
+
controls_bg: palette.grey50,
|
|
23
|
+
borders: palette.grey300,
|
|
24
|
+
overlay: palette.grey950 + opacityToHex(0.4),
|
|
25
|
+
overlay_dark: palette.grey950 + opacityToHex(0.6),
|
|
26
|
+
bars: palette.grey50,
|
|
27
|
+
content_bg: palette.grey950 + opacityToHex(0.05),
|
|
28
|
+
},
|
|
29
|
+
dark: {
|
|
30
|
+
primary: palette.blue500,
|
|
31
|
+
error: palette.red400,
|
|
32
|
+
info: palette.green500,
|
|
33
|
+
static_black: palette.grey950,
|
|
34
|
+
static_white: palette.grey50,
|
|
35
|
+
static_overlay: palette.grey950 + opacityToHex(0.85),
|
|
36
|
+
static_grey: palette.grey700,
|
|
37
|
+
disabled: palette.grey600,
|
|
38
|
+
text_low_emphasis: palette.grey500,
|
|
39
|
+
text_high_emphasis: palette.grey50,
|
|
40
|
+
controls_bg: palette.grey900,
|
|
41
|
+
borders: palette.grey700,
|
|
42
|
+
overlay: palette.grey950 + opacityToHex(0.4),
|
|
43
|
+
overlay_dark: palette.grey50 + opacityToHex(0.6),
|
|
44
|
+
bars: palette.grey900,
|
|
45
|
+
content_bg: palette.grey950 + opacityToHex(0.05),
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export { colors };
|