@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.
Files changed (133) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +10 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +366 -359
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +366 -359
  7. package/package.json +1 -1
  8. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -452
  9. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  10. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +790 -706
  11. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -652
  12. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +170 -142
  13. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -82
  14. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -689
  15. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +157 -73
  16. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -189
  17. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
  18. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
  19. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -278
  20. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -233
  21. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  22. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -120
  23. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -810
  24. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -140
  25. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1666 -1218
  26. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +70 -42
  27. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1623 -727
  28. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -415
  29. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  30. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
  31. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  32. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
  33. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -430
  34. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +196 -84
  35. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  36. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1720 -1636
  37. package/src/components/Carousel/__tests__/index.spec.tsx +7 -6
  38. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +400 -176
  39. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -406
  40. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1170 -834
  41. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
  42. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
  43. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
  44. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +421 -337
  45. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -502
  46. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -172
  47. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -164
  48. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -443
  49. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  50. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
  51. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -243
  52. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
  53. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
  54. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +845 -789
  55. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
  56. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +197 -113
  57. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +290 -206
  58. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
  59. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  60. package/src/components/Icon/IconList.ts +2 -0
  61. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
  62. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
  63. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -186
  64. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +761 -649
  65. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +268 -156
  66. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +473 -221
  67. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +60 -8
  68. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +83 -55
  69. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  70. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
  71. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  72. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
  73. package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
  74. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
  75. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
  76. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -132
  77. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +256 -228
  78. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -780
  79. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
  80. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  81. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  82. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +406 -378
  83. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -36
  84. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -315
  85. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
  86. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
  87. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -65
  88. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2402 -2290
  89. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +180 -24
  90. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
  91. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -45
  92. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2309 -2197
  93. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +150 -20
  94. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
  95. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  96. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
  97. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
  98. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
  99. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
  100. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -126
  101. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
  102. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
  103. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +145 -117
  104. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
  105. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -76
  106. package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
  107. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
  108. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2214 -2130
  109. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -495
  110. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
  111. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1637 -1553
  112. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
  113. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
  114. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
  115. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -334
  116. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -606
  117. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -675
  118. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  119. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -498
  120. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -459
  121. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
  122. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
  123. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
  124. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
  125. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
  126. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
  127. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  128. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
  129. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
  130. package/src/testHelpers/renderWithTheme.tsx +2 -2
  131. package/types/components/Icon/IconList.d.ts +1 -1
  132. package/types/components/Icon/index.d.ts +1 -1
  133. package/types/components/Icon/utils.d.ts +1 -1
@@ -2,630 +2,854 @@
2
2
 
