@stream-io/video-react-native-sdk 0.0.27 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +19 -10
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js +17 -6
  4. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  5. package/dist/commonjs/components/Call/CallControls/CallControls.js +8 -4
  6. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
  7. package/dist/commonjs/components/Call/CallControls/{ReactionButton.js → ReactionsButton.js} +8 -8
  8. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -0
  9. package/dist/commonjs/components/Call/CallControls/index.js +4 -4
  10. package/dist/commonjs/components/Call/CallControls/index.js.map +1 -1
  11. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +10 -9
  12. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  13. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +10 -3
  14. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  15. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +19 -9
  16. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  17. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +14 -4
  18. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  19. package/dist/commonjs/components/Call/CallTopView/CallTopView.js +5 -2
  20. package/dist/commonjs/components/Call/CallTopView/CallTopView.js.map +1 -1
  21. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +4 -2
  22. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  23. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +6 -3
  24. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
  25. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +4 -18
  26. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  27. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +6 -3
  28. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  29. package/dist/commonjs/constants/index.js.map +1 -1
  30. package/dist/commonjs/utils/StreamVideoRN/index.js +1 -2
  31. package/dist/commonjs/utils/StreamVideoRN/index.js.map +1 -1
  32. package/dist/commonjs/version.js +1 -1
  33. package/dist/commonjs/version.js.map +1 -1
  34. package/dist/module/components/Call/CallContent/CallContent.js +17 -6
  35. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  36. package/dist/module/components/Call/CallControls/CallControls.js +8 -4
  37. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
  38. package/dist/module/components/Call/CallControls/{ReactionButton.js → ReactionsButton.js} +6 -6
  39. package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -0
  40. package/dist/module/components/Call/CallControls/index.js +1 -1
  41. package/dist/module/components/Call/CallControls/index.js.map +1 -1
  42. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +10 -9
  43. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  44. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +10 -3
  45. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  46. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +19 -9
  47. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  48. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +14 -4
  49. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  50. package/dist/module/components/Call/CallTopView/CallTopView.js +5 -2
  51. package/dist/module/components/Call/CallTopView/CallTopView.js.map +1 -1
  52. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +4 -2
  53. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  54. package/dist/module/components/Participant/FloatingParticipantView/index.js +6 -3
  55. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
  56. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +6 -20
  57. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  58. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +6 -3
  59. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  60. package/dist/module/constants/index.js.map +1 -1
  61. package/dist/module/utils/StreamVideoRN/index.js +1 -2
  62. package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
  63. package/dist/module/version.js +1 -1
  64. package/dist/module/version.js.map +1 -1
  65. package/dist/typescript/components/Call/CallContent/CallContent.d.ts +20 -6
  66. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  67. package/dist/typescript/components/Call/CallControls/CallControls.d.ts +6 -5
  68. package/dist/typescript/components/Call/CallControls/CallControls.d.ts.map +1 -1
  69. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts +20 -0
  70. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -0
  71. package/dist/typescript/components/Call/CallControls/index.d.ts +1 -1
  72. package/dist/typescript/components/Call/CallControls/index.d.ts.map +1 -1
  73. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts +4 -5
  74. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
  75. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts +10 -8
  76. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
  77. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts +8 -6
  78. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  79. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts +8 -2
  80. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  81. package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts.map +1 -1
  82. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +5 -0
  83. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
  84. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts +3 -3
  85. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  86. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +3 -2
  87. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
  88. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +4 -4
  89. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  90. package/dist/typescript/constants/index.d.ts +2 -2
  91. package/dist/typescript/constants/index.d.ts.map +1 -1
  92. package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
  93. package/dist/typescript/utils/StreamVideoRN/types.d.ts +1 -11
  94. package/dist/typescript/utils/StreamVideoRN/types.d.ts.map +1 -1
  95. package/dist/typescript/version.d.ts +1 -1
  96. package/dist/typescript/version.d.ts.map +1 -1
  97. package/package.json +1 -1
  98. package/src/components/Call/CallContent/CallContent.tsx +59 -28
  99. package/src/components/Call/CallControls/CallControls.tsx +18 -12
  100. package/src/components/Call/CallControls/{ReactionButton.tsx → ReactionsButton.tsx} +13 -6
  101. package/src/components/Call/CallControls/index.tsx +1 -1
  102. package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +14 -14
  103. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +24 -12
  104. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +25 -9
  105. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +33 -16
  106. package/src/components/Call/CallTopView/CallTopView.tsx +4 -2
  107. package/src/components/Call/RingingCallContent/RingingCallContent.tsx +11 -1
  108. package/src/components/Participant/FloatingParticipantView/index.tsx +9 -2
  109. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +16 -29
  110. package/src/components/Participant/ParticipantView/ParticipantView.tsx +40 -33
  111. package/src/constants/index.ts +2 -2
  112. package/src/utils/StreamVideoRN/index.ts +1 -2
  113. package/src/utils/StreamVideoRN/types.ts +1 -11
  114. package/src/version.ts +1 -1
  115. package/dist/commonjs/components/Call/CallControls/ReactionButton.js.map +0 -1
  116. package/dist/module/components/Call/CallControls/ReactionButton.js.map +0 -1
  117. package/dist/typescript/components/Call/CallControls/ReactionButton.d.ts +0 -15
  118. package/dist/typescript/components/Call/CallControls/ReactionButton.d.ts.map +0 -1
@@ -1,8 +1,7 @@
1
- import React, { useEffect, useState } from 'react';
1
+ import React, { useEffect } from 'react';
2
2
  import { StyleSheet, Text, View } from 'react-native';
3
3
  import { useCall } from '@stream-io/video-react-bindings';
4
- import { StreamVideoRN } from '../../../utils';
5
- import { Z_INDEX } from '../../../constants';
4
+ import { Z_INDEX, defaultEmojiReactions } from '../../../constants';
6
5
  import { useTheme } from '../../../contexts/ThemeContext';
7
6
 
8
7
  /**
@@ -15,11 +14,9 @@ import { useTheme } from '../../../contexts/ThemeContext';
15
14
  export const ParticipantReaction = _ref => {
16
15
  let {
17
16
  participant,
17
+ supportedReactions = defaultEmojiReactions,
18
18
  hideAfterTimeoutInMs = 5500
19
19
  } = _ref;
20
- const {
21
- supportedReactions
22
- } = StreamVideoRN.getConfig();
23
20
  const {
24
21
  reaction,
25
22
  sessionId
@@ -34,13 +31,10 @@ export const ParticipantReaction = _ref => {
34
31
  participantReaction
35
32
  }
36
33
  } = useTheme();
37
- const [isShowing, setIsShowing] = useState(false);
38
34
  useEffect(() => {
39
35
  let timeoutId;
40
36
  if (call) {
41
- setIsShowing(true);
42
37
  timeoutId = setTimeout(() => {
43
- setIsShowing(false);
44
38
  call.resetReaction(sessionId);
45
39
  }, hideAfterTimeoutInMs);
46
40
  }
@@ -49,22 +43,14 @@ export const ParticipantReaction = _ref => {
49
43
  };
50
44
  }, [call, hideAfterTimeoutInMs, sessionId, reaction]);
51
45
  const currentReaction = reaction && supportedReactions.find(supportedReaction => supportedReaction.emoji_code === reaction.emoji_code);
52
- let component;
53
- if (isShowing) {
54
- if (typeof (currentReaction === null || currentReaction === void 0 ? void 0 : currentReaction.icon) !== 'string') {
55
- component = currentReaction === null || currentReaction === void 0 ? void 0 : currentReaction.icon;
56
- } else {
57
- component = /*#__PURE__*/React.createElement(Text, {
58
- style: [participantReaction.reaction, typefaces.heading6]
59
- }, currentReaction.icon);
60
- }
61
- }
62
46
  return /*#__PURE__*/React.createElement(View, {
63
47
  style: [styles.container, {
64
48
  height: iconSizes.md,
65
49
  width: iconSizes.md
66
50
  }, participantReaction.container]
67
- }, component);
51
+ }, /*#__PURE__*/React.createElement(Text, {
52
+ style: [participantReaction.reaction, typefaces.heading6]
53
+ }, currentReaction === null || currentReaction === void 0 ? void 0 : currentReaction.icon));
68
54
  };
