@hero-design/rn 8.81.2 → 8.82.0-alpha.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 (343) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/package.json +1 -1
  3. package/sonar-project.properties +1 -1
  4. package/src/components/DatePicker/DatePickerAndroid.tsx +23 -5
  5. package/src/components/DatePicker/DatePickerIOS.tsx +39 -19
  6. package/src/components/DatePicker/__tests__/DatePickerAndroid.spec.tsx +25 -0
  7. package/src/components/DatePicker/__tests__/DatePickerIOS.spec.tsx +29 -0
  8. package/src/components/DatePicker/index.tsx +2 -2
  9. package/src/components/DatePicker/types.ts +2 -1
  10. package/src/components/Toast/StyledToast.tsx +22 -1
  11. package/src/components/Toast/Toast.tsx +7 -17
  12. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +117 -27
  13. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +16 -6
  14. package/src/theme/components/toast.ts +16 -6
  15. package/stats/8.81.2/rn-stats.html +2 -0
  16. package/testUtils/setup.tsx +22 -11
  17. package/.turbo/turbo-build.log +0 -7
  18. package/es/index.js +0 -37322
  19. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  20. package/lib/index.js +0 -37419
  21. package/types/components/Accordion/AccordionItem.d.ts +0 -15
  22. package/types/components/Accordion/StyledAccordion.d.ts +0 -32
  23. package/types/components/Accordion/index.d.ts +0 -39
  24. package/types/components/Alert/StyledAlert.d.ts +0 -53
  25. package/types/components/Alert/index.d.ts +0 -58
  26. package/types/components/AnimatedScroller/AnimatedFAB.d.ts +0 -12
  27. package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +0 -16
  28. package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +0 -12
  29. package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +0 -12
  30. package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +0 -12
  31. package/types/components/AnimatedScroller/index.d.ts +0 -4
  32. package/types/components/Attachment/StyledAttachment.d.ts +0 -28
  33. package/types/components/Attachment/index.d.ts +0 -38
  34. package/types/components/Avatar/Avatar.d.ts +0 -34
  35. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -30
  36. package/types/components/Avatar/AvatarStack/index.d.ts +0 -35
  37. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -4
  38. package/types/components/Avatar/StyledAvatar.d.ts +0 -34
  39. package/types/components/Avatar/index.d.ts +0 -6
  40. package/types/components/Badge/Status.d.ts +0 -24
  41. package/types/components/Badge/StyledBadge.d.ts +0 -33
  42. package/types/components/Badge/index.d.ts +0 -6
  43. package/types/components/Badge/types.d.ts +0 -53
  44. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -51
  45. package/types/components/BottomNavigation/index.d.ts +0 -45
  46. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -5
  47. package/types/components/BottomSheet/Footer.d.ts +0 -7
  48. package/types/components/BottomSheet/Header.d.ts +0 -10
  49. package/types/components/BottomSheet/ScrollView.d.ts +0 -3
  50. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -61
  51. package/types/components/BottomSheet/index.d.ts +0 -74
  52. package/types/components/Box/StyledBox.d.ts +0 -15
  53. package/types/components/Box/config.d.ts +0 -170
  54. package/types/components/Box/index.d.ts +0 -6
  55. package/types/components/Box/types.d.ts +0 -31
  56. package/types/components/Button/Button.d.ts +0 -57
  57. package/types/components/Button/IconButton.d.ts +0 -39
  58. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -20
  59. package/types/components/Button/LoadingIndicator/index.d.ts +0 -27
  60. package/types/components/Button/StyledButton.d.ts +0 -48
  61. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -17
  62. package/types/components/Button/UtilityButton/index.d.ts +0 -24
  63. package/types/components/Button/index.d.ts +0 -10
  64. package/types/components/Calendar/CalendarRowItem.d.ts +0 -12
  65. package/types/components/Calendar/StyledCalendar.d.ts +0 -62
  66. package/types/components/Calendar/helpers.d.ts +0 -3
  67. package/types/components/Calendar/index.d.ts +0 -58
  68. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -16
  69. package/types/components/Card/DataCard/index.d.ts +0 -22
  70. package/types/components/Card/StyledCard.d.ts +0 -11
  71. package/types/components/Card/index.d.ts +0 -25
  72. package/types/components/Carousel/CardCarousel.d.ts +0 -42
  73. package/types/components/Carousel/CarouselItem.d.ts +0 -7
  74. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -24
  75. package/types/components/Carousel/StyledCarousel.d.ts +0 -54
  76. package/types/components/Carousel/contants.d.ts +0 -2
  77. package/types/components/Carousel/index.d.ts +0 -44
  78. package/types/components/Carousel/types.d.ts +0 -14
  79. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -35
  80. package/types/components/Checkbox/index.d.ts +0 -44
  81. package/types/components/Chip/StyledChip.d.ts +0 -16
  82. package/types/components/Chip/index.d.ts +0 -31
  83. package/types/components/Collapse/StyledCollapse.d.ts +0 -23
  84. package/types/components/Collapse/index.d.ts +0 -20
  85. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -8
  86. package/types/components/ContentNavigator/index.d.ts +0 -43
  87. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -4
  88. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -4
  89. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -4
  90. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -9
  91. package/types/components/DatePicker/index.d.ts +0 -4
  92. package/types/components/DatePicker/types.d.ts +0 -78
  93. package/types/components/DatePicker/useCalculateDate.d.ts +0 -4
  94. package/types/components/Divider/StyledDivider.d.ts +0 -12
  95. package/types/components/Divider/index.d.ts +0 -22
  96. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -8
  97. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -33
  98. package/types/components/Drawer/StyledDrawer.d.ts +0 -49
  99. package/types/components/Drawer/index.d.ts +0 -27
  100. package/types/components/Empty/StyledEmpty.d.ts +0 -21
  101. package/types/components/Empty/index.d.ts +0 -31
  102. package/types/components/Error/StyledError.d.ts +0 -53
  103. package/types/components/Error/index.d.ts +0 -56
  104. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -18
  105. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -27
  106. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -18
  107. package/types/components/FAB/ActionGroup/index.d.ts +0 -54
  108. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -7
  109. package/types/components/FAB/FAB.d.ts +0 -40
  110. package/types/components/FAB/Pair/StyledFAB.d.ts +0 -12
  111. package/types/components/FAB/Pair/index.d.ts +0 -16
  112. package/types/components/FAB/StyledFAB.d.ts +0 -21
  113. package/types/components/FAB/index.d.ts +0 -5
  114. package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +0 -19
  115. package/types/components/FloatingIsland/index.d.ts +0 -23
  116. package/types/components/HeroDesignProvider/index.d.ts +0 -4
  117. package/types/components/Icon/AnimatedIcon.d.ts +0 -6
  118. package/types/components/Icon/HeroIcon/index.d.ts +0 -12
  119. package/types/components/Icon/IconList.d.ts +0 -2
  120. package/types/components/Icon/index.d.ts +0 -35
  121. package/types/components/Icon/utils.d.ts +0 -2
  122. package/types/components/Image/index.d.ts +0 -17
  123. package/types/components/List/BasicListItem.d.ts +0 -43
  124. package/types/components/List/ListItem.d.ts +0 -52
  125. package/types/components/List/StyledBasicListItem.d.ts +0 -29
  126. package/types/components/List/StyledListItem.d.ts +0 -51
  127. package/types/components/List/index.d.ts +0 -8
  128. package/types/components/MapPin/Focussed.d.ts +0 -13
  129. package/types/components/MapPin/StyledMapPin.d.ts +0 -31
  130. package/types/components/MapPin/index.d.ts +0 -5
  131. package/types/components/MapPin/types.d.ts +0 -38
  132. package/types/components/Modal/index.d.ts +0 -37
  133. package/types/components/PageControl/StyledPageControl.d.ts +0 -12
  134. package/types/components/PageControl/index.d.ts +0 -22
  135. package/types/components/PinInput/PinCell.d.ts +0 -9
  136. package/types/components/PinInput/StyledPinInput.d.ts +0 -69
  137. package/types/components/PinInput/index.d.ts +0 -69
  138. package/types/components/Portal/PortalHost.d.ts +0 -5
  139. package/types/components/Portal/PortalProvider.d.ts +0 -7
  140. package/types/components/Portal/constants.d.ts +0 -8
  141. package/types/components/Portal/contexts.d.ts +0 -9
  142. package/types/components/Portal/index.d.ts +0 -18
  143. package/types/components/Portal/reducer.d.ts +0 -5
  144. package/types/components/Portal/types.d.ts +0 -22
  145. package/types/components/Portal/usePortal.d.ts +0 -8
  146. package/types/components/Portal/usePortalState.d.ts +0 -1
  147. package/types/components/Progress/ProgressBar.d.ts +0 -18
  148. package/types/components/Progress/ProgressCircle.d.ts +0 -20
  149. package/types/components/Progress/ProgressStep.d.ts +0 -20
  150. package/types/components/Progress/StyledProgressBar.d.ts +0 -18
  151. package/types/components/Progress/StyledProgressCircle.d.ts +0 -46
  152. package/types/components/Progress/StyledStep.d.ts +0 -23
  153. package/types/components/Progress/__tests__/index.spec.d.ts +0 -1
  154. package/types/components/Progress/constants.d.ts +0 -15
  155. package/types/components/Progress/index.d.ts +0 -6
  156. package/types/components/Progress/types.d.ts +0 -1
  157. package/types/components/Radio/Radio.d.ts +0 -38
  158. package/types/components/Radio/RadioGroup.d.ts +0 -36
  159. package/types/components/Radio/StyledRadio.d.ts +0 -30
  160. package/types/components/Radio/index.d.ts +0 -4
  161. package/types/components/Radio/types.d.ts +0 -8
  162. package/types/components/Rate/StyledRate.d.ts +0 -10
  163. package/types/components/Rate/index.d.ts +0 -29
  164. package/types/components/RefreshControl/index.d.ts +0 -5
  165. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -4
  166. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -18
  167. package/types/components/RichTextEditor/MentionList.d.ts +0 -17
  168. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -70
  169. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -16
  170. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -21
  171. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -2
  172. package/types/components/RichTextEditor/constants.d.ts +0 -9
  173. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -2
  174. package/types/components/RichTextEditor/index.d.ts +0 -7
  175. package/types/components/RichTextEditor/types.d.ts +0 -1
  176. package/types/components/RichTextEditor/utils/events.d.ts +0 -8
  177. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -7
  178. package/types/components/Search/SearchOneLine.d.ts +0 -69
  179. package/types/components/Search/SearchSuffixIcon.d.ts +0 -24
  180. package/types/components/Search/SearchTwoLine.d.ts +0 -36
  181. package/types/components/Search/StyledSearch.d.ts +0 -49
  182. package/types/components/Search/index.d.ts +0 -10
  183. package/types/components/Search/utils.d.ts +0 -8
  184. package/types/components/SectionHeading/StyledHeading.d.ts +0 -23
  185. package/types/components/SectionHeading/index.d.ts +0 -45
  186. package/types/components/Select/BaseOptionList.d.ts +0 -8
  187. package/types/components/Select/Footer.d.ts +0 -6
  188. package/types/components/Select/MultiSelect/Option.d.ts +0 -10
  189. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -9
  190. package/types/components/Select/MultiSelect/index.d.ts +0 -30
  191. package/types/components/Select/SingleSelect/Option.d.ts +0 -10
  192. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -11
  193. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -1
  194. package/types/components/Select/SingleSelect/index.d.ts +0 -23
  195. package/types/components/Select/StyledSelect.d.ts +0 -21
  196. package/types/components/Select/helpers.d.ts +0 -14
  197. package/types/components/Select/index.d.ts +0 -8
  198. package/types/components/Select/types.d.ts +0 -84
  199. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -16
  200. package/types/components/Skeleton/index.d.ts +0 -14
  201. package/types/components/Slider/index.d.ts +0 -53
  202. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -6
  203. package/types/components/Spinner/StyledSpinner.d.ts +0 -34
  204. package/types/components/Spinner/index.d.ts +0 -18
  205. package/types/components/Success/StyledSuccess.d.ts +0 -49
  206. package/types/components/Success/index.d.ts +0 -50
  207. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -10
  208. package/types/components/Swipeable/SwipeableAction.d.ts +0 -27
  209. package/types/components/Swipeable/index.d.ts +0 -49
  210. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -16
  211. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -19
  212. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -37
  213. package/types/components/Switch/StyledSwitch.d.ts +0 -15
  214. package/types/components/Switch/index.d.ts +0 -28
  215. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -9
  216. package/types/components/Tabs/SceneView.d.ts +0 -10
  217. package/types/components/Tabs/ScrollableTabs.d.ts +0 -7
  218. package/types/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.d.ts +0 -40
  219. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +0 -9
  220. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +0 -10
  221. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -55
  222. package/types/components/Tabs/StyledTabs.d.ts +0 -51
  223. package/types/components/Tabs/TabWithBadge.d.ts +0 -16
  224. package/types/components/Tabs/index.d.ts +0 -62
  225. package/types/components/Tabs/useHandlePageScroll.d.ts +0 -8
  226. package/types/components/Tabs/useIsFocused.d.ts +0 -6
  227. package/types/components/Tabs/utils.d.ts +0 -2
  228. package/types/components/Tag/StyledTag.d.ts +0 -17
  229. package/types/components/Tag/index.d.ts +0 -27
  230. package/types/components/TextInput/StyledTextInput.d.ts +0 -86
  231. package/types/components/TextInput/index.d.ts +0 -124
  232. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -9
  233. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -4
  234. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -4
  235. package/types/components/TimePicker/index.d.ts +0 -4
  236. package/types/components/TimePicker/types.d.ts +0 -61
  237. package/types/components/Toast/StyledToast.d.ts +0 -45
  238. package/types/components/Toast/Toast.d.ts +0 -3
  239. package/types/components/Toast/ToastContainer.d.ts +0 -5
  240. package/types/components/Toast/ToastContext.d.ts +0 -12
  241. package/types/components/Toast/ToastProvider.d.ts +0 -11
  242. package/types/components/Toast/index.d.ts +0 -8
  243. package/types/components/Toast/types.d.ts +0 -72
  244. package/types/components/Toolbar/StyledToolbar.d.ts +0 -71
  245. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -14
  246. package/types/components/Toolbar/ToolbarItem.d.ts +0 -31
  247. package/types/components/Toolbar/ToolbarMessage.d.ts +0 -59
  248. package/types/components/Toolbar/index.d.ts +0 -14
  249. package/types/components/Typography/Body/StyledBody.d.ts +0 -14
  250. package/types/components/Typography/Body/__tests__/StyledBody.d.ts +0 -1
  251. package/types/components/Typography/Body/index.d.ts +0 -33
  252. package/types/components/Typography/Caption/StyledCaption.d.ts +0 -12
  253. package/types/components/Typography/Caption/index.d.ts +0 -27
  254. package/types/components/Typography/Label/StyledLabel.d.ts +0 -11
  255. package/types/components/Typography/Label/__tests__/StyledLabel.d.ts +0 -1
  256. package/types/components/Typography/Label/index.d.ts +0 -23
  257. package/types/components/Typography/Text/StyledText.d.ts +0 -13
  258. package/types/components/Typography/Text/index.d.ts +0 -37
  259. package/types/components/Typography/Title/StyledTitle.d.ts +0 -14
  260. package/types/components/Typography/Title/__tests__/StyledTitle.d.ts +0 -1
  261. package/types/components/Typography/Title/index.d.ts +0 -33
  262. package/types/components/Typography/index.d.ts +0 -17
  263. package/types/components/Typography/types.d.ts +0 -6
  264. package/types/index.d.ts +0 -57
  265. package/types/testHelpers/renderWithTheme.d.ts +0 -3
  266. package/types/testHelpers/utils.d.ts +0 -1
  267. package/types/theme/ThemeProvider.d.ts +0 -12
  268. package/types/theme/ThemeSwitcher.d.ts +0 -8
  269. package/types/theme/components/accordion.d.ts +0 -13
  270. package/types/theme/components/alert.d.ts +0 -36
  271. package/types/theme/components/attachment.d.ts +0 -21
  272. package/types/theme/components/avatar.d.ts +0 -50
  273. package/types/theme/components/badge.d.ts +0 -56
  274. package/types/theme/components/bottomNavigation.d.ts +0 -23
  275. package/types/theme/components/bottomSheet.d.ts +0 -38
  276. package/types/theme/components/button.d.ts +0 -72
  277. package/types/theme/components/calendar.d.ts +0 -28
  278. package/types/theme/components/card.d.ts +0 -21
  279. package/types/theme/components/cardCarousel.d.ts +0 -15
  280. package/types/theme/components/carousel.d.ts +0 -36
  281. package/types/theme/components/checkbox.d.ts +0 -27
  282. package/types/theme/components/chip.d.ts +0 -43
  283. package/types/theme/components/contentNavigator.d.ts +0 -7
  284. package/types/theme/components/datePicker.d.ts +0 -7
  285. package/types/theme/components/divider.d.ts +0 -17
  286. package/types/theme/components/drawer.d.ts +0 -30
  287. package/types/theme/components/empty.d.ts +0 -37
  288. package/types/theme/components/error.d.ts +0 -51
  289. package/types/theme/components/fab.d.ts +0 -71
  290. package/types/theme/components/floatingIsland.d.ts +0 -32
  291. package/types/theme/components/icon.d.ts +0 -23
  292. package/types/theme/components/image.d.ts +0 -8
  293. package/types/theme/components/list.d.ts +0 -46
  294. package/types/theme/components/mapPin.d.ts +0 -39
  295. package/types/theme/components/pageControl.d.ts +0 -18
  296. package/types/theme/components/pinInput.d.ts +0 -57
  297. package/types/theme/components/progress.d.ts +0 -51
  298. package/types/theme/components/radio.d.ts +0 -24
  299. package/types/theme/components/rate.d.ts +0 -11
  300. package/types/theme/components/refreshControl.d.ts +0 -7
  301. package/types/theme/components/richTextEditor.d.ts +0 -28
  302. package/types/theme/components/search.d.ts +0 -64
  303. package/types/theme/components/sectionHeading.d.ts +0 -14
  304. package/types/theme/components/select.d.ts +0 -18
  305. package/types/theme/components/skeleton.d.ts +0 -17
  306. package/types/theme/components/slider.d.ts +0 -9
  307. package/types/theme/components/spinner.d.ts +0 -27
  308. package/types/theme/components/success.d.ts +0 -43
  309. package/types/theme/components/swipeable.d.ts +0 -16
  310. package/types/theme/components/switch.d.ts +0 -38
  311. package/types/theme/components/tabs.d.ts +0 -30
  312. package/types/theme/components/tag.d.ts +0 -53
  313. package/types/theme/components/textInput.d.ts +0 -87
  314. package/types/theme/components/timePicker.d.ts +0 -7
  315. package/types/theme/components/toast.d.ts +0 -40
  316. package/types/theme/components/toolbar.d.ts +0 -47
  317. package/types/theme/components/typography.d.ts +0 -165
  318. package/types/theme/getTheme.d.ts +0 -106
  319. package/types/theme/global/borders.d.ts +0 -18
  320. package/types/theme/global/colors/eBens.d.ts +0 -3
  321. package/types/theme/global/colors/global.d.ts +0 -3
  322. package/types/theme/global/colors/globalDark.d.ts +0 -3
  323. package/types/theme/global/colors/jobs.d.ts +0 -3
  324. package/types/theme/global/colors/swag.d.ts +0 -3
  325. package/types/theme/global/colors/swagDark.d.ts +0 -3
  326. package/types/theme/global/colors/swagLight.d.ts +0 -3
  327. package/types/theme/global/colors/swagLightGlobal.d.ts +0 -3
  328. package/types/theme/global/colors/swagLightJobs.d.ts +0 -48
  329. package/types/theme/global/colors/types.d.ts +0 -50
  330. package/types/theme/global/colors/wallet.d.ts +0 -3
  331. package/types/theme/global/colors/work.d.ts +0 -3
  332. package/types/theme/global/index.d.ts +0 -82
  333. package/types/theme/global/scale.d.ts +0 -14
  334. package/types/theme/global/shadows.d.ts +0 -16
  335. package/types/theme/global/sizes.d.ts +0 -14
  336. package/types/theme/global/space.d.ts +0 -16
  337. package/types/theme/global/typography.d.ts +0 -31
  338. package/types/theme/index.d.ts +0 -9
  339. package/types/types.d.ts +0 -14
  340. package/types/utils/functions.d.ts +0 -1
  341. package/types/utils/helpers.d.ts +0 -4
  342. package/types/utils/hooks.d.ts +0 -3
  343. package/types/utils/scale.d.ts +0 -3