3
3
  exports[`ToolbarItems renders correctly when disabled 1`] = `
4
4
  <View
5
- accessibilityState={
6
- {
7
- "busy": undefined,
8
- "checked": undefined,
9
- "disabled": true,
10
- "expanded": undefined,
11
- "selected": undefined,
12
- }
13
- }
14
- accessibilityValue={
15
- {
16
- "max": undefined,
17
- "min": undefined,
18
- "now": undefined,
19
- "text": undefined,
20
- }
21
- }
22
- accessible={true}
23
- collapsable={false}
24
- focusable={true}
25
- onClick={[Function]}
26
- onResponderGrant={[Function]}
27
- onResponderMove={[Function]}
28
- onResponderRelease={[Function]}
29
- onResponderTerminate={[Function]}
30
- onResponderTerminationRequest={[Function]}
31
- onStartShouldSetResponder={[Function]}
32
5
  style={
33
6
  {
34
- "alignItems": "center",
35
- "flexDirection": "row",
36
- "height": 64,
37
- "opacity": 1,
38
- "paddingHorizontal": 8,
39
- "paddingVertical": 8,
7
+ "flex": 1,
40
8
  }
41
9
  }
42
10
  >
43
11
  <View
12
+ accessibilityState={
13
+ {
14
+ "busy": undefined,
15
+ "checked": undefined,
16
+ "disabled": true,
17
+ "expanded": undefined,
18
+ "selected": undefined,
19
+ }
20
+ }
21
+ accessibilityValue={
22
+ {
23
+ "max": undefined,
24
+ "min": undefined,
25
+ "now": undefined,
26
+ "text": undefined,
27
+ }
28
+ }
29
+ accessible={true}
30
+ collapsable={false}
31
+ focusable={true}
32
+ onClick={[Function]}
33
+ onResponderGrant={[Function]}
34
+ onResponderMove={[Function]}
35
+ onResponderRelease={[Function]}
36
+ onResponderTerminate={[Function]}
37
+ onResponderTerminationRequest={[Function]}
38
+ onStartShouldSetResponder={[Function]}
44
39
  style={
45
- [
46
- {
47
- "alignItems": "center",
48
- "backgroundColor": "#ece8ef",
49
- "borderRadius": 24,
50
- "flexDirection": "row",
51
- "justifyContent": "center",
52
- "padding": 12,
53
- },
54
- undefined,
55
- ]
40
+ {
41
+ "alignItems": "center",
42
+ "flexDirection": "row",
43
+ "height": 64,
44
+ "opacity": 1,
45
+ "paddingHorizontal": 8,
46
+ "paddingVertical": 8,
47
+ }
56
48
  }
57
49
  >
58
- <HeroIcon
59
- name="home"
50
+ <View
60
51
  style={
61
52
  [
62
53
  {
63
- "color": "#bfc1c5",
64
- "fontSize": 24,
54
+ "alignItems": "center",
55
+ "backgroundColor": "#ece8ef",
56
+ "borderRadius": 24,
57
+ "flexDirection": "row",
58
+ "justifyContent": "center",
59
+ "padding": 12,
65
60
  },
66
61
  undefined,
67
62
  ]
68
63
  }
69
- testID="toolbar-item-icon-home"
70
- themeIntent="disabled-text"
71
- themeSize="medium"
72
- />
64
+ >
65
+ <HeroIcon
66
+ name="home"
67
+ style={
68
+ [
69
+ {
70
+ "color": "#bfc1c5",
71
+ "fontSize": 24,
72
+ },
73
+ undefined,
74
+ ]
75
+ }
76
+ testID="toolbar-item-icon-home"
77
+ themeIntent="disabled-text"
78
+ themeSize="medium"
79
+ />
80
+ <Text
81
+ allowFontScaling={false}
82
+ numberOfLines={1}
83
+ style={
84
+ [
85
+ {
86
+ "color": "#4d6265",
87
+ "fontFamily": "BeVietnamPro-SemiBold",
88
+ "fontSize": 16,
89
+ "letterSpacing": 0.24,
90
+ "lineHeight": 24,
91
+ },
92
+ [
93
+ {
94
+ "marginLeft": 8,
95
+ },
96
+ undefined,
97
+ ],
98
+ ]
99
+ }
100
+ themeIntent="subdued"
101
+ themeTypeface="neutral"
102
+ themeVariant="regular-bold"
103
+ >
104
+ Action
105
+ </Text>
106
+ </View>
107
+ </View>
108
+ <View
109
+ pointerEvents="box-none"
110
+ position="bottom"
111
+ style={
112
+ [
113
+ {
114
+ "bottom": 0,
115
+ "elevation": 9999,
116
+ "flexDirection": "column-reverse",
117
+ "left": 0,
118
+ "paddingHorizontal": 24,
119
+ "paddingVertical": 16,
120
+ "position": "absolute",
121
+ "right": 0,
122
+ "top": 0,
123
+ },
124
+ undefined,
125
+ ]
126
+ }
127
+ />
128
+ </View>
129
+ `;
130
+
131
+ exports[`ToolbarItems renders correctly when intent is danger, icon is undefined, label is Discard and disabled is false 1`] = `
132
+ <View
133
+ style={
134
+ {
135
+ "flex": 1,
136
+ }
137
+ }
138
+ >
139
+ <View
140
+ accessibilityState={
141
+ {
142
+ "busy": undefined,
143
+ "checked": undefined,
144
+ "disabled": false,
145
+ "expanded": undefined,
146
+ "selected": undefined,
147
+ }
148
+ }
149
+ accessibilityValue={
150
+ {
151
+ "max": undefined,
152
+ "min": undefined,
153
+ "now": undefined,
154
+ "text": undefined,
155
+ }
156
+ }
157
+ accessible={true}
158
+ collapsable={false}
159
+ focusable={true}
160
+ onClick={[Function]}
161
+ onResponderGrant={[Function]}
162
+ onResponderMove={[Function]}
163
+ onResponderRelease={[Function]}
164
+ onResponderTerminate={[Function]}
165
+ onResponderTerminationRequest={[Function]}
166
+ onStartShouldSetResponder={[Function]}
167
+ style={
168
+ {
169
+ "alignItems": "center",
170
+ "flexDirection": "row",
171
+ "height": 64,
172
+ "opacity": 1,
173
+ "paddingHorizontal": 8,
174
+ "paddingVertical": 8,
175
+ }
176
+ }
177
+ >
73
178
  <Text
74
179
  allowFontScaling={false}
75
180
  numberOfLines={1}
76
181
  style={
77
182
  [
78
183
  {
79
- "color": "#4d6265",
184
+ "color": "#f46363",
80
185
  "fontFamily": "BeVietnamPro-SemiBold",
81
186
  "fontSize": 16,
82
187
  "letterSpacing": 0.24,
83
188
  "lineHeight": 24,
84
189
  },
85
- [
86
- {
87
- "marginLeft": 8,
88
- },
89
- undefined,
90
- ],
190
+ undefined,
91
191
  ]
92
192
  }
93
- themeIntent="subdued"
193
+ themeIntent="danger"
94
194
  themeTypeface="neutral"
95
195
  themeVariant="regular-bold"
96
196
  >
97
- Action
197
+ Discard
98
198
  </Text>
99
199
  </View>
100
- </View>
101
- `;
102
-
103
- exports[`ToolbarItems renders correctly when intent is danger, icon is undefined, label is Discard and disabled is false 1`] = `
104
- <View
105
- accessibilityState={
106
- {
107
- "busy": undefined,
108
- "checked": undefined,
109
- "disabled": false,
110
- "expanded": undefined,
111
- "selected": undefined,
112
- }
113
- }
114
- accessibilityValue={
115
- {
116
- "max": undefined,
117
- "min": undefined,
118
- "now": undefined,
119
- "text": undefined,
120
- }
121
- }
122
- accessible={true}
123
- collapsable={false}
124
- focusable={true}
125
- onClick={[Function]}
126
- onResponderGrant={[Function]}
127
- onResponderMove={[Function]}
128
- onResponderRelease={[Function]}
129
- onResponderTerminate={[Function]}
130
- onResponderTerminationRequest={[Function]}
131
- onStartShouldSetResponder={[Function]}
132
- style={
133
- {
134
- "alignItems": "center",
135
- "flexDirection": "row",
136
- "height": 64,
137
- "opacity": 1,
138
- "paddingHorizontal": 8,
139
- "paddingVertical": 8,
140
- }
141
- }
142
- >
143
- <Text
144
- allowFontScaling={false}
145
- numberOfLines={1}
200
+ <View
201
+ pointerEvents="box-none"
202
+ position="bottom"
146
203
  style={
147
204
  [
148
205
  {
149
- "color": "#f46363",
150
- "fontFamily": "BeVietnamPro-SemiBold",
151
- "fontSize": 16,
152
- "letterSpacing": 0.24,
153
- "lineHeight": 24,
206
+ "bottom": 0,
207
+ "elevation": 9999,
208
+ "flexDirection": "column-reverse",
209
+ "left": 0,
210
+ "paddingHorizontal": 24,
211
+ "paddingVertical": 16,
212
+ "position": "absolute",
213
+ "right": 0,
214
+ "top": 0,
154
215
  },
155
216
  undefined,
156
217
  ]
157
218
  }
158
- themeIntent="danger"
159
- themeTypeface="neutral"
160
- themeVariant="regular-bold"
161
- >
162
- Discard
163
- </Text>
219
+ />
164
220
  </View>
165
221
  `;
