@hero-design/rn 8.12.0-rc.0 → 8.12.1

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 (287) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/es/index.js +57 -18
  3. package/lib/index.js +57 -18
  4. package/package.json +5 -5
  5. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +17 -3
  6. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +17 -3
  7. package/src/components/List/BasicListItem.tsx +6 -0
  8. package/src/components/List/ListItem.tsx +6 -0
  9. package/src/components/List/StyledBasicListItem.tsx +2 -2
  10. package/src/components/List/StyledListItem.tsx +2 -2
  11. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +22 -18
  12. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +32 -28
  13. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +44 -36
  14. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +50 -46
  15. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +22 -18
  16. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +33 -27
  17. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -0
  18. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +11 -9
  19. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +132 -108
  20. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +232 -139
  21. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +20 -0
  22. package/src/components/Select/MultiSelect/index.tsx +1 -1
  23. package/src/components/Select/SingleSelect/OptionList.tsx +8 -1
  24. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +11 -9
  25. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +136 -112
  26. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +235 -142
  27. package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +15 -0
  28. package/src/components/Select/SingleSelect/index.tsx +1 -1
  29. package/src/components/TextInput/StyledTextInput.tsx +3 -0
  30. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +466 -28
  31. package/src/components/TextInput/__tests__/index.spec.tsx +32 -0
  32. package/src/components/TextInput/index.tsx +32 -4
  33. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +34 -6
  34. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +34 -6
  35. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +3 -3
  36. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +3 -3
  37. package/src/theme/ThemeSwitcher.tsx +6 -3
  38. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -3
  39. package/src/theme/components/textInput.ts +1 -0
  40. package/src/theme/components/typography.ts +3 -3
  41. package/src/theme/global/colors/__tests__/__snapshots__/swagDark.spec.ts.snap +3 -3
  42. package/src/theme/global/colors/swagDark.ts +3 -3
  43. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  44. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  45. package/types/components/Accordion/index.d.ts +0 -0
  46. package/types/components/Alert/StyledAlert.d.ts +0 -0
  47. package/types/components/Alert/index.d.ts +0 -0
  48. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  49. package/types/components/Attachment/index.d.ts +0 -0
  50. package/types/components/Avatar/Avatar.d.ts +0 -0
  51. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  52. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  53. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  54. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  55. package/types/components/Avatar/index.d.ts +0 -0
  56. package/types/components/Badge/Status.d.ts +0 -0
  57. package/types/components/Badge/StyledBadge.d.ts +0 -0
  58. package/types/components/Badge/index.d.ts +0 -0
  59. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  60. package/types/components/BottomNavigation/index.d.ts +0 -0
  61. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  62. package/types/components/BottomSheet/Footer.d.ts +0 -0
  63. package/types/components/BottomSheet/Header.d.ts +0 -0
  64. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  65. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  66. package/types/components/BottomSheet/index.d.ts +0 -0
  67. package/types/components/Box/StyledBox.d.ts +0 -0
  68. package/types/components/Box/config.d.ts +0 -0
  69. package/types/components/Box/index.d.ts +0 -0
  70. package/types/components/Box/types.d.ts +0 -0
  71. package/types/components/Button/Button.d.ts +0 -0
  72. package/types/components/Button/IconButton.d.ts +0 -0
  73. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  74. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  75. package/types/components/Button/StyledButton.d.ts +0 -0
  76. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  77. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  78. package/types/components/Button/index.d.ts +0 -0
  79. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  80. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  81. package/types/components/Calendar/helpers.d.ts +0 -0
  82. package/types/components/Calendar/index.d.ts +0 -0
  83. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  84. package/types/components/Card/DataCard/index.d.ts +0 -0
  85. package/types/components/Card/StyledCard.d.ts +0 -0
  86. package/types/components/Card/index.d.ts +0 -0
  87. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  88. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  89. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  90. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  91. package/types/components/Carousel/contants.d.ts +0 -0
  92. package/types/components/Carousel/index.d.ts +0 -0
  93. package/types/components/Carousel/types.d.ts +0 -0
  94. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  95. package/types/components/Checkbox/index.d.ts +0 -0
  96. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  97. package/types/components/Collapse/index.d.ts +0 -0
  98. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  99. package/types/components/ContentNavigator/index.d.ts +0 -0
  100. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  101. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  102. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  103. package/types/components/DatePicker/index.d.ts +0 -0
  104. package/types/components/DatePicker/types.d.ts +0 -0
  105. package/types/components/Divider/StyledDivider.d.ts +0 -0
  106. package/types/components/Divider/index.d.ts +0 -0
  107. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  108. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  109. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  110. package/types/components/Drawer/index.d.ts +0 -0
  111. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  112. package/types/components/Empty/index.d.ts +0 -0
  113. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  114. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  115. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  116. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  117. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  118. package/types/components/FAB/FAB.d.ts +0 -0
  119. package/types/components/FAB/StyledFAB.d.ts +0 -0
  120. package/types/components/FAB/index.d.ts +0 -0
  121. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  122. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  123. package/types/components/Icon/IconList.d.ts +0 -0
  124. package/types/components/Icon/index.d.ts +0 -0
  125. package/types/components/Icon/utils.d.ts +0 -0
  126. package/types/components/Image/index.d.ts +0 -0
  127. package/types/components/List/BasicListItem.d.ts +0 -0
  128. package/types/components/List/ListItem.d.ts +0 -0
  129. package/types/components/List/StyledBasicListItem.d.ts +3 -3
  130. package/types/components/List/StyledListItem.d.ts +3 -3
  131. package/types/components/List/index.d.ts +0 -0
  132. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  133. package/types/components/PageControl/index.d.ts +0 -0
  134. package/types/components/PinInput/PinCell.d.ts +0 -0
  135. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  136. package/types/components/PinInput/index.d.ts +0 -0
  137. package/types/components/Progress/ProgressBar.d.ts +0 -0
  138. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  139. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  140. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  141. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  142. package/types/components/Progress/constants.d.ts +0 -0
  143. package/types/components/Progress/index.d.ts +0 -0
  144. package/types/components/Progress/types.d.ts +0 -0
  145. package/types/components/Radio/Radio.d.ts +0 -0
  146. package/types/components/Radio/RadioGroup.d.ts +0 -0
  147. package/types/components/Radio/StyledRadio.d.ts +0 -0
  148. package/types/components/Radio/index.d.ts +0 -0
  149. package/types/components/Radio/types.d.ts +0 -0
  150. package/types/components/RefreshControl/index.d.ts +0 -0
  151. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  152. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  153. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  154. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  155. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  156. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  157. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  158. package/types/components/RichTextEditor/constants.d.ts +0 -0
  159. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  160. package/types/components/RichTextEditor/index.d.ts +0 -0
  161. package/types/components/RichTextEditor/types.d.ts +0 -0
  162. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  163. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  164. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  165. package/types/components/SectionHeading/index.d.ts +0 -0
  166. package/types/components/Select/BaseOptionList.d.ts +0 -0
  167. package/types/components/Select/Footer.d.ts +0 -0
  168. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  169. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  170. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  171. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  172. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  173. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  174. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  175. package/types/components/Select/StyledSelect.d.ts +0 -0
  176. package/types/components/Select/helpers.d.ts +0 -0
  177. package/types/components/Select/index.d.ts +0 -0
  178. package/types/components/Select/types.d.ts +0 -0
  179. package/types/components/Slider/index.d.ts +0 -0
  180. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  181. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  182. package/types/components/Spinner/index.d.ts +0 -0
  183. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  184. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  185. package/types/components/Swipeable/index.d.ts +0 -0
  186. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  187. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  188. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  189. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  190. package/types/components/Switch/index.d.ts +0 -0
  191. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  192. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  193. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  194. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  195. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  196. package/types/components/Tabs/index.d.ts +0 -0
  197. package/types/components/Tabs/utils.d.ts +0 -0
  198. package/types/components/Tag/StyledTag.d.ts +0 -0
  199. package/types/components/Tag/index.d.ts +0 -0
  200. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  201. package/types/components/TextInput/index.d.ts +0 -0
  202. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  203. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  204. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  205. package/types/components/TimePicker/index.d.ts +0 -0
  206. package/types/components/TimePicker/types.d.ts +0 -0
  207. package/types/components/Toast/StyledToast.d.ts +0 -0
  208. package/types/components/Toast/Toast.d.ts +0 -0
  209. package/types/components/Toast/ToastContainer.d.ts +0 -0
  210. package/types/components/Toast/ToastContext.d.ts +0 -0
  211. package/types/components/Toast/ToastProvider.d.ts +0 -0
  212. package/types/components/Toast/index.d.ts +0 -0
  213. package/types/components/Toast/types.d.ts +0 -0
  214. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  215. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  216. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  217. package/types/components/Toolbar/index.d.ts +0 -0
  218. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  219. package/types/components/Typography/Text/index.d.ts +0 -0
  220. package/types/components/Typography/index.d.ts +0 -0
  221. package/types/index.d.ts +0 -0
  222. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  223. package/types/theme/ThemeProvider.d.ts +0 -0
  224. package/types/theme/ThemeSwitcher.d.ts +2 -2
  225. package/types/theme/components/accordion.d.ts +0 -0
  226. package/types/theme/components/alert.d.ts +0 -0
  227. package/types/theme/components/attachment.d.ts +0 -0
  228. package/types/theme/components/avatar.d.ts +0 -0
  229. package/types/theme/components/badge.d.ts +0 -0
  230. package/types/theme/components/bottomNavigation.d.ts +0 -0
  231. package/types/theme/components/bottomSheet.d.ts +0 -0
  232. package/types/theme/components/button.d.ts +0 -0
  233. package/types/theme/components/calendar.d.ts +0 -0
  234. package/types/theme/components/card.d.ts +0 -0
  235. package/types/theme/components/cardCarousel.d.ts +0 -0
  236. package/types/theme/components/carousel.d.ts +0 -0
  237. package/types/theme/components/checkbox.d.ts +0 -0
  238. package/types/theme/components/contentNavigator.d.ts +0 -0
  239. package/types/theme/components/datePicker.d.ts +0 -0
  240. package/types/theme/components/divider.d.ts +0 -0
  241. package/types/theme/components/drawer.d.ts +0 -0
  242. package/types/theme/components/empty.d.ts +0 -0
  243. package/types/theme/components/fab.d.ts +0 -0
  244. package/types/theme/components/icon.d.ts +0 -0
  245. package/types/theme/components/image.d.ts +0 -0
  246. package/types/theme/components/list.d.ts +0 -0
  247. package/types/theme/components/pageControl.d.ts +0 -0
  248. package/types/theme/components/pinInput.d.ts +0 -0
  249. package/types/theme/components/progress.d.ts +0 -0
  250. package/types/theme/components/radio.d.ts +0 -0
  251. package/types/theme/components/refreshControl.d.ts +0 -0
  252. package/types/theme/components/richTextEditor.d.ts +0 -0
  253. package/types/theme/components/sectionHeading.d.ts +0 -0
  254. package/types/theme/components/select.d.ts +0 -0
  255. package/types/theme/components/slider.d.ts +0 -0
  256. package/types/theme/components/spinner.d.ts +0 -0
  257. package/types/theme/components/swipeable.d.ts +0 -0
  258. package/types/theme/components/switch.d.ts +0 -0
  259. package/types/theme/components/tabs.d.ts +0 -0
  260. package/types/theme/components/tag.d.ts +0 -0
  261. package/types/theme/components/textInput.d.ts +1 -0
  262. package/types/theme/components/timePicker.d.ts +0 -0
  263. package/types/theme/components/toast.d.ts +0 -0
  264. package/types/theme/components/toolbar.d.ts +0 -0
  265. package/types/theme/components/typography.d.ts +0 -0
  266. package/types/theme/getTheme.d.ts +0 -0
  267. package/types/theme/global/borders.d.ts +0 -0
  268. package/types/theme/global/colors/eBens.d.ts +0 -0
  269. package/types/theme/global/colors/global.d.ts +0 -0
  270. package/types/theme/global/colors/globalDark.d.ts +0 -0
  271. package/types/theme/global/colors/jobs.d.ts +0 -0
  272. package/types/theme/global/colors/swag.d.ts +0 -0
  273. package/types/theme/global/colors/swagDark.d.ts +0 -0
  274. package/types/theme/global/colors/types.d.ts +0 -0
  275. package/types/theme/global/colors/wallet.d.ts +0 -0
  276. package/types/theme/global/colors/work.d.ts +0 -0
  277. package/types/theme/global/index.d.ts +0 -0
  278. package/types/theme/global/scale.d.ts +0 -0
  279. package/types/theme/global/sizes.d.ts +0 -0
  280. package/types/theme/global/space.d.ts +0 -0
  281. package/types/theme/global/typography.d.ts +0 -0
  282. package/types/theme/index.d.ts +0 -0
  283. package/types/types.d.ts +0 -0
  284. package/types/utils/functions.d.ts +0 -0
  285. package/types/utils/helpers.d.ts +0 -0
  286. package/types/utils/hooks.d.ts +0 -0
  287. package/types/utils/scale.d.ts +0 -0