@@ -1,4 +0,0 @@
1
- declare const CompoundRadio: {
2
- readonly Group: <T>({ value, onPress, options, keyExtractor, style, testID, inactiveIntent, }: import("./RadioGroup").RadioGroupProps<T>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
3
- };
4
- export default CompoundRadio;
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export declare type OptionType<T> = {
3
- value: T;
4
- text: string;
5
- subText?: string;
6
- key?: string;
7
- children?: ReactNode;
8
- };
@@ -1,10 +0,0 @@
1
- import { Animated, View } from 'react-native';
2
- declare const StyledWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
- }, {}, {}>;
6
- declare const StyledIconWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
- }, {}, {}>;
10
- export { StyledWrapper, StyledIconWrapper };
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { ViewProps } from 'react-native';
3
- export interface RateOption<T extends string | number> {
4
- value: T;
5
- }
6
- export interface RateProps<T extends string | number> extends ViewProps {
7
- /**
8
- * Options for rate component.
9
- */
10
- options: RateOption<T>[];
11
- /**
12
- * Value of the component.
13
- */
14
- value?: T;
15
- /**
16
- * Callback when value changes.
17
- */
18
- onChange?: (value: T) => void;
19
- /**
20
- * Whether the component is readonly.
21
- */
22
- readonly?: boolean;
23
- /**
24
- * Whether the component is disabled.
25
- */
26
- disabled?: boolean;
27
- }
28
- declare const Rate: <T extends string | number>({ options, value, onChange, readonly, disabled, ...otherProps }: RateProps<T>) => React.JSX.Element;
29
- export default Rate;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { RefreshControlProps as NativeRefreshControlProps } from 'react-native';
3
- export declare type RefreshControlProps = Omit<NativeRefreshControlProps, 'colors' | 'tintColor'>;
4
- declare const RefreshControl: ({ ...props }: RefreshControlProps) => React.JSX.Element;
5
- export default RefreshControl;
@@ -1,4 +0,0 @@
1
- /// <reference types="node" />
2
- import { EventEmitter } from 'events';
3
- declare const emitter: EventEmitter;
4
- export { emitter };
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { ToolbarButtonName } from './types';
3
- export interface EditorToolbarProps {
4
- /**
5
- * List of buttons to display in toolbar
6
- */
7
- buttons?: ToolbarButtonName[];
8
- /**
9
- * Unique name used to communicate with webview, should be the same with the RichTextEditor component it used with
10
- */
11
- name: string;
12
- /**
13
- * Testing ID of the component
14
- */
15
- testID?: string;
16
- }
17
- declare const EditorToolbar: ({ name, buttons, testID, }: EditorToolbarProps) => React.JSX.Element | null;
18
- export default EditorToolbar;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- interface OnSelectOptionsType<TMetaData> {
3
- highlighted: boolean;
4
- meta?: TMetaData;
5
- }
6
- export interface MentionListProps<TMetaData = unknown> {
7
- /**
8
- * Unique name used to communicate with webview, should be the same with the RichTextEditor component it used with
9
- */
10
- name: string;
11
- /**
12
- * Function used to render mention options
13
- */
14
- render: (searchText: string, onSelect: (id: string, name: string, options?: OnSelectOptionsType<TMetaData>) => void) => JSX.Element;
15
- }
16
- declare const MentionList: <TMetaData>({ name: eventPrefix, render, }: MentionListProps<TMetaData>) => React.JSX.Element | null;
17
- export default MentionList;
@@ -1,70 +0,0 @@
1
- import React from 'react';
2
- import type { Ref } from 'react';
3
- import type { StyleProp, ViewStyle } from 'react-native';
4
- export interface RichTextEditorRef {
5
- requestBlur: VoidFunction;
6
- }
7
- export declare type EditorValue = {
8
- type: string;
9
- children: any;
10
- }[];
11
- export interface RichTextEditorProps {
12
- /**
13
- * If true, the editor will be focused when the user enters the screen
14
- */
15
- autoFocus?: boolean;
16
- /**
17
- * Error message
18
- */
19
- error?: string;
20
- /**
21
- * Field value
22
- */
23
- value?: EditorValue;
24
- /**
25
- * Unique name used to communicate with webview
26
- */
27
- name: string;
28
- /**
29
- * Callback function called when the field value changed
30
- */
31
- onChange: (data: EditorValue) => void;
32
- /**
33
- * Callback function called when the cursor position changed
34
- */
35
- onCursorChange?: (params: {
36
- position: {
37
- top: number;
38
- };
39
- }) => void;
40
- /**
41
- * Field placeholder
42
- */
43
- placeholder?: string;
44
- /**
45
- * Additional styles
46
- */
47
- style?: StyleProp<ViewStyle>;
48
- /**
49
- * Field label
50
- */
51
- label: string;
52
- /**
53
- * Field helper text
54
- */
55
- helpText?: string;
56
- /**
57
- * Whether the input is required, if true, an asterisk will be appended to the label.
58
- * */
59
- required?: boolean;
60
- /**
61
- * Testing ID of the component
62
- */
63
- testID?: string;
64
- /**
65
- * Imperative ref to expose the component method
66
- */
67
- forwardedRef?: Ref<RichTextEditorRef>;
68
- }
69
- declare const RichTextEditorWithRef: React.ForwardRefExoticComponent<Omit<RichTextEditorProps, "forwardedRef"> & React.RefAttributes<RichTextEditorRef>>;
70
- export default RichTextEditorWithRef;
@@ -1,16 +0,0 @@
1
- import { View } from 'react-native';
2
- import { WebView } from 'react-native-webview';
3
- export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
- }, {}, {
7
- ref?: import("react").Ref<View> | undefined;
8
- }>;
9
- export declare const StyledWebView: import("@emotion/native").StyledComponent<import("react-native-webview/lib/WebViewTypes").IOSWebViewProps & import("react-native-webview/lib/WebViewTypes").AndroidWebViewProps & import("react-native-webview/lib/WebViewTypes").WindowsWebViewProps & {
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
- } & {
13
- height: number | undefined;
14
- }, {}, {
15
- ref?: import("react").Ref<WebView<unknown>> | undefined;
16
- }>;
@@ -1,21 +0,0 @@
1
- import { TouchableOpacity, View } from 'react-native';
2
- export declare const StyledToolbarButton: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
- } & {
6
- selected: boolean;
7
- }, {}, {
8
- ref?: import("react").Ref<TouchableOpacity> | undefined;
9
- }>;
10
- export declare const StyledToolbar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
- }, {}, {
14
- ref?: import("react").Ref<View> | undefined;
15
- }>;
16
- export declare const StyledSeparator: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
17
- theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
- }, {}, {
20
- ref?: import("react").Ref<View> | undefined;
21
- }>;
@@ -1,2 +0,0 @@
1
- declare const mockHeroEditApp = "mockHeroEditApp";
2
- export default mockHeroEditApp;
@@ -1,9 +0,0 @@
1
- export declare enum ToolbarEvents {
2
- Bold = "bold",
3
- Italic = "italic",
4
- Underline = "underline",
5
- BulletedList = "bulleted-list",
6
- NumberedList = "numbered-list",
7
- HeadingOne = "heading-one",
8
- HeadingTwo = "heading-two"
9
- }
@@ -1,2 +0,0 @@
1
- import * as heroEditorApp from 'hero-editor/dist/app.js';
2
- export default heroEditorApp;
@@ -1,7 +0,0 @@
1
- import type { RichTextEditorProps, RichTextEditorRef } from './RichTextEditor';
2
- export type { RichTextEditorProps, RichTextEditorRef };
3
- declare const _default: import("react").ForwardRefExoticComponent<Omit<RichTextEditorProps, "forwardedRef"> & import("react").RefAttributes<RichTextEditorRef>> & {
4
- MentionList: <TMetaData>({ name: eventPrefix, render, }: import("./MentionList").MentionListProps<TMetaData>) => import("react").JSX.Element | null;
5
- Toolbar: ({ name, buttons, testID, }: import("./EditorToolbar").EditorToolbarProps) => import("react").JSX.Element | null;
6
- };
7
- export default _default;
@@ -1 +0,0 @@
1
- export declare type ToolbarButtonName = 'bold' | 'italic' | 'underline' | 'bulletedList' | 'numberedList' | 'headingOne' | 'headingTwo' | '|';
@@ -1,8 +0,0 @@
1
- import { EventEmitter } from 'events';
2
- export interface Listener<T> {
3
- (data: T): void;
4
- }
5
- export declare const off: <T>(emitter: EventEmitter, eventName: string, listener: Listener<T>) => void;
6
- export declare const emit: <T>(emitter: EventEmitter, eventName: string, data: T) => boolean;
7
- export declare const setMaxListeners: (emitter: EventEmitter, n: number) => void;
8
- export declare const on: <T>(emitter: EventEmitter, eventName: string, listener: Listener<T>) => () => void;
@@ -1,7 +0,0 @@
1
- import WebView from 'react-native-webview';
2
- export declare const requestBlurEditor: (element: WebView) => void;
3
- export interface WebViewEventMessage {
4
- type: string;
5
- data: any;
6
- }
7
- export declare const postMessage: (element: WebView, message: WebViewEventMessage) => void;
@@ -1,69 +0,0 @@
1
- import React from 'react';
2
- import type { TextInputProps as NativeTextInputProps, TextInput as RNTextInput, StyleProp, ViewStyle, TextStyle } from 'react-native';
3
- import { State } from './StyledSearch';
4
- import { IconName } from '../Icon';
5
- export declare type SearchOneLineHandles = Pick<RNTextInput, 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps'>;
6
- interface SearchOneLineProps extends NativeTextInputProps {
7
- /**
8
- * Name of Icon or ReactElement to render on the left side of the input, before the user's cursor.
9
- */
10
- prefix?: IconName | React.ReactElement;
11
- /**
12
- * Name of Icon or ReactElement to render on the right side of the input.
13
- */
14
- suffix?: IconName | React.ReactElement;
15
- /**
16
- * Additional wrapper style.
17
- */
18
- style?: StyleProp<ViewStyle>;
19
- /**
20
- * Input text style.
21
- */
22
- textStyle?: StyleProp<TextStyle>;
23
- /**
24
- * Testing id of the component.
25
- */
26
- testID?: string;
27
- /**
28
- * Accessibility label for the input (Android).
29
- */
30
- accessibilityLabelledBy?: string;
31
- /**
32
- * Placeholder text to display.
33
- * */
34
- placeholder?: string;
35
- /**
36
- * Whether the input is editable.
37
- * */
38
- editable?: boolean;
39
- /**
40
- * Whether the input is disabled.
41
- */
42
- disabled?: boolean;
43
- /**
44
- * The max length of the input.
45
- * If the max length is set, the input will display the current length and the max length.
46
- * */
47
- maxLength?: number;
48
- /**
49
- * Whether to hide the character count.
50
- * */
51
- renderInputValue?: (inputProps: NativeTextInputProps) => React.ReactNode;
52
- /**
53
- * Variant of the SearchTwo
54
- * @default 'basic'
55
- */
56
- variant?: 'basic' | 'reversed';
57
- /**
58
- * Clearable input.
59
- */
60
- clearable?: boolean;
61
- }
62
- export declare const getState: ({ disabled, editable, isEmptyValue, }: {
63
- disabled?: boolean | undefined;
64
- editable?: boolean | undefined;
65
- isFocused?: boolean | undefined;
66
- isEmptyValue?: boolean | undefined;
67
- }) => State;
68
- declare const SearchOneLine: React.ForwardRefExoticComponent<SearchOneLineProps & React.RefAttributes<SearchOneLineHandles>>;
69
- export default SearchOneLine;
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- import { IconName } from '../Icon';
4
- import { BadgeProps } from '../Badge';
5
- interface SearchSuffixIconProps {
6
- /**
7
- * Name of Icon or ReactElement to render on the right side of the input.
8
- */
9
- suffix?: IconName | React.ReactElement;
10
- /**
11
- * Additional wrapper style.
12
- */
13
- style?: StyleProp<ViewStyle>;
14
- /**
15
- * Testing id of the component.
16
- */
17
- testID?: string;
18
- /**
19
- * Badge props to be render on the suffix.
20
- */
21
- badge?: Omit<BadgeProps, 'size'>;
22
- }
23
- declare const SearchSuffixIcon: (props: SearchSuffixIconProps) => React.JSX.Element;
24
- export default SearchSuffixIcon;
@@ -1,36 +0,0 @@
1
- import React from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- import { IconName } from '../Icon';
4
- interface SearchTwoLineProps {
5
- /**
6
- * Name of Icon or ReactElement to render on the left side of the input, before the user's cursor.
7
- */
8
- prefix?: IconName | React.ReactElement;
9
- /**
10
- * Name of Icon or ReactElement to render on the right side of the input.
11
- */
12
- suffix?: IconName | React.ReactElement;
13
- /**
14
- * Additional wrapper style.
15
- */
16
- style?: StyleProp<ViewStyle>;
17
- /**
18
- * Label of the Input handler.
19
- */
20
- label: React.ReactNode;
21
- /**
22
- * Content of the Input handler.
23
- */
24
- content: React.ReactNode;
25
- /**
26
- * Testing id of the component.
27
- */
28
- testID?: string;
29
- /**
30
- * Variant of the SearchTwo
31
- * @default 'basic'
32
- */
33
- variant?: 'basic' | 'reversed';
34
- }
35
- declare const SearchTwoLine: (props: SearchTwoLineProps) => React.JSX.Element;
36
- export default SearchTwoLine;
@@ -1,49 +0,0 @@
1
- import { TextInput, View } from 'react-native';
2
- export declare type State = 'default' | 'filled' | 'disabled' | 'readonly';
3
- export declare type Variant = 'basic' | 'reversed';
4
- export declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
- }, {}, {
8
- ref?: import("react").Ref<View> | undefined;
9
- }>;
10
- export declare const StyledInputContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
- } & {
14
- themeFocused: boolean;
15
- themeVariant: Variant;
16
- }, {}, {
17
- ref?: import("react").Ref<View> | undefined;
18
- }>;
19
- export declare const StyledAffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
22
- }, {}, {
23
- ref?: import("react").Ref<View> | undefined;
24
- }>;
25
- export declare const StyledSuffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
26
- theme?: import("@emotion/react").Theme | undefined;
27
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
28
- }, {}, {
29
- ref?: import("react").Ref<View> | undefined;
30
- }>;
31
- export declare const StyledInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
32
- theme?: import("@emotion/react").Theme | undefined;
33
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
34
- }, {}, {
35
- ref?: import("react").Ref<TextInput> | undefined;
36
- }>;
37
- export declare const StyledHandlerContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
38
- theme?: import("@emotion/react").Theme | undefined;
39
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
40
- }, {}, {
41
- ref?: import("react").Ref<View> | undefined;
42
- }>;
43
- export declare const StyledBadge: import("@emotion/native").StyledComponent<(import("../Badge/types").BasicBadgeProps & {
44
- theme?: import("@emotion/react").Theme | undefined;
45
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
46
- }) | (import("../Badge/types").IconBadgeProps & {
47
- theme?: import("@emotion/react").Theme | undefined;
48
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
49
- }), {}, {}>;
@@ -1,10 +0,0 @@
1
- import SearchTwoLine from './SearchTwoLine';
2
- import SearchOneLine from './SearchOneLine';
3
- import SearchSuffixIcon from './SearchSuffixIcon';
4
- declare type SearchType = {
5
- OneLine: typeof SearchOneLine;
6
- TwoLine: typeof SearchTwoLine;
7
- SuffixIcon: typeof SearchSuffixIcon;
8
- };
9
- declare const Search: SearchType;
10
- export default Search;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { IconName } from '../Icon';
3
- export declare const renderPrefix: ({ prefix, }: {
4
- prefix?: "number" | React.ReactElement<any, string | React.JSXElementConstructor<any>> | "swag" | "wallet" | "bold" | "menu" | "filter" | "image" | "switch" | "target" | "restart" | "directory" | "document" | "feed" | "list" | "billing" | "home" | "user" | "send" | "file" | "loading" | "sync" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "bolt" | "bookmark-added" | "bookmark" | "box-check" | "box" | "bpay" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "caret-down-small" | "caret-down" | "caret-left-small" | "caret-left" | "caret-right-small" | "caret-right" | "caret-up-small" | "caret-up" | "check-radio" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock-3" | "clock" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "dollar-coin-shine" | "dot" | "double-buildings" | "edit-template" | "envelope" | "exclude" | "expand-content" | "expense" | "explore_nearby" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "folder-user" | "folder" | "format-bold" | "format-heading1" | "format-heading2" | "format-italic" | "format-list-bulleted" | "format-list-numbered" | "format-underlined" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "hero-points" | "import" | "incident-siren" | "instapay-daily" | "instapay-now" | "instapay" | "loading-2" | "location-on" | "location" | "lock" | "looks-one" | "looks-two" | "media-content" | "money-notes" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "near-me" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane-up" | "plane" | "play-arrow" | "play-circle" | "print" | "raising-hands" | "reply-arrow" | "reply" | "reschedule" | "rostering" | "salary-sacrifice" | "save" | "schedule-send" | "schedule" | "search-person" | "speaker-active" | "speaker" | "star-award" | "star-badge" | "star-circle" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "surfing" | "survey" | "swag-pillar-benefit" | "swag-pillar-career" | "swag-pillar-money" | "swag-pillar-work" | "swipe-right" | "tag" | "teams" | "thumb-down" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "video-1" | "video-2" | "activate-outlined" | "add-credit-card-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "afternoon-outlined" | "ai-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "application-outlined" | "arrow-down" | "arrow-downwards" | "arrow-left" | "arrow-leftwards" | "arrow-right" | "arrow-rightwards" | "arrow-up" | "arrow-upwards" | "article-outlined" | "at-sign" | "auto-graph-outlined" | "beer-outlined" | "bell-active-outlined" | "bell-outlined" | "bell-slash-outlined" | "bill-management-outlined" | "billing-outlined" | "body-outlined" | "bolt-outlined" | "book-outlined" | "bookmark-added-outlined" | "bookmark-outlined" | "box-1-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "call-outlined" | "call-split-outlined" | "camera-outlined" | "cancel" | "car-forward-outlined" | "cashback-outlined" | "charging-station-outlined" | "chat-bubble-outlined" | "chat-unread-outlined" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-in-outlined" | "clock-out-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "coin-super-outlined" | "comment-outlined" | "contacts-outlined" | "contacts-user-outlined" | "credit-card-outlined" | "cup-outlined" | "dentistry-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-box-outlined" | "dollar-card-outlined" | "dollar-coin-shine-outlined" | "dollar-credit-card-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-box-outlined" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "end-break-outlined" | "enter-arrow" | "envelope-outlined" | "evening-outlined" | "expense-approval-outlined" | "expense-outlined" | "explore-outlined" | "extension-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "fastfood-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-dollar-certified-outlined" | "file-dollar-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-statutory-outlined" | "file-verified-outlined" | "filter-outlined" | "folder-outlined" | "folder-upload-outlined" | "folder-user-outlined" | "form-outlined" | "funnel-filter-outline" | "goal-outlined" | "graph-outlined" | "hand-holding-user-outlined" | "handshake-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-active-outlined" | "home-outlined" | "id-card-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "job-search-outlined" | "leave-approval-outlined" | "link-1" | "link-2" | "list-outlined" | "live-help-outlined" | "local_mall_outlined" | "location-on-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "mail-outlined" | "map-outlined" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "morning-outlined" | "multiple-folders-outlined" | "multiple-users-outlined" | "near-me-outlined" | "node-outlined" | "number-points" | "overview-outlined" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "propane-tank-outlined" | "qr-code-outlined" | "qualification-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "resume-outlined" | "return-arrow" | "rostering-outlined" | "safety-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "search-secured-outlined" | "send-outlined" | "share-1" | "share-2" | "share-outlined-2" | "share-outlined" | "shopping_basket_outlined" | "show-chart-outlined" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "smart-match-outlined" | "sparkle-outlined" | "speaker-active-outlined" | "speaker-outlined" | "star-circle-outlined" | "star-outlined" | "start-break-outlined" | "stash-outlined" | "stopwatch-outlined" | "strikethrough" | "styler-outlined" | "suitcase-clock-outlined" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "tag-outlined" | "target-outlined" | "tennis-outlined" | "thumb-down-outlined" | "ticket-outlined" | "timesheet-outlined" | "timesheets-outlined" | "today-outlined" | "transfer" | "trash-bin-outlined" | "umbrela-outlined" | "unavailability-outlined" | "unavailable" | "underline" | "union-outlined" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-gear-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "volunteer-outlined" | "wallet-outlined" | "wellness-outlined" | undefined;
5
- }) => React.JSX.Element | undefined;
6
- export declare const renderSuffix: ({ suffix, }: {
7
- suffix?: "number" | React.ReactElement<any, string | React.JSXElementConstructor<any>> | "swag" | "wallet" | "bold" | "menu" | "filter" | "image" | "switch" | "target" | "restart" | "directory" | "document" | "feed" | "list" | "billing" | "home" | "user" | "send" | "file" | "loading" | "sync" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "bolt" | "bookmark-added" | "bookmark" | "box-check" | "box" | "bpay" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "caret-down-small" | "caret-down" | "caret-left-small" | "caret-left" | "caret-right-small" | "caret-right" | "caret-up-small" | "caret-up" | "check-radio" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock-3" | "clock" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "dollar-coin-shine" | "dot" | "double-buildings" | "edit-template" | "envelope" | "exclude" | "expand-content" | "expense" | "explore_nearby" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "folder-user" | "folder" | "format-bold" | "format-heading1" | "format-heading2" | "format-italic" | "format-list-bulleted" | "format-list-numbered" | "format-underlined" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "hero-points" | "import" | "incident-siren" | "instapay-daily" | "instapay-now" | "instapay" | "loading-2" | "location-on" | "location" | "lock" | "looks-one" | "looks-two" | "media-content" | "money-notes" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "near-me" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane-up" | "plane" | "play-arrow" | "play-circle" | "print" | "raising-hands" | "reply-arrow" | "reply" | "reschedule" | "rostering" | "salary-sacrifice" | "save" | "schedule-send" | "schedule" | "search-person" | "speaker-active" | "speaker" | "star-award" | "star-badge" | "star-circle" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "surfing" | "survey" | "swag-pillar-benefit" | "swag-pillar-career" | "swag-pillar-money" | "swag-pillar-work" | "swipe-right" | "tag" | "teams" | "thumb-down" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "video-1" | "video-2" | "activate-outlined" | "add-credit-card-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "afternoon-outlined" | "ai-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "application-outlined" | "arrow-down" | "arrow-downwards" | "arrow-left" | "arrow-leftwards" | "arrow-right" | "arrow-rightwards" | "arrow-up" | "arrow-upwards" | "article-outlined" | "at-sign" | "auto-graph-outlined" | "beer-outlined" | "bell-active-outlined" | "bell-outlined" | "bell-slash-outlined" | "bill-management-outlined" | "billing-outlined" | "body-outlined" | "bolt-outlined" | "book-outlined" | "bookmark-added-outlined" | "bookmark-outlined" | "box-1-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "call-outlined" | "call-split-outlined" | "camera-outlined" | "cancel" | "car-forward-outlined" | "cashback-outlined" | "charging-station-outlined" | "chat-bubble-outlined" | "chat-unread-outlined" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-in-outlined" | "clock-out-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "coin-super-outlined" | "comment-outlined" | "contacts-outlined" | "contacts-user-outlined" | "credit-card-outlined" | "cup-outlined" | "dentistry-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-box-outlined" | "dollar-card-outlined" | "dollar-coin-shine-outlined" | "dollar-credit-card-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-box-outlined" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "end-break-outlined" | "enter-arrow" | "envelope-outlined" | "evening-outlined" | "expense-approval-outlined" | "expense-outlined" | "explore-outlined" | "extension-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "fastfood-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-dollar-certified-outlined" | "file-dollar-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-statutory-outlined" | "file-verified-outlined" | "filter-outlined" | "folder-outlined" | "folder-upload-outlined" | "folder-user-outlined" | "form-outlined" | "funnel-filter-outline" | "goal-outlined" | "graph-outlined" | "hand-holding-user-outlined" | "handshake-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-active-outlined" | "home-outlined" | "id-card-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "job-search-outlined" | "leave-approval-outlined" | "link-1" | "link-2" | "list-outlined" | "live-help-outlined" | "local_mall_outlined" | "location-on-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "mail-outlined" | "map-outlined" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "morning-outlined" | "multiple-folders-outlined" | "multiple-users-outlined" | "near-me-outlined" | "node-outlined" | "number-points" | "overview-outlined" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "propane-tank-outlined" | "qr-code-outlined" | "qualification-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "resume-outlined" | "return-arrow" | "rostering-outlined" | "safety-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "search-secured-outlined" | "send-outlined" | "share-1" | "share-2" | "share-outlined-2" | "share-outlined" | "shopping_basket_outlined" | "show-chart-outlined" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "smart-match-outlined" | "sparkle-outlined" | "speaker-active-outlined" | "speaker-outlined" | "star-circle-outlined" | "star-outlined" | "start-break-outlined" | "stash-outlined" | "stopwatch-outlined" | "strikethrough" | "styler-outlined" | "suitcase-clock-outlined" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "tag-outlined" | "target-outlined" | "tennis-outlined" | "thumb-down-outlined" | "ticket-outlined" | "timesheet-outlined" | "timesheets-outlined" | "today-outlined" | "transfer" | "trash-bin-outlined" | "umbrela-outlined" | "unavailability-outlined" | "unavailable" | "underline" | "union-outlined" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-gear-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "volunteer-outlined" | "wallet-outlined" | "wellness-outlined" | undefined;
8
- }) => React.JSX.Element | undefined;
@@ -1,23 +0,0 @@
1
- import { View } from 'react-native';
2
- declare type StyledHeadingProps = {
3
- themeSize: 'small' | 'medium';
4
- };
5
- declare const StyledHeading: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
- } & StyledHeadingProps, {}, {
9
- ref?: import("react").Ref<View> | undefined;
10
- }>;
11
- declare const StyledIconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
14
- }, {}, {
15
- ref?: import("react").Ref<View> | undefined;
16
- }>;
17
- declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
18
- theme?: import("@emotion/react").Theme | undefined;
19
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
20
- }, {}, {
21
- ref?: import("react").Ref<View> | undefined;
22
- }>;
23
- export { StyledHeading, StyledIconWrapper, StyledWrapper };
@@ -1,45 +0,0 @@
1
- import type { ReactElement } from 'react';
2
- import type { StyleProp, ViewProps, ViewStyle } from 'react-native';
3
- import type { IconName, IconProps } from '../Icon';
4
- export interface SectionHeadingProps extends ViewProps {
5
- /**
6
- * Heading text.
7
- */
8
- text: string | ReactElement;
9
- /**
10
- * Name of the Icon.
11
- */
12
- icon?: IconName | ReactElement<IconProps>;
13
- /**
14
- * Right corner content
15
- */
16
- rightChildren?: ReactElement;
17
- /**
18
- * @deprecated fontSize will be removed in the next major release.
19
- * Size of the text.
20
- */
21
- fontSize?: 'small' | 'medium' | 'large' | 'xlarge';
22
- /**
23
- * @deprecated fontWeight will be removed in the next major release.
24
- * Heading's font-weight.
25
- */
26
- fontWeight?: 'light' | 'regular' | 'semi-bold';
27
- /**
28
- * Visual intent color to apply to text.
29
- */
30
- intent?: 'subdued' | 'body' | 'primary';
31
- /**
32
- * Additional style.
33
- */
34
- style?: StyleProp<ViewStyle>;
35
- /**
36
- * Testing id of the component.
37
- */
38
- testID?: string;
39
- /**
40
- * Component size.
41
- */
42
- size?: 'small' | 'medium';
43
- }
44
- declare const SectionHeading: ({ icon, text, rightChildren, fontSize, intent, fontWeight, size, style, testID, }: SectionHeadingProps) => ReactElement;
45
- export default SectionHeading;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { SectionList, SectionListProps } from 'react-native';
3
- import type { OptionType, SelectProps, SectionType } from './types';
4
- export declare type BaseOptionListProps<V, T extends OptionType<V>> = Pick<SelectProps<V, T>, 'keyExtractor' | 'loading' | 'onEndReached' | 'onQueryChange'> & {
5
- sectionListRef?: React.RefObject<SectionList<T, SectionType>>;
6
- } & SectionListProps<T, SectionType>;
7
- declare const BaseOptionList: <V, T extends OptionType<V>>({ keyExtractor, loading, onEndReached, onQueryChange, sections, renderItem, sectionListRef, ...rest }: BaseOptionListProps<V, T>) => React.JSX.Element;
8
- export default BaseOptionList;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- declare const Footer: ({ label, onPress }: {
3
- label: string;
4
- onPress: () => void;
5
- }) => React.JSX.Element;
6
- export default Footer;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { ReactElement } from 'react';
3
- declare const Option: ({ text, disabled, selected, onPress, highlighted, }: {
4
- text: string | ReactElement;
5
- disabled?: boolean | undefined;
6
- selected: boolean;
7
- onPress: () => void;
8
- highlighted?: boolean | undefined;
9
- }) => React.JSX.Element;
10
- export default Option;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { BaseOptionListProps } from '../BaseOptionList';
3
- import type { MultiSelectProps } from '.';
4
- import type { OptionType } from '../types';
5
- declare type OptionListProps<V, T extends OptionType<V>> = Pick<MultiSelectProps<V, T>, 'keyExtractor' | 'loading' | 'onEndReached' | 'onQueryChange' | 'value' | 'renderOption'> & {
6
- onPress: (value: V[]) => void;
7
- } & BaseOptionListProps<V, T>;
8
- declare const OptionList: <V, T extends OptionType<V>>({ keyExtractor, loading, onEndReached, onPress, onQueryChange, sections, renderOption, value, sectionListRef, ...rest }: OptionListProps<V, T>) => React.JSX.Element;
9
- export default OptionList;