166
222
 
167
223
  exports[`ToolbarItems renders correctly when intent is info, icon is undefined, label is Save and disabled is false 1`] = `
168
224
  <View
169
- accessibilityState={
170
- {
171
- "busy": undefined,
172
- "checked": undefined,
173
- "disabled": false,
174
- "expanded": undefined,
175
- "selected": undefined,
176
- }
177
- }
178
- accessibilityValue={
179
- {
180
- "max": undefined,
181
- "min": undefined,
182
- "now": undefined,
183
- "text": undefined,
184
- }
185
- }
186
- accessible={true}
187
- collapsable={false}
188
- focusable={true}
189
- onClick={[Function]}
190
- onResponderGrant={[Function]}
191
- onResponderMove={[Function]}
192
- onResponderRelease={[Function]}
193
- onResponderTerminate={[Function]}
194
- onResponderTerminationRequest={[Function]}
195
- onStartShouldSetResponder={[Function]}
196
225
  style={
197
226
  {
198
- "alignItems": "center",
199
- "flexDirection": "row",
200
- "height": 64,
201
- "opacity": 1,
202
- "paddingHorizontal": 8,
203
- "paddingVertical": 8,
227
+ "flex": 1,
204
228
  }
205
229
  }
206
230
  >
207
- <Text
208
- allowFontScaling={false}
209
- numberOfLines={1}
231
+ <View
232
+ accessibilityState={
233
+ {
234
+ "busy": undefined,
235
+ "checked": undefined,
236
+ "disabled": false,
237
+ "expanded": undefined,
238
+ "selected": undefined,
239
+ }
240
+ }
241
+ accessibilityValue={
242
+ {
243
+ "max": undefined,
244
+ "min": undefined,
245
+ "now": undefined,
246
+ "text": undefined,
247
+ }
248
+ }
249
+ accessible={true}
250
+ collapsable={false}
251
+ focusable={true}
252
+ onClick={[Function]}
253
+ onResponderGrant={[Function]}
254
+ onResponderMove={[Function]}
255
+ onResponderRelease={[Function]}
256
+ onResponderTerminate={[Function]}
257
+ onResponderTerminationRequest={[Function]}
258
+ onStartShouldSetResponder={[Function]}
259
+ style={
260
+ {
261
+ "alignItems": "center",
262
+ "flexDirection": "row",
263
+ "height": 64,
264
+ "opacity": 1,
265
+ "paddingHorizontal": 8,
266
+ "paddingVertical": 8,
267
+ }
268
+ }
269
+ >
270
+ <Text
271
+ allowFontScaling={false}
272
+ numberOfLines={1}
273
+ style={
274
+ [
275
+ {
276
+ "color": "#355bfb",
277
+ "fontFamily": "BeVietnamPro-SemiBold",
278
+ "fontSize": 16,
279
+ "letterSpacing": 0.24,
280
+ "lineHeight": 24,
281
+ },
282
+ undefined,
283
+ ]
284
+ }
285
+ themeIntent="info"
286
+ themeTypeface="neutral"
287
+ themeVariant="regular-bold"
288
+ >
289
+ Save
290
+ </Text>
291
+ </View>
292
+ <View
293
+ pointerEvents="box-none"
294
+ position="bottom"
210
295
  style={
211
296
  [
212
297
  {
213
- "color": "#355bfb",
214
- "fontFamily": "BeVietnamPro-SemiBold",
215
- "fontSize": 16,
216
- "letterSpacing": 0.24,
217
- "lineHeight": 24,
298
+ "bottom": 0,
299
+ "elevation": 9999,
300
+ "flexDirection": "column-reverse",
301
+ "left": 0,
302
+ "paddingHorizontal": 24,
303
+ "paddingVertical": 16,
304
+ "position": "absolute",
305
+ "right": 0,
306
+ "top": 0,
218
307
  },
219
308
  undefined,
220
309
  ]
221
310
  }
222
- themeIntent="info"
223
- themeTypeface="neutral"
224
- themeVariant="regular-bold"
225
- >
226
- Save
227
- </Text>
311
+ />
228
312
  </View>
229
313
  `;