@@ -198,6 +198,26 @@ describe('rendering', () => {
198
198
  expect(getByText('Custom daemon')).toBeTruthy();
199
199
  });
200
200
 
201
+ it('does not render custom value when value is empty', () => {
202
+ const { queryByText } = renderWithTheme(
203
+ <MultiSelect<string, CustomOptionType>
204
+ label="Choose collaborators"
205
+ footerLabel="Confirm"
206
+ options={collaboratorSections}
207
+ value={[]}
208
+ onConfirm={jest.fn()}
209
+ renderSelectedValue={(selectedValue, _inputProps) => (
210
+ <>
211
+ {selectedValue.map(() => (
212
+ <Typography.Text>Custom value</Typography.Text>
213
+ ))}
214
+ </>
215
+ )}
216
+ />
217
+ );
218
+ expect(queryByText('Custom value')).toBeNull();
219
+ });
220
+
201
221
  it('allows custom footer', () => {
202
222
  const { getByText, queryByText } = renderWithTheme(
203
223
  <MultiSelect<string, CustomOptionType>
@@ -111,7 +111,7 @@ function MultiSelect<V, T extends OptionType<V>>({
111
111
  style={style}
112
112
  testID={testID}
113
113
  renderInputValue={
114
- renderSelectedValue !== undefined
114
+ renderSelectedValue !== undefined && displayedValue?.length > 0
115
115
  ? (props) => renderSelectedValue(value, props)
116
116
  : undefined
117
117
  }
@@ -1,5 +1,9 @@
1
1
  import React from 'react';
2
- import type { SectionListRenderItemInfo, SectionList } from 'react-native';
2
+ import {
3
+ SectionListRenderItemInfo,
4
+ SectionList,
5
+ Dimensions,
6
+ } from 'react-native';
3
7
  import Option from './Option';
4
8
  import type { SingleSelectProps } from '.';
5
9
  import type { OptionType, SectionType } from '../types';
@@ -64,6 +68,9 @@ const OptionList = <V, T extends OptionType<V>>({
64
68
  sections={sections}
65
69
  renderItem={renderItem}
66
70
  sectionListRef={sectionListRef}
71
+ style={{
72
+ ...(onQueryChange ? { height: Dimensions.get('screen').height } : {}),
73
+ }}
67
74
  {...rest}
68
75
  />
69
76
  );
@@ -8,7 +8,6 @@ exports[`Option renders correctly 1`] = `
8
8
  }
9
9
  }
10
10
  accessible={true}
11
- collapsable={false}
12
11
  focusable={true}
13
12
  onClick={[Function]}
14
13
  onResponderGrant={[Function]}
@@ -18,14 +17,17 @@ exports[`Option renders correctly 1`] = `
18
17
  onResponderTerminationRequest={[Function]}
19
18
  onStartShouldSetResponder={[Function]}
20
19
  style={
21
- Object {
22
- "alignItems": "center",
23
- "backgroundColor": "#ece8ef",
24
- "borderRadius": 4,
25
- "flexDirection": "row",
26
- "opacity": 1,
27
- "padding": 16,
28
- }
20
+ Array [
21
+ Object {
22
+ "alignItems": "center",
23
+ "backgroundColor": "#ece8ef",
24
+ "borderRadius": 4,
25
+ "flexDirection": "row",
26
+ "opacity": 1,
27
+ "padding": 16,
28
+ },
29
+ undefined,
30
+ ]
29
31
  }
30
32
  >
31
33
  <View
@@ -70,7 +70,7 @@ exports[`OptionList render isLoading correctly 1`] = `
70
70
  Object {
71
71
  "paddingBottom": 16,
72
72
  },
73
- undefined,
73
+ Object {},
74
74
  ],
75
75
  ]
76
76
  }
@@ -198,7 +198,6 @@ exports[`OptionList render isLoading correctly 1`] = `
198
198
  }
199
199
  }
200
200
  accessible={true}
201
- collapsable={false}
202
201
  focusable={true}
203
202
  onClick={[Function]}
204
203
  onResponderGrant={[Function]}
@@ -208,14 +207,17 @@ exports[`OptionList render isLoading correctly 1`] = `
208
207
  onResponderTerminationRequest={[Function]}
209
208
  onStartShouldSetResponder={[Function]}
210
209
  style={
211
- Object {
212
- "alignItems": "center",
213
- "backgroundColor": "#ece8ef",
214
- "borderRadius": 4,
215
- "flexDirection": "row",
216
- "opacity": 1,
217
- "padding": 16,
218
- }
210
+ Array [
211
+ Object {
212
+ "alignItems": "center",
213
+ "backgroundColor": "#ece8ef",
214
+ "borderRadius": 4,
215
+ "flexDirection": "row",
216
+ "opacity": 1,
217
+ "padding": 16,
218
+ },
219
+ undefined,
220
+ ]
219
221
  }
220
222
  >
221
223
  <View
@@ -421,7 +423,6 @@ exports[`OptionList render isLoading correctly 1`] = `
421
423
  }
422
424
  }
423
425
  accessible={true}
424
- collapsable={false}
425
426
  focusable={true}
426
427
  onClick={[Function]}
427
428
  onResponderGrant={[Function]}
@@ -431,14 +432,17 @@ exports[`OptionList render isLoading correctly 1`] = `
431
432
  onResponderTerminationRequest={[Function]}
432
433
  onStartShouldSetResponder={[Function]}
433
434
  style={
434
- Object {
435
- "alignItems": "center",
436
- "backgroundColor": "#ffffff",
437
- "borderRadius": 4,
438
- "flexDirection": "row",
439
- "opacity": 1,
440
- "padding": 16,
441
- }
435
+ Array [
436
+ Object {
437
+ "alignItems": "center",
438
+ "backgroundColor": "#ffffff",
439
+ "borderRadius": 4,
440
+ "flexDirection": "row",
441
+ "opacity": 1,
442
+ "padding": 16,
443
+ },
444
+ undefined,
445
+ ]
442
446
  }
443
447
  >
444
448
  <View
@@ -536,7 +540,6 @@ exports[`OptionList render isLoading correctly 1`] = `
536
540
  }
537
541
  }
