agora-appbuilder-core 4.0.30-beta-1 → 4.0.30-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.
- package/package.json +1 -1
- package/template/customization-api/atoms.ts +1 -0
- package/template/customization-api/temp.ts +0 -2
- package/template/customization-api/types.ts +1 -0
- package/template/customization-api/utils.ts +2 -0
- package/template/defaultConfig.js +2 -2
- package/template/package.json +5 -0
- package/template/src/atoms/Checkbox.tsx +3 -1
- package/template/src/atoms/TertiaryButton.tsx +1 -0
- package/template/src/utils/useSpeechToText.ts +2 -1
package/package.json
CHANGED
|
@@ -6,3 +6,4 @@ export {default as LinkButton} from '../src/atoms/LinkButton';
|
|
|
6
6
|
export {default as PrimaryButton} from '../src/atoms/PrimaryButton';
|
|
7
7
|
export {default as TertiaryButton} from '../src/atoms/TertiaryButton';
|
|
8
8
|
export {default as ActionMenu} from '../src/atoms/ActionMenu';
|
|
9
|
+
export {default as IconButton} from '../src/atoms/IconButton';
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import VideoRenderer from '../src/pages/video-call/VideoRenderer';
|
|
4
4
|
import {DispatchContext} from '../agora-rn-uikit';
|
|
5
|
-
import IconButton from '../src/atoms/IconButton';
|
|
6
5
|
import WhiteboardView from '../src/components/whiteboard/WhiteboardView';
|
|
7
6
|
import {
|
|
8
7
|
useWhiteboard,
|
|
@@ -28,7 +27,6 @@ import useEndCall from '../src/utils/useEndCall';
|
|
|
28
27
|
export {
|
|
29
28
|
VideoRenderer,
|
|
30
29
|
DispatchContext,
|
|
31
|
-
IconButton,
|
|
32
30
|
WhiteboardView,
|
|
33
31
|
whiteboardContext,
|
|
34
32
|
useVideoCall,
|
|
@@ -47,3 +47,5 @@ export {default as ThemeConfig} from '../src/theme';
|
|
|
47
47
|
export {default as hexadecimalTransparency} from '../src/utils/hexadecimalTransparency';
|
|
48
48
|
export {useFullScreen} from '../src/utils/useFullScreen';
|
|
49
49
|
export {useHideShareTitle} from '../src/utils/useHideShareTile';
|
|
50
|
+
export {useActionSheet} from '../src/utils/useActionSheet';
|
|
51
|
+
export {default as PlatformWrapper} from '../src/utils/PlatformWrapper';
|
|
@@ -76,8 +76,8 @@ const DefaultConfig = {
|
|
|
76
76
|
CHAT_ORG_NAME: '',
|
|
77
77
|
CHAT_APP_NAME: '',
|
|
78
78
|
CHAT_URL: '',
|
|
79
|
-
CLI_VERSION: '3.0.
|
|
80
|
-
CORE_VERSION: '4.0.
|
|
79
|
+
CLI_VERSION: '3.0.30-beta-2',
|
|
80
|
+
CORE_VERSION: '4.0.30-beta-2',
|
|
81
81
|
DISABLE_LANDSCAPE_MODE: false,
|
|
82
82
|
STT_AUTO_START: false,
|
|
83
83
|
CLOUD_RECORDING_AUTO_START: false,
|
package/template/package.json
CHANGED
|
@@ -21,6 +21,7 @@ interface CheckboxProps {
|
|
|
21
21
|
containerStyle?: ViewStyle;
|
|
22
22
|
checkBoxStyle?: ViewStyle;
|
|
23
23
|
tickColor?: string;
|
|
24
|
+
ignoreDisabledStyle?: boolean;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
const Checkbox: React.FC<CheckboxProps> = ({
|
|
@@ -32,6 +33,7 @@ const Checkbox: React.FC<CheckboxProps> = ({
|
|
|
32
33
|
containerStyle = {},
|
|
33
34
|
checkBoxStyle = {},
|
|
34
35
|
tickColor = $config.FONT_COLOR,
|
|
36
|
+
ignoreDisabledStyle = false,
|
|
35
37
|
}) => {
|
|
36
38
|
const [isChecked, setIsChecked] = useState(checked);
|
|
37
39
|
|
|
@@ -69,7 +71,7 @@ const Checkbox: React.FC<CheckboxProps> = ({
|
|
|
69
71
|
style={[
|
|
70
72
|
styles.label,
|
|
71
73
|
labelStye,
|
|
72
|
-
!isChecked && disabled && styles.disabledText,
|
|
74
|
+
!isChecked && disabled && !ignoreDisabledStyle && styles.disabledText,
|
|
73
75
|
]}>
|
|
74
76
|
{label}
|
|
75
77
|
</Text>
|
|
@@ -39,7 +39,8 @@ const useSpeechToText = () => {
|
|
|
39
39
|
|
|
40
40
|
useEffect(() => {
|
|
41
41
|
if (!$config.ENABLE_STT) {
|
|
42
|
-
throw new Error('Speech To Text is not enabled');
|
|
42
|
+
//throw new Error('Speech To Text is not enabled');
|
|
43
|
+
console.error('Speech To Text is not enabled')
|
|
43
44
|
}
|
|
44
45
|
}, []);
|
|
45
46
|
|