230
314
 
231
315
  exports[`ToolbarItems renders correctly when intent is primary, icon is ai-outlined, label is Try again and disabled is false 1`] = `
232
316
  <View
233
- accessibilityState={
234
- {
235
- "busy": undefined,
236
- "checked": undefined,
237
- "disabled": false,
238
- "expanded": undefined,
239
- "selected": undefined,
240
- }
241
- }
242
- accessibilityValue={
243
- {
244
- "max": undefined,
245
- "min": undefined,
246
- "now": undefined,
247
- "text": undefined,
248
- }
249
- }
250
- accessible={true}
251
- collapsable={false}
252
- focusable={true}
253
- onClick={[Function]}
254
- onResponderGrant={[Function]}
255
- onResponderMove={[Function]}
256
- onResponderRelease={[Function]}
257
- onResponderTerminate={[Function]}
258
- onResponderTerminationRequest={[Function]}
259
- onStartShouldSetResponder={[Function]}
260
317
  style={
261
318
  {
262
- "alignItems": "center",
263
- "flexDirection": "row",
264
- "height": 64,
265
- "opacity": 1,
266
- "paddingHorizontal": 8,
267
- "paddingVertical": 8,
319
+ "flex": 1,
268
320
  }
269
321
  }
270
322
  >
271
323
  <View
324
+ accessibilityState={
325
+ {
326
+ "busy": undefined,
327
+ "checked": undefined,
328
+ "disabled": false,
329
+ "expanded": undefined,
330
+ "selected": undefined,
331
+ }
332
+ }
333
+ accessibilityValue={
334
+ {
335
+ "max": undefined,
336
+ "min": undefined,
337
+ "now": undefined,
338
+ "text": undefined,
339
+ }
340
+ }
341
+ accessible={true}
342
+ collapsable={false}
343
+ focusable={true}
344
+ onClick={[Function]}
345
+ onResponderGrant={[Function]}
346
+ onResponderMove={[Function]}
347
+ onResponderRelease={[Function]}
348
+ onResponderTerminate={[Function]}
349
+ onResponderTerminationRequest={[Function]}
350
+ onStartShouldSetResponder={[Function]}
272
351
  style={
273
- [
274
- {
275
- "alignItems": "center",
276
- "backgroundColor": "#ece8ef",
277
- "borderRadius": 24,
278
- "flexDirection": "row",
279
- "justifyContent": "center",
280
- "padding": 12,
281
- },
282
- undefined,
283
- ]
352
+ {
353
+ "alignItems": "center",
354
+ "flexDirection": "row",
355
+ "height": 64,
356
+ "opacity": 1,
357
+ "paddingHorizontal": 8,
358
+ "paddingVertical": 8,
359
+ }
284
360
  }
285
361
  >
286
- <HeroIcon
287
- name="ai-outlined"
362
+ <View
288
363
  style={
289
364
  [
290
365
  {
291
- "color": "#401960",
292
- "fontSize": 24,
366
+ "alignItems": "center",
367
+ "backgroundColor": "#ece8ef",
368
+ "borderRadius": 24,
369
+ "flexDirection": "row",
370
+ "justifyContent": "center",
371
+ "padding": 12,
293
372
  },
294
373
  undefined,
295
374
  ]
296
375
  }
297
- testID="toolbar-item-icon-ai-outlined"
298
- themeIntent="primary"
299
- themeSize="medium"
300
- />
301
- <Text
302
- allowFontScaling={false}
303
- numberOfLines={1}
304
- style={
305
- [
306
- {
307
- "color": "#401960",
308
- "fontFamily": "BeVietnamPro-SemiBold",
309
- "fontSize": 16,
310
- "letterSpacing": 0.24,
311
- "lineHeight": 24,
312
- },
376
+ >
377
+ <HeroIcon
378
+ name="ai-outlined"
379
+ style={
313
380
  [
314
381
  {
315
- "marginLeft": 8,
382
+ "color": "#401960",
383
+ "fontSize": 24,
316
384
  },
317
385
  undefined,
318
- ],
319
- ]
320
- }
321
- themeIntent="primary"
322
- themeTypeface="neutral"
323
- themeVariant="regular-bold"
324
- >
325
- Try again
326
- </Text>
386
+ ]
387
+ }
388
+ testID="toolbar-item-icon-ai-outlined"
389
+ themeIntent="primary"
390
+ themeSize="medium"
391
+ />
392
+ <Text
393
+ allowFontScaling={false}
394
+ numberOfLines={1}
395
+ style={
396
+ [
397
+ {
398
+ "color": "#401960",
399
+ "fontFamily": "BeVietnamPro-SemiBold",
400
+ "fontSize": 16,
401
+ "letterSpacing": 0.24,
402
+ "lineHeight": 24,
403
+ },
404
+ [
405
+ {
406
+ "marginLeft": 8,
407
+ },
408
+ undefined,
409
+ ],
410
+ ]
411
+ }
412
+ themeIntent="primary"
413
+ themeTypeface="neutral"
414
+ themeVariant="regular-bold"
415
+ >
416
+ Try again
417
+ </Text>
418
+ </View>
327
419
  </View>
420
+ <View
421
+ pointerEvents="box-none"
422
+ position="bottom"
423
+ style={
424
+ [
425
+ {
426
+ "bottom": 0,
427
+ "elevation": 9999,
428
+ "flexDirection": "column-reverse",
429
+ "left": 0,
430
+ "paddingHorizontal": 24,
431
+ "paddingVertical": 16,
432
+ "position": "absolute",
433
+ "right": 0,
434
+ "top": 0,
435
+ },
436
+ undefined,
437
+ ]
438
+ }
439
+ />
328
440
  </View>
329
441
  `;