538
542
  accessible={true}
539
- collapsable={false}
540
543
  focusable={true}
541
544
  onClick={[Function]}
542
545
  onResponderGrant={[Function]}
@@ -546,14 +549,17 @@ exports[`OptionList render isLoading correctly 1`] = `
546
549
  onResponderTerminationRequest={[Function]}
547
550
  onStartShouldSetResponder={[Function]}
548
551
  style={
549
- Object {
550
- "alignItems": "center",
551
- "backgroundColor": "#ffffff",
552
- "borderRadius": 4,
553
- "flexDirection": "row",
554
- "opacity": 1,
555
- "padding": 16,
556
- }
552
+ Array [
553
+ Object {
554
+ "alignItems": "center",
555
+ "backgroundColor": "#ffffff",
556
+ "borderRadius": 4,
557
+ "flexDirection": "row",
558
+ "opacity": 1,
559
+ "padding": 16,
560
+ },
561
+ undefined,
562
+ ]
557
563
  }
558
564
  >
559
565
  <View
@@ -852,7 +858,7 @@ exports[`OptionList renders correctly 1`] = `
852
858
  Object {
853
859
  "paddingBottom": 16,
854
860
  },
855
- undefined,
861
+ Object {},
856
862
  ],
857
863
  ]
858
864
  }
