@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
@@ -3,148 +3,160 @@
3
3
  exports[`Progress.Bar renders correctly 1`] = `
4
4
  <View
5
5
  style={
6
- [
7
- {
8
- "alignSelf": "stretch",
9
- "backgroundColor": "#e8e9ea",
10
- "borderRadius": 999,
11
- "height": 8,
12
- "overflow": "hidden",
13
- },
14
- undefined,
15
- ]
6
+ {
7
+ "flex": 1,
8
+ }
16
9
  }
17
- testID="progress-bar"
18
- themeIntent="primary"
19
10
  >
20
11
  <View
21
- collapsable={false}
22
- onLayout={[Function]}
23
12
  style={
24
- {
25
- "alignSelf": "stretch",
26
- "backgroundColor": "#401960",
27
- "borderBottomRightRadius": 999,
28
- "borderTopRightRadius": 999,
29
- "flex": 1,
30
- "transform": [
31
- {
32
- "translateX": -0,
33
- },
34
- ],
35
- }
13
+ [
14
+ {
15
+ "alignSelf": "stretch",
16
+ "backgroundColor": "#e8e9ea",
17
+ "borderRadius": 999,
18
+ "height": 8,
19
+ "overflow": "hidden",
20
+ },
21
+ undefined,
22
+ ]
36
23
  }
24
+ testID="progress-bar"
37
25
  themeIntent="primary"
38
- />
39
- </View>
40
- `;
41
-
42
- exports[`Progress.Bar renders correctly with intent 1`] = `
43
- <View
44
- style={
45
- [
46
- {
47
- "alignSelf": "stretch",
48
- "backgroundColor": "#e8e9ea",
49
- "borderRadius": 999,
50
- "height": 8,
51
- "overflow": "hidden",
52
- },
53
- undefined,
54
- ]
55
- }
56
- testID="progress-bar"
57
- themeIntent="success"
58
- >
26
+ >
27
+ <View
28
+ collapsable={false}
29
+ onLayout={[Function]}
30
+ style={
31
+ {
32
+ "alignSelf": "stretch",
33
+ "backgroundColor": "#401960",
34
+ "borderBottomRightRadius": 999,
35
+ "borderTopRightRadius": 999,
36
+ "flex": 1,
37
+ "transform": [
38
+ {
39
+ "translateX": -0,
40
+ },
41
+ ],
42
+ }
43
+ }
44
+ themeIntent="primary"
45
+ />
46
+ </View>
59
47
  <View
60
- collapsable={false}
61
- onLayout={[Function]}
48
+ pointerEvents="box-none"
49
+ position="bottom"
62
50
  style={
63
- {
64
- "alignSelf": "stretch",
65
- "backgroundColor": "#5ace7d",
66
- "borderBottomRightRadius": 999,
67
- "borderTopRightRadius": 999,
68
- "flex": 1,
69
- "transform": [
70
- {
71
- "translateX": -0,
72
- },
73
- ],
74
- }
51
+ [
52
+ {
53
+ "bottom": 0,
54
+ "elevation": 9999,
55
+ "flexDirection": "column-reverse",
56
+ "left": 0,
57
+ "paddingHorizontal": 24,
58
+ "paddingVertical": 16,
59
+ "position": "absolute",
60
+ "right": 0,
61
+ "top": 0,
62
+ },
63
+ undefined,
64
+ ]
75
65
  }
76
- themeIntent="success"
77
66
  />
78
67
  </View>
79
68
  `;
80
69
 
81
- exports[`Progress.Circle allows to custom value renderer 1`] = `
70
+ exports[`Progress.Bar renders correctly with intent 1`] = `
82
71
  <View
83
- testID="progress-circle"
72
+ style={
73
+ {
74
+ "flex": 1,
75
+ }
76
+ }
84
77
  >
85
78
  <View
86
79
  style={
87
80
  [
88
81
  {
82
+ "alignSelf": "stretch",
83
+ "backgroundColor": "#e8e9ea",
89
84
  "borderRadius": 999,
90
- "flexDirection": "row",
85
+ "height": 8,
86
+ "overflow": "hidden",
91
87
  },
92
88
  undefined,
93
89
  ]
94
90
  }
91
+ testID="progress-bar"
92
+ themeIntent="success"
95
93
  >