330
442
 
331
443
  exports[`ToolbarItems renders correctly when intent is primary, icon is ai-outlined, label is Try again and disabled is true 1`] = `
332
444
  <View
333
- accessibilityState={
334
- {
335
- "busy": undefined,
336
- "checked": undefined,
337
- "disabled": true,
338
- "expanded": undefined,
339
- "selected": undefined,
340
- }
341
- }
342
- accessibilityValue={
343
- {
344
- "max": undefined,
345
- "min": undefined,
346
- "now": undefined,
347
- "text": undefined,
348
- }
349
- }
350
- accessible={true}
351
- collapsable={false}
352
- focusable={true}
353
- onClick={[Function]}
354
- onResponderGrant={[Function]}
355
- onResponderMove={[Function]}
356
- onResponderRelease={[Function]}
357
- onResponderTerminate={[Function]}
358
- onResponderTerminationRequest={[Function]}
359
- onStartShouldSetResponder={[Function]}
360
445
  style={
361
446
  {
362
- "alignItems": "center",
363
- "flexDirection": "row",
364
- "height": 64,
365
- "opacity": 1,
366
- "paddingHorizontal": 8,
367
- "paddingVertical": 8,
447
+ "flex": 1,
368
448
  }
369
449
  }
370
450
  >
371
451
  <View
452
+ accessibilityState={
453
+ {
454
+ "busy": undefined,
455
+ "checked": undefined,
456
+ "disabled": true,
457
+ "expanded": undefined,
458
+ "selected": undefined,
459
+ }
460
+ }
461
+ accessibilityValue={
462
+ {
463
+ "max": undefined,
464
+ "min": undefined,
465
+ "now": undefined,
466
+ "text": undefined,
467
+ }
468
+ }
469
+ accessible={true}
470
+ collapsable={false}
471
+ focusable={true}
472
+ onClick={[Function]}
473
+ onResponderGrant={[Function]}
474
+ onResponderMove={[Function]}
475
+ onResponderRelease={[Function]}
476
+ onResponderTerminate={[Function]}
477
+ onResponderTerminationRequest={[Function]}
478
+ onStartShouldSetResponder={[Function]}
372
479
  style={
373
- [
374
- {
375
- "alignItems": "center",
376
- "backgroundColor": "#ece8ef",
377
- "borderRadius": 24,
378
- "flexDirection": "row",
379
- "justifyContent": "center",
380
- "padding": 12,
381
- },
382
- undefined,
383
- ]
480
+ {
481
+ "alignItems": "center",
482
+ "flexDirection": "row",
483
+ "height": 64,
484
+ "opacity": 1,
485
+ "paddingHorizontal": 8,
486
+ "paddingVertical": 8,
487
+ }
384
488
  }
385
489
  >
386
- <HeroIcon
387
- name="ai-outlined"
490
+ <View
388
491
  style={
389
492
  [
390
493
  {
391
- "color": "#bfc1c5",
392
- "fontSize": 24,
494
+ "alignItems": "center",
495
+ "backgroundColor": "#ece8ef",
496
+ "borderRadius": 24,
497
+ "flexDirection": "row",
498
+ "justifyContent": "center",
499
+ "padding": 12,
393
500
  },
394
501
  undefined,
395
502
  ]
396
503
  }
397
- testID="toolbar-item-icon-ai-outlined"
398
- themeIntent="disabled-text"
399
- themeSize="medium"
400
- />
401
- <Text
402
- allowFontScaling={false}
403
- numberOfLines={1}
404
- style={
405
- [
406
- {
407
- "color": "#4d6265",
408
- "fontFamily": "BeVietnamPro-SemiBold",
409
- "fontSize": 16,
410
- "letterSpacing": 0.24,
411
- "lineHeight": 24,
412
- },
504
+ >
505
+ <HeroIcon
506
+ name="ai-outlined"
507
+ style={
413
508
  [
414
509
  {
415
- "marginLeft": 8,
510
+ "color": "#bfc1c5",
511
+ "fontSize": 24,
416
512
  },
417
513
  undefined,
418
- ],
419
- ]
420
- }
421
- themeIntent="subdued"
422
- themeTypeface="neutral"
423
- themeVariant="regular-bold"
424
- >
425
- Try again
426
- </Text>
514
+ ]
515
+ }
516
+ testID="toolbar-item-icon-ai-outlined"
517
+ themeIntent="disabled-text"
518
+ themeSize="medium"
519
+ />
520
+ <Text
521
+ allowFontScaling={false}
522
+ numberOfLines={1}
523
+ style={
524
+ [
525
+ {
526
+ "color": "#4d6265",
527
+ "fontFamily": "BeVietnamPro-SemiBold",
528
+ "fontSize": 16,
529
+ "letterSpacing": 0.24,
530
+ "lineHeight": 24,
531
+ },
532
+ [
533
+ {
534
+ "marginLeft": 8,
535
+ },
536
+ undefined,
537
+ ],
538
+ ]
539
+ }
540
+ themeIntent="subdued"
541
+ themeTypeface="neutral"
542
+ themeVariant="regular-bold"
543
+ >
544
+ Try again
545
+ </Text>
546
+ </View>
427
547
  </View>
548
+ <View
549
+ pointerEvents="box-none"
550
+ position="bottom"
551
+ style={
552
+ [
553
+ {
554
+ "bottom": 0,
555
+ "elevation": 9999,
556
+ "flexDirection": "column-reverse",
557
+ "left": 0,
558
+ "paddingHorizontal": 24,
559
+ "paddingVertical": 16,
560
+ "position": "absolute",
561
+ "right": 0,
562
+ "top": 0,
563
+ },
564
+ undefined,
565
+ ]
566
+ }
567
+ />
428
568
  </View>
429
569
  `;