@@ -980,7 +986,6 @@ exports[`OptionList renders correctly 1`] = `
980
986
  }
981
987
  }
982
988
  accessible={true}
983
- collapsable={false}
984
989
  focusable={true}
985
990
  onClick={[Function]}
986
991
  onResponderGrant={[Function]}
@@ -990,14 +995,17 @@ exports[`OptionList renders correctly 1`] = `
990
995
  onResponderTerminationRequest={[Function]}
991
996
  onStartShouldSetResponder={[Function]}
992
997
  style={
993
- Object {
994
- "alignItems": "center",
995
- "backgroundColor": "#ece8ef",
996
- "borderRadius": 4,
997
- "flexDirection": "row",
998
- "opacity": 1,
999
- "padding": 16,
1000
- }
998
+ Array [
999
+ Object {
1000
+ "alignItems": "center",
1001
+ "backgroundColor": "#ece8ef",
1002
+ "borderRadius": 4,
1003
+ "flexDirection": "row",
1004
+ "opacity": 1,
1005
+ "padding": 16,
1006
+ },
1007
+ undefined,
1008
+ ]
1001
1009
  }
1002
1010
  >
1003
1011
  <View
@@ -1203,7 +1211,6 @@ exports[`OptionList renders correctly 1`] = `
1203
1211
  }
1204
1212
  }
1205
1213
  accessible={true}
1206
- collapsable={false}
1207
1214
  focusable={true}
1208
1215
  onClick={[Function]}
1209
1216
  onResponderGrant={[Function]}
@@ -1213,14 +1220,17 @@ exports[`OptionList renders correctly 1`] = `
1213
1220
  onResponderTerminationRequest={[Function]}
