@stream-io/video-react-sdk 0.1.9 → 0.1.10
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 +7 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/src/core/components/StreamVideo/StreamVideo.d.ts +3 -0
- package/dist/src/core/components/StreamVideo/StreamVideo.js +7 -0
- package/dist/src/core/components/StreamVideo/StreamVideo.js.map +1 -0
- package/dist/src/core/components/StreamVideo/index.d.ts +1 -0
- package/dist/src/core/components/StreamVideo/index.js +2 -0
- package/dist/src/core/components/StreamVideo/index.js.map +1 -0
- package/dist/src/core/components/index.d.ts +1 -0
- package/dist/src/core/components/index.js +1 -0
- package/dist/src/core/components/index.js.map +1 -1
- package/dist/src/translations/en.json +43 -0
- package/dist/src/translations/index.d.ts +45 -0
- package/dist/src/translations/index.js +3 -0
- package/dist/src/translations/index.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/index.ts +1 -0
- package/package.json +1 -1
- package/src/core/components/StreamVideo/StreamVideo.tsx +12 -0
- package/src/core/components/StreamVideo/index.ts +1 -0
- package/src/core/components/index.ts +1 -0
- package/src/translations/en.json +46 -0
- package/src/translations/index.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
### [0.1.10](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.1.9...@stream-io/video-react-sdk-0.1.10) (2023-07-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **react-native:** add translations to SDK and DF app ([#828](https://github.com/GetStream/stream-video-js/issues/828)) ([c7a7f73](https://github.com/GetStream/stream-video-js/commit/c7a7f73b5cfd9222101e4c44b6c9ec42006bcac2))
|
|
11
|
+
|
|
5
12
|
### [0.1.9](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.1.8...@stream-io/video-react-sdk-0.1.9) (2023-07-21)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4,4 +4,5 @@ export * from '@stream-io/i18n';
|
|
|
4
4
|
export * from './src/core';
|
|
5
5
|
export * from './src/components';
|
|
6
6
|
export * from './src/types';
|
|
7
|
+
export * from './src/translations';
|
|
7
8
|
export { useHorizontalScrollPosition, useVerticalScrollPosition, useToggleAudioMuteState, useToggleVideoMuteState, } from './src/hooks';
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ export * from '@stream-io/i18n';
|
|
|
6
6
|
export * from './src/core';
|
|
7
7
|
export * from './src/components';
|
|
8
8
|
export * from './src/types';
|
|
9
|
+
export * from './src/translations';
|
|
9
10
|
export { useHorizontalScrollPosition, useVerticalScrollPosition, useToggleAudioMuteState, useToggleVideoMuteState, } from './src/hooks';
|
|
10
11
|
const [major, minor, patch] = version.split('.');
|
|
11
12
|
setSdkInfo({
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAEhC,cAAc,YAAY,CAAC;AAE3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAEjD,UAAU,CAAC;IACT,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK;IAC7B,KAAK;IACL,KAAK;IACL,KAAK;CACN,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAEhC,cAAc,YAAY,CAAC;AAE3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAEjD,UAAU,CAAC;IACT,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK;IAC7B,KAAK;IACL,KAAK;IACL,KAAK;CACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { StreamVideoProvider, } from '@stream-io/video-react-bindings';
|
|
3
|
+
import { translations } from '../../../translations';
|
|
4
|
+
export const StreamVideo = (props) => {
|
|
5
|
+
return (_jsx(StreamVideoProvider, Object.assign({ translationsOverrides: translations }, props)));
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=StreamVideo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StreamVideo.js","sourceRoot":"","sources":["../../../../../src/core/components/StreamVideo/StreamVideo.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,mBAAmB,GAEpB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAA0C,EAAE,EAAE;IACxE,OAAO,CACL,KAAC,mBAAmB,kBAAC,qBAAqB,EAAE,YAAY,IAAM,KAAK,EAAI,CACxE,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './StreamVideo';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/core/components/StreamVideo/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAE9B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Joining": "Joining",
|
|
3
|
+
"Mic": "Mic",
|
|
4
|
+
"No internet connection": "No internet connection",
|
|
5
|
+
"Re-connecting": "Re-connecting",
|
|
6
|
+
"Ringing": "Ringing",
|
|
7
|
+
"Screen Share": "Screen Share",
|
|
8
|
+
"Select a Camera": "Select a Camera",
|
|
9
|
+
"Select a Mic": "Select a Mic",
|
|
10
|
+
"Select Speakers": "Select Speakers",
|
|
11
|
+
"Speakers": "Speakers",
|
|
12
|
+
"Video": "Video",
|
|
13
|
+
"You are muted. Unmute to speak.": "You are muted. Unmute to speak.",
|
|
14
|
+
"You can now speak.": "You can now speak.",
|
|
15
|
+
"Awaiting for an approval to speak.": "Awaiting for an approval to speak.",
|
|
16
|
+
"You can no longer speak.": "You can no longer speak.",
|
|
17
|
+
"You can now share your video.": "You can now share your video.",
|
|
18
|
+
"Awaiting for an approval to share your video.": "Awaiting for an approval to share your video.",
|
|
19
|
+
"You can no longer share your video.": "You can no longer share your video.",
|
|
20
|
+
"Waiting for recording to stop...": "Waiting for recording to stop...",
|
|
21
|
+
"Waiting for recording to start...": "Waiting for recording to start...",
|
|
22
|
+
"Record call": "Record call",
|
|
23
|
+
"Reactions": "Reactions",
|
|
24
|
+
"You can now share your screen.": "You can now share your screen.",
|
|
25
|
+
"Awaiting for an approval to share screen.": "Awaiting for an approval to share screen.",
|
|
26
|
+
"You can no longer share your screen.": "You can no longer share your screen.",
|
|
27
|
+
"Share screen": "Share screen",
|
|
28
|
+
"Incoming Call...": "Incoming Call...",
|
|
29
|
+
"Calling...": "Calling...",
|
|
30
|
+
"Mute All": "Mute All",
|
|
31
|
+
"Invite": "Invite",
|
|
32
|
+
"Join": "Join",
|
|
33
|
+
"You": "You",
|
|
34
|
+
"Allow": "Allow",
|
|
35
|
+
"Revoke": "Revoke",
|
|
36
|
+
"Dismiss": "Dismiss",
|
|
37
|
+
"Participants ({{ numberOfParticipants }})": "Participants ({{ numberOfParticipants }})",
|
|
38
|
+
"{{ userName }} is sharing their screen": "{{ userName }} is sharing their screen",
|
|
39
|
+
"{{ userName }} is requesting to speak": "{{ userName }} is requesting to speak",
|
|
40
|
+
"{{ userName }} is requesting to share their camera": "{{ userName }} is requesting to share their camera",
|
|
41
|
+
"{{ userName }} is requesting to present their screen": "{{ userName }} is requesting to present their screen",
|
|
42
|
+
"{{ userName }} is requesting permission: {{ permission }}": "{{ userName }} is requesting permission: {{ permission }}"
|
|
43
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const translations: {
|
|
2
|
+
en: {
|
|
3
|
+
Joining: string;
|
|
4
|
+
Mic: string;
|
|
5
|
+
"No internet connection": string;
|
|
6
|
+
"Re-connecting": string;
|
|
7
|
+
Ringing: string;
|
|
8
|
+
"Screen Share": string;
|
|
9
|
+
"Select a Camera": string;
|
|
10
|
+
"Select a Mic": string;
|
|
11
|
+
"Select Speakers": string;
|
|
12
|
+
Speakers: string;
|
|
13
|
+
Video: string;
|
|
14
|
+
"You are muted. Unmute to speak.": string;
|
|
15
|
+
"You can now speak.": string;
|
|
16
|
+
"Awaiting for an approval to speak.": string;
|
|
17
|
+
"You can no longer speak.": string;
|
|
18
|
+
"You can now share your video.": string;
|
|
19
|
+
"Awaiting for an approval to share your video.": string;
|
|
20
|
+
"You can no longer share your video.": string;
|
|
21
|
+
"Waiting for recording to stop...": string;
|
|
22
|
+
"Waiting for recording to start...": string;
|
|
23
|
+
"Record call": string;
|
|
24
|
+
Reactions: string;
|
|
25
|
+
"You can now share your screen.": string;
|
|
26
|
+
"Awaiting for an approval to share screen.": string;
|
|
27
|
+
"You can no longer share your screen.": string;
|
|
28
|
+
"Share screen": string;
|
|
29
|
+
"Incoming Call...": string;
|
|
30
|
+
"Calling...": string;
|
|
31
|
+
"Mute All": string;
|
|
32
|
+
Invite: string;
|
|
33
|
+
Join: string;
|
|
34
|
+
You: string;
|
|
35
|
+
Allow: string;
|
|
36
|
+
Revoke: string;
|
|
37
|
+
Dismiss: string;
|
|
38
|
+
"Participants ({{ numberOfParticipants }})": string;
|
|
39
|
+
"{{ userName }} is sharing their screen": string;
|
|
40
|
+
"{{ userName }} is requesting to speak": string;
|
|
41
|
+
"{{ userName }} is requesting to share their camera": string;
|
|
42
|
+
"{{ userName }} is requesting to present their screen": string;
|
|
43
|
+
"{{ userName }} is requesting permission: {{ permission }}": string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/translations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,CAAC,MAAM,YAAY,GAAG,EAAE,EAAE,EAAE,CAAC"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.1.
|
|
1
|
+
export declare const version = "0.1.10";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '0.1.
|
|
1
|
+
export const version = '0.1.10';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC"}
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
StreamVideoProvider,
|
|
3
|
+
StreamVideoProps,
|
|
4
|
+
} from '@stream-io/video-react-bindings';
|
|
5
|
+
import { PropsWithChildren } from 'react';
|
|
6
|
+
import { translations } from '../../../translations';
|
|
7
|
+
|
|
8
|
+
export const StreamVideo = (props: PropsWithChildren<StreamVideoProps>) => {
|
|
9
|
+
return (
|
|
10
|
+
<StreamVideoProvider translationsOverrides={translations} {...props} />
|
|
11
|
+
);
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './StreamVideo';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Joining": "Joining",
|
|
3
|
+
"Mic": "Mic",
|
|
4
|
+
"No internet connection": "No internet connection",
|
|
5
|
+
"Re-connecting": "Re-connecting",
|
|
6
|
+
"Ringing": "Ringing",
|
|
7
|
+
"Screen Share": "Screen Share",
|
|
8
|
+
"Select a Camera": "Select a Camera",
|
|
9
|
+
"Select a Mic": "Select a Mic",
|
|
10
|
+
"Select Speakers": "Select Speakers",
|
|
11
|
+
"Speakers": "Speakers",
|
|
12
|
+
"Video": "Video",
|
|
13
|
+
"You are muted. Unmute to speak.": "You are muted. Unmute to speak.",
|
|
14
|
+
|
|
15
|
+
"You can now speak.": "You can now speak.",
|
|
16
|
+
"Awaiting for an approval to speak.": "Awaiting for an approval to speak.",
|
|
17
|
+
"You can no longer speak.": "You can no longer speak.",
|
|
18
|
+
"You can now share your video.": "You can now share your video.",
|
|
19
|
+
"Awaiting for an approval to share your video.": "Awaiting for an approval to share your video.",
|
|
20
|
+
"You can no longer share your video.": "You can no longer share your video.",
|
|
21
|
+
"Waiting for recording to stop...": "Waiting for recording to stop...",
|
|
22
|
+
"Waiting for recording to start...": "Waiting for recording to start...",
|
|
23
|
+
"Record call": "Record call",
|
|
24
|
+
"Reactions": "Reactions",
|
|
25
|
+
"You can now share your screen.": "You can now share your screen.",
|
|
26
|
+
"Awaiting for an approval to share screen.": "Awaiting for an approval to share screen.",
|
|
27
|
+
"You can no longer share your screen.": "You can no longer share your screen.",
|
|
28
|
+
"Share screen": "Share screen",
|
|
29
|
+
"Incoming Call...": "Incoming Call...",
|
|
30
|
+
"Calling...": "Calling...",
|
|
31
|
+
"Mute All": "Mute All",
|
|
32
|
+
"Invite": "Invite",
|
|
33
|
+
"Join": "Join",
|
|
34
|
+
"You": "You",
|
|
35
|
+
|
|
36
|
+
"Allow": "Allow",
|
|
37
|
+
"Revoke": "Revoke",
|
|
38
|
+
"Dismiss": "Dismiss",
|
|
39
|
+
|
|
40
|
+
"Participants ({{ numberOfParticipants }})": "Participants ({{ numberOfParticipants }})",
|
|
41
|
+
"{{ userName }} is sharing their screen": "{{ userName }} is sharing their screen",
|
|
42
|
+
"{{ userName }} is requesting to speak": "{{ userName }} is requesting to speak",
|
|
43
|
+
"{{ userName }} is requesting to share their camera": "{{ userName }} is requesting to share their camera",
|
|
44
|
+
"{{ userName }} is requesting to present their screen": "{{ userName }} is requesting to present their screen",
|
|
45
|
+
"{{ userName }} is requesting permission: {{ permission }}": "{{ userName }} is requesting permission: {{ permission }}"
|
|
46
|
+
}
|