69
55
  const styles = StyleSheet.create({
70
56
  container: {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useState","StyleSheet","Text","View","useCall","StreamVideoRN","Z_INDEX","useTheme","ParticipantReaction","_ref","participant","hideAfterTimeoutInMs","supportedReactions","getConfig","reaction","sessionId","call","theme","typefaces","variants","iconSizes","participantReaction","isShowing","setIsShowing","timeoutId","setTimeout","resetReaction","clearTimeout","currentReaction","find","supportedReaction","emoji_code","component","icon","createElement","style","heading6","styles","container","height","md","width","create","alignSelf","zIndex","IN_FRONT"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantReaction.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAASC,aAAa,QAAQ,gBAAgB;AAC9C,SAASC,OAAO,QAAQ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,MAAK,QAAQ,EAAE;MAC7CD,SAAS,GAAGJ,eAAe,aAAfA,eAAe,uBAAfA,eAAe,CAAEK,IAAI;IACnC,CAAC,MAAM;MACLD,SAAS,gBACPlC,KAAA,CAAAoC,aAAA,CAAChC,IAAI;QAACiC,KAAK,EAAE,CAACd,mBAAmB,CAACP,QAAQ,EAAEI,SAAS,CAACkB,QAAQ;MAAE,GAC7DR,eAAe,CAACK,IACb,CACP;IACH;EACF;EAEA,oBACEnC,KAAA,CAAAoC,aAAA,CAAC/B,IAAI;IACHgC,KAAK,EAAE,CACLE,MAAM,CAACC,SAAS,EAChB;MACEC,MAAM,EAAEnB,SAAS,CAACoB,EAAE;MACpBC,KAAK,EAAErB,SAAS,CAACoB;IACnB,CAAC,EACDnB,mBAAmB,CAACiB,SAAS;EAC7B,GAEDN,SACG,CAAC;AAEX,CAAC;AAED,MAAMK,MAAM,GAAGpC,UAAU,CAACyC,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,SAAS,EAAE,YAAY;IACvBC,MAAM,EAAEtC,OAAO,CAACuC;EAClB;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["React","useEffect","StyleSheet","Text","View","useCall","Z_INDEX","defaultEmojiReactions","useTheme","ParticipantReaction","_ref","participant","supportedReactions","hideAfterTimeoutInMs","reaction","sessionId","call","theme","typefaces","variants","iconSizes","participantReaction","timeoutId","setTimeout","resetReaction","clearTimeout","currentReaction","find","supportedReaction","emoji_code","createElement","style","styles","container","height","md","width","heading6","icon","create","alignSelf","zIndex","IN_FRONT"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantReaction.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAASC,OAAO,EAAEC,qBAAqB,QAAQ,oBAAoB;AAEnE,SAASC,QAAQ,Q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CAACmB,QAAQ;EAAE,GAC7DX,eAAe,aAAfA,eAAe,uBAAfA,eAAe,CAAEY,IACd,CACF,CAAC;AAEX,CAAC;AAED,MAAMN,MAAM,GAAG9B,UAAU,CAACqC,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,SAAS,EAAE,YAAY;IACvBC,MAAM,EAAEnC,OAAO,CAACoC;EAClB;AACF,CAAC,CAAC"}
@@ -27,7 +27,8 @@ export const ParticipantView = _ref => {
27
27
  VideoRenderer = DefaultVideoRenderer,
28
28
  ParticipantNetworkQualityIndicator = DefaultParticipantNetworkQualityIndicator,
29
29
  ParticipantVideoFallback = DefaultParticipantVideoFallback,
30
- videoZOrder = 0
30
+ videoZOrder = 0,
31
+ supportedReactions
31
32
  } = _ref;
32
33
  const {
33
34
  theme: {
@@ -48,7 +49,8 @@ export const ParticipantView = _ref => {
48
49
  style: [styles.container, style, speakerStyle],
49
50
  testID: isSpeaking ? `participant-${userId}-is-speaking` : `participant-${userId}-is-not-speaking`
50
51
  }, ParticipantReaction && /*#__PURE__*/React.createElement(ParticipantReaction, {
51
- participant: participant
52
+ participant: participant,
53
+ supportedReactions: supportedReactions
52
54
  }), VideoRenderer && /*#__PURE__*/React.createElement(VideoRenderer, {
53
55
  isVisible: isVisible,
54
56
  participant: participant,
@@ -69,7 +71,8 @@ const styles = StyleSheet.create({
69
71
  justifyContent: 'space-between',
70
72
  padding: 4,
71
73
  overflow: 'hidden',
72
- margin: 2
74
+ borderWidth: 2,
75
+ borderColor: 'transparent'
73
76
  },
74
77
  footerContainer: {
75
78
  flexDirection: 'row',
@@ -1 +1 @@
1
- {"version":3,"names":["React","StyleSheet","View","ParticipantNetworkQualityIndicator","DefaultParticipantNetworkQualityIndicator","ParticipantReaction","DefaultParticipantReaction","ParticipantLabel","DefaultParticipantLabel","ParticipantVideoFallback","DefaultParticipantVideoFallback","VideoRenderer","DefaultVideoRenderer","useTheme","ParticipantView","_ref","participant","trackType","isVisible","style","videoZOrder","theme","colors","participantView","isSpeaking","userId","isScreenSharing","applySpeakerStyle","speakerStyle","styles","highligtedContainer","borderColor","primary","createElement","container","testID","footerContainer","create","justifyContent","padding","overflow","margin","flexDirection","alignItems","borderWidth"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantView.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAyB,OAAO;AAC5C,SAAoBC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAKrE,SACEC,kCAAkC,IAAIC,yCAAyC,QAE1E,sCAAsC;AAC7C,SACEC,mBAAmB,IAAIC,0BAA0B,QAE5C,uBAAuB;AAC9B,SACEC,gBAAgB,IAAIC,uBAAuB,QAEtC,oBAAoB;AAC3B,SACEC,wBAAwB,IAAIC,+BAA+B,QAEtD,4BAA4B;AACnC,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,iBAAiB;AACxB,SAASC,QAAQ,QAAQ,gCAAgC;;AA2BzD;AACA;AACA;;AA+BA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAGC,IAAA,IAWH;EAAA,IAXI;IAC9BC,WAAW;IACXC,SAAS,GAAG,YAAY;IACxBC,SAAS,GAAG,IAAI;IAChBC,KAAK;IACLZ,gBAAgB,GAAGC,uBAAuB;IAC1CH,mBAAmB,GAAGC,0BAA0B;IAChDK,aAAa,GAAGC,oBAAoB;IACpCT,kCAAkC,GAAGC,yCAAyC;IAC9EK,wBAAwB,GAAGC,+BAA+B;IAC1DU,WAAW,GAAG;EACM,CAAC,GAAAL,IAAA;EACrB,MAAM;IACJM,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAgB;EACnC,CAAC,GAAGV,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEW,UAAU;IAAEC;EAAO,CAAC,GAAGT,WAAW;EAC1C,MAAMU,eAAe,GAAGT,SAAS,KAAK,kBAAkB;EACxD,MAAMU,iBAAiB,GAAGH,UAAU,IAAI,CAACE,eAAe;EACxD,MAAME,YAAY,GAAGD,iBAA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C/BK,UAAU,EAAE;EACd,CAAC;EACDb,mBAAmB,EAAE;IACnBc,WAAW,EAAE;EACf;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["React","StyleSheet","View","ParticipantNetworkQualityIndicator","DefaultParticipantNetworkQualityIndicator","ParticipantReaction","DefaultParticipantReaction","ParticipantLabel","DefaultParticipantLabel","ParticipantVideoFallback","DefaultParticipantVideoFallback","VideoRenderer","DefaultVideoRenderer","useTheme","ParticipantView","_ref","participant","trackType","isVisible","style","videoZOrder","supportedReactions","theme","colors","participantView","isSpeaking","userId","isScreenSharing","applySpeakerStyle","speakerStyle","styles","highligtedContainer","borderColor","primary","createElement","container","testID","footerContainer","create","justifyContent","padding","overflow","borderWidth","flexDirection","alignItems"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantView.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAyB,OAAO;AAC5C,SAAoBC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAKrE,SACEC,kCAAkC,IAAIC,yCAAyC,QAE1E,sCAAsC;AAC7C,SACEC,mBAAmB,IAAIC,0BAA0B,QAE5C,uBAAuB;AAC9B,SACEC,gBAAgB,IAAIC,uBAAuB,QAEtC,oBAAoB;AAC3B,SACEC,wBAAwB,IAAIC,+BAA+B,QAEtD,4BAA4B;AACnC,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,iBAAiB;AACxB,SAASC,QAAQ,QAAQ,gCAAgC;;AA0BzD;AACA;AACA;;AAgCA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAGC,IAAA,IAYH;EAAA,IAZI;IAC9BC,WAAW;IACXC,SAAS,GAAG,YAAY;IACxBC,SAAS,GAAG,IAAI;IAChBC,KAAK;IACLZ,gBAAgB,GAAGC,uBAAuB;IAC1CH,mBAAmB,GAAGC,0BAA0B;IAChDK,aAAa,GAAGC,oBAAoB;IACpCT,kCAAkC,GAAGC,yCAAyC;IAC9EK,wBAAwB,GAAGC,+BAA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E,EACAd,kCAAkC,iBACjCH,KAAA,CAAAkC,aAAA,CAAC/B,kCAAkC;IAACa,WAAW,EAAEA;EAAY,CAAE,CAE7D,CACF,CAAC;AAEX,CAAC;AAED,MAAMc,MAAM,GAAG7B,UAAU,CAACqC,MAAM,CAAC;EAC/BH,SAAS,EAAE;IACTI,cAAc,EAAE,eAAe;IAC/BC,OAAO,EAAE,CAAC;IACVC,QAAQ,EAAE,QAAQ;IAClBC,WAAW,EAAE,CAAC;IACdV,WAAW,EAAE;EACf,CAAC;EACDK,eAAe,EAAE;IACfM,aAAa,EAAE,KAAK;IACpBJ,cAAc,EAAE,eAAe;IAC/BK,UAAU,EAAE;EACd,CAAC;EACDb,mBAAmB,EAAE;IACnBW,WAAW,EAAE;EACf;AACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"names":["FLOATING_VIDEO_VIEW_STYLE","height","width","borderRadius","LOBBY_VIDEO_VIEW_HEIGHT","defaultEmojiReactions","type","emoji_code","custom","icon","Z_INDEX","IN_BACK","IN_MIDDLE","IN_FRONT"],"sourceRoot":"../../../src","sources":["constants/index.ts"],"mappings":"AAEA,OAAO,MAAMA,yBAAyB,GAAG;EACvCC,MAAM,EAAE,GAAG;EACXC,KAAK,EAAE,EAAE;EACTC,YAAY,EAAE;AAChB,CAAC;AAED,OAAO,MAAMC,uBAAuB,GAAG,GAAG;AAE1C,OAAO,MAAMC,qBAA8D,GAAG,CAC5E;EACEC,IAAI,EAAE,UAAU;EAChBC,UAAU,EAAE,QAAQ;EACpBC,MAAM,EAAE,CAAC,CAAC;EACVC,IAAI,EAAE;AACR,CAAC,EACD;EACEH,IAAI,EAAE,aAAa;EACnBC,UAAU,EAAE,cAAc;EAC1BC,MAAM,EAAE,CAAC,CAAC;EACVC,IAAI,EAAE;AACR,CAAC,EACD;EACEH,IAAI,EAAE,UAAU;EAChBC,UAAU,EAAE,aAAa;EACzBC,MAAM,EAAE,CAAC,CAAC;EACVC,IAAI,EAAE;AACR,CAAC,CACF;AAED,OAAO,MAAMC,OAAO,GAAG;EACrBC,OAAO,EAAE,CAAC;EACVC,SAAS,EAAE,CAAC;EACZC,QAAQ,EAAE;AACZ,CAAC"}
1
+ {"version":3,"names":["FLOATING_VIDEO_VIEW_STYLE","height","width","borderRadius","LOBBY_VIDEO_VIEW_HEIGHT","defaultEmojiReactions","type","emoji_code","custom","icon","Z_INDEX","IN_BACK","IN_MIDDLE","IN_FRONT"],"sourceRoot":"../../../src","sources":["constants/index.ts"],"mappings":"AAEA,OAAO,MAAMA,yBAAyB,GAAG;EACvCC,MAAM,EAAE,GAAG;EACXC,KAAK,EAAE,EAAE;EACTC,YAAY,EAAE;AAChB,CAAC;AAED,OAAO,MAAMC,uBAAuB,GAAG,GAAG;AAE1C,OAAO,MAAMC,qBAA2C,GAAG,CACzD;EACEC,IAAI,EAAE,UAAU;EAChBC,UAAU,EAAE,QAAQ;EACpBC,MAAM,EAAE,CAAC,CAAC;EACVC,IAAI,EAAE;AACR,CAAC,EACD;EACEH,IAAI,EAAE,aAAa;EACnBC,UAAU,EAAE,cAAc;EAC1BC,MAAM,EAAE,CAAC,CAAC;EACVC,IAAI,EAAE;AACR,CAAC,EACD;EACEH,IAAI,EAAE,UAAU;EAChBC,UAAU,EAAE,aAAa;EACzBC,MAAM,EAAE,CAAC,CAAC;EACVC,IAAI,EAAE;AACR,CAAC,CACF;AAED,OAAO,MAAMC,OAAO,GAAG;EACrBC,OAAO,EAAE,CAAC;EACVC,SAAS,EAAE,CAAC;EACZC,QAAQ,EAAE;AACZ,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { AndroidImportance } from '@notifee/react-native';
2
- import { defaultEmojiReactions } from '../../constants';
3
2
  import { setupFirebaseHandlerAndroid } from '../push/android';
4
3
  const DEFAULT_STREAM_VIDEO_CONFIG = {
5
- supportedReactions: defaultEmojiReactions,
6
4
  foregroundService: {
7
5
  android: {
8
6
  channel: {
@@ -21,6 +19,7 @@ const DEFAULT_STREAM_VIDEO_CONFIG = {
21
19
  };
22
20
  export class StreamVideoRN {
23
21
  static config = DEFAULT_STREAM_VIDEO_CONFIG;
22
+
24
23
  /**
25
24
  * Update the global config for StreamVideoRN except for push config.
26
25
  * To set push config use `StreamVideoRN.setPushConfig` instead.
@@ -1 +1 @@
1
- {"version":3,"names":["AndroidImportance","defaultEmojiReactions","setupFirebaseHandlerAndroid","DEFAULT_STREAM_VIDEO_CONFIG","supportedReactions","foregroundService","android","channel","id","name","lights","vibration","importance","DEFAULT","notificationTexts","title","body","StreamVideoRN","config","updateConfig","setPushConfig","pushConfig","push","getConfig"],"sourceRoot":"../../../../src","sources":["utils/StreamVideoRN/index.ts"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,uBAAuB;AACzD,SAASC,qBAAqB,QAAQ,iBAAiB;AACvD,SAASC,2BAA2B,QAAQ,iBAAiB;AAG7D,MAAMC,2BAA8C,GAAG;EACrDC,kBAAkB,EAAEH,qBAAqB;EACzCI,iBAAiB,EAAE;IACjBC,OAAO,EAAE;MACPC,OAAO,EAAE;QACPC,EAAE,EAAE,gCAAgC;QACpCC,IAAI,EAAE,yCAAyC;QAC/CC,MAAM,EAAE,KAAK;QACbC,SAAS,EAAE,KAAK;QAChBC,UAAU,EAAEZ,iBAAiB,CAACa;MAChC,CAAC;MACDC,iBAAiB,EAAE;QACjBC,KAAK,EAAE,kBAAkB;QACzBC,IAAI,EAAE;MACR;IACF;EACF;AACF,CAAC;AAED,OAAO,MAAMC,aAAa,CAAC;EACzB,OAAeC,MAAM,GAAGf,2BAA2B;EACnD;AACF;AACA;AACA;AACA;EACE,OAAOgB,YAAYA,CAACA,YAAsD,EAAE;IAC1E,IAAI,CAACD,MAAM,GAAG;MACZ,GAAG,IAAI,CAACA,MAAM;MACd,GAAGC;IACL,CAAC;EACH;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE,OAAOC,aAAaA,CAACC,UAAkD,EAAE;IACvE,IAAI,IAAI,CAACH,MAAM,CAACI,IAAI,EAAE;MACpB;MACA;IACF;IACA,IAAI,CAACJ,MAAM,CAACI,IAAI,GAAGD,UAAU;IAC7B;IACAnB,2BAA2B,CAACmB,UAAU,CAAC;EACzC;EAEA,OAAOE,SAASA,CAAA,EAAG;IACjB,OAAO,IAAI,CAACL,MAAM;EACpB;AACF"}
1
+ {"version":3,"names":["AndroidImportance","setupFirebaseHandlerAndroid","DEFAULT_STREAM_VIDEO_CONFIG","foregroundService","android","channel","id","name","lights","vibration","importance","DEFAULT","notificationTexts","title","body","StreamVideoRN","config","updateConfig","setPushConfig","pushConfig","push","getConfig"],"sourceRoot":"../../../../src","sources":["utils/StreamVideoRN/index.ts"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,uBAAuB;AACzD,SAASC,2BAA2B,QAAQ,iBAAiB;AAG7D,MAAMC,2BAA8C,GAAG;EACrDC,iBAAiB,EAAE;IACjBC,OAAO,EAAE;MACPC,OAAO,EAAE;QACPC,EAAE,EAAE,gCAAgC;QACpCC,IAAI,EAAE,yCAAyC;QAC/CC,MAAM,EAAE,KAAK;QACbC,SAAS,EAAE,KAAK;QAChBC,UAAU,EAAEV,iBAAiB,CAACW;MAChC,CAAC;MACDC,iBAAiB,EAAE;QACjBC,KAAK,EAAE,kBAAkB;QACzBC,IAAI,EAAE;MACR;IACF;EACF;AACF,CAAC;AAED,OAAO,MAAMC,aAAa,CAAC;EACzB,OAAeC,MAAM,GAAGd,2BAA2B;;EAEnD;AACF;AACA;AACA;AACA;EACE,OAAOe,YAAYA,CAACA,YAAsD,EAAE;IAC1E,IAAI,CAACD,MAAM,GAAG;MACZ,GAAG,IAAI,CAACA,MAAM;MACd,GAAGC;IACL,CAAC;EACH;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE,OAAOC,aAAaA,CAACC,UAAkD,EAAE;IACvE,IAAI,IAAI,CAACH,MAAM,CAACI,IAAI,EAAE;MACpB;MACA;IACF;IACA,IAAI,CAACJ,MAAM,CAACI,IAAI,GAAGD,UAAU;IAC7B;IACAlB,2BAA2B,CAACkB,UAAU,CAAC;EACzC;EAEA,OAAOE,SAASA,CAAA,EAAG;IACjB,OAAO,IAAI,CAACL,MAAM;EACpB;AACF"}
@@ -1,2 +1,2 @@
1
- export const version = '0.0.27';
1
+ export const version = '0.1.0';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["version"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,QAAQ"}
1
+ {"version":3,"names":["version"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,OAAO"}
@@ -1,9 +1,13 @@
1
1
  import React from 'react';
2
2
  import { CallTopViewProps } from '../CallTopView';
3
- import { CallParticipantsGridProps } from '../CallLayout';
4
- import { CallControlProps } from '../CallControls';
5
- import { FloatingParticipantViewProps } from '../../Participant';
6
- export type CallParticipantsComponentProps = Pick<CallParticipantsGridProps, 'CallParticipantsList' | 'ParticipantLabel' | 'ParticipantNetworkQualityIndicator' | 'ParticipantReaction' | 'ParticipantVideoFallback' | 'ParticipantView' | 'VideoRenderer'> & {
3
+ import { CallControlProps, HangUpCallButtonProps } from '../CallControls';
4
+ import { StreamReaction } from '@stream-io/video-client';
5
+ import { FloatingParticipantViewProps, ParticipantViewComponentProps } from '../../Participant';
6
+ import { CallParticipantsListComponentProps, CallParticipantsListProps } from '../CallParticipantsList';
7
+ export type StreamReactionType = StreamReaction & {
8
+ icon: string;
9
+ };
10
+ type CallContentComponentProps = ParticipantViewComponentProps & Pick<CallParticipantsListComponentProps, 'ParticipantView'> & {
7
11
  /**
8
12
  * Component to customize the CallTopView component.
9
13
  */
@@ -16,12 +20,22 @@ export type CallParticipantsComponentProps = Pick<CallParticipantsGridProps, 'Ca
16
20
  * Component to customize the FloatingParticipantView.
17
21
  */
18
22
  FloatingParticipantView?: React.ComponentType<FloatingParticipantViewProps> | null;
23
+ /**
24
+ * Component to customize the CallParticipantsList.
25
+ */
26
+ CallParticipantsList?: React.ComponentType<CallParticipantsListProps> | null;
19
27
  };
20
- export type CallContentProps = Pick<CallControlProps, 'onHangupCallHandler'> & Pick<CallTopViewProps, 'onBackPressed' | 'onParticipantInfoPress' | 'ParticipantsInfoBadge'> & CallParticipantsComponentProps & {
28
+ export type CallContentProps = Pick<HangUpCallButtonProps, 'onHangupCallHandler'> & Pick<CallTopViewProps, 'onBackPressed' | 'onParticipantInfoPress' | 'ParticipantsInfoBadge'> & CallContentComponentProps & {
21
29
  /**
22
30
  * This switches the participant's layout between the grid and the spotlight mode.
23
31
  */
24
32
  layout?: 'grid' | 'spotlight';
33
+ /**
34
+ * Reactions that are to be supported in the call
35
+ */
36
+ supportedReactions?: StreamReactionType[];
37
+ landscape?: boolean;
25
38
  };
26
- export declare const CallContent: ({ onBackPressed, onParticipantInfoPress, onHangupCallHandler, CallParticipantsList, CallTopView, CallControls, FloatingParticipantView, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, ParticipantsInfoBadge, VideoRenderer, layout, }: CallContentProps) => JSX.Element;
39
+ export declare const CallContent: ({ onBackPressed, onParticipantInfoPress, onHangupCallHandler, CallParticipantsList, CallTopView, CallControls, FloatingParticipantView, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, ParticipantsInfoBadge, VideoRenderer, layout, supportedReactions, landscape, }: CallContentProps) => JSX.Element;
40
+ export {};
27
41
  //# sourceMappingURL=CallContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CallContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallContent/CallContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAEL,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAEL,yBAAyB,EAG1B,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,gBAAgB,EAEjB,MAAM,iBAAiB,CAAC;AAMzB,OAAO,EAEL,4BAA4B,EAE7B,MAAM,mBAAmB,CAAC;AAG3B,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,yBAAyB,EACvB,sBAAsB,GACtB,kBAAkB,GAClB,oCAAoC,GACpC,qBAAqB,GACrB,0BAA0B,GAC1B,iBAAiB,GACjB,eAAe,CAClB,GAAG;IACF;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC5D;;OAEG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;CACpF,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,EAAE,qBAAqB,CAAC,GAC1E,IAAI,CACF,gBAAgB,EAChB,eAAe,GAAG,wBAAwB,GAAG,uBAAuB,CACrE,GACD,8BAA8B,GAAG;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;CAC/B,CAAC;AAEJ,eAAO,MAAM,WAAW,kTAgBrB,gBAAgB,gBAiHlB,CAAC"}
1
+ {"version":3,"file":"CallContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallContent/CallContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAEL,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AAOxB,OAAO,EACL,gBAAgB,EAEhB,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAgB,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAIvE,OAAO,EAEL,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,kCAAkC,EAClC,yBAAyB,EAC1B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,yBAAyB,GAAG,6BAA6B,GAC5D,IAAI,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,GAAG;IAC5D;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC5D;;OAEG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;IACnF;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;CAC9E,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,qBAAqB,EACrB,qBAAqB,CACtB,GACC,IAAI,CACF,gBAAgB,EAChB,eAAe,GAAG,wBAAwB,GAAG,uBAAuB,CACrE,GACD,yBAAyB,GAAG;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC9B;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAK1C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ,eAAO,MAAM,WAAW,iVAkBrB,gBAAgB,gBA6HlB,CAAC"}
@@ -1,17 +1,18 @@
1
1
  import { ViewProps } from 'react-native';
2
+ import { HangUpCallButtonProps } from './HangupCallButton';
2
3
  /**
3
4
  * Props for the CallControls Component.
4
5
  */
5
- export type CallControlProps = Pick<ViewProps, 'style'> & {
6
+ export type CallControlProps = Pick<ViewProps, 'style'> & Pick<HangUpCallButtonProps, 'onHangupCallHandler'> & {
6
7
  /**
7
- * Handler to override the hang up handler when the hangup button is pressed.
8
- * @returns void
8
+ * Check if device is in landscape mode.
9
+ * This will apply the landscape mode styles to the component.
9
10
  */
10
- onHangupCallHandler?: () => void;
11
+ landscape?: boolean;
11
12
  };
12
13
  /**
13
14
  * A list/row of controls (mute audio/video, toggle front/back camera, hangup call etc.)
14
15
  * the user can trigger within an active call.
15
16
  */
16
- export declare const CallControls: ({ style, onHangupCallHandler, }: CallControlProps) => JSX.Element;
17
+ export declare const CallControls: ({ style, onHangupCallHandler, landscape, }: CallControlProps) => JSX.Element;
17
18
  //# sourceMappingURL=CallControls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CallControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/CallControls.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAQ3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACxD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,oCAGtB,gBAAgB,gBAmBlB,CAAC"}
1
+ {"version":3,"file":"CallControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/CallControls.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,SAAS,EAAa,MAAM,cAAc,CAAC;AAKtE,OAAO,EAAoB,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAG7E;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GACrD,IAAI,CAAC,qBAAqB,EAAE,qBAAqB,CAAC,GAAG;IACnD;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,YAAY,+CAItB,gBAAgB,gBAyBlB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { StreamReactionType } from '../CallContent';
2
+ /**
3
+ * Props for the Reaction button
4
+ */
5
+ export type ReactionsButtonProps = {
6
+ /**
7
+ * Supported Reactions to be sent while in the call.
8
+ */
9
+ supportedReactions?: StreamReactionType[];
10
+ /**
11
+ * Handler to be called when the reaction button is pressed.
12
+ */
13
+ onPressHandler?: () => void;
14
+ };
15
+ /**
16
+ * Button to display the list of Reactions supported in the call.
17
+ * On press, it opens a view that can be used to send Reaction.
18
+ */
19
+ export declare const ReactionsButton: ({ supportedReactions, onPressHandler, }: ReactionsButtonProps) => JSX.Element;
20
+ //# sourceMappingURL=ReactionsButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionsButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/ReactionsButton.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC1C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,4CAGzB,oBAAoB,gBAuDtB,CAAC"}
@@ -7,7 +7,7 @@ export * from './ToggleAudioPublishingButton';
7
7
  export * from './ToggleVideoPublishingButton';
8
8
  export * from './ToggleCameraFaceButton';
9
9
  export * from './ChatButton';
10
- export * from './ReactionButton';
10
+ export * from './ReactionsButton';
11
11
  export * from './CallControls';
12
12
  export * from './LobbyControls';
13
13
  export * from './IncomingCallControls';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/index.tsx"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/index.tsx"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import { LayoutRectangle } from 'react-native';
2
- import { StreamVideoConfig } from '../../../../utils/StreamVideoRN/types';
3
- interface Props {
4
- reactions: StreamVideoConfig['supportedReactions'];
2
+ import { ReactionsButtonProps } from '../ReactionsButton';
3
+ type ReactionPickerProps = Pick<ReactionsButtonProps, 'supportedReactions'> & {
5
4
  reactionsButtonLayoutRectangle?: LayoutRectangle;
6
5
  onRequestedClose: () => void;
7
- }
8
- export declare const ReactionsPicker: ({ reactions, reactionsButtonLayoutRectangle, onRequestedClose, }: Props) => JSX.Element;
6
+ };
7
+ export declare const ReactionsPicker: ({ supportedReactions, reactionsButtonLayoutRectangle, onRequestedClose, }: ReactionPickerProps) => JSX.Element;
9
8
  export {};
10
9
  //# sourceMappingURL=ReactionsPicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReactionsPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Call/CallControls/internal/ReactionsPicker.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EAKhB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAM1E,UAAU,KAAK;IACb,SAAS,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;IACnD,8BAA8B,CAAC,EAAE,eAAe,CAAC;IACjD,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAKD,eAAO,MAAM,eAAe,qEAIzB,KAAK,gBA6IP,CAAC"}
1
+ {"version":3,"file":"ReactionsPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Call/CallControls/internal/ReactionsPicker.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EAKhB,MAAM,cAAc,CAAC;AAKtB,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1D,KAAK,mBAAmB,GAAG,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,GAAG;IAC5E,8BAA8B,CAAC,EAAE,eAAe,CAAC;IACjD,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAKF,eAAO,MAAM,eAAe,8EAIzB,mBAAmB,gBA6IrB,CAAC"}
@@ -1,20 +1,22 @@
1
- import React from 'react';
2
- import { CallParticipantsListProps, CallParticipantsListComponentProps } from '../CallParticipantsList/CallParticipantsList';
1
+ import { CallParticipantsListComponentProps } from '../CallParticipantsList/CallParticipantsList';
2
+ import { CallContentProps } from '../CallContent';
3
+ import { ParticipantViewComponentProps } from '../../Participant';
3
4
  /**
4
5
  * Props for the CallParticipantsGrid component.
5
6
  */
6
- export type CallParticipantsGridProps = CallParticipantsListComponentProps & {
7
- /**
8
- * Component to customize the CallParticipantsList.
9
- */
10
- CallParticipantsList?: React.ComponentType<CallParticipantsListProps> | null;
7
+ export type CallParticipantsGridProps = ParticipantViewComponentProps & Pick<CallContentProps, 'supportedReactions' | 'CallParticipantsList'> & Pick<CallParticipantsListComponentProps, 'ParticipantView'> & {
11
8
  /**
12
9
  * Boolean to decide if local participant will be visible in the grid when there is 1:1 call.
13
10
  */
14
11
  showLocalParticipant?: boolean;
12
+ /**
13
+ * Check if device is in landscape mode.
14
+ * This will apply the landscape mode styles to the component.
15
+ */
16
+ landscape?: boolean;
15
17
  };
16
18
  /**
17
19
  * Component used to display the list of participants in a grid mode.
18
20
  */
19
- export declare const CallParticipantsGrid: ({ CallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, showLocalParticipant, }: CallParticipantsGridProps) => JSX.Element;
21
+ export declare const CallParticipantsGrid: ({ CallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, showLocalParticipant, supportedReactions, landscape, }: CallParticipantsGridProps) => JSX.Element;
20
22
  //# sourceMappingURL=CallParticipantsGrid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CallParticipantsGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/CallParticipantsGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAEL,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AAItD;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,kCAAkC,GAAG;IAC3E;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;IAC7E;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,yLAS9B,yBAAyB,gBAgD3B,CAAC"}
1
+ {"version":3,"file":"CallParticipantsGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/CallParticipantsGrid.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,6BAA6B,GACnE,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,sBAAsB,CAAC,GACrE,IAAI,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,GAAG;IAC5D;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,oBAAoB,wNAW9B,yBAAyB,gBAsD3B,CAAC"}
@@ -1,17 +1,19 @@
1
- import React from 'react';
2
- import { CallParticipantsListComponentProps, CallParticipantsListProps } from '../CallParticipantsList/CallParticipantsList';
1
+ import { CallParticipantsListComponentProps } from '../CallParticipantsList/CallParticipantsList';
2
+ import { ParticipantViewComponentProps } from '../../Participant';
3
+ import { CallContentProps } from '../CallContent';
3
4
  /**
4
5
  * Props for the CallParticipantsSpotlight component.
5
6
  */
6
- export type CallParticipantsSpotlightProps = CallParticipantsListComponentProps & {
7
+ export type CallParticipantsSpotlightProps = ParticipantViewComponentProps & Pick<CallContentProps, 'supportedReactions' | 'CallParticipantsList'> & Pick<CallParticipantsListComponentProps, 'ParticipantView'> & {
7
8
  /**
8
- * Component to customize the CallParticipantsList.
9
+ * Check if device is in landscape mode.
10
+ * This will apply the landscape mode styles to the component.
9
11
  */
10
- CallParticipantsList?: React.ComponentType<CallParticipantsListProps> | null;
12
+ landscape?: boolean;
11
13
  };
12
14
  /**
13
15
  * Component used to display the list of participants in a spotlight mode.
14
16
  * This can be used when you want to render the screen sharing stream.
15
17
  */
16
- export declare const CallParticipantsSpotlight: ({ CallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, }: CallParticipantsSpotlightProps) => JSX.Element;
18
+ export declare const CallParticipantsSpotlight: ({ CallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, supportedReactions, landscape, }: CallParticipantsSpotlightProps) => JSX.Element;
17
19
  //# sourceMappingURL=CallParticipantsSpotlight.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CallParticipantsSpotlight.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAEL,kCAAkC,EAClC,yBAAyB,EAC1B,MAAM,8CAA8C,CAAC;AAOtD;;GAEG;AACH,MAAM,MAAM,8BAA8B,GACxC,kCAAkC,GAAG;IACnC;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;CAC9E,CAAC;AAKJ;;;GAGG;AACH,eAAO,MAAM,yBAAyB,mKAQnC,8BAA8B,gBA6EhC,CAAC"}
1
+ {"version":3,"file":"CallParticipantsSpotlight.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"names":[],"mappings":"AAUA,OAAO,EAEL,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAEL,6BAA6B,EAC9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,6BAA6B,GACxE,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,sBAAsB,CAAC,GACrE,IAAI,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,GAAG;IAC5D;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAKJ;;;GAGG;AACH,eAAO,MAAM,yBAAyB,kMAUnC,8BAA8B,gBA2FhC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { StreamVideoLocalParticipant, StreamVideoParticipant } from '@stream-io/video-client';
3
3
  import { ParticipantViewComponentProps, ParticipantViewProps } from '../../Participant/ParticipantView';
4
+ import { CallContentProps } from '../CallContent';
4
5
  export type CallParticipantsListComponentProps = ParticipantViewComponentProps & {
5
6
  /**
6
7
  * Component to customize the participant view.
@@ -10,7 +11,7 @@ export type CallParticipantsListComponentProps = ParticipantViewComponentProps &
10
11
  /**
11
12
  * Props of the CallParticipantsList component
12
13
  */
13
- export type CallParticipantsListProps = CallParticipantsListComponentProps & {
14
+ export type CallParticipantsListProps = CallParticipantsListComponentProps & Pick<CallContentProps, 'supportedReactions'> & {
14
15
  /**
15
16
  * The list of participants to display in the list
16
17
  */
@@ -24,6 +25,11 @@ export type CallParticipantsListProps = CallParticipantsListComponentProps & {
24
25
  * If true, the list will be displayed in horizontal scrolling mode
25
26
  */
26
27
  horizontal?: boolean;
28
+ /**
29
+ * Check if phone is in landscape mode.
30
+ * This will apply the landscape mode styles to the component.
31
+ */
32
+ landscape?: boolean;
27
33
  };
28
34
  /**
29
35
  * This component displays a list of participants in a FlatList.
@@ -31,5 +37,5 @@ export type CallParticipantsListProps = CallParticipantsListComponentProps & {
31
37
  * NOTE: this component depends on a flex container to calculate the width and height of the participant view,
32
38
  * hence it should be used only in a flex parent container
33
39
  */
34
- export declare const CallParticipantsList: ({ numberOfColumns, horizontal, participants, ParticipantView, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, VideoRenderer, }: CallParticipantsListProps) => JSX.Element;
40
+ export declare const CallParticipantsList: ({ numberOfColumns, horizontal, participants, ParticipantView, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, VideoRenderer, supportedReactions, landscape, }: CallParticipantsListProps) => JSX.Element;
35
41
  //# sourceMappingURL=CallParticipantsList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CallParticipantsList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallParticipantsList/CallParticipantsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAGf,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EAGvB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAEL,6BAA6B,EAC7B,oBAAoB,EACrB,MAAM,mCAAmC,CAAC;AAW3C,MAAM,MAAM,kCAAkC,GAC5C,6BAA6B,GAAG;IAC9B;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;CACpE,CAAC;AAEJ;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,kCAAkC,GAAG;IAC3E;;OAEG;IACH,YAAY,EAAE,CAAC,sBAAsB,GAAG,2BAA2B,CAAC,EAAE,CAAC;IACvE;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,wLAU9B,yBAAyB,gBAkK3B,CAAC"}
1
+ {"version":3,"file":"CallParticipantsList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallParticipantsList/CallParticipantsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAGf,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EAGvB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAEL,6BAA6B,EAC7B,oBAAoB,EACrB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAWlD,MAAM,MAAM,kCAAkC,GAC5C,6BAA6B,GAAG;IAC9B;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;CACpE,CAAC;AAEJ;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,kCAAkC,GACxE,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,CAAC,GAAG;IAC7C;;OAEG;IACH,YAAY,EAAE,CAAC,sBAAsB,GAAG,2BAA2B,CAAC,EAAE,CAAC;IACvE;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,uNAY9B,yBAAyB,gBAuK3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CallTopView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallTopView/CallTopView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAKL,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,EAEL,0BAA0B,EAC3B,MAAM,yBAAyB,CAAC;AAOjC,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B;;OAEG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;CAChF,CAAC;AAEF,eAAO,MAAM,WAAW,+FAMrB,gBAAgB,gBAiFlB,CAAC"}
1
+ {"version":3,"file":"CallTopView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallTopView/CallTopView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAKL,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,EAEL,0BAA0B,EAC3B,MAAM,yBAAyB,CAAC;AAOjC,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B;;OAEG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;CAChF,CAAC;AAEF,eAAO,MAAM,WAAW,+FAMrB,gBAAgB,gBAmFlB,CAAC"}
@@ -27,6 +27,11 @@ export type RingingCallContentProps = {
27
27
  * Prop to customize the JoiningCallIndicator component in the RingingCallContent. It is shown when the call is accepted and is waiting to be joined.
28
28
  */
29
29
  JoiningCallIndicator?: React.ComponentType | null;
30
+ /**
31
+ * Check if device is in landscape mode.
32
+ * This will apply the landscape mode styles to the component.
33
+ */
34
+ landscape?: boolean;
30
35
  };
31
36
  /**
32
37
  * Component to show the Incoming, Outgoing and CalContent component depending upon the Call states when the call is in ringing mode.
@@ -1 +1 @@
1
- {"version":3,"file":"RingingCallContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/RingingCallContent/RingingCallContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAEL,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAEL,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAIxB;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IAC7D;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IAC7D;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,IAAI,CAAC;CACnD,CAAC;AA6BF;;GAEG;AACH,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,gBAShE,CAAC"}
1
+ {"version":3,"file":"RingingCallContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/RingingCallContent/RingingCallContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAEL,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAEL,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAIxB;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IAC7D;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IAC7D;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,IAAI,CAAC;IAClD;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAkCF;;GAEG;AACH,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,gBAShE,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import { StyleProp, ViewStyle } from 'react-native';
2
- import { CallParticipantsListProps } from '../../Call';
2
+ import { CallContentProps, CallParticipantsListComponentProps } from '../../Call';
3
3
  import { ParticipantViewComponentProps } from '../ParticipantView';
4
4
  import { StreamVideoParticipant } from '@stream-io/video-client';
5
5
  export type FloatingParticipantViewAlignment = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
6
6
  /**
7
7
  * Props to be passed for the LocalVideoView component.
8
8
  */
9
- export type FloatingParticipantViewProps = ParticipantViewComponentProps & Pick<CallParticipantsListProps, 'ParticipantView'> & {
9
+ export type FloatingParticipantViewProps = ParticipantViewComponentProps & Pick<CallParticipantsListComponentProps, 'ParticipantView'> & Pick<CallContentProps, 'supportedReactions'> & {
10
10
  /**
11
11
  * Determines where the floating participant video will be placed.
12
12
  */
@@ -28,5 +28,5 @@ export type FloatingParticipantViewProps = ParticipantViewComponentProps & Pick<
28
28
  /**
29
29
  * A component to render the floating participant's video.
30
30
  */
31
- export declare const FloatingParticipantView: ({ alignment, onPressHandler, participant, style, ParticipantView, ParticipantNetworkQualityIndicator, ParticipantReaction, VideoRenderer, }: FloatingParticipantViewProps) => JSX.Element | null;
31
+ export declare const FloatingParticipantView: ({ alignment, onPressHandler, participant, style, ParticipantView, ParticipantNetworkQualityIndicator, ParticipantReaction, VideoRenderer, supportedReactions, }: FloatingParticipantViewProps) => JSX.Element | null;
32
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Participant/FloatingParticipantView/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EAEL,6BAA6B,EAC9B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,MAAM,MAAM,gCAAgC,GACxC,UAAU,GACV,WAAW,GACX,aAAa,GACb,cAAc,CAAC;AAEnB;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,6BAA6B,GACtE,IAAI,CAAC,yBAAyB,EAAE,iBAAiB,CAAC,GAAG;IACnD;;OAEG;IACH,SAAS,CAAC,EAAE,gCAAgC,CAAC;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,sBAAsB,CAAC;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AA0BJ;;GAEG;AACH,eAAO,MAAM,uBAAuB,gJASjC,4BAA4B,uBAmF9B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Participant/FloatingParticipantView/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,OAAO,EACL,gBAAgB,EAChB,kCAAkC,EACnC,MAAM,YAAY,CAAC;AAEpB,OAAO,EAEL,6BAA6B,EAC9B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,MAAM,MAAM,gCAAgC,GACxC,UAAU,GACV,WAAW,GACX,aAAa,GACb,cAAc,CAAC;AAEnB;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,6BAA6B,GACtE,IAAI,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,GAC3D,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,CAAC,GAAG;IAC7C;;OAEG;IACH,SAAS,CAAC,EAAE,gCAAgC,CAAC;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,sBAAsB,CAAC;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AA0BJ;;GAEG;AACH,eAAO,MAAM,uBAAuB,oKAUjC,4BAA4B,uBAoF9B,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import { ParticipantViewProps } from './ParticipantView';
2
+ import { CallContentProps } from '../../Call';
2
3
  /**
3
4
  * Props for the ParticipantReaction component.
4
5
  */
5
- export type ParticipantReactionProps = Pick<ParticipantViewProps, 'participant'> & {
6
+ export type ParticipantReactionProps = Pick<ParticipantViewProps, 'participant'> & Pick<CallContentProps, 'supportedReactions'> & {
6
7
  /**
7
8
  * The duration after which the reaction should disappear.
8
9
  *
@@ -13,5 +14,5 @@ export type ParticipantReactionProps = Pick<ParticipantViewProps, 'participant'>
13
14
  /**
14
15
  * This component is used to display the current participant reaction.
15
16
  */
16
- export declare const ParticipantReaction: ({ participant, hideAfterTimeoutInMs, }: ParticipantReactionProps) => JSX.Element;
17
+ export declare const ParticipantReaction: ({ participant, supportedReactions, hideAfterTimeoutInMs, }: ParticipantReactionProps) => JSX.Element;
17
18
  //# sourceMappingURL=ParticipantReaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParticipantReaction.d.ts","sourceRoot":"","sources":["../../../../../src/components/Participant/ParticipantView/ParticipantReaction.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAGzD;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,oBAAoB,EACpB,aAAa,CACd,GAAG;IACF;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,2CAG7B,wBAAwB,gBA6D1B,CAAC"}
1
+ {"version":3,"file":"ParticipantReaction.d.ts","sourceRoot":"","sources":["../../../../../src/components/Participant/ParticipantView/ParticipantReaction.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,oBAAoB,EACpB,aAAa,CACd,GACC,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,CAAC,GAAG;IAC7C;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,mBAAmB,+DAI7B,wBAAwB,gBA8C1B,CAAC"}
@@ -6,7 +6,7 @@ import { ParticipantReactionProps } from './ParticipantReaction';
6
6
  import { ParticipantLabelProps } from './ParticipantLabel';
7
7
  import { ParticipantVideoFallbackProps } from './ParticipantVideoFallback';
8
8
  import { VideoRendererProps } from './VideoRenderer';
9
- export type ParticipantVideoType = VideoTrackType;
9
+ import { CallContentProps } from '../../Call';
10
10
  export type ParticipantViewComponentProps = {
11
11
  /**
12
12
  * Component to customize the Label of the participant.
@@ -32,7 +32,7 @@ export type ParticipantViewComponentProps = {
32
32
  /**
33
33
  * Props to be passed for the Participant component.
34
34
  */
35
- export type ParticipantViewProps = ParticipantViewComponentProps & {
35
+ export type ParticipantViewProps = ParticipantViewComponentProps & Pick<CallContentProps, 'supportedReactions'> & {
36
36
  /**
37
37
  * The participant that will be displayed.
38
38
  */
@@ -49,7 +49,7 @@ export type ParticipantViewProps = ParticipantViewComponentProps & {
49
49
  /**
50
50
  * The video track that is to be displayed.
51
51
  */
52
- trackType?: ParticipantVideoType;
52
+ trackType?: VideoTrackType;
53
53
  /**
54
54
  * Custom style to be merged with the participant view.
55
55
  */
@@ -66,5 +66,5 @@ export type ParticipantViewProps = ParticipantViewComponentProps & {
66
66
  * and additional info. By an absence of a video track or when isVisible is truthy,
67
67
  * only an avatar and audio track will be rendered.
68
68
  */
69
- export declare const ParticipantView: ({ participant, trackType, isVisible, style, ParticipantLabel, ParticipantReaction, VideoRenderer, ParticipantNetworkQualityIndicator, ParticipantVideoFallback, videoZOrder, }: ParticipantViewProps) => JSX.Element;
69
+ export declare const ParticipantView: ({ participant, trackType, isVisible, style, ParticipantLabel, ParticipantReaction, VideoRenderer, ParticipantNetworkQualityIndicator, ParticipantVideoFallback, videoZOrder, supportedReactions, }: ParticipantViewProps) => JSX.Element;
70
70
  //# sourceMappingURL=ParticipantView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParticipantView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Participant/ParticipantView/ParticipantView.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EACL,sBAAsB,EACtB,cAAc,EACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,uCAAuC,EACxC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEL,wBAAwB,EACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,6BAA6B,EAC9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAGzB,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAElD,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,gBAAgB,CAAC,EAAE,aAAa,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;IAC/D;;OAEG;IACH,mBAAmB,CAAC,EAAE,aAAa,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC;IACrE;;OAEG;IACH,wBAAwB,CAAC,EAAE,aAAa,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC;IAC/E;;OAEG;IACH,kCAAkC,CAAC,EAAE,aAAa,CAAC,uCAAuC,CAAC,GAAG,IAAI,CAAC;IACnG;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;CAC1D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,6BAA6B,GAAG;IACjE;;OAEG;IACH,WAAW,EAAE,sBAAsB,CAAC;IACpC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,mLAWzB,oBAAoB,gBA4CtB,CAAC"}
1
+ {"version":3,"file":"ParticipantView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Participant/ParticipantView/ParticipantView.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OA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AC,CAAC;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ;;;;GAIG;AACH,eAAO,MAAM,eAAe,uMAYzB,oBAAoB,gBAiDtB,CAAC"}
@@ -1,11 +1,11 @@
1
- import { StreamVideoConfig } from '../utils/StreamVideoRN/types';
1
+ import { StreamReactionType } from '../components';
2
2
  export declare const FLOATING_VIDEO_VIEW_STYLE: {
3
3
  height: number;
4
4
  width: number;
5
5
  borderRadius: number;
6
6
  };
7
7
  export declare const LOBBY_VIDEO_VIEW_HEIGHT = 280;
8
- export declare const defaultEmojiReactions: StreamVideoConfig['supportedReactions'];
8
+ export declare const defaultEmojiReactions: StreamReactionType[];
9
9
  export declare const Z_INDEX: {
10
10
  IN_BACK: number;
11
11
  IN_MIDDLE: number;