1214
1221
  onStartShouldSetResponder={[Function]}
1215
1222
  style={
1216
- Object {
1217
- "alignItems": "center",
1218
- "backgroundColor": "#ffffff",
1219
- "borderRadius": 4,
1220
- "flexDirection": "row",
1221
- "opacity": 1,
1222
- "padding": 16,
1223
- }
1223
+ Array [
1224
+ Object {
1225
+ "alignItems": "center",
1226
+ "backgroundColor": "#ffffff",
1227
+ "borderRadius": 4,
1228
+ "flexDirection": "row",
1229
+ "opacity": 1,
1230
+ "padding": 16,
1231
+ },
1232
+ undefined,
1233
+ ]
1224
1234
  }
1225
1235
  >
1226
1236
  <View
@@ -1318,7 +1328,6 @@ exports[`OptionList renders correctly 1`] = `
1318
1328
  }
1319
1329
  }
1320
1330
  accessible={true}
1321
- collapsable={false}
1322
1331
  focusable={true}
1323
1332
  onClick={[Function]}
1324
1333
  onResponderGrant={[Function]}
@@ -1328,14 +1337,17 @@ exports[`OptionList renders correctly 1`] = `
1328
1337
  onResponderTerminationRequest={[Function]}
1329
1338
  onStartShouldSetResponder={[Function]}
