@stream-io/video-react-native-sdk 0.0.28 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +19 -10
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js +7 -3
  4. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  5. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
  6. package/dist/commonjs/components/Call/CallControls/{ReactionButton.js → ReactionsButton.js} +8 -8
  7. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -0
  8. package/dist/commonjs/components/Call/CallControls/index.js +4 -4
  9. package/dist/commonjs/components/Call/CallControls/index.js.map +1 -1
  10. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +10 -9
  11. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  12. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +2 -0
  13. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  14. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +4 -1
  15. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  16. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +5 -2
  17. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  18. package/dist/commonjs/components/Call/Lobby/Lobby.js +7 -23
  19. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
  20. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +63 -0
  21. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -0
  22. package/dist/commonjs/components/Call/Lobby/index.js +11 -0
  23. package/dist/commonjs/components/Call/Lobby/index.js.map +1 -1
  24. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +4 -2
  25. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
  26. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +4 -18
  27. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  28. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +4 -2
  29. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  30. package/dist/commonjs/constants/index.js.map +1 -1
  31. package/dist/commonjs/translations/en.json +1 -1
  32. package/dist/commonjs/utils/StreamVideoRN/index.js +1 -2
  33. package/dist/commonjs/utils/StreamVideoRN/index.js.map +1 -1
  34. package/dist/commonjs/version.js +1 -1
  35. package/dist/commonjs/version.js.map +1 -1
  36. package/dist/module/components/Call/CallContent/CallContent.js +7 -3
  37. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  38. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
  39. package/dist/module/components/Call/CallControls/{ReactionButton.js → ReactionsButton.js} +6 -6
  40. package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -0
  41. package/dist/module/components/Call/CallControls/index.js +1 -1
  42. package/dist/module/components/Call/CallControls/index.js.map +1 -1
  43. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +10 -9
  44. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  45. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +2 -0
  46. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  47. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +4 -1
  48. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  49. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +5 -2
  50. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  51. package/dist/module/components/Call/Lobby/Lobby.js +7 -23
  52. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
  53. package/dist/module/components/Call/Lobby/LobbyFooter.js +56 -0
  54. package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -0
  55. package/dist/module/components/Call/Lobby/index.js +1 -0
  56. package/dist/module/components/Call/Lobby/index.js.map +1 -1
  57. package/dist/module/components/Participant/FloatingParticipantView/index.js +4 -2
  58. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
  59. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +6 -20
  60. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  61. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +4 -2
  62. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  63. package/dist/module/constants/index.js.map +1 -1
  64. package/dist/module/translations/en.json +1 -1
  65. package/dist/module/utils/StreamVideoRN/index.js +1 -2
  66. package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
  67. package/dist/module/version.js +1 -1
  68. package/dist/module/version.js.map +1 -1
  69. package/dist/typescript/components/Call/CallContent/CallContent.d.ts +17 -8
  70. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  71. package/dist/typescript/components/Call/CallControls/CallControls.d.ts +2 -6
  72. package/dist/typescript/components/Call/CallControls/CallControls.d.ts.map +1 -1
  73. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts +20 -0
  74. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -0
  75. package/dist/typescript/components/Call/CallControls/index.d.ts +1 -1
  76. package/dist/typescript/components/Call/CallControls/index.d.ts.map +1 -1
  77. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts +4 -5
  78. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
  79. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts +5 -8
  80. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
  81. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts +5 -8
  82. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  83. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts +3 -2
  84. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  85. package/dist/typescript/components/Call/Lobby/Lobby.d.ts +6 -1
  86. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
  87. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts +10 -0
  88. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -0
  89. package/dist/typescript/components/Call/Lobby/index.d.ts +1 -0
  90. package/dist/typescript/components/Call/Lobby/index.d.ts.map +1 -1
  91. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts +3 -3
  92. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  93. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +3 -2
  94. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
  95. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +4 -4
  96. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  97. package/dist/typescript/constants/index.d.ts +2 -2
  98. package/dist/typescript/constants/index.d.ts.map +1 -1
  99. package/dist/typescript/translations/index.d.ts +1 -1
  100. package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
  101. package/dist/typescript/utils/StreamVideoRN/types.d.ts +1 -11
  102. package/dist/typescript/utils/StreamVideoRN/types.d.ts.map +1 -1
  103. package/dist/typescript/version.d.ts +1 -1
  104. package/dist/typescript/version.d.ts.map +1 -1
  105. package/package.json +1 -1
  106. package/src/components/Call/CallContent/CallContent.tsx +41 -25
  107. package/src/components/Call/CallControls/CallControls.tsx +9 -13
  108. package/src/components/Call/CallControls/{ReactionButton.tsx → ReactionsButton.tsx} +13 -6
  109. package/src/components/Call/CallControls/index.tsx +1 -1
  110. package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +14 -14
  111. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +17 -16
  112. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +7 -7
  113. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +25 -20
  114. package/src/components/Call/Lobby/Lobby.tsx +16 -36
  115. package/src/components/Call/Lobby/LobbyFooter.tsx +75 -0
  116. package/src/components/Call/Lobby/index.ts +1 -0
  117. package/src/components/Participant/FloatingParticipantView/index.tsx +8 -2
  118. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +16 -29
  119. package/src/components/Participant/ParticipantView/ParticipantView.tsx +38 -32
  120. package/src/constants/index.ts +2 -2
  121. package/src/translations/en.json +1 -1
  122. package/src/utils/StreamVideoRN/index.ts +1 -2
  123. package/src/utils/StreamVideoRN/types.ts +1 -11
  124. package/src/version.ts +1 -1
  125. package/dist/commonjs/components/Call/CallControls/ReactionButton.js.map +0 -1
  126. package/dist/module/components/Call/CallControls/ReactionButton.js.map +0 -1
  127. package/dist/typescript/components/Call/CallControls/ReactionButton.d.ts +0 -15
  128. package/dist/typescript/components/Call/CallControls/ReactionButton.d.ts.map +0 -1
