@100mslive/roomkit-react 0.3.19-alpha.2 → 0.3.19-alpha.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/dist/{HLSView-BRZ2FW7O.js → HLSView-LQU6IEZQ.js} +2 -2
  2. package/dist/{HLSView-UXA322ED.css → HLSView-SQ7GMQJS.css} +3 -3
  3. package/dist/{HLSView-UXA322ED.css.map → HLSView-SQ7GMQJS.css.map} +1 -1
  4. package/dist/Modal/Dialog.d.ts +3 -1
  5. package/dist/Prebuilt/components/EndCallFeedback/Feedback.d.ts +2 -0
  6. package/dist/Prebuilt/components/EndCallFeedback/FeedbackForm.d.ts +28 -0
  7. package/dist/Prebuilt/components/EndCallFeedback/ThankyouView.d.ts +2 -0
  8. package/dist/Prebuilt/components/VirtualBackground/VBCollection.d.ts +1 -1
  9. package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +6 -6
  10. package/dist/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.d.ts +1 -0
  11. package/dist/{chunk-KR2DZJO5.js → chunk-IRF6KLC6.js} +1363 -831
  12. package/dist/chunk-IRF6KLC6.js.map +7 -0
  13. package/dist/index.cjs.css +2 -2
  14. package/dist/index.cjs.css.map +1 -1
  15. package/dist/index.cjs.js +1849 -1291
  16. package/dist/index.cjs.js.map +4 -4
  17. package/dist/index.css +2 -2
  18. package/dist/index.css.map +1 -1
  19. package/dist/index.js +1 -1
  20. package/dist/meta.cjs.json +323 -90
  21. package/dist/meta.esbuild.json +334 -101
  22. package/package.json +8 -8
  23. package/src/Modal/Dialog.tsx +13 -2
  24. package/src/Prebuilt/App.tsx +3 -0
  25. package/src/Prebuilt/AppStateContext.tsx +1 -2
  26. package/src/Prebuilt/Prebuilt.stories.tsx +1 -0
  27. package/src/Prebuilt/common/PeersSorter.ts +2 -1
  28. package/src/Prebuilt/components/EndCallFeedback/Feedback.tsx +71 -0
  29. package/src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx +381 -0
  30. package/src/Prebuilt/components/EndCallFeedback/ThankyouView.tsx +44 -0
  31. package/src/Prebuilt/components/LeaveScreen.tsx +2 -0
  32. package/src/Prebuilt/components/PIP/PIPChat.tsx +11 -4
  33. package/src/Prebuilt/components/VideoLayouts/RoleProminence.tsx +2 -9
  34. package/src/Prebuilt/components/VirtualBackground/VBCollection.tsx +3 -1
  35. package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +26 -4
  36. package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +58 -38
  37. package/src/Prebuilt/components/VirtualBackground/VBToggle.tsx +2 -1
  38. package/src/Prebuilt/plugins/CaptionsViewer.tsx +4 -1
  39. package/src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts +1 -0
  40. package/dist/Prebuilt/components/VirtualBackground/util.d.ts +0 -1
  41. package/dist/chunk-KR2DZJO5.js.map +0 -7
  42. package/src/Prebuilt/components/VirtualBackground/util.tsx +0 -13
  43. /package/dist/{HLSView-BRZ2FW7O.js.map → HLSView-LQU6IEZQ.js.map} +0 -0
@@ -1,13 +0,0 @@
1
- import { parsedUserAgent } from '@100mslive/react-sdk';
2
- import { isSafari } from '../../common/constants';
3
-
4
- export const doesBrowserSupportEffectsSDK = () => {
5
- if (!isSafari) {
6
- return true;
7
- }
8
- const browserVersion = parsedUserAgent?.getBrowser()?.version || '16';
9
- if (browserVersion && parseInt(browserVersion.split('.')[0]) < 17) {
10
- return false;
11
- }
12
- return true;
13
- };