1330
1339
  style={
1331
- Object {
1332
- "alignItems": "center",
1333
- "backgroundColor": "#ffffff",
1334
- "borderRadius": 4,
1335
- "flexDirection": "row",
1336
- "opacity": 1,
1337
- "padding": 16,
1338
- }
1340
+ Array [
1341
+ Object {
1342
+ "alignItems": "center",
1343
+ "backgroundColor": "#ffffff",
1344
+ "borderRadius": 4,
1345
+ "flexDirection": "row",
1346
+ "opacity": 1,
1347
+ "padding": 16,
1348
+ },
1349
+ undefined,
1350
+ ]
1339
1351
  }
1340
1352
  >
1341
1353
  <View
@@ -1481,7 +1493,7 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1481
1493
  Object {
1482
1494
  "paddingBottom": 16,
1483
1495
  },
1484
- undefined,
1496
+ Object {},
1485
1497
  ],
1486
1498
  ]
1487
1499
  }
@@ -1609,7 +1621,6 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1609
1621
  }
1610
1622
  }
1611
1623
  accessible={true}
1612
- collapsable={false}
1613
1624
  focusable={true}
1614
1625
  onClick={[Function]}
1615
1626
  onResponderGrant={[Function]}
@@ -1619,14 +1630,17 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1619
1630
  onResponderTerminationRequest={[Function]}