@@ -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","borderWidth","flexDirection","alignItems"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantView.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAyB,OAAO;AAC5C,SAAoBC,UAAU,EAAE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MAAM,EACJX,UAAU,GACL,eAAcC,MAAO,cAAa,GAClC,eAAcA,MAAO;EAC3B,GAEApB,mBAAmB,iBAAIL,KAAA,CAAAiC,aAAA,CAAC5B,mBAAmB;IAACW,WAAW,EAAEA;EAAY,CAAE,CAAC,EACxEL,aAAa,iBACZX,KAAA,CAAAiC,aAAA,CAACtB,aAAa;IACZO,SAAS,EAAEA,SAAU;IACrBF,WAAW,EAAEA,WAAY;IACzBC,SAAS,EAAEA,SAAU;IACrBR,wBAAwB,EAAEA,wBAAyB;IACnDW,WAAW,EAAEA;EAAY,CAC1B,CACF,eACDpB,KAAA,CAAAiC,aAAA,CAAC/B,IAAI;IAACiB,KAAK,EAAE,CAACU,MAAM,CAACO,eAAe,EAAEb,eAAe,CAACa,eAAe;EAAE,GACpE7B,gBAAgB,iBACfP,KAAA,CAAAiC,aAAA,CAAC1B,gBAAgB;IAACS,WAAW,EAAEA,WAAY;IAACC,SAAS,EAAEA;EAAU,CAAE,CACpE,EACAd,kCAAkC,iBACjCH,KAAA,CAAAiC,aAAA,CAAC9B,kCAAkC;IAACa,WAAW,EAAEA;EAAY,CAAE,CAE7D,CACF,CAAC;AAEX,CAAC;AAED,MAAMa,MAAM,GAAG5B,UAAU,CAACoC,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
+ {"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+B;IAC1DU,WAAW,GAAG,CAAC;IACfC;EACoB,CAAC,GAAAN,IAAA;EACrB,MAAM;IACJO,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAgB;EACnC,CAAC,GAAGX,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEY,UAAU;IAAEC;EAAO,CAAC,GAAGV,WAAW;EAC1C,MAAM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C,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"}
@@ -6,7 +6,7 @@
6
6
  "Join": "Join",