430
570
 
431
571
  exports[`ToolbarItems renders correctly when intent is primary, icon is ai-outlined, label is undefined and disabled is false 1`] = `
432
572
  <View
433
- accessibilityState={
434
- {
435
- "busy": undefined,
436
- "checked": undefined,
437
- "disabled": false,
438
- "expanded": undefined,
439
- "selected": undefined,
440
- }
441
- }
442
- accessibilityValue={
443
- {
444
- "max": undefined,
445
- "min": undefined,
446
- "now": undefined,
447
- "text": undefined,
448
- }
449
- }
450
- accessible={true}
451
- collapsable={false}
452
- focusable={true}
453
- onClick={[Function]}
454
- onResponderGrant={[Function]}
455
- onResponderMove={[Function]}
456
- onResponderRelease={[Function]}
457
- onResponderTerminate={[Function]}
458
- onResponderTerminationRequest={[Function]}
459
- onStartShouldSetResponder={[Function]}
460
573
  style={
461
574
  {
462
- "alignItems": "center",
463
- "flexDirection": "row",
464
- "height": 64,
465
- "opacity": 1,
466
- "paddingHorizontal": 8,
467
- "paddingVertical": 8,
575
+ "flex": 1,
468
576
  }
469
577
  }
470
578
  >
471
579
  <View
580
+ accessibilityState={
581
+ {
582
+ "busy": undefined,
583
+ "checked": undefined,
584
+ "disabled": false,
585
+ "expanded": undefined,
586
+ "selected": undefined,
587
+ }
588
+ }
589
+ accessibilityValue={
590
+ {
591
+ "max": undefined,
592
+ "min": undefined,
593
+ "now": undefined,
594
+ "text": undefined,
595
+ }
596
+ }
597
+ accessible={true}
598
+ collapsable={false}
599
+ focusable={true}
600
+ onClick={[Function]}
601
+ onResponderGrant={[Function]}
602
+ onResponderMove={[Function]}
603
+ onResponderRelease={[Function]}
604
+ onResponderTerminate={[Function]}
605
+ onResponderTerminationRequest={[Function]}
606
+ onStartShouldSetResponder={[Function]}
472
607
  style={
473
- [
474
- {
475
- "alignItems": "center",
476
- "backgroundColor": "#ece8ef",
477
- "borderRadius": 24,
478
- "flexDirection": "row",
479
- "justifyContent": "center",
480
- "padding": 12,
481
- },
482
- undefined,
483
- ]
608
+ {
609
+ "alignItems": "center",
610
+ "flexDirection": "row",
611
+ "height": 64,
612
+ "opacity": 1,
613
+ "paddingHorizontal": 8,
614
+ "paddingVertical": 8,
615
+ }
484
616
  }
485
617
  >
486
- <HeroIcon
487
- name="ai-outlined"
618
+ <View
488
619
  style={
489
620
  [
490
621
  {
491
- "color": "#401960",
492
- "fontSize": 24,
622
+ "alignItems": "center",
623
+ "backgroundColor": "#ece8ef",
624
+ "borderRadius": 24,
625
+ "flexDirection": "row",
626
+ "justifyContent": "center",
627
+ "padding": 12,
493
628
  },
494
629
  undefined,
495
630
  ]
496
631
  }
497
- testID="toolbar-item-icon-ai-outlined"
498
- themeIntent="primary"
499
- themeSize="medium"
500
- />
632
+ >
633
+ <HeroIcon
634
+ name="ai-outlined"
635
+ style={
636
+ [
637
+ {
638
+ "color": "#401960",
639
+ "fontSize": 24,
640
+ },
641
+ undefined,
642
+ ]
643
+ }
644
+ testID="toolbar-item-icon-ai-outlined"
645
+ themeIntent="primary"
646
+ themeSize="medium"
647
+ />
648
+ </View>
501
649
  </View>
650
+ <View
651
+ pointerEvents="box-none"
652
+ position="bottom"
653
+ style={
654
+ [
655
+ {
656
+ "bottom": 0,
657
+ "elevation": 9999,
658
+ "flexDirection": "column-reverse",
659
+ "left": 0,
660
+ "paddingHorizontal": 24,
661
+ "paddingVertical": 16,
662
+ "position": "absolute",
663
+ "right": 0,
664
+ "top": 0,
665
+ },
666
+ undefined,
667
+ ]
668
+ }
669
+ />
502
670
  </View>
503
671
  `;