1620
1631
  onStartShouldSetResponder={[Function]}
1621
1632
  style={
1622
- Object {
1623
- "alignItems": "center",
1624
- "backgroundColor": "#ece8ef",
1625
- "borderRadius": 4,
1626
- "flexDirection": "row",
1627
- "opacity": 1,
1628
- "padding": 16,
1629
- }
1633
+ Array [
1634
+ Object {
1635
+ "alignItems": "center",
1636
+ "backgroundColor": "#ece8ef",
1637
+ "borderRadius": 4,
1638
+ "flexDirection": "row",
1639
+ "opacity": 1,
1640
+ "padding": 16,
1641
+ },
1642
+ undefined,
1643
+ ]
1630
1644
  }
1631
1645
  >
1632
1646
  <View
@@ -1832,7 +1846,6 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1832
1846
  }
1833
1847
  }
1834
1848
  accessible={true}
1835
- collapsable={false}
1836
1849
  focusable={true}
1837
1850
  onClick={[Function]}
1838
1851
  onResponderGrant={[Function]}
@@ -1842,14 +1855,17 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1842
1855
  onResponderTerminationRequest={[Function]}
1843
1856
  onStartShouldSetResponder={[Function]}
1844
1857
  style={
1845
- Object {
1846
- "alignItems": "center",
1847
- "backgroundColor": "#ffffff",
1848
- "borderRadius": 4,
1849
- "flexDirection": "row",
1850
- "opacity": 1,
1851
- "padding": 16,
1852
- }
1858
+ Array [
1859
+ Object {
1860
+ "alignItems": "center",
1861
+ "backgroundColor": "#ffffff",
1862
+ "borderRadius": 4,
1863
+ "flexDirection": "row",
1864
+ "opacity": 1,
1865
+ "padding": 16,
1866
+ },
1867
+ undefined,
1868
+ ]
1853
1869
  }
1854
1870
  >
1855
1871
  <View
@@ -1947,7 +1963,6 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1947
1963
  }
1948
1964
  }
1949
1965
  accessible={true}
1950
- collapsable={false}
1951
1966
  focusable={true}
1952
1967
  onClick={[Function]}
1953
1968
  onResponderGrant={[Function]}
@@ -1957,14 +1972,17 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1957
1972
  onResponderTerminationRequest={[Function]}
1958
1973
  onStartShouldSetResponder={[Function]}
1959
1974
  style={
1960
- Object {
1961
- "alignItems": "center",
1962
- "backgroundColor": "#ffffff",
1963
- "borderRadius": 4,
1964
- "flexDirection": "row",
1965
- "opacity": 1,
1966
- "padding": 16,
1967
- }
1975
+ Array [
1976
+ Object {
1977
+ "alignItems": "center",
1978
+ "backgroundColor": "#ffffff",
1979
+ "borderRadius": 4,
1980
+ "flexDirection": "row",
1981
+ "opacity": 1,
1982
+ "padding": 16,
1983
+ },
1984
+ undefined,
1985
+ ]
1968
1986
  }