7
7
  "You": "You",
8
8
  "Reconnecting...": "Reconnecting...",
9
- "You are first to Join the call.": "You are first to Join the call.",
9
+ "You are first to join the call.": "You are first to join the call.",
10
10
  "Participants ({{ numberOfParticipants }})": "Participants ({{ numberOfParticipants }})",
11
11
  "{{ userName }} is sharing their screen": "{{ userName }} is sharing their screen",
12
12
  "{{ numberOfParticipants }} participant(s) are in the call.": "{{ numberOfParticipants }} participant(s) are in the call.",
@@ -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.28';
1
+ export const version = '0.1.1';
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,17 +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';
25
33
  /**
26
- * Check if device is in landscape mode.
27
- * This will apply the landscape mode styles to the component.
34
+ * Reactions that are to be supported in the call
28
35
  */
36
+ supportedReactions?: StreamReactionType[];
29
37
  landscape?: boolean;
30
38
  };
31
- export declare const CallContent: ({ onBackPressed, onParticipantInfoPress, onHangupCallHandler, CallParticipantsList, CallTopView, CallControls, FloatingParticipantView, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, ParticipantsInfoBadge, VideoRenderer, layout, landscape, }: 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 {};
32
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;IAC9B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ,eAAO,MAAM,WAAW,6TAiBrB,gBAAgB,gBA0HlB,CAAC"}
1
+ {"version":3,"file":"CallContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallContent/CallContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3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,WAAW,iVAkBrB,gBAAgB,gBA6HlB,CAAC"}
@@ -1,13 +1,9 @@
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
- /**
7
- * Handler to override the hang up handler when the hangup button is pressed.
8
- * @returns void
9
- */
10
- onHangupCallHandler?: () => void;
6
+ export type CallControlProps = Pick<ViewProps, 'style'> & Pick<HangUpCallButtonProps, 'onHangupCallHandler'> & {
11
7
  /**
12
8
  * Check if device is in landscape mode.
13
9
  * This will apply the landscape mode styles to the component.
@@ -1 +1 @@
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;AAQtE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACxD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,+CAItB,gBAAgB,gBAyBlB,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,13 +1,10 @@
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
  */
@@ -21,5 +18,5 @@ export type CallParticipantsGridProps = CallParticipantsListComponentProps & {
21
18
  /**
22
19
  * Component used to display the list of participants in a grid mode.
23
20
  */
24
- export declare const CallParticipantsGrid: ({ CallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, showLocalParticipant, landscape, }: CallParticipantsGridProps) => JSX.Element;
21
+ export declare const CallParticipantsGrid: ({ CallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, showLocalParticipant, supportedReactions, landscape, }: CallParticipantsGridProps) => JSX.Element;
25
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;IAC/B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,oMAU9B,yBAAyB,gBAqD3B,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,13 +1,10 @@
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
- /**
8
- * Component to customize the CallParticipantsList.
9
- */
10
- CallParticipantsList?: React.ComponentType<CallParticipantsListProps> | null;
7
+ export type CallParticipantsSpotlightProps = ParticipantViewComponentProps & Pick<CallContentProps, 'supportedReactions' | 'CallParticipantsList'> & Pick<CallParticipantsListComponentProps, 'ParticipantView'> & {
11
8
  /**
12
9
  * Check if device is in landscape mode.
13
10
  * This will apply the landscape mode styles to the component.
@@ -18,5 +15,5 @@ export type CallParticipantsSpotlightProps = CallParticipantsListComponentProps
18
15
  * Component used to display the list of participants in a spotlight mode.
19
16
  * This can be used when you want to render the screen sharing stream.
20
17
  */
21
- export declare const CallParticipantsSpotlight: ({ CallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, landscape, }: CallParticipantsSpotlightProps) => JSX.Element;
18
+ export declare const CallParticipantsSpotlight: ({ CallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, supportedReactions, landscape, }: CallParticipantsSpotlightProps) => JSX.Element;
22
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;IAC7E;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAKJ;;;GAGG;AACH,eAAO,MAAM,yBAAyB,8KASnC,8BAA8B,gBAyFhC,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
  */
@@ -36,5 +37,5 @@ export type CallParticipantsListProps = CallParticipantsListComponentProps & {
36
37
  * NOTE: this component depends on a flex container to calculate the width and height of the participant view,
37
38
  * hence it should be used only in a flex parent container
38
39
  */
39
- export declare const CallParticipantsList: ({ numberOfColumns, horizontal, participants, ParticipantView, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, VideoRenderer, landscape, }: CallParticipantsListProps) => JSX.Element;
40
+ export declare const CallParticipantsList: ({ numberOfColumns, horizontal, participants, ParticipantView, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, VideoRenderer, supportedReactions, landscape, }: CallParticipantsListProps) => JSX.Element;
40
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;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,mMAW9B,yBAAyB,gBAqK3B,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,5 +1,6 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { JoinCallButtonProps } from './JoinCallButton';
3
+ import { LobbyFooterProps } from './LobbyFooter';
3
4
  /**
4
5
  * Props for the Lobby Component.
5
6
  */
@@ -16,9 +17,13 @@ export type LobbyProps = {
16
17
  * Component to customize the Join Call Button in the Lobby component.
17
18
  */
18
19
  JoinCallButton?: ComponentType<JoinCallButtonProps> | null;
20
+ /**
21
+ * Component to customize the Lobby Footer in the Lobby component.
22
+ */
23
+ LobbyFooter?: ComponentType<LobbyFooterProps> | null;
19
24
  };
20
25
  /**
21
26
  * Components that acts as a pre-join view for the call. Where you can preview your video and audio. Check for call details and check for number of participants already in the call.
22
27
  */
23
- export declare const Lobby: ({ onJoinCallHandler, LobbyControls, JoinCallButton, }: LobbyProps) => JSX.Element;
28
+ export declare const Lobby: ({ onJoinCallHandler, LobbyControls, JoinCallButton, LobbyFooter, }: LobbyProps) => JSX.Element;
24
29
  //# sourceMappingURL=Lobby.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Lobby.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/Lobby/Lobby.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAc7C,OAAO,EAEL,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAK1B;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACzC;;OAEG;IACH,cAAc,CAAC,EAAE,aAAa,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;CAC5D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,0DAIf,UAAU,gBA4GZ,CAAC"}
1
+ {"version":3,"file":"Lobby.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/Lobby/Lobby.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAc7C,OAAO,EAEL,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,EAEL,gBAAgB,EACjB,MAAM,eAAe,CAAC;AAEvB;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACzC;;OAEG;IACH,cAAc,CAAC,EAAE,aAAa,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,WAAW,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;CACtD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,uEAKf,UAAU,gBAmFZ,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { LobbyProps } from './Lobby';
2
+ /**
3
+ * Props for the Lobby Footer in the Lobby component.
4
+ */
5
+ export type LobbyFooterProps = Pick<LobbyProps, 'onJoinCallHandler' | 'JoinCallButton'>;
6
+ /**
7
+ * The default Lobby Footer to be used in the Lobby component.
8
+ */
9
+ export declare const LobbyFooter: ({ onJoinCallHandler, JoinCallButton, }: LobbyFooterProps) => JSX.Element;
10
+ //# sourceMappingURL=LobbyFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LobbyFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/Lobby/LobbyFooter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AASrC;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,UAAU,EACV,mBAAmB,GAAG,gBAAgB,CACvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,2CAGrB,gBAAgB,gBA2ClB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './Lobby';
2
2
  export * from './JoinCallButton';
3
+ export * from './LobbyFooter';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/Lobby/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/Lobby/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,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,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;AAEzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,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,GAC9D,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,CAAC,GAAG;IAC7C;;OAEG;IACH,WAAW,EAAE,sBAAsB,CAAC;IACpC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,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;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,eAAO,MAAM,yBAAyB;;;;CAIrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAE3C,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,CAAC,oBAAoB,CAmBzE,CAAC;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,eAAO,MAAM,yBAAyB;;;;CAIrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAE3C,eAAO,MAAM,qBAAqB,EAAE,kBAAkB,EAmBrD,CAAC;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC"}
@@ -7,7 +7,7 @@ export declare const translations: {
7
7
  Join: string;
8
8
  You: string;
9
9
  "Reconnecting...": string;
10
- "You are first to Join the call.": string;
10
+ "You are first to join the call.": string;
11
11
  "Participants ({{ numberOfParticipants }})": string;
12
12
  "{{ userName }} is sharing their screen": string;
13
13
  "{{ numberOfParticipants }} participant(s) are in the call.": string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/StreamVideoRN/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAqB5C,qBAAa,aAAa;IACxB,OAAO,CAAC,MAAM,CAAC,MAAM,CAA+B;IACpD;;;;OAIG;IACH,MAAM,CAAC,YAAY,CAAC,YAAY,EAAE,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAO1E;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAUvE,MAAM,CAAC,SAAS;CAGjB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/StreamVideoRN/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAoB5C,qBAAa,aAAa;IACxB,OAAO,CAAC,MAAM,CAAC,MAAM,CAA+B;IAEpD;;;;OAIG;IACH,MAAM,CAAC,YAAY,CAAC,YAAY,EAAE,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAO1E;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAUvE,MAAM,CAAC,SAAS;CAGjB"}
@@ -1,15 +1,6 @@
1
- import { StreamReaction, StreamVideoClient } from '@stream-io/video-client';
1
+ import { StreamVideoClient } from '@stream-io/video-client';
2
2
  import { AndroidChannel } from '@notifee/react-native';
3
- type StreamReactionType = Required<StreamReaction> & {
4
- icon: string | JSX.Element;
5
- };
6
3
  export type StreamVideoConfig = {
7
- /**
8
- * Reactions that are to be supported in the app.
9
- *
10
- * Note: This is an array of reactions that is rendered in the Reaction list.
11
- */
12
- supportedReactions: StreamReactionType[];
13
4
  /**
14
5
  * The configuration to be used for push notifications.
15
6
  * If undefined, push notifications will not be enabled for the app
@@ -91,5 +82,4 @@ export type StreamVideoConfig = {
91
82
  };
92
83
  };
93
84
  };
94
- export {};
95
85
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/utils/StreamVideoRN/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,KAAK,kBAAkB,GAAG,QAAQ,CAAC,cAAc,CAAC,GAAG;IACnD,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;OAIG;IACH,kBAAkB,EAAE,kBAAkB,EAAE,CAAC;IACzC;;;;OAIG;IACH,IAAI,CAAC,EAAE;QACL,GAAG,EAAE;YACH;;;eAGG;YACH,gBAAgB,E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CAAC,eAAe,EAAE,MAAM,KAAK,MAAM,CAAC;gBAC9C,OAAO,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,MAAM,CAAC;aAC9C,CAAC;YACF;;;eAGG;YACH,gBAAgB,EAAE,MAAM,CAAC;SAC1B,CAAC;QACF;;;;;;;;;;;;;;;;WAgBG;QACH,uBAAuB,EAAE,MAAM,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;QACtE,+EAA+E;QAC/E,kBAAkB,EAAE,MAAM,IAAI,CAAC;QAC/B,mIAAmI;QACnI,sBAAsB,EAAE,MAAM,IAAI,CAAC;KACpC,CAAC;IACF,iBAAiB,EAAE;QACjB,OAAO,EAAE;YACP;;eAEG;YACH,OAAO,EAAE,cAAc,CAAC;YACxB;;eAEG;YACH,iBAAiB,EAAE;gBACjB,KAAK,EAAE,MAAM,CAAC;gBACd,IAAI,EAAE,MAAM,CAAC;aACd,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const version = "0.0.28";
1
+ export declare const version = "0.1.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-native-sdk",
3
- "version": "0.0.28",
3
+ "version": "0.1.1",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "module": "dist/module/index.js",