agora-appbuilder-core 4.1.13-beta.1 → 4.1.13-beta.2

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 (39) hide show
  1. package/package.json +1 -1
  2. package/template/customization-api/temp.ts +1 -9
  3. package/template/defaultConfig.js +2 -2
  4. package/template/package.json +1 -1
  5. package/template/src/assets/font-styles.css +4 -0
  6. package/template/src/assets/fonts/icomoon.ttf +0 -0
  7. package/template/src/assets/selection.json +1 -1
  8. package/template/src/atoms/ActionMenu.tsx +1 -1
  9. package/template/src/atoms/CustomIcon.tsx +1 -0
  10. package/template/src/atoms/Popup.tsx +1 -1
  11. package/template/src/components/Controls.tsx +22 -41
  12. package/template/src/components/whiteboard/StrokeWidthTool.tsx +1 -5
  13. package/template/src/components/whiteboard/WhiteboardButton.tsx +1 -9
  14. package/template/src/components/whiteboard/WhiteboardCanvas.tsx +1 -9
  15. package/template/src/components/whiteboard/WhiteboardConfigure.tsx +215 -95
  16. package/template/src/components/whiteboard/WhiteboardCursor.tsx +9 -17
  17. package/template/src/components/whiteboard/WhiteboardToolBox.tsx +1 -15
  18. package/template/src/components/whiteboard/WhiteboardView.tsx +1 -9
  19. package/template/src/components/whiteboard/WhiteboardWidget.tsx +1 -4
  20. package/template/src/components/whiteboard/WhiteboardWrapper.tsx +2 -3
  21. package/template/src/language/default-labels/videoCallScreenLabels.ts +9 -9
  22. package/template/src/pages/VideoCall.tsx +2 -1
  23. package/template/src/pages/video-call/ActionSheetContent.tsx +0 -7
  24. package/template/src/pages/video-call/SidePanelHeader.tsx +80 -63
  25. package/template/src/rtm-events/constants.ts +9 -0
  26. package/template/src/subComponents/caption/Caption.tsx +4 -20
  27. package/template/src/subComponents/caption/CaptionContainer.tsx +262 -250
  28. package/template/src/subComponents/caption/CaptionIcon.tsx +6 -4
  29. package/template/src/subComponents/caption/CaptionText.tsx +26 -20
  30. package/template/src/subComponents/caption/LanguageSelectorPopup.tsx +30 -142
  31. package/template/src/subComponents/caption/Transcript.tsx +77 -32
  32. package/template/src/subComponents/caption/TranscriptIcon.tsx +7 -6
  33. package/template/src/subComponents/caption/TranslateActionMenu.tsx +128 -0
  34. package/template/src/subComponents/caption/useCaption.tsx +629 -482
  35. package/template/src/subComponents/caption/useSTTAPI.tsx +25 -4
  36. package/template/src/subComponents/caption/useStreamMessageUtils.native.ts +1 -1
  37. package/template/src/subComponents/caption/useStreamMessageUtils.ts +1 -1
  38. package/template/src/subComponents/caption/utils.ts +48 -40
  39. package/template/src/components/whiteboard/FastBoardView.tsx +0 -227
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-appbuilder-core",
3
- "version": "4.1.13-beta.1",
3
+ "version": "4.1.13-beta.2",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -16,15 +16,7 @@ import {useCaption} from '../src/subComponents/caption/useCaption';
16
16
  import useMuteToggleLocal, {
17
17
  MUTE_LOCAL_TYPE,
18
18
  } from '../src/utils/useMuteToggleLocal';
19
- // import {RoomPhase} from 'white-web-sdk';
20
- // Commented out for fastboard migration
21
- enum RoomPhase {
22
- Connecting = 'connecting',
23
- Connected = 'connected',
24
- Reconnecting = 'reconnecting',
25
- Disconnecting = 'disconnecting',
26
- Disconnected = 'disconnected',
27
- }
19
+ import {RoomPhase} from 'white-web-sdk';
28
20
  import {useScreenContext} from '../src/components/contexts/ScreenShareContext';
29
21
  import {filterObject} from '../src/utils/index';
30
22
  import {useToggleWhiteboard} from '../src/components/Controls';
@@ -77,8 +77,8 @@ const DefaultConfig = {
77
77
  CHAT_ORG_NAME: '',
78
78
  CHAT_APP_NAME: '',
79
79
  CHAT_URL: '',
80
- CLI_VERSION: '3.1.13-beta.1',
81
- CORE_VERSION: '4.1.13-beta.1',
80
+ CLI_VERSION: '3.1.13-beta.2',
81
+ CORE_VERSION: '4.1.13-beta.2',
82
82
  DISABLE_LANDSCAPE_MODE: false,
83
83
  STT_AUTO_START: false,
84
84
  CLOUD_RECORDING_AUTO_START: false,
@@ -112,7 +112,7 @@
112
112
  "rn-emoji-keyboard": "^1.7.0",
113
113
  "rn-fetch-blob": "0.12.0",
114
114
  "text-encoding": "^0.7.0",
115
- "@netless/fastboard-react": "^1.1.2"
115
+ "white-web-sdk": "2.16.42"
116
116
  },
117
117
  "devDependencies": {
118
118
  "@babel/core": "^7.20.0",
@@ -24,6 +24,10 @@
24
24
  -moz-osx-font-smoothing: grayscale;
25
25
  }
26
26
 
27
+ .icon-arrow-right:before {
28
+ content: '\e9a5';
29
+ color: #fff;
30
+ }
27
31
  .icon-lang-translate:before {
28
32
  content: '\e9a4';
29
33
  color: #fff;