@hero-design/rn 8.43.1 → 8.44.0
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +10 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +366 -359
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +366 -359
- package/package.json +1 -1
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -452
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +790 -706
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -652
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +170 -142
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -82
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -689
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +157 -73
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -189
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -278
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -233
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -120
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -810
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -140
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1666 -1218
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +70 -42
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1623 -727
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -415
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -430
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +196 -84
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1720 -1636
- package/src/components/Carousel/__tests__/index.spec.tsx +7 -6
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +400 -176
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -406
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1170 -834
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +421 -337
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -502
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -172
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -164
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -443
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -243
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +845 -789
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +197 -113
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +290 -206
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
- package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -186
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +761 -649
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +268 -156
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +473 -221
- package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +60 -8
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +83 -55
- package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
- package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
- package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
- package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -132
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +256 -228
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -780
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
- package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +406 -378
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -36
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -315
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -65
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2402 -2290
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +180 -24
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -45
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2309 -2197
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +150 -20
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -126
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +145 -117
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -76
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2214 -2130
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -495
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1637 -1553
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -334
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -606
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -675
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -498
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -459
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
- package/src/testHelpers/renderWithTheme.tsx +2 -2
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
|
@@ -1,883 +1,1779 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Label renders correctly with themeState default 1`] = `
|
|
4
|
-
<
|
|
5
|
-
allowFontScaling={false}
|
|
4
|
+
<View
|
|
6
5
|
style={
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
{
|
|
7
|
+
"flex": 1,
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
>
|
|
11
|
+
<Text
|
|
12
|
+
allowFontScaling={false}
|
|
13
|
+
style={
|
|
15
14
|
[
|
|
16
15
|
{
|
|
17
16
|
"color": "#001f23",
|
|
18
|
-
"
|
|
17
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
18
|
+
"fontSize": 12,
|
|
19
|
+
"letterSpacing": 0.48,
|
|
20
|
+
"lineHeight": 16,
|
|
21
|
+
},
|
|
22
|
+
[
|
|
23
|
+
{
|
|
24
|
+
"color": "#001f23",
|
|
25
|
+
"lineHeight": 12,
|
|
26
|
+
},
|
|
27
|
+
undefined,
|
|
28
|
+
],
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
themeFontWeight="regular"
|
|
32
|
+
themeIntent="body"
|
|
33
|
+
themeState="default"
|
|
34
|
+
>
|
|
35
|
+
Label
|
|
36
|
+
</Text>
|
|
37
|
+
<View
|
|
38
|
+
pointerEvents="box-none"
|
|
39
|
+
position="bottom"
|
|
40
|
+
style={
|
|
41
|
+
[
|
|
42
|
+
{
|
|
43
|
+
"bottom": 0,
|
|
44
|
+
"elevation": 9999,
|
|
45
|
+
"flexDirection": "column-reverse",
|
|
46
|
+
"left": 0,
|
|
47
|
+
"paddingHorizontal": 24,
|
|
48
|
+
"paddingVertical": 16,
|
|
49
|
+
"position": "absolute",
|
|
50
|
+
"right": 0,
|
|
51
|
+
"top": 0,
|
|
19
52
|
},
|
|
20
53
|
undefined,
|
|
21
|
-
]
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
themeIntent="body"
|
|
26
|
-
themeState="default"
|
|
27
|
-
>
|
|
28
|
-
Label
|
|
29
|
-
</Text>
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
/>
|
|
57
|
+
</View>
|
|
30
58
|
`;
|
|
31
59
|
|
|
32
60
|
exports[`Label renders correctly with themeState disabled 1`] = `
|
|
33
|
-
<
|
|
34
|
-
allowFontScaling={false}
|
|
61
|
+
<View
|
|
35
62
|
style={
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
63
|
+
{
|
|
64
|
+
"flex": 1,
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
>
|
|
68
|
+
<Text
|
|
69
|
+
allowFontScaling={false}
|
|
70
|
+
style={
|
|
71
|
+
[
|
|
72
|
+
{
|
|
73
|
+
"color": "#001f23",
|
|
74
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
75
|
+
"fontSize": 12,
|
|
76
|
+
"letterSpacing": 0.48,
|
|
77
|
+
"lineHeight": 16,
|
|
78
|
+
},
|
|
79
|
+
[
|
|
80
|
+
{
|
|
81
|
+
"color": "#bfc1c5",
|
|
82
|
+
"lineHeight": 12,
|
|
83
|
+
},
|
|
84
|
+
undefined,
|
|
85
|
+
],
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
themeFontWeight="regular"
|
|
89
|
+
themeIntent="body"
|
|
90
|
+
themeState="disabled"
|
|
91
|
+
>
|
|
92
|
+
Label
|
|
93
|
+
</Text>
|
|
94
|
+
<View
|
|
95
|
+
pointerEvents="box-none"
|
|
96
|
+
position="bottom"
|
|
97
|
+
style={
|
|
44
98
|
[
|
|
45
99
|
{
|
|
46
|
-
"
|
|
47
|
-
"
|
|
100
|
+
"bottom": 0,
|
|
101
|
+
"elevation": 9999,
|
|
102
|
+
"flexDirection": "column-reverse",
|
|
103
|
+
"left": 0,
|
|
104
|
+
"paddingHorizontal": 24,
|
|
105
|
+
"paddingVertical": 16,
|
|
106
|
+
"position": "absolute",
|
|
107
|
+
"right": 0,
|
|
108
|
+
"top": 0,
|
|
48
109
|
},
|
|
49
110
|
undefined,
|
|
50
|
-
]
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
themeIntent="body"
|
|
55
|
-
themeState="disabled"
|
|
56
|
-
>
|
|
57
|
-
Label
|
|
58
|
-
</Text>
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
/>
|
|
114
|
+
</View>
|
|
59
115
|
`;
|
|
60
116
|
|
|
61
117
|
exports[`Label renders correctly with themeState error 1`] = `
|
|
62
|
-
<
|
|
63
|
-
allowFontScaling={false}
|
|
118
|
+
<View
|
|
64
119
|
style={
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
120
|
+
{
|
|
121
|
+
"flex": 1,
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
>
|
|
125
|
+
<Text
|
|
126
|
+
allowFontScaling={false}
|
|
127
|
+
style={
|
|
73
128
|
[
|
|
74
129
|
{
|
|
75
130
|
"color": "#001f23",
|
|
76
|
-
"
|
|
131
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
132
|
+
"fontSize": 12,
|
|
133
|
+
"letterSpacing": 0.48,
|
|
134
|
+
"lineHeight": 16,
|
|
135
|
+
},
|
|
136
|
+
[
|
|
137
|
+
{
|
|
138
|
+
"color": "#001f23",
|
|
139
|
+
"lineHeight": 12,
|
|
140
|
+
},
|
|
141
|
+
undefined,
|
|
142
|
+
],
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
themeFontWeight="regular"
|
|
146
|
+
themeIntent="body"
|
|
147
|
+
themeState="error"
|
|
148
|
+
>
|
|
149
|
+
Label
|
|
150
|
+
</Text>
|
|
151
|
+
<View
|
|
152
|
+
pointerEvents="box-none"
|
|
153
|
+
position="bottom"
|
|
154
|
+
style={
|
|
155
|
+
[
|
|
156
|
+
{
|
|
157
|
+
"bottom": 0,
|
|
158
|
+
"elevation": 9999,
|
|
159
|
+
"flexDirection": "column-reverse",
|
|
160
|
+
"left": 0,
|
|
161
|
+
"paddingHorizontal": 24,
|
|
162
|
+
"paddingVertical": 16,
|
|
163
|
+
"position": "absolute",
|
|
164
|
+
"right": 0,
|
|
165
|
+
"top": 0,
|
|
77
166
|
},
|
|
78
167
|
undefined,
|
|
79
|
-
]
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
themeIntent="body"
|
|
84
|
-
themeState="error"
|
|
85
|
-
>
|
|
86
|
-
Label
|
|
87
|
-
</Text>
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
/>
|
|
171
|
+
</View>
|
|
88
172
|
`;
|
|
89
173
|
|
|
90
174
|
exports[`Label renders correctly with themeState filled 1`] = `
|
|
91
|
-
<
|
|
92
|
-
allowFontScaling={false}
|
|
175
|
+
<View
|
|
93
176
|
style={
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
177
|
+
{
|
|
178
|
+
"flex": 1,
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
>
|
|
182
|
+
<Text
|
|
183
|
+
allowFontScaling={false}
|
|
184
|
+
style={
|
|
102
185
|
[
|
|
103
186
|
{
|
|
104
187
|
"color": "#001f23",
|
|
105
|
-
"
|
|
188
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
189
|
+
"fontSize": 12,
|
|
190
|
+
"letterSpacing": 0.48,
|
|
191
|
+
"lineHeight": 16,
|
|
192
|
+
},
|
|
193
|
+
[
|
|
194
|
+
{
|
|
195
|
+
"color": "#001f23",
|
|
196
|
+
"lineHeight": 12,
|
|
197
|
+
},
|
|
198
|
+
undefined,
|
|
199
|
+
],
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
themeFontWeight="regular"
|
|
203
|
+
themeIntent="body"
|
|
204
|
+
themeState="filled"
|
|
205
|
+
>
|
|
206
|
+
Label
|
|
207
|
+
</Text>
|
|
208
|
+
<View
|
|
209
|
+
pointerEvents="box-none"
|
|
210
|
+
position="bottom"
|
|
211
|
+
style={
|
|
212
|
+
[
|
|
213
|
+
{
|
|
214
|
+
"bottom": 0,
|
|
215
|
+
"elevation": 9999,
|
|
216
|
+
"flexDirection": "column-reverse",
|
|
217
|
+
"left": 0,
|
|
218
|
+
"paddingHorizontal": 24,
|
|
219
|
+
"paddingVertical": 16,
|
|
220
|
+
"position": "absolute",
|
|
221
|
+
"right": 0,
|
|
222
|
+
"top": 0,
|
|
106
223
|
},
|
|
107
224
|
undefined,
|
|
108
|
-
]
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
themeIntent="body"
|
|
113
|
-
themeState="filled"
|
|
114
|
-
>
|
|
115
|
-
Label
|
|
116
|
-
</Text>
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
/>
|
|
228
|
+
</View>
|
|
117
229
|
`;
|
|
118
230
|
|
|
119
231
|
exports[`Label renders correctly with themeState readonly 1`] = `
|
|
120
|
-
<
|
|
121
|
-
allowFontScaling={false}
|
|
232
|
+
<View
|
|
122
233
|
style={
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
234
|
+
{
|
|
235
|
+
"flex": 1,
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
>
|
|
239
|
+
<Text
|
|
240
|
+
allowFontScaling={false}
|
|
241
|
+
style={
|
|
242
|
+
[
|
|
243
|
+
{
|
|
244
|
+
"color": "#001f23",
|
|
245
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
246
|
+
"fontSize": 12,
|
|
247
|
+
"letterSpacing": 0.48,
|
|
248
|
+
"lineHeight": 16,
|
|
249
|
+
},
|
|
250
|
+
[
|
|
251
|
+
{
|
|
252
|
+
"color": "#808f91",
|
|
253
|
+
"lineHeight": 12,
|
|
254
|
+
},
|
|
255
|
+
undefined,
|
|
256
|
+
],
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
themeFontWeight="regular"
|
|
260
|
+
themeIntent="body"
|
|
261
|
+
themeState="readonly"
|
|
262
|
+
>
|
|
263
|
+
Label
|
|
264
|
+
</Text>
|
|
265
|
+
<View
|
|
266
|
+
pointerEvents="box-none"
|
|
267
|
+
position="bottom"
|
|
268
|
+
style={
|
|
131
269
|
[
|
|
132
270
|
{
|
|
133
|
-
"
|
|
134
|
-
"
|
|
271
|
+
"bottom": 0,
|
|
272
|
+
"elevation": 9999,
|
|
273
|
+
"flexDirection": "column-reverse",
|
|
274
|
+
"left": 0,
|
|
275
|
+
"paddingHorizontal": 24,
|
|
276
|
+
"paddingVertical": 16,
|
|
277
|
+
"position": "absolute",
|
|
278
|
+
"right": 0,
|
|
279
|
+
"top": 0,
|
|
135
280
|
},
|
|
136
281
|
undefined,
|
|
137
|
-
]
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
themeIntent="body"
|
|
142
|
-
themeState="readonly"
|
|
143
|
-
>
|
|
144
|
-
Label
|
|
145
|
-
</Text>
|
|
282
|
+
]
|
|
283
|
+
}
|
|
284
|
+
/>
|
|
285
|
+
</View>
|
|
146
286
|
`;
|
|
147
287
|
|
|
148
288
|
exports[`LabelContainer renders correctly 1`] = `
|
|
149
289
|
<View
|
|
150
290
|
style={
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
"flexDirection": "row",
|
|
155
|
-
"left": 16,
|
|
156
|
-
"paddingHorizontal": 4,
|
|
157
|
-
"position": "absolute",
|
|
158
|
-
"top": -4,
|
|
159
|
-
"zIndex": 1,
|
|
160
|
-
},
|
|
161
|
-
undefined,
|
|
162
|
-
]
|
|
291
|
+
{
|
|
292
|
+
"flex": 1,
|
|
293
|
+
}
|
|
163
294
|
}
|
|
164
|
-
|
|
295
|
+
>
|
|
296
|
+
<View
|
|
297
|
+
style={
|
|
298
|
+
[
|
|
299
|
+
{
|
|
300
|
+
"backgroundColor": "#ffffff",
|
|
301
|
+
"flexDirection": "row",
|
|
302
|
+
"left": 16,
|
|
303
|
+
"paddingHorizontal": 4,
|
|
304
|
+
"position": "absolute",
|
|
305
|
+
"top": -4,
|
|
306
|
+
"zIndex": 1,
|
|
307
|
+
},
|
|
308
|
+
undefined,
|
|
309
|
+
]
|
|
310
|
+
}
|
|
311
|
+
/>
|
|
312
|
+
<View
|
|
313
|
+
pointerEvents="box-none"
|
|
314
|
+
position="bottom"
|
|
315
|
+
style={
|
|
316
|
+
[
|
|
317
|
+
{
|
|
318
|
+
"bottom": 0,
|
|
319
|
+
"elevation": 9999,
|
|
320
|
+
"flexDirection": "column-reverse",
|
|
321
|
+
"left": 0,
|
|
322
|
+
"paddingHorizontal": 24,
|
|
323
|
+
"paddingVertical": 16,
|
|
324
|
+
"position": "absolute",
|
|
325
|
+
"right": 0,
|
|
326
|
+
"top": 0,
|
|
327
|
+
},
|
|
328
|
+
undefined,
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
/>
|
|
332
|
+
</View>
|
|
165
333
|
`;
|
|
166
334
|
|
|
167
335
|
exports[`LabelInsideTextInput renders correctly with themeState default 1`] = `
|
|
168
|
-
<
|
|
169
|
-
allowFontScaling={false}
|
|
336
|
+
<View
|
|
170
337
|
style={
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
338
|
+
{
|
|
339
|
+
"flex": 1,
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
>
|
|
343
|
+
<Text
|
|
344
|
+
allowFontScaling={false}
|
|
345
|
+
style={
|
|
179
346
|
[
|
|
180
347
|
{
|
|
181
|
-
"alignContent": "center",
|
|
182
|
-
"alignItems": "center",
|
|
183
348
|
"color": "#001f23",
|
|
184
|
-
"
|
|
185
|
-
"
|
|
349
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
350
|
+
"fontSize": 16,
|
|
351
|
+
"letterSpacing": 0.48,
|
|
352
|
+
"lineHeight": 24,
|
|
353
|
+
},
|
|
354
|
+
[
|
|
355
|
+
{
|
|
356
|
+
"alignContent": "center",
|
|
357
|
+
"alignItems": "center",
|
|
358
|
+
"color": "#001f23",
|
|
359
|
+
"marginTop": -2,
|
|
360
|
+
"textAlignVertical": "center",
|
|
361
|
+
},
|
|
362
|
+
undefined,
|
|
363
|
+
],
|
|
364
|
+
]
|
|
365
|
+
}
|
|
366
|
+
themeIntent="body"
|
|
367
|
+
themeState="default"
|
|
368
|
+
themeTypeface="neutral"
|
|
369
|
+
themeVariant="regular"
|
|
370
|
+
>
|
|
371
|
+
Label
|
|
372
|
+
</Text>
|
|
373
|
+
<View
|
|
374
|
+
pointerEvents="box-none"
|
|
375
|
+
position="bottom"
|
|
376
|
+
style={
|
|
377
|
+
[
|
|
378
|
+
{
|
|
379
|
+
"bottom": 0,
|
|
380
|
+
"elevation": 9999,
|
|
381
|
+
"flexDirection": "column-reverse",
|
|
382
|
+
"left": 0,
|
|
383
|
+
"paddingHorizontal": 24,
|
|
384
|
+
"paddingVertical": 16,
|
|
385
|
+
"position": "absolute",
|
|
386
|
+
"right": 0,
|
|
387
|
+
"top": 0,
|
|
186
388
|
},
|
|
187
389
|
undefined,
|
|
188
|
-
]
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
themeState="default"
|
|
193
|
-
themeTypeface="neutral"
|
|
194
|
-
themeVariant="regular"
|
|
195
|
-
>
|
|
196
|
-
Label
|
|
197
|
-
</Text>
|
|
390
|
+
]
|
|
391
|
+
}
|
|
392
|
+
/>
|
|
393
|
+
</View>
|
|
198
394
|
`;
|
|
199
395
|
|
|
200
396
|
exports[`LabelInsideTextInput renders correctly with themeState disabled 1`] = `
|
|
201
|
-
<
|
|
202
|
-
allowFontScaling={false}
|
|
397
|
+
<View
|
|
203
398
|
style={
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
399
|
+
{
|
|
400
|
+
"flex": 1,
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
>
|
|
404
|
+
<Text
|
|
405
|
+
allowFontScaling={false}
|
|
406
|
+
style={
|
|
212
407
|
[
|
|
213
408
|
{
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
"
|
|
218
|
-
"
|
|
409
|
+
"color": "#001f23",
|
|
410
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
411
|
+
"fontSize": 16,
|
|
412
|
+
"letterSpacing": 0.48,
|
|
413
|
+
"lineHeight": 24,
|
|
414
|
+
},
|
|
415
|
+
[
|
|
416
|
+
{
|
|
417
|
+
"alignContent": "center",
|
|
418
|
+
"alignItems": "center",
|
|
419
|
+
"color": "#bfc1c5",
|
|
420
|
+
"marginTop": -2,
|
|
421
|
+
"textAlignVertical": "center",
|
|
422
|
+
},
|
|
423
|
+
undefined,
|
|
424
|
+
],
|
|
425
|
+
]
|
|
426
|
+
}
|
|
427
|
+
themeIntent="body"
|
|
428
|
+
themeState="disabled"
|
|
429
|
+
themeTypeface="neutral"
|
|
430
|
+
themeVariant="regular"
|
|
431
|
+
>
|
|
432
|
+
Label
|
|
433
|
+
</Text>
|
|
434
|
+
<View
|
|
435
|
+
pointerEvents="box-none"
|
|
436
|
+
position="bottom"
|
|
437
|
+
style={
|
|
438
|
+
[
|
|
439
|
+
{
|
|
440
|
+
"bottom": 0,
|
|
441
|
+
"elevation": 9999,
|
|
442
|
+
"flexDirection": "column-reverse",
|
|
443
|
+
"left": 0,
|
|
444
|
+
"paddingHorizontal": 24,
|
|
445
|
+
"paddingVertical": 16,
|
|
446
|
+
"position": "absolute",
|
|
447
|
+
"right": 0,
|
|
448
|
+
"top": 0,
|
|
219
449
|
},
|
|
220
450
|
undefined,
|
|
221
|
-
]
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
themeState="disabled"
|
|
226
|
-
themeTypeface="neutral"
|
|
227
|
-
themeVariant="regular"
|
|
228
|
-
>
|
|
229
|
-
Label
|
|
230
|
-
</Text>
|
|
451
|
+
]
|
|
452
|
+
}
|
|
453
|
+
/>
|
|
454
|
+
</View>
|
|
231
455
|
`;
|
|
232
456
|
|
|
233
457
|
exports[`LabelInsideTextInput renders correctly with themeState error 1`] = `
|
|
234
|
-
<
|
|
235
|
-
allowFontScaling={false}
|
|
458
|
+
<View
|
|
236
459
|
style={
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
460
|
+
{
|
|
461
|
+
"flex": 1,
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
>
|
|
465
|
+
<Text
|
|
466
|
+
allowFontScaling={false}
|
|
467
|
+
style={
|
|
245
468
|
[
|
|
246
469
|
{
|
|
247
|
-
"alignContent": "center",
|
|
248
|
-
"alignItems": "center",
|
|
249
470
|
"color": "#001f23",
|
|
250
|
-
"
|
|
251
|
-
"
|
|
471
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
472
|
+
"fontSize": 16,
|
|
473
|
+
"letterSpacing": 0.48,
|
|
474
|
+
"lineHeight": 24,
|
|
475
|
+
},
|
|
476
|
+
[
|
|
477
|
+
{
|
|
478
|
+
"alignContent": "center",
|
|
479
|
+
"alignItems": "center",
|
|
480
|
+
"color": "#001f23",
|
|
481
|
+
"marginTop": -2,
|
|
482
|
+
"textAlignVertical": "center",
|
|
483
|
+
},
|
|
484
|
+
undefined,
|
|
485
|
+
],
|
|
486
|
+
]
|
|
487
|
+
}
|
|
488
|
+
themeIntent="body"
|
|
489
|
+
themeState="error"
|
|
490
|
+
themeTypeface="neutral"
|
|
491
|
+
themeVariant="regular"
|
|
492
|
+
>
|
|
493
|
+
Label
|
|
494
|
+
</Text>
|
|
495
|
+
<View
|
|
496
|
+
pointerEvents="box-none"
|
|
497
|
+
position="bottom"
|
|
498
|
+
style={
|
|
499
|
+
[
|
|
500
|
+
{
|
|
501
|
+
"bottom": 0,
|
|
502
|
+
"elevation": 9999,
|
|
503
|
+
"flexDirection": "column-reverse",
|
|
504
|
+
"left": 0,
|
|
505
|
+
"paddingHorizontal": 24,
|
|
506
|
+
"paddingVertical": 16,
|
|
507
|
+
"position": "absolute",
|
|
508
|
+
"right": 0,
|
|
509
|
+
"top": 0,
|
|
252
510
|
},
|
|
253
511
|
undefined,
|
|
254
|
-
]
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
themeState="error"
|
|
259
|
-
themeTypeface="neutral"
|
|
260
|
-
themeVariant="regular"
|
|
261
|
-
>
|
|
262
|
-
Label
|
|
263
|
-
</Text>
|
|
512
|
+
]
|
|
513
|
+
}
|
|
514
|
+
/>
|
|
515
|
+
</View>
|
|
264
516
|
`;
|
|
265
517
|
|
|
266
518
|
exports[`LabelInsideTextInput renders correctly with themeState filled 1`] = `
|
|
267
|
-
<
|
|
268
|
-
allowFontScaling={false}
|
|
519
|
+
<View
|
|
269
520
|
style={
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
521
|
+
{
|
|
522
|
+
"flex": 1,
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
>
|
|
526
|
+
<Text
|
|
527
|
+
allowFontScaling={false}
|
|
528
|
+
style={
|
|
278
529
|
[
|
|
279
530
|
{
|
|
280
|
-
"alignContent": "center",
|
|
281
|
-
"alignItems": "center",
|
|
282
531
|
"color": "#001f23",
|
|
283
|
-
"
|
|
284
|
-
"
|
|
532
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
533
|
+
"fontSize": 16,
|
|
534
|
+
"letterSpacing": 0.48,
|
|
535
|
+
"lineHeight": 24,
|
|
536
|
+
},
|
|
537
|
+
[
|
|
538
|
+
{
|
|
539
|
+
"alignContent": "center",
|
|
540
|
+
"alignItems": "center",
|
|
541
|
+
"color": "#001f23",
|
|
542
|
+
"marginTop": -2,
|
|
543
|
+
"textAlignVertical": "center",
|
|
544
|
+
},
|
|
545
|
+
undefined,
|
|
546
|
+
],
|
|
547
|
+
]
|
|
548
|
+
}
|
|
549
|
+
themeIntent="body"
|
|
550
|
+
themeState="filled"
|
|
551
|
+
themeTypeface="neutral"
|
|
552
|
+
themeVariant="regular"
|
|
553
|
+
>
|
|
554
|
+
Label
|
|
555
|
+
</Text>
|
|
556
|
+
<View
|
|
557
|
+
pointerEvents="box-none"
|
|
558
|
+
position="bottom"
|
|
559
|
+
style={
|
|
560
|
+
[
|
|
561
|
+
{
|
|
562
|
+
"bottom": 0,
|
|
563
|
+
"elevation": 9999,
|
|
564
|
+
"flexDirection": "column-reverse",
|
|
565
|
+
"left": 0,
|
|
566
|
+
"paddingHorizontal": 24,
|
|
567
|
+
"paddingVertical": 16,
|
|
568
|
+
"position": "absolute",
|
|
569
|
+
"right": 0,
|
|
570
|
+
"top": 0,
|
|
285
571
|
},
|
|
286
572
|
undefined,
|
|
287
|
-
]
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
themeState="filled"
|
|
292
|
-
themeTypeface="neutral"
|
|
293
|
-
themeVariant="regular"
|
|
294
|
-
>
|
|
295
|
-
Label
|
|
296
|
-
</Text>
|
|
573
|
+
]
|
|
574
|
+
}
|
|
575
|
+
/>
|
|
576
|
+
</View>
|
|
297
577
|
`;
|
|
298
578
|
|
|
299
579
|
exports[`LabelInsideTextInput renders correctly with themeState readonly 1`] = `
|
|
300
|
-
<
|
|
301
|
-
allowFontScaling={false}
|
|
580
|
+
<View
|
|
302
581
|
style={
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
582
|
+
{
|
|
583
|
+
"flex": 1,
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
>
|
|
587
|
+
<Text
|
|
588
|
+
allowFontScaling={false}
|
|
589
|
+
style={
|
|
311
590
|
[
|
|
312
591
|
{
|
|
313
|
-
"
|
|
314
|
-
"
|
|
315
|
-
"
|
|
316
|
-
"
|
|
317
|
-
"
|
|
592
|
+
"color": "#001f23",
|
|
593
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
594
|
+
"fontSize": 16,
|
|
595
|
+
"letterSpacing": 0.48,
|
|
596
|
+
"lineHeight": 24,
|
|
597
|
+
},
|
|
598
|
+
[
|
|
599
|
+
{
|
|
600
|
+
"alignContent": "center",
|
|
601
|
+
"alignItems": "center",
|
|
602
|
+
"color": "#808f91",
|
|
603
|
+
"marginTop": -2,
|
|
604
|
+
"textAlignVertical": "center",
|
|
605
|
+
},
|
|
606
|
+
undefined,
|
|
607
|
+
],
|
|
608
|
+
]
|
|
609
|
+
}
|
|
610
|
+
themeIntent="body"
|
|
611
|
+
themeState="readonly"
|
|
612
|
+
themeTypeface="neutral"
|
|
613
|
+
themeVariant="regular"
|
|
614
|
+
>
|
|
615
|
+
Label
|
|
616
|
+
</Text>
|
|
617
|
+
<View
|
|
618
|
+
pointerEvents="box-none"
|
|
619
|
+
position="bottom"
|
|
620
|
+
style={
|
|
621
|
+
[
|
|
622
|
+
{
|
|
623
|
+
"bottom": 0,
|
|
624
|
+
"elevation": 9999,
|
|
625
|
+
"flexDirection": "column-reverse",
|
|
626
|
+
"left": 0,
|
|
627
|
+
"paddingHorizontal": 24,
|
|
628
|
+
"paddingVertical": 16,
|
|
629
|
+
"position": "absolute",
|
|
630
|
+
"right": 0,
|
|
631
|
+
"top": 0,
|
|
318
632
|
},
|
|
319
633
|
undefined,
|
|
320
|
-
]
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
themeState="readonly"
|
|
325
|
-
themeTypeface="neutral"
|
|
326
|
-
themeVariant="regular"
|
|
327
|
-
>
|
|
328
|
-
Label
|
|
329
|
-
</Text>
|
|
634
|
+
]
|
|
635
|
+
}
|
|
636
|
+
/>
|
|
637
|
+
</View>
|
|
330
638
|
`;
|
|
331
639
|
|
|
332
640
|
exports[`StyledAsteriskLabel renders correctly with themeState default 1`] = `
|
|
333
|
-
<
|
|
334
|
-
allowFontScaling={false}
|
|
641
|
+
<View
|
|
335
642
|
style={
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
643
|
+
{
|
|
644
|
+
"flex": 1,
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
>
|
|
648
|
+
<Text
|
|
649
|
+
allowFontScaling={false}
|
|
650
|
+
style={
|
|
344
651
|
[
|
|
345
652
|
{
|
|
346
|
-
"color": "#
|
|
347
|
-
"
|
|
653
|
+
"color": "#001f23",
|
|
654
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
655
|
+
"fontSize": 12,
|
|
656
|
+
"letterSpacing": 0.48,
|
|
657
|
+
"lineHeight": 16,
|
|
658
|
+
},
|
|
659
|
+
[
|
|
660
|
+
{
|
|
661
|
+
"color": "#cb300a",
|
|
662
|
+
"lineHeight": 12,
|
|
663
|
+
},
|
|
664
|
+
undefined,
|
|
665
|
+
],
|
|
666
|
+
]
|
|
667
|
+
}
|
|
668
|
+
themeFontWeight="regular"
|
|
669
|
+
themeIntent="body"
|
|
670
|
+
themeState="default"
|
|
671
|
+
>
|
|
672
|
+
*
|
|
673
|
+
</Text>
|
|
674
|
+
<View
|
|
675
|
+
pointerEvents="box-none"
|
|
676
|
+
position="bottom"
|
|
677
|
+
style={
|
|
678
|
+
[
|
|
679
|
+
{
|
|
680
|
+
"bottom": 0,
|
|
681
|
+
"elevation": 9999,
|
|
682
|
+
"flexDirection": "column-reverse",
|
|
683
|
+
"left": 0,
|
|
684
|
+
"paddingHorizontal": 24,
|
|
685
|
+
"paddingVertical": 16,
|
|
686
|
+
"position": "absolute",
|
|
687
|
+
"right": 0,
|
|
688
|
+
"top": 0,
|
|
348
689
|
},
|
|
349
690
|
undefined,
|
|
350
|
-
]
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
themeIntent="body"
|
|
355
|
-
themeState="default"
|
|
356
|
-
>
|
|
357
|
-
*
|
|
358
|
-
</Text>
|
|
691
|
+
]
|
|
692
|
+
}
|
|
693
|
+
/>
|
|
694
|
+
</View>
|
|
359
695
|
`;
|
|
360
696
|
|
|
361
697
|
exports[`StyledAsteriskLabel renders correctly with themeState disabled 1`] = `
|
|
362
|
-
<
|
|
363
|
-
allowFontScaling={false}
|
|
698
|
+
<View
|
|
364
699
|
style={
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
700
|
+
{
|
|
701
|
+
"flex": 1,
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
>
|
|
705
|
+
<Text
|
|
706
|
+
allowFontScaling={false}
|
|
707
|
+
style={
|
|
708
|
+
[
|
|
709
|
+
{
|
|
710
|
+
"color": "#001f23",
|
|
711
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
712
|
+
"fontSize": 12,
|
|
713
|
+
"letterSpacing": 0.48,
|
|
714
|
+
"lineHeight": 16,
|
|
715
|
+
},
|
|
716
|
+
[
|
|
717
|
+
{
|
|
718
|
+
"color": "#bfc1c5",
|
|
719
|
+
"lineHeight": 12,
|
|
720
|
+
},
|
|
721
|
+
undefined,
|
|
722
|
+
],
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
themeFontWeight="regular"
|
|
726
|
+
themeIntent="body"
|
|
727
|
+
themeState="disabled"
|
|
728
|
+
>
|
|
729
|
+
*
|
|
730
|
+
</Text>
|
|
731
|
+
<View
|
|
732
|
+
pointerEvents="box-none"
|
|
733
|
+
position="bottom"
|
|
734
|
+
style={
|
|
373
735
|
[
|
|
374
736
|
{
|
|
375
|
-
"
|
|
376
|
-
"
|
|
737
|
+
"bottom": 0,
|
|
738
|
+
"elevation": 9999,
|
|
739
|
+
"flexDirection": "column-reverse",
|
|
740
|
+
"left": 0,
|
|
741
|
+
"paddingHorizontal": 24,
|
|
742
|
+
"paddingVertical": 16,
|
|
743
|
+
"position": "absolute",
|
|
744
|
+
"right": 0,
|
|
745
|
+
"top": 0,
|
|
377
746
|
},
|
|
378
747
|
undefined,
|
|
379
|
-
]
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
themeIntent="body"
|
|
384
|
-
themeState="disabled"
|
|
385
|
-
>
|
|
386
|
-
*
|
|
387
|
-
</Text>
|
|
748
|
+
]
|
|
749
|
+
}
|
|
750
|
+
/>
|
|
751
|
+
</View>
|
|
388
752
|
`;
|
|
389
753
|
|
|
390
754
|
exports[`StyledAsteriskLabel renders correctly with themeState error 1`] = `
|
|
391
|
-
<
|
|
392
|
-
allowFontScaling={false}
|
|
755
|
+
<View
|
|
393
756
|
style={
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
757
|
+
{
|
|
758
|
+
"flex": 1,
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
>
|
|
762
|
+
<Text
|
|
763
|
+
allowFontScaling={false}
|
|
764
|
+
style={
|
|
765
|
+
[
|
|
766
|
+
{
|
|
767
|
+
"color": "#001f23",
|
|
768
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
769
|
+
"fontSize": 12,
|
|
770
|
+
"letterSpacing": 0.48,
|
|
771
|
+
"lineHeight": 16,
|
|
772
|
+
},
|
|
773
|
+
[
|
|
774
|
+
{
|
|
775
|
+
"color": "#cb300a",
|
|
776
|
+
"lineHeight": 12,
|
|
777
|
+
},
|
|
778
|
+
undefined,
|
|
779
|
+
],
|
|
780
|
+
]
|
|
781
|
+
}
|
|
782
|
+
themeFontWeight="regular"
|
|
783
|
+
themeIntent="body"
|
|
784
|
+
themeState="error"
|
|
785
|
+
>
|
|
786
|
+
*
|
|
787
|
+
</Text>
|
|
788
|
+
<View
|
|
789
|
+
pointerEvents="box-none"
|
|
790
|
+
position="bottom"
|
|
791
|
+
style={
|
|
402
792
|
[
|
|
403
793
|
{
|
|
404
|
-
"
|
|
405
|
-
"
|
|
794
|
+
"bottom": 0,
|
|
795
|
+
"elevation": 9999,
|
|
796
|
+
"flexDirection": "column-reverse",
|
|
797
|
+
"left": 0,
|
|
798
|
+
"paddingHorizontal": 24,
|
|
799
|
+
"paddingVertical": 16,
|
|
800
|
+
"position": "absolute",
|
|
801
|
+
"right": 0,
|
|
802
|
+
"top": 0,
|
|
406
803
|
},
|
|
407
804
|
undefined,
|
|
408
|
-
]
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
themeIntent="body"
|
|
413
|
-
themeState="error"
|
|
414
|
-
>
|
|
415
|
-
*
|
|
416
|
-
</Text>
|
|
805
|
+
]
|
|
806
|
+
}
|
|
807
|
+
/>
|
|
808
|
+
</View>
|
|
417
809
|
`;
|
|
418
810
|
|
|
419
811
|
exports[`StyledAsteriskLabel renders correctly with themeState filled 1`] = `
|
|
420
|
-
<
|
|
421
|
-
allowFontScaling={false}
|
|
812
|
+
<View
|
|
422
813
|
style={
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
814
|
+
{
|
|
815
|
+
"flex": 1,
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
>
|
|
819
|
+
<Text
|
|
820
|
+
allowFontScaling={false}
|
|
821
|
+
style={
|
|
822
|
+
[
|
|
823
|
+
{
|
|
824
|
+
"color": "#001f23",
|
|
825
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
826
|
+
"fontSize": 12,
|
|
827
|
+
"letterSpacing": 0.48,
|
|
828
|
+
"lineHeight": 16,
|
|
829
|
+
},
|
|
830
|
+
[
|
|
831
|
+
{
|
|
832
|
+
"color": "#cb300a",
|
|
833
|
+
"lineHeight": 12,
|
|
834
|
+
},
|
|
835
|
+
undefined,
|
|
836
|
+
],
|
|
837
|
+
]
|
|
838
|
+
}
|
|
839
|
+
themeFontWeight="regular"
|
|
840
|
+
themeIntent="body"
|
|
841
|
+
themeState="filled"
|
|
842
|
+
>
|
|
843
|
+
*
|
|
844
|
+
</Text>
|
|
845
|
+
<View
|
|
846
|
+
pointerEvents="box-none"
|
|
847
|
+
position="bottom"
|
|
848
|
+
style={
|
|
431
849
|
[
|
|
432
850
|
{
|
|
433
|
-
"
|
|
434
|
-
"
|
|
851
|
+
"bottom": 0,
|
|
852
|
+
"elevation": 9999,
|
|
853
|
+
"flexDirection": "column-reverse",
|
|
854
|
+
"left": 0,
|
|
855
|
+
"paddingHorizontal": 24,
|
|
856
|
+
"paddingVertical": 16,
|
|
857
|
+
"position": "absolute",
|
|
858
|
+
"right": 0,
|
|
859
|
+
"top": 0,
|
|
435
860
|
},
|
|
436
861
|
undefined,
|
|
437
|
-
]
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
themeIntent="body"
|
|
442
|
-
themeState="filled"
|
|
443
|
-
>
|
|
444
|
-
*
|
|
445
|
-
</Text>
|
|
862
|
+
]
|
|
863
|
+
}
|
|
864
|
+
/>
|
|
865
|
+
</View>
|
|
446
866
|
`;
|
|
447
867
|
|
|
448
868
|
exports[`StyledAsteriskLabel renders correctly with themeState readonly 1`] = `
|
|
449
|
-
<
|
|
450
|
-
allowFontScaling={false}
|
|
869
|
+
<View
|
|
451
870
|
style={
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
871
|
+
{
|
|
872
|
+
"flex": 1,
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
>
|
|
876
|
+
<Text
|
|
877
|
+
allowFontScaling={false}
|
|
878
|
+
style={
|
|
460
879
|
[
|
|
461
880
|
{
|
|
462
|
-
"color": "#
|
|
463
|
-
"
|
|
881
|
+
"color": "#001f23",
|
|
882
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
883
|
+
"fontSize": 12,
|
|
884
|
+
"letterSpacing": 0.48,
|
|
885
|
+
"lineHeight": 16,
|
|
886
|
+
},
|
|
887
|
+
[
|
|
888
|
+
{
|
|
889
|
+
"color": "#808f91",
|
|
890
|
+
"lineHeight": 12,
|
|
891
|
+
},
|
|
892
|
+
undefined,
|
|
893
|
+
],
|
|
894
|
+
]
|
|
895
|
+
}
|
|
896
|
+
themeFontWeight="regular"
|
|
897
|
+
themeIntent="body"
|
|
898
|
+
themeState="readonly"
|
|
899
|
+
>
|
|
900
|
+
*
|
|
901
|
+
</Text>
|
|
902
|
+
<View
|
|
903
|
+
pointerEvents="box-none"
|
|
904
|
+
position="bottom"
|
|
905
|
+
style={
|
|
906
|
+
[
|
|
907
|
+
{
|
|
908
|
+
"bottom": 0,
|
|
909
|
+
"elevation": 9999,
|
|
910
|
+
"flexDirection": "column-reverse",
|
|
911
|
+
"left": 0,
|
|
912
|
+
"paddingHorizontal": 24,
|
|
913
|
+
"paddingVertical": 16,
|
|
914
|
+
"position": "absolute",
|
|
915
|
+
"right": 0,
|
|
916
|
+
"top": 0,
|
|
464
917
|
},
|
|
465
918
|
undefined,
|
|
466
|
-
]
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
themeIntent="body"
|
|
471
|
-
themeState="readonly"
|
|
472
|
-
>
|
|
473
|
-
*
|
|
474
|
-
</Text>
|
|
919
|
+
]
|
|
920
|
+
}
|
|
921
|
+
/>
|
|
922
|
+
</View>
|
|
475
923
|
`;
|
|
476
924
|
|
|
477
925
|
exports[`StyledBorderBackDrop renders correctly when focused 1`] = `
|
|
478
926
|
<View
|
|
479
927
|
style={
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
"borderRadius": 8,
|
|
484
|
-
"borderWidth": 2,
|
|
485
|
-
"bottom": 0,
|
|
486
|
-
"left": 0,
|
|
487
|
-
"position": "absolute",
|
|
488
|
-
"right": 0,
|
|
489
|
-
"top": 0,
|
|
490
|
-
},
|
|
491
|
-
undefined,
|
|
492
|
-
]
|
|
928
|
+
{
|
|
929
|
+
"flex": 1,
|
|
930
|
+
}
|
|
493
931
|
}
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
932
|
+
>
|
|
933
|
+
<View
|
|
934
|
+
style={
|
|
935
|
+
[
|
|
936
|
+
{
|
|
937
|
+
"borderColor": "#cb300a",
|
|
938
|
+
"borderRadius": 8,
|
|
939
|
+
"borderWidth": 2,
|
|
940
|
+
"bottom": 0,
|
|
941
|
+
"left": 0,
|
|
942
|
+
"position": "absolute",
|
|
943
|
+
"right": 0,
|
|
944
|
+
"top": 0,
|
|
945
|
+
},
|
|
946
|
+
undefined,
|
|
947
|
+
]
|
|
948
|
+
}
|
|
949
|
+
themeFocused={true}
|
|
950
|
+
themeState="error"
|
|
951
|
+
/>
|
|
952
|
+
<View
|
|
953
|
+
pointerEvents="box-none"
|
|
954
|
+
position="bottom"
|
|
955
|
+
style={
|
|
956
|
+
[
|
|
957
|
+
{
|
|
958
|
+
"bottom": 0,
|
|
959
|
+
"elevation": 9999,
|
|
960
|
+
"flexDirection": "column-reverse",
|
|
961
|
+
"left": 0,
|
|
962
|
+
"paddingHorizontal": 24,
|
|
963
|
+
"paddingVertical": 16,
|
|
964
|
+
"position": "absolute",
|
|
965
|
+
"right": 0,
|
|
966
|
+
"top": 0,
|
|
967
|
+
},
|
|
968
|
+
undefined,
|
|
969
|
+
]
|
|
970
|
+
}
|
|
971
|
+
/>
|
|
972
|
+
</View>
|
|
497
973
|
`;
|
|
498
974
|
|
|
499
975
|
exports[`StyledBorderBackDrop renders correctly with themeState default 1`] = `
|
|
500
976
|
<View
|
|
501
977
|
style={
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
"borderRadius": 8,
|
|
506
|
-
"borderWidth": 1,
|
|
507
|
-
"bottom": 0,
|
|
508
|
-
"left": 0,
|
|
509
|
-
"position": "absolute",
|
|
510
|
-
"right": 0,
|
|
511
|
-
"top": 0,
|
|
512
|
-
},
|
|
513
|
-
undefined,
|
|
514
|
-
]
|
|
978
|
+
{
|
|
979
|
+
"flex": 1,
|
|
980
|
+
}
|
|
515
981
|
}
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
982
|
+
>
|
|
983
|
+
<View
|
|
984
|
+
style={
|
|
985
|
+
[
|
|
986
|
+
{
|
|
987
|
+
"borderColor": "#001f23",
|
|
988
|
+
"borderRadius": 8,
|
|
989
|
+
"borderWidth": 1,
|
|
990
|
+
"bottom": 0,
|
|
991
|
+
"left": 0,
|
|
992
|
+
"position": "absolute",
|
|
993
|
+
"right": 0,
|
|
994
|
+
"top": 0,
|
|
995
|
+
},
|
|
996
|
+
undefined,
|
|
997
|
+
]
|
|
998
|
+
}
|
|
999
|
+
themeFocused={false}
|
|
1000
|
+
themeState="default"
|
|
1001
|
+
/>
|
|
1002
|
+
<View
|
|
1003
|
+
pointerEvents="box-none"
|
|
1004
|
+
position="bottom"
|
|
1005
|
+
style={
|
|
1006
|
+
[
|
|
1007
|
+
{
|
|
1008
|
+
"bottom": 0,
|
|
1009
|
+
"elevation": 9999,
|
|
1010
|
+
"flexDirection": "column-reverse",
|
|
1011
|
+
"left": 0,
|
|
1012
|
+
"paddingHorizontal": 24,
|
|
1013
|
+
"paddingVertical": 16,
|
|
1014
|
+
"position": "absolute",
|
|
1015
|
+
"right": 0,
|
|
1016
|
+
"top": 0,
|
|
1017
|
+
},
|
|
1018
|
+
undefined,
|
|
1019
|
+
]
|
|
1020
|
+
}
|
|
1021
|
+
/>
|
|
1022
|
+
</View>
|
|
519
1023
|
`;
|
|
520
1024
|
|
|
521
1025
|
exports[`StyledBorderBackDrop renders correctly with themeState disabled 1`] = `
|
|
522
1026
|
<View
|
|
523
1027
|
style={
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
"borderRadius": 8,
|
|
528
|
-
"borderWidth": 1,
|
|
529
|
-
"bottom": 0,
|
|
530
|
-
"left": 0,
|
|
531
|
-
"position": "absolute",
|
|
532
|
-
"right": 0,
|
|
533
|
-
"top": 0,
|
|
534
|
-
},
|
|
535
|
-
undefined,
|
|
536
|
-
]
|
|
1028
|
+
{
|
|
1029
|
+
"flex": 1,
|
|
1030
|
+
}
|
|
537
1031
|
}
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
1032
|
+
>
|
|
1033
|
+
<View
|
|
1034
|
+
style={
|
|
1035
|
+
[
|
|
1036
|
+
{
|
|
1037
|
+
"borderColor": "#bfc1c5",
|
|
1038
|
+
"borderRadius": 8,
|
|
1039
|
+
"borderWidth": 1,
|
|
1040
|
+
"bottom": 0,
|
|
1041
|
+
"left": 0,
|
|
1042
|
+
"position": "absolute",
|
|
1043
|
+
"right": 0,
|
|
1044
|
+
"top": 0,
|
|
1045
|
+
},
|
|
1046
|
+
undefined,
|
|
1047
|
+
]
|
|
1048
|
+
}
|
|
1049
|
+
themeFocused={false}
|
|
1050
|
+
themeState="disabled"
|
|
1051
|
+
/>
|
|
1052
|
+
<View
|
|
1053
|
+
pointerEvents="box-none"
|
|
1054
|
+
position="bottom"
|
|
1055
|
+
style={
|
|
1056
|
+
[
|
|
1057
|
+
{
|
|
1058
|
+
"bottom": 0,
|
|
1059
|
+
"elevation": 9999,
|
|
1060
|
+
"flexDirection": "column-reverse",
|
|
1061
|
+
"left": 0,
|
|
1062
|
+
"paddingHorizontal": 24,
|
|
1063
|
+
"paddingVertical": 16,
|
|
1064
|
+
"position": "absolute",
|
|
1065
|
+
"right": 0,
|
|
1066
|
+
"top": 0,
|
|
1067
|
+
},
|
|
1068
|
+
undefined,
|
|
1069
|
+
]
|
|
1070
|
+
}
|
|
1071
|
+
/>
|
|
1072
|
+
</View>
|
|
541
1073
|
`;
|
|
542
1074
|
|
|
543
1075
|
exports[`StyledBorderBackDrop renders correctly with themeState error 1`] = `
|
|
544
1076
|
<View
|
|
545
1077
|
style={
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
"borderRadius": 8,
|
|
550
|
-
"borderWidth": 1,
|
|
551
|
-
"bottom": 0,
|
|
552
|
-
"left": 0,
|
|
553
|
-
"position": "absolute",
|
|
554
|
-
"right": 0,
|
|
555
|
-
"top": 0,
|
|
556
|
-
},
|
|
557
|
-
undefined,
|
|
558
|
-
]
|
|
1078
|
+
{
|
|
1079
|
+
"flex": 1,
|
|
1080
|
+
}
|
|
559
1081
|
}
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
1082
|
+
>
|
|
1083
|
+
<View
|
|
1084
|
+
style={
|
|
1085
|
+
[
|
|
1086
|
+
{
|
|
1087
|
+
"borderColor": "#cb300a",
|
|
1088
|
+
"borderRadius": 8,
|
|
1089
|
+
"borderWidth": 1,
|
|
1090
|
+
"bottom": 0,
|
|
1091
|
+
"left": 0,
|
|
1092
|
+
"position": "absolute",
|
|
1093
|
+
"right": 0,
|
|
1094
|
+
"top": 0,
|
|
1095
|
+
},
|
|
1096
|
+
undefined,
|
|
1097
|
+
]
|
|
1098
|
+
}
|
|
1099
|
+
themeFocused={false}
|
|
1100
|
+
themeState="error"
|
|
1101
|
+
/>
|
|
1102
|
+
<View
|
|
1103
|
+
pointerEvents="box-none"
|
|
1104
|
+
position="bottom"
|
|
1105
|
+
style={
|
|
1106
|
+
[
|
|
1107
|
+
{
|
|
1108
|
+
"bottom": 0,
|
|
1109
|
+
"elevation": 9999,
|
|
1110
|
+
"flexDirection": "column-reverse",
|
|
1111
|
+
"left": 0,
|
|
1112
|
+
"paddingHorizontal": 24,
|
|
1113
|
+
"paddingVertical": 16,
|
|
1114
|
+
"position": "absolute",
|
|
1115
|
+
"right": 0,
|
|
1116
|
+
"top": 0,
|
|
1117
|
+
},
|
|
1118
|
+
undefined,
|
|
1119
|
+
]
|
|
1120
|
+
}
|
|
1121
|
+
/>
|
|
1122
|
+
</View>
|
|
563
1123
|
`;
|
|
564
1124
|
|
|
565
1125
|
exports[`StyledBorderBackDrop renders correctly with themeState filled 1`] = `
|
|
566
1126
|
<View
|
|
567
1127
|
style={
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
"borderRadius": 8,
|
|
572
|
-
"borderWidth": 1,
|
|
573
|
-
"bottom": 0,
|
|
574
|
-
"left": 0,
|
|
575
|
-
"position": "absolute",
|
|
576
|
-
"right": 0,
|
|
577
|
-
"top": 0,
|
|
578
|
-
},
|
|
579
|
-
undefined,
|
|
580
|
-
]
|
|
1128
|
+
{
|
|
1129
|
+
"flex": 1,
|
|
1130
|
+
}
|
|
581
1131
|
}
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
1132
|
+
>
|
|
1133
|
+
<View
|
|
1134
|
+
style={
|
|
1135
|
+
[
|
|
1136
|
+
{
|
|
1137
|
+
"borderColor": "#001f23",
|
|
1138
|
+
"borderRadius": 8,
|
|
1139
|
+
"borderWidth": 1,
|
|
1140
|
+
"bottom": 0,
|
|
1141
|
+
"left": 0,
|
|
1142
|
+
"position": "absolute",
|
|
1143
|
+
"right": 0,
|
|
1144
|
+
"top": 0,
|
|
1145
|
+
},
|
|
1146
|
+
undefined,
|
|
1147
|
+
]
|
|
1148
|
+
}
|
|
1149
|
+
themeFocused={false}
|
|
1150
|
+
themeState="filled"
|
|
1151
|
+
/>
|
|
1152
|
+
<View
|
|
1153
|
+
pointerEvents="box-none"
|
|
1154
|
+
position="bottom"
|
|
1155
|
+
style={
|
|
1156
|
+
[
|
|
1157
|
+
{
|
|
1158
|
+
"bottom": 0,
|
|
1159
|
+
"elevation": 9999,
|
|
1160
|
+
"flexDirection": "column-reverse",
|
|
1161
|
+
"left": 0,
|
|
1162
|
+
"paddingHorizontal": 24,
|
|
1163
|
+
"paddingVertical": 16,
|
|
1164
|
+
"position": "absolute",
|
|
1165
|
+
"right": 0,
|
|
1166
|
+
"top": 0,
|
|
1167
|
+
},
|
|
1168
|
+
undefined,
|
|
1169
|
+
]
|
|
1170
|
+
}
|
|
1171
|
+
/>
|
|
1172
|
+
</View>
|
|
585
1173
|
`;
|
|
586
1174
|
|
|
587
1175
|
exports[`StyledBorderBackDrop renders correctly with themeState readonly 1`] = `
|
|
588
1176
|
<View
|
|
589
1177
|
style={
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
"borderRadius": 8,
|
|
594
|
-
"borderWidth": 1,
|
|
595
|
-
"bottom": 0,
|
|
596
|
-
"left": 0,
|
|
597
|
-
"position": "absolute",
|
|
598
|
-
"right": 0,
|
|
599
|
-
"top": 0,
|
|
600
|
-
},
|
|
601
|
-
undefined,
|
|
602
|
-
]
|
|
1178
|
+
{
|
|
1179
|
+
"flex": 1,
|
|
1180
|
+
}
|
|
603
1181
|
}
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
1182
|
+
>
|
|
1183
|
+
<View
|
|
1184
|
+
style={
|
|
1185
|
+
[
|
|
1186
|
+
{
|
|
1187
|
+
"borderColor": "#808f91",
|
|
1188
|
+
"borderRadius": 8,
|
|
1189
|
+
"borderWidth": 1,
|
|
1190
|
+
"bottom": 0,
|
|
1191
|
+
"left": 0,
|
|
1192
|
+
"position": "absolute",
|
|
1193
|
+
"right": 0,
|
|
1194
|
+
"top": 0,
|
|
1195
|
+
},
|
|
1196
|
+
undefined,
|
|
1197
|
+
]
|
|
1198
|
+
}
|
|
1199
|
+
themeFocused={false}
|
|
1200
|
+
themeState="readonly"
|
|
1201
|
+
/>
|
|
1202
|
+
<View
|
|
1203
|
+
pointerEvents="box-none"
|
|
1204
|
+
position="bottom"
|
|
1205
|
+
style={
|
|
1206
|
+
[
|
|
1207
|
+
{
|
|
1208
|
+
"bottom": 0,
|
|
1209
|
+
"elevation": 9999,
|
|
1210
|
+
"flexDirection": "column-reverse",
|
|
1211
|
+
"left": 0,
|
|
1212
|
+
"paddingHorizontal": 24,
|
|
1213
|
+
"paddingVertical": 16,
|
|
1214
|
+
"position": "absolute",
|
|
1215
|
+
"right": 0,
|
|
1216
|
+
"top": 0,
|
|
1217
|
+
},
|
|
1218
|
+
undefined,
|
|
1219
|
+
]
|
|
1220
|
+
}
|
|
1221
|
+
/>
|
|
1222
|
+
</View>
|
|
607
1223
|
`;
|
|
608
1224
|
|
|
609
1225
|
exports[`StyledErrorMessage renders correctly 1`] = `
|
|
610
|
-
<
|
|
611
|
-
allowFontScaling={false}
|
|
1226
|
+
<View
|
|
612
1227
|
style={
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
1228
|
+
{
|
|
1229
|
+
"flex": 1,
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
>
|
|
1233
|
+
<Text
|
|
1234
|
+
allowFontScaling={false}
|
|
1235
|
+
style={
|
|
621
1236
|
[
|
|
622
1237
|
{
|
|
623
|
-
"color": "#
|
|
624
|
-
"
|
|
1238
|
+
"color": "#001f23",
|
|
1239
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1240
|
+
"fontSize": 12,
|
|
1241
|
+
"letterSpacing": 0.48,
|
|
1242
|
+
"lineHeight": 16,
|
|
1243
|
+
},
|
|
1244
|
+
[
|
|
1245
|
+
{
|
|
1246
|
+
"color": "#cb300a",
|
|
1247
|
+
"marginLeft": 4,
|
|
1248
|
+
},
|
|
1249
|
+
undefined,
|
|
1250
|
+
],
|
|
1251
|
+
]
|
|
1252
|
+
}
|
|
1253
|
+
themeFontWeight="regular"
|
|
1254
|
+
themeIntent="body"
|
|
1255
|
+
>
|
|
1256
|
+
must not exceed character limit
|
|
1257
|
+
</Text>
|
|
1258
|
+
<View
|
|
1259
|
+
pointerEvents="box-none"
|
|
1260
|
+
position="bottom"
|
|
1261
|
+
style={
|
|
1262
|
+
[
|
|
1263
|
+
{
|
|
1264
|
+
"bottom": 0,
|
|
1265
|
+
"elevation": 9999,
|
|
1266
|
+
"flexDirection": "column-reverse",
|
|
1267
|
+
"left": 0,
|
|
1268
|
+
"paddingHorizontal": 24,
|
|
1269
|
+
"paddingVertical": 16,
|
|
1270
|
+
"position": "absolute",
|
|
1271
|
+
"right": 0,
|
|
1272
|
+
"top": 0,
|
|
625
1273
|
},
|
|
626
1274
|
undefined,
|
|
627
|
-
]
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
themeIntent="body"
|
|
632
|
-
>
|
|
633
|
-
must not exceed character limit
|
|
634
|
-
</Text>
|
|
1275
|
+
]
|
|
1276
|
+
}
|
|
1277
|
+
/>
|
|
1278
|
+
</View>
|
|
635
1279
|
`;
|
|
636
1280
|
|
|
637
1281
|
exports[`StyledErrorMessageContainer renders correctly 1`] = `
|
|
638
1282
|
<View
|
|
639
1283
|
style={
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
"flex": 1,
|
|
644
|
-
"flexDirection": "row",
|
|
645
|
-
"flexGrow": 4,
|
|
646
|
-
"marginRight": 4,
|
|
647
|
-
},
|
|
648
|
-
undefined,
|
|
649
|
-
]
|
|
1284
|
+
{
|
|
1285
|
+
"flex": 1,
|
|
1286
|
+
}
|
|
650
1287
|
}
|
|
651
|
-
|
|
1288
|
+
>
|
|
1289
|
+
<View
|
|
1290
|
+
style={
|
|
1291
|
+
[
|
|
1292
|
+
{
|
|
1293
|
+
"alignItems": "center",
|
|
1294
|
+
"flex": 1,
|
|
1295
|
+
"flexDirection": "row",
|
|
1296
|
+
"flexGrow": 4,
|
|
1297
|
+
"marginRight": 4,
|
|
1298
|
+
},
|
|
1299
|
+
undefined,
|
|
1300
|
+
]
|
|
1301
|
+
}
|
|
1302
|
+
/>
|
|
1303
|
+
<View
|
|
1304
|
+
pointerEvents="box-none"
|
|
1305
|
+
position="bottom"
|
|
1306
|
+
style={
|
|
1307
|
+
[
|
|
1308
|
+
{
|
|
1309
|
+
"bottom": 0,
|
|
1310
|
+
"elevation": 9999,
|
|
1311
|
+
"flexDirection": "column-reverse",
|
|
1312
|
+
"left": 0,
|
|
1313
|
+
"paddingHorizontal": 24,
|
|
1314
|
+
"paddingVertical": 16,
|
|
1315
|
+
"position": "absolute",
|
|
1316
|
+
"right": 0,
|
|
1317
|
+
"top": 0,
|
|
1318
|
+
},
|
|
1319
|
+
undefined,
|
|
1320
|
+
]
|
|
1321
|
+
}
|
|
1322
|
+
/>
|
|
1323
|
+
</View>
|
|
652
1324
|
`;
|
|
653
1325
|
|
|
654
1326
|
exports[`StyledHelperText renders correctly 1`] = `
|
|
655
|
-
<
|
|
656
|
-
allowFontScaling={false}
|
|
1327
|
+
<View
|
|
657
1328
|
style={
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
"fontFamily": "BeVietnamPro-Regular",
|
|
662
|
-
"fontSize": 12,
|
|
663
|
-
"letterSpacing": 0.48,
|
|
664
|
-
"lineHeight": 16,
|
|
665
|
-
},
|
|
666
|
-
undefined,
|
|
667
|
-
]
|
|
1329
|
+
{
|
|
1330
|
+
"flex": 1,
|
|
1331
|
+
}
|
|
668
1332
|
}
|
|
669
|
-
themeFontWeight="regular"
|
|
670
|
-
themeIntent="body"
|
|
671
1333
|
>
|
|
672
|
-
|
|
673
|
-
|
|
1334
|
+
<Text
|
|
1335
|
+
allowFontScaling={false}
|
|
1336
|
+
style={
|
|
1337
|
+
[
|
|
1338
|
+
{
|
|
1339
|
+
"color": "#001f23",
|
|
1340
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1341
|
+
"fontSize": 12,
|
|
1342
|
+
"letterSpacing": 0.48,
|
|
1343
|
+
"lineHeight": 16,
|
|
1344
|
+
},
|
|
1345
|
+
undefined,
|
|
1346
|
+
]
|
|
1347
|
+
}
|
|
1348
|
+
themeFontWeight="regular"
|
|
1349
|
+
themeIntent="body"
|
|
1350
|
+
>
|
|
1351
|
+
helper text
|
|
1352
|
+
</Text>
|
|
1353
|
+
<View
|
|
1354
|
+
pointerEvents="box-none"
|
|
1355
|
+
position="bottom"
|
|
1356
|
+
style={
|
|
1357
|
+
[
|
|
1358
|
+
{
|
|
1359
|
+
"bottom": 0,
|
|
1360
|
+
"elevation": 9999,
|
|
1361
|
+
"flexDirection": "column-reverse",
|
|
1362
|
+
"left": 0,
|
|
1363
|
+
"paddingHorizontal": 24,
|
|
1364
|
+
"paddingVertical": 16,
|
|
1365
|
+
"position": "absolute",
|
|
1366
|
+
"right": 0,
|
|
1367
|
+
"top": 0,
|
|
1368
|
+
},
|
|
1369
|
+
undefined,
|
|
1370
|
+
]
|
|
1371
|
+
}
|
|
1372
|
+
/>
|
|
1373
|
+
</View>
|
|
674
1374
|
`;
|
|
675
1375
|
|
|
676
1376
|
exports[`StyledMaxLengthMessage renders correctly with themeState default 1`] = `
|
|
677
|
-
<
|
|
678
|
-
allowFontScaling={false}
|
|
1377
|
+
<View
|
|
679
1378
|
style={
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
1379
|
+
{
|
|
1380
|
+
"flex": 1,
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
>
|
|
1384
|
+
<Text
|
|
1385
|
+
allowFontScaling={false}
|
|
1386
|
+
style={
|
|
688
1387
|
[
|
|
689
1388
|
{
|
|
690
|
-
"alignSelf": "flex-end",
|
|
691
1389
|
"color": "#001f23",
|
|
692
|
-
"
|
|
693
|
-
"
|
|
694
|
-
"
|
|
695
|
-
"
|
|
1390
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1391
|
+
"fontSize": 12,
|
|
1392
|
+
"letterSpacing": 0.48,
|
|
1393
|
+
"lineHeight": 16,
|
|
1394
|
+
},
|
|
1395
|
+
[
|
|
1396
|
+
{
|
|
1397
|
+
"alignSelf": "flex-end",
|
|
1398
|
+
"color": "#001f23",
|
|
1399
|
+
"flex": 1,
|
|
1400
|
+
"flexGrow": 1,
|
|
1401
|
+
"marginRight": 4,
|
|
1402
|
+
"textAlign": "right",
|
|
1403
|
+
},
|
|
1404
|
+
undefined,
|
|
1405
|
+
],
|
|
1406
|
+
]
|
|
1407
|
+
}
|
|
1408
|
+
themeFontWeight="regular"
|
|
1409
|
+
themeIntent="body"
|
|
1410
|
+
themeState="default"
|
|
1411
|
+
>
|
|
1412
|
+
100/255
|
|
1413
|
+
</Text>
|
|
1414
|
+
<View
|
|
1415
|
+
pointerEvents="box-none"
|
|
1416
|
+
position="bottom"
|
|
1417
|
+
style={
|
|
1418
|
+
[
|
|
1419
|
+
{
|
|
1420
|
+
"bottom": 0,
|
|
1421
|
+
"elevation": 9999,
|
|
1422
|
+
"flexDirection": "column-reverse",
|
|
1423
|
+
"left": 0,
|
|
1424
|
+
"paddingHorizontal": 24,
|
|
1425
|
+
"paddingVertical": 16,
|
|
1426
|
+
"position": "absolute",
|
|
1427
|
+
"right": 0,
|
|
1428
|
+
"top": 0,
|
|
696
1429
|
},
|
|
697
1430
|
undefined,
|
|
698
|
-
]
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
themeIntent="body"
|
|
703
|
-
themeState="default"
|
|
704
|
-
>
|
|
705
|
-
100/255
|
|
706
|
-
</Text>
|
|
1431
|
+
]
|
|
1432
|
+
}
|
|
1433
|
+
/>
|
|
1434
|
+
</View>
|
|
707
1435
|
`;
|
|
708
1436
|
|
|
709
1437
|
exports[`StyledMaxLengthMessage renders correctly with themeState disabled 1`] = `
|
|
710
|
-
<
|
|
711
|
-
allowFontScaling={false}
|
|
1438
|
+
<View
|
|
712
1439
|
style={
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
1440
|
+
{
|
|
1441
|
+
"flex": 1,
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
>
|
|
1445
|
+
<Text
|
|
1446
|
+
allowFontScaling={false}
|
|
1447
|
+
style={
|
|
721
1448
|
[
|
|
722
1449
|
{
|
|
723
|
-
"
|
|
724
|
-
"
|
|
725
|
-
"
|
|
726
|
-
"
|
|
727
|
-
"
|
|
728
|
-
|
|
1450
|
+
"color": "#001f23",
|
|
1451
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1452
|
+
"fontSize": 12,
|
|
1453
|
+
"letterSpacing": 0.48,
|
|
1454
|
+
"lineHeight": 16,
|
|
1455
|
+
},
|
|
1456
|
+
[
|
|
1457
|
+
{
|
|
1458
|
+
"alignSelf": "flex-end",
|
|
1459
|
+
"color": "#bfc1c5",
|
|
1460
|
+
"flex": 1,
|
|
1461
|
+
"flexGrow": 1,
|
|
1462
|
+
"marginRight": 4,
|
|
1463
|
+
"textAlign": "right",
|
|
1464
|
+
},
|
|
1465
|
+
undefined,
|
|
1466
|
+
],
|
|
1467
|
+
]
|
|
1468
|
+
}
|
|
1469
|
+
themeFontWeight="regular"
|
|
1470
|
+
themeIntent="body"
|
|
1471
|
+
themeState="disabled"
|
|
1472
|
+
>
|
|
1473
|
+
100/255
|
|
1474
|
+
</Text>
|
|
1475
|
+
<View
|
|
1476
|
+
pointerEvents="box-none"
|
|
1477
|
+
position="bottom"
|
|
1478
|
+
style={
|
|
1479
|
+
[
|
|
1480
|
+
{
|
|
1481
|
+
"bottom": 0,
|
|
1482
|
+
"elevation": 9999,
|
|
1483
|
+
"flexDirection": "column-reverse",
|
|
1484
|
+
"left": 0,
|
|
1485
|
+
"paddingHorizontal": 24,
|
|
1486
|
+
"paddingVertical": 16,
|
|
1487
|
+
"position": "absolute",
|
|
1488
|
+
"right": 0,
|
|
1489
|
+
"top": 0,
|
|
729
1490
|
},
|
|
730
1491
|
undefined,
|
|
731
|
-
]
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
themeIntent="body"
|
|
736
|
-
themeState="disabled"
|
|
737
|
-
>
|
|
738
|
-
100/255
|
|
739
|
-
</Text>
|
|
1492
|
+
]
|
|
1493
|
+
}
|
|
1494
|
+
/>
|
|
1495
|
+
</View>
|
|
740
1496
|
`;
|
|
741
1497
|
|
|
742
1498
|
exports[`StyledMaxLengthMessage renders correctly with themeState error 1`] = `
|
|
743
|
-
<
|
|
744
|
-
allowFontScaling={false}
|
|
1499
|
+
<View
|
|
745
1500
|
style={
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
1501
|
+
{
|
|
1502
|
+
"flex": 1,
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
>
|
|
1506
|
+
<Text
|
|
1507
|
+
allowFontScaling={false}
|
|
1508
|
+
style={
|
|
754
1509
|
[
|
|
755
1510
|
{
|
|
756
|
-
"
|
|
757
|
-
"
|
|
758
|
-
"
|
|
759
|
-
"
|
|
760
|
-
"
|
|
761
|
-
|
|
1511
|
+
"color": "#001f23",
|
|
1512
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1513
|
+
"fontSize": 12,
|
|
1514
|
+
"letterSpacing": 0.48,
|
|
1515
|
+
"lineHeight": 16,
|
|
1516
|
+
},
|
|
1517
|
+
[
|
|
1518
|
+
{
|
|
1519
|
+
"alignSelf": "flex-end",
|
|
1520
|
+
"color": "#cb300a",
|
|
1521
|
+
"flex": 1,
|
|
1522
|
+
"flexGrow": 1,
|
|
1523
|
+
"marginRight": 4,
|
|
1524
|
+
"textAlign": "right",
|
|
1525
|
+
},
|
|
1526
|
+
undefined,
|
|
1527
|
+
],
|
|
1528
|
+
]
|
|
1529
|
+
}
|
|
1530
|
+
themeFontWeight="regular"
|
|
1531
|
+
themeIntent="body"
|
|
1532
|
+
themeState="error"
|
|
1533
|
+
>
|
|
1534
|
+
100/255
|
|
1535
|
+
</Text>
|
|
1536
|
+
<View
|
|
1537
|
+
pointerEvents="box-none"
|
|
1538
|
+
position="bottom"
|
|
1539
|
+
style={
|
|
1540
|
+
[
|
|
1541
|
+
{
|
|
1542
|
+
"bottom": 0,
|
|
1543
|
+
"elevation": 9999,
|
|
1544
|
+
"flexDirection": "column-reverse",
|
|
1545
|
+
"left": 0,
|
|
1546
|
+
"paddingHorizontal": 24,
|
|
1547
|
+
"paddingVertical": 16,
|
|
1548
|
+
"position": "absolute",
|
|
1549
|
+
"right": 0,
|
|
1550
|
+
"top": 0,
|
|
762
1551
|
},
|
|
763
1552
|
undefined,
|
|
764
|
-
]
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
themeIntent="body"
|
|
769
|
-
themeState="error"
|
|
770
|
-
>
|
|
771
|
-
100/255
|
|
772
|
-
</Text>
|
|
1553
|
+
]
|
|
1554
|
+
}
|
|
1555
|
+
/>
|
|
1556
|
+
</View>
|
|
773
1557
|
`;
|
|
774
1558
|
|
|
775
1559
|
exports[`StyledMaxLengthMessage renders correctly with themeState filled 1`] = `
|
|
776
|
-
<
|
|
777
|
-
allowFontScaling={false}
|
|
1560
|
+
<View
|
|
778
1561
|
style={
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
1562
|
+
{
|
|
1563
|
+
"flex": 1,
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
>
|
|
1567
|
+
<Text
|
|
1568
|
+
allowFontScaling={false}
|
|
1569
|
+
style={
|
|
787
1570
|
[
|
|
788
1571
|
{
|
|
789
|
-
"alignSelf": "flex-end",
|
|
790
1572
|
"color": "#001f23",
|
|
791
|
-
"
|
|
792
|
-
"
|
|
793
|
-
"
|
|
794
|
-
"
|
|
1573
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1574
|
+
"fontSize": 12,
|
|
1575
|
+
"letterSpacing": 0.48,
|
|
1576
|
+
"lineHeight": 16,
|
|
1577
|
+
},
|
|
1578
|
+
[
|
|
1579
|
+
{
|
|
1580
|
+
"alignSelf": "flex-end",
|
|
1581
|
+
"color": "#001f23",
|
|
1582
|
+
"flex": 1,
|
|
1583
|
+
"flexGrow": 1,
|
|
1584
|
+
"marginRight": 4,
|
|
1585
|
+
"textAlign": "right",
|
|
1586
|
+
},
|
|
1587
|
+
undefined,
|
|
1588
|
+
],
|
|
1589
|
+
]
|
|
1590
|
+
}
|
|
1591
|
+
themeFontWeight="regular"
|
|
1592
|
+
themeIntent="body"
|
|
1593
|
+
themeState="filled"
|
|
1594
|
+
>
|
|
1595
|
+
100/255
|
|
1596
|
+
</Text>
|
|
1597
|
+
<View
|
|
1598
|
+
pointerEvents="box-none"
|
|
1599
|
+
position="bottom"
|
|
1600
|
+
style={
|
|
1601
|
+
[
|
|
1602
|
+
{
|
|
1603
|
+
"bottom": 0,
|
|
1604
|
+
"elevation": 9999,
|
|
1605
|
+
"flexDirection": "column-reverse",
|
|
1606
|
+
"left": 0,
|
|
1607
|
+
"paddingHorizontal": 24,
|
|
1608
|
+
"paddingVertical": 16,
|
|
1609
|
+
"position": "absolute",
|
|
1610
|
+
"right": 0,
|
|
1611
|
+
"top": 0,
|
|
795
1612
|
},
|
|
796
1613
|
undefined,
|
|
797
|
-
]
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
themeIntent="body"
|
|
802
|
-
themeState="filled"
|
|
803
|
-
>
|
|
804
|
-
100/255
|
|
805
|
-
</Text>
|
|
1614
|
+
]
|
|
1615
|
+
}
|
|
1616
|
+
/>
|
|
1617
|
+
</View>
|
|
806
1618
|
`;
|
|
807
1619
|
|
|
808
1620
|
exports[`StyledMaxLengthMessage renders correctly with themeState readonly 1`] = `
|
|
809
|
-
<
|
|
810
|
-
allowFontScaling={false}
|
|
1621
|
+
<View
|
|
811
1622
|
style={
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
1623
|
+
{
|
|
1624
|
+
"flex": 1,
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
>
|
|
1628
|
+
<Text
|
|
1629
|
+
allowFontScaling={false}
|
|
1630
|
+
style={
|
|
820
1631
|
[
|
|
821
1632
|
{
|
|
822
|
-
"
|
|
823
|
-
"
|
|
824
|
-
"
|
|
825
|
-
"
|
|
826
|
-
"
|
|
827
|
-
|
|
1633
|
+
"color": "#001f23",
|
|
1634
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1635
|
+
"fontSize": 12,
|
|
1636
|
+
"letterSpacing": 0.48,
|
|
1637
|
+
"lineHeight": 16,
|
|
1638
|
+
},
|
|
1639
|
+
[
|
|
1640
|
+
{
|
|
1641
|
+
"alignSelf": "flex-end",
|
|
1642
|
+
"color": "#808f91",
|
|
1643
|
+
"flex": 1,
|
|
1644
|
+
"flexGrow": 1,
|
|
1645
|
+
"marginRight": 4,
|
|
1646
|
+
"textAlign": "right",
|
|
1647
|
+
},
|
|
1648
|
+
undefined,
|
|
1649
|
+
],
|
|
1650
|
+
]
|
|
1651
|
+
}
|
|
1652
|
+
themeFontWeight="regular"
|
|
1653
|
+
themeIntent="body"
|
|
1654
|
+
themeState="readonly"
|
|
1655
|
+
>
|
|
1656
|
+
100/255
|
|
1657
|
+
</Text>
|
|
1658
|
+
<View
|
|
1659
|
+
pointerEvents="box-none"
|
|
1660
|
+
position="bottom"
|
|
1661
|
+
style={
|
|
1662
|
+
[
|
|
1663
|
+
{
|
|
1664
|
+
"bottom": 0,
|
|
1665
|
+
"elevation": 9999,
|
|
1666
|
+
"flexDirection": "column-reverse",
|
|
1667
|
+
"left": 0,
|
|
1668
|
+
"paddingHorizontal": 24,
|
|
1669
|
+
"paddingVertical": 16,
|
|
1670
|
+
"position": "absolute",
|
|
1671
|
+
"right": 0,
|
|
1672
|
+
"top": 0,
|
|
828
1673
|
},
|
|
829
1674
|
undefined,
|
|
830
|
-
]
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
themeIntent="body"
|
|
835
|
-
themeState="readonly"
|
|
836
|
-
>
|
|
837
|
-
100/255
|
|
838
|
-
</Text>
|
|
1675
|
+
]
|
|
1676
|
+
}
|
|
1677
|
+
/>
|
|
1678
|
+
</View>
|
|
839
1679
|
`;
|
|
840
1680
|
|
|
841
1681
|
exports[`StyledTextInput renders correctly with $themeState state 1`] = `
|
|
842
|
-
<
|
|
843
|
-
style={
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
1682
|
+
<View
|
|
1683
|
+
style={
|
|
1684
|
+
{
|
|
1685
|
+
"flex": 1,
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
>
|
|
1689
|
+
<TextInput
|
|
1690
|
+
style={
|
|
1691
|
+
[
|
|
1692
|
+
{
|
|
1693
|
+
"alignSelf": "stretch",
|
|
1694
|
+
"flexGrow": 2,
|
|
1695
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1696
|
+
"fontSize": 16,
|
|
1697
|
+
"height": undefined,
|
|
1698
|
+
"marginHorizontal": 8,
|
|
1699
|
+
"maxHeight": 144,
|
|
1700
|
+
"paddingVertical": 0,
|
|
1701
|
+
"textAlignVertical": "center",
|
|
1702
|
+
},
|
|
1703
|
+
undefined,
|
|
1704
|
+
]
|
|
1705
|
+
}
|
|
1706
|
+
themeVariant="text"
|
|
1707
|
+
/>
|
|
1708
|
+
<View
|
|
1709
|
+
pointerEvents="box-none"
|
|
1710
|
+
position="bottom"
|
|
1711
|
+
style={
|
|
1712
|
+
[
|
|
1713
|
+
{
|
|
1714
|
+
"bottom": 0,
|
|
1715
|
+
"elevation": 9999,
|
|
1716
|
+
"flexDirection": "column-reverse",
|
|
1717
|
+
"left": 0,
|
|
1718
|
+
"paddingHorizontal": 24,
|
|
1719
|
+
"paddingVertical": 16,
|
|
1720
|
+
"position": "absolute",
|
|
1721
|
+
"right": 0,
|
|
1722
|
+
"top": 0,
|
|
1723
|
+
},
|
|
1724
|
+
undefined,
|
|
1725
|
+
]
|
|
1726
|
+
}
|
|
1727
|
+
/>
|
|
1728
|
+
</View>
|
|
861
1729
|
`;
|
|
862
1730
|
|
|
863
1731
|
exports[`StyledTextInput renders correctly with $themeState state 2`] = `
|
|
864
|
-
<
|
|
865
|
-
style={
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
1732
|
+
<View
|
|
1733
|
+
style={
|
|
1734
|
+
{
|
|
1735
|
+
"flex": 1,
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
>
|
|
1739
|
+
<TextInput
|
|
1740
|
+
style={
|
|
1741
|
+
[
|
|
1742
|
+
{
|
|
1743
|
+
"alignSelf": "stretch",
|
|
1744
|
+
"flexGrow": 2,
|
|
1745
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1746
|
+
"fontSize": 16,
|
|
1747
|
+
"height": 144,
|
|
1748
|
+
"marginHorizontal": 8,
|
|
1749
|
+
"maxHeight": 144,
|
|
1750
|
+
"paddingVertical": 0,
|
|
1751
|
+
"textAlignVertical": "top",
|
|
1752
|
+
},
|
|
1753
|
+
undefined,
|
|
1754
|
+
]
|
|
1755
|
+
}
|
|
1756
|
+
themeVariant="textarea"
|
|
1757
|
+
/>
|
|
1758
|
+
<View
|
|
1759
|
+
pointerEvents="box-none"
|
|
1760
|
+
position="bottom"
|
|
1761
|
+
style={
|
|
1762
|
+
[
|
|
1763
|
+
{
|
|
1764
|
+
"bottom": 0,
|
|
1765
|
+
"elevation": 9999,
|
|
1766
|
+
"flexDirection": "column-reverse",
|
|
1767
|
+
"left": 0,
|
|
1768
|
+
"paddingHorizontal": 24,
|
|
1769
|
+
"paddingVertical": 16,
|
|
1770
|
+
"position": "absolute",
|
|
1771
|
+
"right": 0,
|
|
1772
|
+
"top": 0,
|
|
1773
|
+
},
|
|
1774
|
+
undefined,
|
|
1775
|
+
]
|
|
1776
|
+
}
|
|
1777
|
+
/>
|
|
1778
|
+
</View>
|
|
883
1779
|
`;
|