agora-appbuilder-core 4.0.29-beta-19 → 4.0.29-beta-20

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-appbuilder-core",
3
- "version": "4.0.29-beta-19",
3
+ "version": "4.0.29-beta-20",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -404,7 +404,7 @@ const styles = StyleSheet.create({
404
404
  fontFamily: ThemeConfig.FontFamily.sansPro,
405
405
  fontWeight: '600',
406
406
  fontSize: 12,
407
- color: $config.PRIMARY_ACTION_TEXT_COLOR,
407
+ color: $config.FONT_COLOR,
408
408
  },
409
409
  nonActiveText: {
410
410
  paddingHorizontal: 24,
@@ -132,14 +132,14 @@ export const ChatActionMenu = (props: ChatActionMenuProps) => {
132
132
  onPress: () => {
133
133
  Clipboard.setString(fileUrl);
134
134
  setActionMenuVisible(false);
135
- Toast.show({
136
- leadingIconName: 'tick-fill',
137
- type: 'success',
138
- text1: copiedToClipboardTextLabel,
139
- visibilityTime: 3000,
140
- primaryBtn: null,
141
- secondaryBtn: null,
142
- });
135
+ // Toast.show({
136
+ // leadingIconName: 'tick-fill',
137
+ // type: 'success',
138
+ // text1: copiedToClipboardTextLabel,
139
+ // visibilityTime: 3000,
140
+ // primaryBtn: null,
141
+ // secondaryBtn: null,
142
+ // });
143
143
  },
144
144
  });
145
145
  actionMenuitems.push({
@@ -18,7 +18,7 @@ const css = `
18
18
  font-family:'Source Sans Pro';
19
19
  font-weight:600;
20
20
  }
21
- .chatEmojiPicker.epr-dark-theme{
21
+ .chatEmojiPicker.epr-main {
22
22
  --epr-emoji-size: 32px;
23
23
  --epr-emoji-gap:4px;
24
24
  --epr-emoji-padding:4px;
@@ -33,21 +33,10 @@ const css = `
33
33
  --epr-bg-color:${$config.CARD_LAYER_2_COLOR};
34
34
  --epr-category-label-bg-color:${$config.CARD_LAYER_2_COLOR};
35
35
  }
36
- .chatEmojiPicker.epr-light-theme{
37
- --epr-emoji-size: 32px;
38
- --epr-emoji-gap:4px;
39
- --epr-emoji-padding:4px;
40
- --epr-header-padding:12px;
41
- --epr-horizontal-padding:12px;
42
- --epr-category-label-height:24px;
43
- --epr-search-input-border-radius:4px;
44
- --epr-search-bar-inner-padding:8px;
45
- --epr-search-input-text-color:${$config.FONT_COLOR};
46
- --epr-search-input-bg-color:${$config.INPUT_FIELD_BACKGROUND_COLOR};
47
- --epr-search-input-bg-color-active:${$config.INPUT_FIELD_BACKGROUND_COLOR};
48
- --epr-bg-color:${$config.CARD_LAYER_2_COLOR};
49
- --epr-category-label-bg-color:${$config.CARD_LAYER_2_COLOR};
36
+ .chatEmojiPicker.epr-dark-theme{
37
+ // Add any specific overrides for dark theme
50
38
  }
39
+
51
40
  .chatEmojiPicker .epr-category-nav {
52
41
  // padding-top:0 !important
53
42
  }
@@ -298,7 +287,7 @@ export const ChatEmojiButton = (props: ChatEmojiButtonProps) => {
298
287
  focusEffect={showEmojiPicker}
299
288
  iconProps={{
300
289
  iconType: 'plain',
301
- base64: true,
290
+ base64: showEmojiPicker ? true : false,
302
291
  hoverBase64: true,
303
292
  iconContainerStyle: {
304
293
  padding: 4,