96
- <View>
97
- <View
98
- style={
99
- [
94
+ <View
95
+ collapsable={false}
96
+ onLayout={[Function]}
97
+ style={
98
+ {
99
+ "alignSelf": "stretch",
100
+ "backgroundColor": "#5ace7d",
101
+ "borderBottomRightRadius": 999,
102
+ "borderTopRightRadius": 999,
103
+ "flex": 1,
104
+ "transform": [
100
105
  {
101
- "height": 72,
102
- "overflow": "hidden",
103
- "width": 36,
106
+ "translateX": -0,
104
107
  },
105
- undefined,
106
- ]
108
+ ],
107
109
  }
108
- >
109
- <View
110
- style={
111
- [
112
- {
113
- "borderColor": "#5ace7d",
114
- "borderRadius": 999,
115
- "borderWidth": 8,
116
- "height": 72,
117
- "width": 72,
118
- },
119
- undefined,
120
- ]
121
- }
122
- themeIntent="success"
123
- />
124
- </View>
125
- <View
126
- collapsable={false}
127
- style={
110
+ }
111
+ themeIntent="success"
112
+ />
113
+ </View>
114
+ <View
115
+ pointerEvents="box-none"
116
+ position="bottom"
117
+ style={
118
+ [
119
+ {
120
+ "bottom": 0,
121
+ "elevation": 9999,
122
+ "flexDirection": "column-reverse",
123
+ "left": 0,
124
+ "paddingHorizontal": 24,
125
+ "paddingVertical": 16,
126
+ "position": "absolute",
127
+ "right": 0,
128
+ "top": 0,
129
+ },
130
+ undefined,
131
+ ]
132
+ }
133
+ />
134
+ </View>
135
+ `;
136
+
137
+ exports[`Progress.Circle allows to custom value renderer 1`] = `
138
+ <View
139
+ style={
140
+ {
141
+ "flex": 1,
142
+ }
143
+ }
144
+ >
145
+ <View
146
+ testID="progress-circle"
147
+ >
148
+ <View
149
+ style={
150
+ [
128
151
  {
129
- "bottom": 0,
130
- "left": 0,
131
- "position": "absolute",
132
- "right": 0,
133
- "top": 0,
134
- "transform": [
135
- {
136
- "translateX": 18,
137
- },
138
- {
139
- "rotate": "0deg",
140
- },
141
- {
142
- "translateX": -18,
143
- },
144
- ],
145
- }
146
- }
147
- >
152
+ "borderRadius": 999,
153
+ "flexDirection": "row",
154
+ },
155
+ undefined,
156
+ ]
157
+ }
158
+ >
159
+ <View>
148
160
  <View