504
672
 
505
673
  exports[`ToolbarItems renders correctly when intent is success, icon is undefined, label is Save and disabled is false 1`] = `
506
674
  <View
507
- accessibilityState={
508
- {
509
- "busy": undefined,
510
- "checked": undefined,
511
- "disabled": false,
512
- "expanded": undefined,
513
- "selected": undefined,
514
- }
515
- }
516
- accessibilityValue={
517
- {
518
- "max": undefined,
519
- "min": undefined,
520
- "now": undefined,
521
- "text": undefined,
522
- }
523
- }
524
- accessible={true}
525
- collapsable={false}
526
- focusable={true}
527
- onClick={[Function]}
528
- onResponderGrant={[Function]}
529
- onResponderMove={[Function]}
530
- onResponderRelease={[Function]}
531
- onResponderTerminate={[Function]}
532
- onResponderTerminationRequest={[Function]}
533
- onStartShouldSetResponder={[Function]}
534
675
  style={
535
676
  {
536
- "alignItems": "center",
537
- "flexDirection": "row",
538
- "height": 64,
539
- "opacity": 1,
540
- "paddingHorizontal": 8,
541
- "paddingVertical": 8,
677
+ "flex": 1,
542
678
  }
543
679
  }
544
680
  >
545
- <Text
546
- allowFontScaling={false}
547
- numberOfLines={1}
681
+ <View
682
+ accessibilityState={
683
+ {
684
+ "busy": undefined,
685
+ "checked": undefined,
686
+ "disabled": false,
687
+ "expanded": undefined,
688
+ "selected": undefined,
689
+ }
690
+ }
691
+ accessibilityValue={
692
+ {
693
+ "max": undefined,
694
+ "min": undefined,
695
+ "now": undefined,
696
+ "text": undefined,
697
+ }
698
+ }
699
+ accessible={true}
700
+ collapsable={false}
701
+ focusable={true}
702
+ onClick={[Function]}
703
+ onResponderGrant={[Function]}
704
+ onResponderMove={[Function]}
705
+ onResponderRelease={[Function]}
706
+ onResponderTerminate={[Function]}
707
+ onResponderTerminationRequest={[Function]}
708
+ onStartShouldSetResponder={[Function]}
709
+ style={
710
+ {
711
+ "alignItems": "center",
712
+ "flexDirection": "row",
713
+ "height": 64,
714
+ "opacity": 1,
715
+ "paddingHorizontal": 8,
716
+ "paddingVertical": 8,
717
+ }
718
+ }
719
+ >
720
+ <Text
721
+ allowFontScaling={false}
722
+ numberOfLines={1}
723
+ style={
724
+ [
725
+ {
726
+ "color": "#5ace7d",
727
+ "fontFamily": "BeVietnamPro-SemiBold",
728
+ "fontSize": 16,
729
+ "letterSpacing": 0.24,
730
+ "lineHeight": 24,
731
+ },
732
+ undefined,
733
+ ]
734
+ }
735
+ themeIntent="success"
736
+ themeTypeface="neutral"
737
+ themeVariant="regular-bold"
738
+ >
739
+ Save
740
+ </Text>
741
+ </View>
742
+ <View
743
+ pointerEvents="box-none"
744
+ position="bottom"
548
745
  style={
549
746
  [
550
747
  {
551
- "color": "#5ace7d",
552
- "fontFamily": "BeVietnamPro-SemiBold",
553
- "fontSize": 16,
554
- "letterSpacing": 0.24,
555
- "lineHeight": 24,
748
+ "bottom": 0,
749
+ "elevation": 9999,
750
+ "flexDirection": "column-reverse",
751
+ "left": 0,
752
+ "paddingHorizontal": 24,
753
+ "paddingVertical": 16,
754
+ "position": "absolute",
755
+ "right": 0,
756
+ "top": 0,
556
757
  },
557
758
  undefined,
558
759
  ]
559
760
  }
560
- themeIntent="success"
561
- themeTypeface="neutral"
562
- themeVariant="regular-bold"
563
- >
564
- Save
565
- </Text>
761
+ />
566
762
  </View>
567
763
  `;
