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