149
161
  style={
150
162
  [
@@ -161,7 +173,7 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
161
173
  style={
162
174
  [
163
175
  {
164
- "borderColor": "#e8e9ea",
176
+ "borderColor": "#5ace7d",
165
177
  "borderRadius": 999,
166
178
  "borderWidth": 8,
167
179
  "height": 72,
@@ -173,70 +185,69 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
173
185
  themeIntent="success"
174
186
  />
175
187
  </View>
176
- </View>
177
- </View>
178
- <View
179
- style={
180
- {
181
- "marginLeft": -0.1,
182
- "transform": [
183
- {
184
- "rotate": "180deg",
185
- },
186
- ],
187
- "zIndex": 1,
188
- }
189
- }
190
- >
191
- <View
192
- style={
193
- [
194
- {
195
- "height": 72,
196
- "overflow": "hidden",
197
- "width": 36,
198
- },
199
- undefined,
200
- ]
201
- }
202
- >
203
188
  <View
189
+ collapsable={false}
204
190
  style={
205
- [
206
- {
207
- "borderColor": "#5ace7d",
208
- "borderRadius": 999,
209
- "borderWidth": 8,
210
- "height": 72,
211
- "width": 72,
212
- },
213
- undefined,
214
- ]
191
+ {
192
+ "bottom": 0,
193
+ "left": 0,
194
+ "position": "absolute",
195
+ "right": 0,
196
+ "top": 0,
197
+ "transform": [
198
+ {
199
+ "translateX": 18,
200
+ },
201
+ {
202
+ "rotate": "0deg",
203
+ },
204
+ {
205
+ "translateX": -18,
206
+ },
207
+ ],
208
+ }
215
209
  }
216
- themeIntent="success"
217
- />
210
+ >
211
+ <View
212
+ style={
213
+ [
214
+ {
215
+ "height": 72,
216
+ "overflow": "hidden",
217
+ "width": 36,
218
+ },
219
+ undefined,
220
+ ]
221
+ }
222
+ >
223
+ <View
224
+ style={
225
+ [
226
+ {
227
+ "borderColor": "#e8e9ea",
228
+ "borderRadius": 999,
229
+ "borderWidth": 8,
230
+ "height": 72,
231
+ "width": 72,
232
+ },
233
+ undefined,
234
+ ]
235
+ }
236
+ themeIntent="success"
237
+ />
238
+ </View>
239
+ </View>
218
240
  </View>
219
241
  <View
220
- collapsable={false}
221
242
  style={
222
243
  {
223
- "bottom": 0,
224
- "left": 0,
225
- "opacity": 1,
226
- "position": "absolute",
227
- "right": 0,
228
- "top": 0,
244
+ "marginLeft": -0.1,
229
245
  "transform": [
230
246
  {
231
- "translateX": 18,
232
- },
233
- {
234
- "rotate": "0deg",
235
- },
236
- {
237
- "translateX": -18,
247
+ "rotate": "180deg",
238
248
  },
239
249
  ],
250
+ "zIndex": 1,
240
251
  }
241
252
  }
242
253
  >
@@ -256,7 +267,7 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
256
267
  style={
257
268
  [
258
269
  {
259
- "borderColor": "#e8e9ea",
270
+ "borderColor": "#5ace7d",
260
271
  "borderRadius": 999,
261
272
  "borderWidth": 8,
262
273
  "height": 72,
@@ -268,44 +279,60 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
268
279
  themeIntent="success"
269
280
  />
270
281
  </View>
271
- </View>
272
- </View>
273
- <View
274
- style={
275
- [
276
- {
277
- "backgroundColor": "#5ace7d",
278
- "borderRadius": 999,
279
- "height": 8,
280
- "left": 32,
281
- "position": "absolute",
282
- "top": 0,
283
- "width": 8,
284
- "zIndex": 2,
285
- },
286
- undefined,
287
- ]
288
- }
289
- themeIntent="success"
290
- />
291
- <View
292
- collapsable={false}
293
- style={
294
- {
295
- "bottom": 0,
296
- "left": 0,
297
- "position": "absolute",
298
- "right": 0,
299
- "top": 0,
300
- "transform": [
282
+ <View
283
+ collapsable={false}
284
+ style={
301
285
  {
302
- "rotate": "0deg",
303
- },
304
- ],
305
- "zIndex": 2,
306
- }
307
- }
308
- >
286
+ "bottom": 0,
287
+ "left": 0,
288
+ "opacity": 1,
289
+ "position": "absolute",
290
+ "right": 0,
291
+ "top": 0,
292
+ "transform": [
293
+ {
294
+ "translateX": 18,
295
+ },
296
+ {
297
+ "rotate": "0deg",
298
+ },
299
+ {
300
+ "translateX": -18,
301
+ },
302
+ ],
303
+ }
304
+ }
305
+ >
306
+ <View
307
+ style={
308
+ [
309
+ {
310
+ "height": 72,
311
+ "overflow": "hidden",
312
+ "width": 36,
313
+ },
314
+ undefined,
315
+ ]
316
+ }
317
+ >
318
+ <View
319
+ style={
320
+ [
321
+ {
322
+ "borderColor": "#e8e9ea",
323
+ "borderRadius": 999,
324
+ "borderWidth": 8,
325
+ "height": 72,
326
+ "width": 72,
327
+ },
328
+ undefined,
329
+ ]
330
+ }
331
+ themeIntent="success"
332
+ />
333
+ </View>
334
+ </View>
335
+ </View>
309
336
  <View
310
337
  style={
311
338
  [
@@ -324,117 +351,130 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
324
351
  }
325
352
  themeIntent="success"
326
353
  />
327
- </View>
328
- <View
329
- style={
330
- [
354
+ <View
355
+ collapsable={false}
356
+ style={
331
357
  {
332
- "alignItems": "center",
333
- "borderRadius": 999,
334
- "height": 56,
335
- "justifyContent": "center",
336
- "left": 8,
358
+ "bottom": 0,
359
+ "left": 0,
337
360
  "position": "absolute",
338
- "top": 8,
339
- "width": 56,
340
- "zIndex": 3,
341
- },
342
- undefined,
343
- ]
344
- }
345
- >
346
- <Text
347
- allowFontScaling={false}
348
- style={
349
- [
350
- {
351
- "color": "#001f23",
352
- "fontFamily": "BeVietnamPro-Regular",
353
- "fontSize": 16,
354
- "letterSpacing": 0.48,
355
- "lineHeight": 24,
356
- },
357
- undefined,
358
- ]
361
+ "right": 0,
362
+ "top": 0,
363
+ "transform": [
364
+ {
365
+ "rotate": "0deg",
366
+ },
367
+ ],
368
+ "zIndex": 2,
369
+ }
359
370
  }
360
- themeIntent="body"
361
- themeTypeface="neutral"
362
- themeVariant="regular"
363
371
  >
364
- 175
365
- </Text>
366
- </View>
367
- </View>
368
- </View>
369
- `;
370
-
371
- exports[`Progress.Circle renders correctly 1`] = `
372
- <View
373
- testID="progress-circle"
374
- >
375
- <View
376
- style={
377
- [
378
- {
379
- "borderRadius": 999,
380
- "flexDirection": "row",
381
- },
382
- undefined,
383
- ]
384
- }
385
- >
386
- <View>
372
+ <View
373
+ style={
374
+ [
375
+ {
376
+ "backgroundColor": "#5ace7d",
377
+ "borderRadius": 999,
378
+ "height": 8,
379
+ "left": 32,
380
+ "position": "absolute",
381
+ "top": 0,
382
+ "width": 8,
383
+ "zIndex": 2,
384
+ },
385
+ undefined,
386
+ ]
387
+ }
388
+ themeIntent="success"
389
+ />
390
+ </View>
387
391
  <View
388
392
  style={
389
393
  [
390
394
  {
391
- "height": 72,
392
- "overflow": "hidden",
393
- "width": 36,
395
+ "alignItems": "center",
396
+ "borderRadius": 999,
397
+ "height": 56,
398
+ "justifyContent": "center",
399
+ "left": 8,
400
+ "position": "absolute",
401
+ "top": 8,
402
+ "width": 56,
403
+ "zIndex": 3,
394
404
  },
395
405
  undefined,
396
406
  ]
397
407
  }
398
408
  >
399
- <View
409
+ <Text
410
+ allowFontScaling={false}
400
411
  style={
401
412
  [
402
413
  {
403
- "borderColor": "#401960",
404
- "borderRadius": 999,
405
- "borderWidth": 8,
406
- "height": 72,
407
- "width": 72,
414
+ "color": "#001f23",
415
+ "fontFamily": "BeVietnamPro-Regular",
416
+ "fontSize": 16,
417
+ "letterSpacing": 0.48,
418
+ "lineHeight": 24,
408
419
  },
409
420
  undefined,
410
421
  ]
411
422
  }
412
- themeIntent="primary"
413
- />
423
+ themeIntent="body"
424
+ themeTypeface="neutral"
425
+ themeVariant="regular"
426
+ >
427
+ 175
428
+ </Text>
414
429
  </View>
415
- <View
416
- collapsable={false}
417
- style={
430
+ </View>
431
+ </View>
432
+ <View
433
+ pointerEvents="box-none"
434
+ position="bottom"
435
+ style={
436
+ [
437
+ {
438
+ "bottom": 0,
439
+ "elevation": 9999,
440
+ "flexDirection": "column-reverse",
441
+ "left": 0,
442
+ "paddingHorizontal": 24,
443
+ "paddingVertical": 16,
444
+ "position": "absolute",
445
+ "right": 0,
446
+ "top": 0,
447
+ },
448
+ undefined,
449
+ ]
450
+ }
451
+ />
452
+ </View>
453
+ `;
454
+
455
+ exports[`Progress.Circle renders correctly 1`] = `
456
+ <View
457
+ style={
458
+ {
459
+ "flex": 1,
460
+ }
461
+ }
462
+ >
463
+ <View
464
+ testID="progress-circle"
465
+ >
466
+ <View
467
+ style={
468
+ [
418
469
  {
419
- "bottom": 0,
420
- "left": 0,
421
- "position": "absolute",
422
- "right": 0,
423
- "top": 0,
424
- "transform": [
425
- {
426
- "translateX": 18,
427
- },
428
- {
429
- "rotate": "0deg",
430
- },
431
- {
432
- "translateX": -18,
433
- },
434
- ],
435
- }
436
- }
437
- >
470
+ "borderRadius": 999,
471
+ "flexDirection": "row",
472
+ },
473
+ undefined,
474
+ ]
475
+ }
476
+ >
477
+ <View>
438
478
  <View
439
479
  style={
440
480
  [
@@ -451,7 +491,7 @@ exports[`Progress.Circle renders correctly 1`] = `
451
491
  style={
452
492
  [
453
493
  {
454
- "borderColor": "#e8e9ea",
494
+ "borderColor": "#401960",
455
495
  "borderRadius": 999,
456
496
  "borderWidth": 8,
457
497
  "height": 72,
@@ -463,70 +503,69 @@ exports[`Progress.Circle renders correctly 1`] = `
463
503
  themeIntent="primary"
464
504
  />
465
505
  </View>
466
- </View>
467
- </View>
468
- <View
469
- style={
470
- {
471
- "marginLeft": -0.1,
472
- "transform": [
473
- {
474
- "rotate": "180deg",
475
- },
476
- ],
477
- "zIndex": 1,
478
- }
479
- }
480
- >
481
- <View
482
- style={
483
- [
484
- {
485
- "height": 72,
486
- "overflow": "hidden",
487
- "width": 36,
488
- },
489
- undefined,
490
- ]
491
- }
492
- >
493
506
  <View
507
+ collapsable={false}
494
508
  style={
495
- [
496
- {
497
- "borderColor": "#401960",
498
- "borderRadius": 999,
499
- "borderWidth": 8,
500
- "height": 72,
501
- "width": 72,
502
- },
503
- undefined,
504
- ]
509
+ {
510
+ "bottom": 0,
511
+ "left": 0,
512
+ "position": "absolute",
513
+ "right": 0,
514
+ "top": 0,
515
+ "transform": [
516
+ {
517
+ "translateX": 18,
518
+ },
519
+ {
520
+ "rotate": "0deg",
521
+ },
522
+ {
523
+ "translateX": -18,
524
+ },
525
+ ],
526
+ }
505
527
  }
506
- themeIntent="primary"
507
- />
528
+ >
529
+ <View
530
+ style={
531
+ [
532
+ {
533
+ "height": 72,
534
+ "overflow": "hidden",
535
+ "width": 36,
536
+ },
537
+ undefined,
538
+ ]
539
+ }
540
+ >
541
+ <View
542
+ style={
543
+ [
544
+ {
545
+ "borderColor": "#e8e9ea",
546
+ "borderRadius": 999,
547
+ "borderWidth": 8,
548
+ "height": 72,
549
+ "width": 72,
550
+ },
551
+ undefined,
552
+ ]
553
+ }
554
+ themeIntent="primary"
555
+ />
556
+ </View>
557
+ </View>
508
558
  </View>
509
559
  <View
510
- collapsable={false}
511
560
  style={
512
561
  {
513
- "bottom": 0,
514
- "left": 0,
515
- "opacity": 1,
516
- "position": "absolute",
517
- "right": 0,
518
- "top": 0,
562
+ "marginLeft": -0.1,
519
563
  "transform": [
520
564
  {
521
- "translateX": 18,
522
- },
523
- {
524
- "rotate": "0deg",
525
- },
526
- {
527
- "translateX": -18,
565
+ "rotate": "180deg",
528
566
  },
529
567
  ],
568
+ "zIndex": 1,
530
569
  }
531
570
  }
532
571
  >
@@ -546,7 +585,7 @@ exports[`Progress.Circle renders correctly 1`] = `
546
585
  style={
547
586
  [
548
587
  {
549
- "borderColor": "#e8e9ea",
588
+ "borderColor": "#401960",
550
589
  "borderRadius": 999,
551
590
  "borderWidth": 8,
552
591
  "height": 72,
@@ -558,44 +597,60 @@ exports[`Progress.Circle renders correctly 1`] = `
558
597
  themeIntent="primary"
559
598
  />
560
599
  </View>
561
- </View>
562
- </View>
563
- <View
564
- style={
565
- [
566
- {
567
- "backgroundColor": "#401960",
568
- "borderRadius": 999,
569
- "height": 8,
570
- "left": 32,
571
- "position": "absolute",
572
- "top": 0,
573
- "width": 8,
574
- "zIndex": 2,
575
- },
576
- undefined,
577
- ]
578
- }
579
- themeIntent="primary"
580
- />
581
- <View
582
- collapsable={false}
583
- style={
584
- {
585
- "bottom": 0,
586
- "left": 0,
587
- "position": "absolute",
588
- "right": 0,
589
- "top": 0,
590
- "transform": [
600
+ <View
601
+ collapsable={false}
602
+ style={
591
603
  {
592
- "rotate": "0deg",
593
- },
594
- ],
595
- "zIndex": 2,
596
- }
597
- }
598
- >
604
+ "bottom": 0,
605
+ "left": 0,
606
+ "opacity": 1,
607
+ "position": "absolute",
608
+ "right": 0,
609
+ "top": 0,
610
+ "transform": [
611
+ {
612
+ "translateX": 18,
613
+ },
614
+ {
615
+ "rotate": "0deg",
616
+ },
617
+ {
618
+ "translateX": -18,
619
+ },
620
+ ],
621
+ }
622
+ }
623
+ >
624
+ <View
625
+ style={
626
+ [
627
+ {
628
+ "height": 72,
629
+ "overflow": "hidden",
630
+ "width": 36,
631
+ },
632
+ undefined,
633
+ ]
634
+ }
635
+ >
636
+ <View
637
+ style={
638
+ [
639
+ {
640
+ "borderColor": "#e8e9ea",
641
+ "borderRadius": 999,
642
+ "borderWidth": 8,
643
+ "height": 72,
644
+ "width": 72,
645
+ },
646
+ undefined,
647
+ ]
648
+ }
649
+ themeIntent="primary"
650
+ />
651
+ </View>
652
+ </View>
653
+ </View>
599
654
  <View
600
655
  style={
601
656
  [
@@ -611,97 +666,9 @@ exports[`Progress.Circle renders correctly 1`] = `
611
666
  },
612
667
  undefined,
613
668
  ]
614
- }
615
- themeIntent="primary"
616
- />
617
- </View>
618
- <View
619
- style={
620
- [
621
- {
622
- "alignItems": "center",
623
- "borderRadius": 999,
624
- "height": 56,
625
- "justifyContent": "center",
626
- "left": 8,
627
- "position": "absolute",
628
- "top": 8,
629
- "width": 56,
630
- "zIndex": 3,
631
- },
632
- undefined,
633
- ]
634
- }
635
- >
636
- <Text
637
- allowFontScaling={false}
638
- style={
639
- [
640
- {
641
- "color": "#001f23",
642
- "fontFamily": "BeVietnamPro-Regular",
643
- "fontSize": 16,
644
- "letterSpacing": 0.48,
645
- "lineHeight": 24,
646
- },
647
- undefined,
648
- ]
649
- }
650
- themeIntent="body"
651
- themeTypeface="neutral"
652
- themeVariant="regular"
653
- >
654
- 25%
655
- </Text>
656
- </View>
657
- </View>
658
- </View>
659
- `;
660
-
661
- exports[`Progress.Circle renders correctly with intent 1`] = `
662
- <View
663
- testID="progress-circle"
664
- >
665
- <View
666
- style={
667
- [
668
- {
669
- "borderRadius": 999,
670
- "flexDirection": "row",
671
- },
672
- undefined,
673
- ]
674
- }
675
- >
676
- <View>
677
- <View
678
- style={
679
- [
680
- {
681
- "height": 72,
682
- "overflow": "hidden",
683
- "width": 36,
684
- },
685
- undefined,
686
- ]
687
- }
688
- >
689
- <View
690
- style={
691
- [
692
- {
693
- "borderColor": "#5ace7d",
694
- "borderRadius": 999,
695
- "borderWidth": 8,
696
- "height": 72,
697
- "width": 72,
698
- },
699
- undefined,
700
- ]
701
- }
702
- themeIntent="success"
703
- />
704
- </View>
669
+ }
670
+ themeIntent="primary"
671
+ />
705
672
  <View
706
673
  collapsable={false}
707
674
  style={
@@ -712,19 +679,120 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
712
679
  "right": 0,
713
680
  "top": 0,
714
681
  "transform": [
715
- {
716
- "translateX": 18,
717
- },
718
682
  {
719
683
  "rotate": "0deg",
720
684
  },
685
+ ],
686
+ "zIndex": 2,
687
+ }
688
+ }
689
+ >
690
+ <View
691
+ style={
692
+ [
721
693
  {
722
- "translateX": -18,
694
+ "backgroundColor": "#401960",
695
+ "borderRadius": 999,
696
+ "height": 8,
697
+ "left": 32,
698
+ "position": "absolute",
699
+ "top": 0,
700
+ "width": 8,
701
+ "zIndex": 2,
723
702
  },
724
- ],
703
+ undefined,
704
+ ]
725
705
  }
706
+ themeIntent="primary"
707
+ />
708
+ </View>
709
+ <View
710
+ style={
711
+ [
712
+ {
713
+ "alignItems": "center",
714
+ "borderRadius": 999,
715
+ "height": 56,
716
+ "justifyContent": "center",
717
+ "left": 8,
718
+ "position": "absolute",
719
+ "top": 8,
720
+ "width": 56,
721
+ "zIndex": 3,
722
+ },
723
+ undefined,
724
+ ]
726
725
  }
727
726
  >
727
+ <Text
728
+ allowFontScaling={false}
729
+ style={
730
+ [
731
+ {
732
+ "color": "#001f23",
733
+ "fontFamily": "BeVietnamPro-Regular",
734
+ "fontSize": 16,
735
+ "letterSpacing": 0.48,
736
+ "lineHeight": 24,
737
+ },
738
+ undefined,
739
+ ]
740
+ }
741
+ themeIntent="body"
742
+ themeTypeface="neutral"
743
+ themeVariant="regular"
744
+ >
745
+ 25%
746
+ </Text>
747
+ </View>
748
+ </View>
749
+ </View>
750
+ <View
751
+ pointerEvents="box-none"
752
+ position="bottom"
753
+ style={
754
+ [
755
+ {
756
+ "bottom": 0,
757
+ "elevation": 9999,
758
+ "flexDirection": "column-reverse",
759
+ "left": 0,
760
+ "paddingHorizontal": 24,
761
+ "paddingVertical": 16,
762
+ "position": "absolute",
763
+ "right": 0,
764
+ "top": 0,
765
+ },
766
+ undefined,
767
+ ]
768
+ }
769
+ />
770
+ </View>
771
+ `;
772
+
773
+ exports[`Progress.Circle renders correctly with intent 1`] = `
774
+ <View
775
+ style={
776
+ {
777
+ "flex": 1,
778
+ }
779
+ }
780
+ >
781
+ <View
782
+ testID="progress-circle"
783
+ >
784
+ <View
785
+ style={
786
+ [
787
+ {
788
+ "borderRadius": 999,
789
+ "flexDirection": "row",
790
+ },
791
+ undefined,
792
+ ]
793
+ }
794
+ >
795
+ <View>
728
796
  <View
729
797
  style={
730
798
  [
@@ -741,7 +809,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
741
809
  style={
742
810
  [
743
811
  {
744
- "borderColor": "#e8e9ea",
812
+ "borderColor": "#5ace7d",
745
813
  "borderRadius": 999,
746
814
  "borderWidth": 8,
747
815
  "height": 72,
@@ -753,70 +821,69 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
753
821
  themeIntent="success"
754
822
  />
755
823
  </View>
756
- </View>
757
- </View>
758
- <View
759
- style={
760
- {
761
- "marginLeft": -0.1,
762
- "transform": [
763
- {
764
- "rotate": "180deg",
765
- },
766
- ],
767
- "zIndex": 1,
768
- }
769
- }
770
- >
771
- <View
772
- style={
773
- [
774
- {
775
- "height": 72,
776
- "overflow": "hidden",
777
- "width": 36,
778
- },
779
- undefined,
780
- ]
781
- }
782
- >
783
824
  <View
825
+ collapsable={false}
784
826
  style={
785
- [
786
- {
787
- "borderColor": "#5ace7d",
788
- "borderRadius": 999,
789
- "borderWidth": 8,
790
- "height": 72,
791
- "width": 72,
792
- },
793
- undefined,
794
- ]
827
+ {
828
+ "bottom": 0,
829
+ "left": 0,
830
+ "position": "absolute",
831
+ "right": 0,
832
+ "top": 0,
833
+ "transform": [
834
+ {
835
+ "translateX": 18,
836
+ },
837
+ {
838
+ "rotate": "0deg",
839
+ },
840
+ {
841
+ "translateX": -18,
842
+ },
843
+ ],
844
+ }
795
845
  }
796
- themeIntent="success"
797
- />
846
+ >
847
+ <View
848
+ style={
849
+ [
850
+ {
851
+ "height": 72,
852
+ "overflow": "hidden",
853
+ "width": 36,
854
+ },
855
+ undefined,
856
+ ]
857
+ }
858
+ >
859
+ <View
860
+ style={
861
+ [
862
+ {
863
+ "borderColor": "#e8e9ea",
864
+ "borderRadius": 999,
865
+ "borderWidth": 8,
866
+ "height": 72,
867
+ "width": 72,
868
+ },
869
+ undefined,
870
+ ]
871
+ }
872
+ themeIntent="success"
873
+ />
874
+ </View>
875
+ </View>
798
876
  </View>
799
877
  <View
800
- collapsable={false}
801
878
  style={
802
879
  {
803
- "bottom": 0,
804
- "left": 0,
805
- "opacity": 1,
806
- "position": "absolute",
807
- "right": 0,
808
- "top": 0,
880
+ "marginLeft": -0.1,
809
881
  "transform": [
810
882
  {
811
- "translateX": 18,
812
- },
813
- {
814
- "rotate": "0deg",
815
- },
816
- {
817
- "translateX": -18,
883
+ "rotate": "180deg",
818
884
  },
819
885
  ],
886
+ "zIndex": 1,
820
887
  }
821
888
  }
822
889
  >
@@ -836,7 +903,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
836
903
  style={
837
904
  [
838
905
  {
839
- "borderColor": "#e8e9ea",
906
+ "borderColor": "#5ace7d",
840
907
  "borderRadius": 999,
841
908
  "borderWidth": 8,
842
909
  "height": 72,
@@ -848,44 +915,60 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
848
915
  themeIntent="success"
849
916
  />
850
917
  </View>
851
- </View>
852
- </View>
853
- <View
854
- style={
855
- [
856
- {
857
- "backgroundColor": "#5ace7d",
858
- "borderRadius": 999,
859
- "height": 8,
860
- "left": 32,
861
- "position": "absolute",
862
- "top": 0,
863
- "width": 8,
864
- "zIndex": 2,
865
- },
866
- undefined,
867
- ]
868
- }
869
- themeIntent="success"
870
- />
871
- <View
872
- collapsable={false}
873
- style={
874
- {
875
- "bottom": 0,
876
- "left": 0,
877
- "position": "absolute",
878
- "right": 0,
879
- "top": 0,
880
- "transform": [
918
+ <View
919
+ collapsable={false}
920
+ style={
881
921
  {
882
- "rotate": "0deg",
883
- },
884
- ],
885
- "zIndex": 2,
886
- }
887
- }
888
- >
922
+ "bottom": 0,
923
+ "left": 0,
924
+ "opacity": 1,
925
+ "position": "absolute",
926
+ "right": 0,
927
+ "top": 0,
928
+ "transform": [
929
+ {
930
+ "translateX": 18,
931
+ },
932
+ {
933
+ "rotate": "0deg",
934
+ },
935
+ {
936
+ "translateX": -18,
937
+ },
938
+ ],
939
+ }
940
+ }
941
+ >
942
+ <View
943
+ style={
944
+ [
945
+ {
946
+ "height": 72,
947
+ "overflow": "hidden",
948
+ "width": 36,
949
+ },
950
+ undefined,
951
+ ]
952
+ }
953
+ >
954
+ <View
955
+ style={
956
+ [
957
+ {
958
+ "borderColor": "#e8e9ea",
959
+ "borderRadius": 999,
960
+ "borderWidth": 8,
961
+ "height": 72,
962
+ "width": 72,
963
+ },
964
+ undefined,
965
+ ]
966
+ }
967
+ themeIntent="success"
968
+ />
969
+ </View>
970
+ </View>
971
+ </View>
889
972
  <View
890
973
  style={
891
974
  [
@@ -904,46 +987,103 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
904
987
  }
905
988
  themeIntent="success"
906
989
  />
907
- </View>
908
- <View
909
- style={
910
- [
990
+ <View
991
+ collapsable={false}
992
+ style={
911
993
  {
912
- "alignItems": "center",
913
- "borderRadius": 999,
914
- "height": 56,
915
- "justifyContent": "center",
916
- "left": 8,
994
+ "bottom": 0,
995
+ "left": 0,
917
996
  "position": "absolute",
918
- "top": 8,
919
- "width": 56,
920
- "zIndex": 3,
921
- },
922
- undefined,
923
- ]
924
- }
925
- >
926
- <Text
927
- allowFontScaling={false}
997
+ "right": 0,
998
+ "top": 0,
999
+ "transform": [
1000
+ {
1001
+ "rotate": "0deg",
1002
+ },
1003
+ ],
1004
+ "zIndex": 2,
1005
+ }
1006
+ }
1007
+ >
1008
+ <View
1009
+ style={
1010
+ [
1011
+ {
1012
+ "backgroundColor": "#5ace7d",
1013
+ "borderRadius": 999,
1014
+ "height": 8,
1015
+ "left": 32,
1016
+ "position": "absolute",
1017
+ "top": 0,
1018
+ "width": 8,
1019
+ "zIndex": 2,
1020
+ },
1021
+ undefined,
1022
+ ]
1023
+ }
1024
+ themeIntent="success"
1025
+ />
1026
+ </View>
1027
+ <View
928
1028
  style={
929
1029
  [
930
1030
  {
931
- "color": "#001f23",
932
- "fontFamily": "BeVietnamPro-Regular",
933
- "fontSize": 16,
934
- "letterSpacing": 0.48,
935
- "lineHeight": 24,
1031
+ "alignItems": "center",
1032
+ "borderRadius": 999,
1033
+ "height": 56,
1034
+ "justifyContent": "center",
1035
+ "left": 8,
1036
+ "position": "absolute",
1037
+ "top": 8,
1038
+ "width": 56,
1039
+ "zIndex": 3,
936
1040
  },
937
1041
  undefined,
938
1042
  ]
939
1043
  }
940
- themeIntent="body"
941
- themeTypeface="neutral"
942
- themeVariant="regular"
943
1044
  >
944
- 75%
945
- </Text>
1045
+ <Text
1046
+ allowFontScaling={false}
1047
+ style={
1048
+ [
1049
+ {
1050
+ "color": "#001f23",
1051
+ "fontFamily": "BeVietnamPro-Regular",
1052
+ "fontSize": 16,
1053
+ "letterSpacing": 0.48,
1054
+ "lineHeight": 24,
1055
+ },
1056
+ undefined,
1057
+ ]
1058
+ }
1059
+ themeIntent="body"
1060
+ themeTypeface="neutral"
1061
+ themeVariant="regular"
1062
+ >
1063
+ 75%
1064
+ </Text>
1065
+ </View>
946
1066
  </View>
947
1067
  </View>
1068
+ <View
1069
+ pointerEvents="box-none"
1070
+ position="bottom"
1071
+ style={
1072
+ [
1073
+ {
1074
+ "bottom": 0,
1075
+ "elevation": 9999,
1076
+ "flexDirection": "column-reverse",
1077
+ "left": 0,
1078
+ "paddingHorizontal": 24,
1079
+ "paddingVertical": 16,
1080
+ "position": "absolute",
1081
+ "right": 0,
1082
+ "top": 0,
1083
+ },
1084
+ undefined,
1085
+ ]
1086
+ }
1087
+ />
948
1088
  </View>
949
1089
  `;