568
764
 
569
765
  exports[`ToolbarItems renders correctly when intent is warning, icon is undefined, label is Warning and disabled is false 1`] = `
570
766
  <View
571
- accessibilityState={
572
- {
573
- "busy": undefined,
574
- "checked": undefined,
575
- "disabled": false,
576
- "expanded": undefined,
577
- "selected": undefined,
578
- }
579
- }
580
- accessibilityValue={
581
- {
582
- "max": undefined,
583
- "min": undefined,
584
- "now": undefined,
585
- "text": undefined,
586
- }
587
- }
588
- accessible={true}
589
- collapsable={false}
590
- focusable={true}
591
- onClick={[Function]}
592
- onResponderGrant={[Function]}
593
- onResponderMove={[Function]}
594
- onResponderRelease={[Function]}
595
- onResponderTerminate={[Function]}
596
- onResponderTerminationRequest={[Function]}
597
- onStartShouldSetResponder={[Function]}
598
767
  style={
599
768
  {
600
- "alignItems": "center",
601
- "flexDirection": "row",
602
- "height": 64,
603
- "opacity": 1,
604
- "paddingHorizontal": 8,
605
- "paddingVertical": 8,
769
+ "flex": 1,
606
770
  }
607
771
  }
608
772
  >
609
- <Text
610
- allowFontScaling={false}
611
- numberOfLines={1}
773
+ <View
774
+ accessibilityState={
775
+ {
776
+ "busy": undefined,
777
+ "checked": undefined,
778
+ "disabled": false,
779
+ "expanded": undefined,
780
+ "selected": undefined,
781
+ }
782
+ }
783
+ accessibilityValue={
784
+ {
785
+ "max": undefined,
786
+ "min": undefined,
787
+ "now": undefined,
788
+ "text": undefined,
789
+ }
790
+ }
791
+ accessible={true}
792
+ collapsable={false}
793
+ focusable={true}
794
+ onClick={[Function]}
795
+ onResponderGrant={[Function]}
796
+ onResponderMove={[Function]}
797
+ onResponderRelease={[Function]}
798
+ onResponderTerminate={[Function]}
799
+ onResponderTerminationRequest={[Function]}
800
+ onStartShouldSetResponder={[Function]}
801
+ style={
802
+ {
803
+ "alignItems": "center",
804
+ "flexDirection": "row",
805
+ "height": 64,
806
+ "opacity": 1,
807
+ "paddingHorizontal": 8,
808
+ "paddingVertical": 8,
809
+ }
810
+ }
811
+ >
812
+ <Text
813
+ allowFontScaling={false}
814
+ numberOfLines={1}
815
+ style={
816
+ [
817
+ {
818
+ "color": "#ffbe71",
819
+ "fontFamily": "BeVietnamPro-SemiBold",
820
+ "fontSize": 16,
821
+ "letterSpacing": 0.24,
822
+ "lineHeight": 24,
823
+ },
824
+ undefined,
825
+ ]
826
+ }
827
+ themeIntent="warning"
828
+ themeTypeface="neutral"
829
+ themeVariant="regular-bold"
830
+ >
831
+ Warning
832
+ </Text>
833
+ </View>
834
+ <View
835
+ pointerEvents="box-none"
836
+ position="bottom"
612
837
  style={
613
838
  [
614
839
  {
615
- "color": "#ffbe71",
616
- "fontFamily": "BeVietnamPro-SemiBold",
617
- "fontSize": 16,
618
- "letterSpacing": 0.24,
619
- "lineHeight": 24,
840
+ "bottom": 0,
841
+ "elevation": 9999,
842
+ "flexDirection": "column-reverse",
843
+ "left": 0,
844
+ "paddingHorizontal": 24,
845
+ "paddingVertical": 16,
846
+ "position": "absolute",
847
+ "right": 0,
848
+ "top": 0,
620
849
  },
621
850
  undefined,
622
851
  ]
623
852
  }
624
- themeIntent="warning"
625
- themeTypeface="neutral"
626
- themeVariant="regular-bold"
627
- >
628
- Warning
629
- </Text>
853
+ />
630
854
  </View>
631
855
  `;