1969
1987
  >
1970
1988
  <View
@@ -2110,7 +2128,7 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2110
2128
  Object {
2111
2129
  "paddingBottom": 16,
2112
2130
  },
2113
- undefined,
2131
+ Object {},
2114
2132
  ],
2115
2133
  ]
2116
2134
  }
@@ -2238,7 +2256,6 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2238
2256
  }
2239
2257
  }
2240
2258
  accessible={true}
2241
- collapsable={false}
2242
2259
  focusable={true}
2243
2260
  onClick={[Function]}
2244
2261
  onResponderGrant={[Function]}
@@ -2248,14 +2265,17 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2248
2265
  onResponderTerminationRequest={[Function]}
2249
2266
  onStartShouldSetResponder={[Function]}
2250
2267
  style={
2251
- Object {
2252
- "alignItems": "center",
2253
- "backgroundColor": "#ece8ef",
2254
- "borderRadius": 4,
2255
- "flexDirection": "row",
2256
- "opacity": 1,
2257
- "padding": 16,
2258
- }
2268
+ Array [
2269
+ Object {
2270
+ "alignItems": "center",
2271
+ "backgroundColor": "#ece8ef",
2272
+ "borderRadius": 4,
2273
+ "flexDirection": "row",
2274
+ "opacity": 1,
2275
+ "padding": 16,
2276
+ },
2277
+ undefined,
2278
+ ]
2259
2279
  }
2260
2280
  >
2261
2281
  <View
@@ -2461,7 +2481,6 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2461
2481
  }
2462
2482
  }
2463
2483
  accessible={true}
2464
- collapsable={false}
2465
2484
  focusable={true}
2466
2485
  onClick={[Function]}
2467
2486
  onResponderGrant={[Function]}
@@ -2471,14 +2490,17 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2471
2490
  onResponderTerminationRequest={[Function]}
2472
2491
  onStartShouldSetResponder={[Function]}
2473
2492
  style={
2474
- Object {
2475
- "alignItems": "center",
2476
- "backgroundColor": "#ffffff",
2477
- "borderRadius": 4,
2478
- "flexDirection": "row",
2479
- "opacity": 1,
2480
- "padding": 16,
2481
- }
2493
+ Array [
2494
+ Object {
2495
+ "alignItems": "center",
2496
+ "backgroundColor": "#ffffff",
2497
+ "borderRadius": 4,
2498
+ "flexDirection": "row",
2499
+ "opacity": 1,
2500
+ "padding": 16,
2501
+ },
2502
+ undefined,
2503
+ ]
2482
2504
  }
2483
2505
  >
2484
2506
  <View
@@ -2576,7 +2598,6 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2576
2598
  }
2577
2599
  }
2578
2600
  accessible={true}
2579
- collapsable={false}
2580
2601
  focusable={true}
2581
2602
  onClick={[Function]}
2582
2603
  onResponderGrant={[Function]}
@@ -2586,14 +2607,17 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2586
2607
  onResponderTerminationRequest={[Function]}
2587
2608
  onStartShouldSetResponder={[Function]}
2588
2609
  style={
2589
- Object {
2590
- "alignItems": "center",
2591
- "backgroundColor": "#ffffff",
2592
- "borderRadius": 4,
2593
- "flexDirection": "row",
2594
- "opacity": 1,
2595
- "padding": 16,
2596
- }
2610
+ Array [
2611
+ Object {
2612
+ "alignItems": "center",
2613
+ "backgroundColor": "#ffffff",
2614
+ "borderRadius": 4,
2615
+ "flexDirection": "row",
2616
+ "opacity": 1,
2617
+ "padding": 16,
2618
+ },
2619
+ undefined,
2620
+ ]
2597
2621
  }
2598
2622
  >
2599
2623
  <View