Skip to content

Commit 9fde541

Browse files
authored
Infra/ set infra for users recordings (#2437)
* set recorder infra * update snapshots * remove default recorderTag * fix priority * add fs support to more components * update toast + api * fix merge * fix snapshots * unmask TextField label, floatingPlaceholder and charCounter * review fixes * add RecorderProps type * prettify * change to interface * formatting * move recorder typings to typings directory * fix chip api
1 parent 3817566 commit 9fde541

File tree

39 files changed

+159
-29
lines changed

39 files changed

+159
-29
lines changed

demo/src/screens/__tests__/__snapshots__/AvatarScreen.spec.js.snap

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3072,19 +3072,35 @@ exports[`AvatarScreen renders screen 1`] = `
30723072
>
30733073
<Text
30743074
allowFontScaling={false}
3075+
fsTagName="unmask"
30753076
numberOfLines={1}
30763077
style={
30773078
[
30783079
{
30793080
"backgroundColor": "transparent",
3080-
"color": "#FFFFFF",
3081-
"fontFamily": "System",
3082-
"fontSize": 12,
3083-
"fontWeight": "700",
3084-
"lineHeight": 16,
3081+
"color": "#20303C",
3082+
"textAlign": "left",
30853083
},
3086-
false,
30873084
undefined,
3085+
undefined,
3086+
undefined,
3087+
undefined,
3088+
undefined,
3089+
undefined,
3090+
undefined,
3091+
undefined,
3092+
[
3093+
{
3094+
"backgroundColor": "transparent",
3095+
"color": "#FFFFFF",
3096+
"fontFamily": "System",
3097+
"fontSize": 12,
3098+
"fontWeight": "700",
3099+
"lineHeight": 16,
3100+
},
3101+
false,
3102+
undefined,
3103+
],
30883104
]
30893105
}
30903106
testID="badge"

src/components/WheelPicker/Item.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ const WheelPickerItem = memo(({
9393
testID={`${testID}.text`}
9494
numberOfLines={1}
9595
style={textStyle}
96+
recorderTag={'unmask'}
9697
>
9798
{label}
9899
</AnimatedText>

src/components/badge/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
ImageStyle,
66
StyleProp,
77
StyleSheet,
8-
Text,
98
TextStyle,
109
TouchableOpacityProps,
1110
ViewStyle,
@@ -17,6 +16,7 @@ import {BorderRadiuses, Colors, Spacings, Typography} from '../../style';
1716
import TouchableOpacity from '../touchableOpacity';
1817
import Image from '../image';
1918
import View from '../view';
19+
import Text from '../text';
2020

2121

2222
const LABEL_FORMATTER_VALUES = [1, 2, 3, 4] as const;
@@ -209,6 +209,7 @@ class Badge extends PureComponent<BadgeProps> {
209209
allowFontScaling={false}
210210
numberOfLines={1}
211211
testID="badge"
212+
recorderTag={'unmask'}
212213
>
213214
{this.getFormattedLabel()}
214215
</Text>

0 commit comments

Comments
 (0)