@hero-design/rn 8.82.2-alpha.1 → 8.83.0-test.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 (318) hide show
  1. package/.turbo/turbo-build$colon$types.log +0 -0
  2. package/.turbo/turbo-build.log +8 -0
  3. package/.turbo/turbo-lint.log +183 -0
  4. package/.turbo/turbo-publish:npm.log +9 -0
  5. package/.turbo/turbo-test.log +4726 -0
  6. package/.turbo/turbo-type-check.log +0 -0
  7. package/CHANGELOG.md +6 -0
  8. package/es/index.js +120 -43
  9. package/eslint.config.js +4 -2
  10. package/lib/index.js +121 -43
  11. package/package.json +5 -3
  12. package/rollup.config.mjs +1 -0
  13. package/src/components/Slider/Range.tsx +177 -0
  14. package/src/components/Slider/Single.tsx +89 -0
  15. package/src/components/Slider/__tests__/Range.spec.tsx +105 -0
  16. package/src/components/Slider/__tests__/{index.spec.tsx → Single.spec.tsx} +1 -1
  17. package/src/components/Slider/__tests__/__snapshots__/Range.spec.tsx.snap +168 -0
  18. package/src/components/Slider/index.tsx +8 -83
  19. package/src/theme/components/slider.ts +12 -1
  20. package/src/types.ts +2 -0
  21. package/testUtils/setup.tsx +17 -0
  22. package/types/components/Accordion/AccordionItem.d.ts +1 -1
  23. package/types/components/Accordion/StyledAccordion.d.ts +11 -11
  24. package/types/components/Accordion/index.d.ts +1 -1
  25. package/types/components/Alert/StyledAlert.d.ts +16 -16
  26. package/types/components/Alert/index.d.ts +1 -1
  27. package/types/components/Attachment/StyledAttachment.d.ts +8 -8
  28. package/types/components/Attachment/index.d.ts +0 -0
  29. package/types/components/Avatar/Avatar.d.ts +0 -0
  30. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +9 -9
  31. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  32. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  33. package/types/components/Avatar/StyledAvatar.d.ts +10 -10
  34. package/types/components/Avatar/index.d.ts +0 -0
  35. package/types/components/Badge/Status.d.ts +0 -0
  36. package/types/components/Badge/StyledBadge.d.ts +12 -12
  37. package/types/components/Badge/index.d.ts +1 -1
  38. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +15 -15
  39. package/types/components/BottomNavigation/index.d.ts +1 -1
  40. package/types/components/BottomSheet/BottomSheetContext.d.ts +1 -1
  41. package/types/components/BottomSheet/Footer.d.ts +0 -0
  42. package/types/components/BottomSheet/Header.d.ts +2 -2
  43. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  44. package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
  45. package/types/components/BottomSheet/index.d.ts +0 -0
  46. package/types/components/Box/StyledBox.d.ts +2 -2
  47. package/types/components/Box/config.d.ts +2 -2
  48. package/types/components/Box/index.d.ts +0 -0
  49. package/types/components/Box/types.d.ts +3 -3
  50. package/types/components/Button/Button.d.ts +1 -1
  51. package/types/components/Button/IconButton.d.ts +0 -0
  52. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +6 -6
  53. package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
  54. package/types/components/Button/StyledButton.d.ts +22 -22
  55. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +6 -6
  56. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  57. package/types/components/Button/index.d.ts +0 -0
  58. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  59. package/types/components/Calendar/StyledCalendar.d.ts +22 -22
  60. package/types/components/Calendar/helpers.d.ts +0 -0
  61. package/types/components/Calendar/index.d.ts +0 -0
  62. package/types/components/Card/DataCard/StyledDataCard.d.ts +5 -5
  63. package/types/components/Card/DataCard/index.d.ts +0 -0
  64. package/types/components/Card/StyledCard.d.ts +4 -4
  65. package/types/components/Card/index.d.ts +0 -0
  66. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  67. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  68. package/types/components/Carousel/StyledCardCarousel.d.ts +8 -8
  69. package/types/components/Carousel/StyledCarousel.d.ts +21 -21
  70. package/types/components/Carousel/contants.d.ts +0 -0
  71. package/types/components/Carousel/index.d.ts +0 -0
  72. package/types/components/Carousel/types.d.ts +2 -2
  73. package/types/components/Checkbox/StyledCheckbox.d.ts +11 -11
  74. package/types/components/Checkbox/index.d.ts +1 -1
  75. package/types/components/Chip/StyledChip.d.ts +5 -5
  76. package/types/components/Collapse/StyledCollapse.d.ts +6 -6
  77. package/types/components/Collapse/index.d.ts +0 -0
  78. package/types/components/CompoundSearch/CompoundSearchHandler.d.ts +31 -0
  79. package/types/components/CompoundSearch/CompoundSearchTextInput.d.ts +60 -0
  80. package/types/components/CompoundSearch/StyledCompoundSearch.d.ts +40 -0
  81. package/types/components/CompoundSearch/index.d.ts +8 -0
  82. package/types/components/CompoundSearch/utils.d.ts +8 -0
  83. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -2
  84. package/types/components/ContentNavigator/index.d.ts +0 -0
  85. package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
  86. package/types/components/DatePicker/DatePickerCalendar.d.ts +1 -1
  87. package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
  88. package/types/components/DatePicker/StyledDatePicker.d.ts +2 -2
  89. package/types/components/DatePicker/index.d.ts +0 -0
  90. package/types/components/DatePicker/types.d.ts +0 -0
  91. package/types/components/DatePicker/useCalculateDate.d.ts +1 -1
  92. package/types/components/Divider/StyledDivider.d.ts +5 -5
  93. package/types/components/Divider/index.d.ts +0 -0
  94. package/types/components/Drawer/DragableDrawer/helpers.d.ts +1 -1
  95. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  96. package/types/components/Drawer/StyledDrawer.d.ts +15 -15
  97. package/types/components/Drawer/index.d.ts +0 -0
  98. package/types/components/Empty/StyledEmpty.d.ts +7 -7
  99. package/types/components/Empty/index.d.ts +0 -0
  100. package/types/components/Error/StyledError.d.ts +21 -21
  101. package/types/components/Error/index.d.ts +0 -0
  102. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  103. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +10 -10
  104. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +6 -6
  105. package/types/components/FAB/ActionGroup/index.d.ts +1 -1
  106. package/types/components/FAB/AnimatedFABIcon.d.ts +1 -1
  107. package/types/components/FAB/FAB.d.ts +1 -1
  108. package/types/components/FAB/Pair/StyledFAB.d.ts +6 -6
  109. package/types/components/FAB/Pair/index.d.ts +1 -1
  110. package/types/components/FAB/StyledFAB.d.ts +9 -9
  111. package/types/components/FAB/index.d.ts +0 -0
  112. package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +10 -10
  113. package/types/components/HeroDesignProvider/HeroDesignContext.d.ts +5 -0
  114. package/types/components/Icon/AnimatedIcon.d.ts +1 -1
  115. package/types/components/Icon/HeroIcon/index.d.ts +4 -4
  116. package/types/components/Icon/IconList.d.ts +0 -0
  117. package/types/components/Icon/index.d.ts +1 -1
  118. package/types/components/Icon/utils.d.ts +1 -2
  119. package/types/components/Image/index.d.ts +0 -0
  120. package/types/components/List/BasicListItem.d.ts +0 -0
  121. package/types/components/List/ListItem.d.ts +0 -0
  122. package/types/components/List/StyledBasicListItem.d.ts +10 -10
  123. package/types/components/List/StyledListItem.d.ts +18 -18
  124. package/types/components/List/index.d.ts +0 -0
  125. package/types/components/MapPin/StyledMapPin.d.ts +11 -11
  126. package/types/components/MapPin/types.d.ts +1 -1
  127. package/types/components/PageControl/StyledPageControl.d.ts +4 -4
  128. package/types/components/PageControl/index.d.ts +0 -0
  129. package/types/components/PinInput/PinCell.d.ts +0 -0
  130. package/types/components/PinInput/StyledPinInput.d.ts +21 -21
  131. package/types/components/PinInput/index.d.ts +0 -0
  132. package/types/components/Portal/reducer.d.ts +1 -1
  133. package/types/components/Portal/types.d.ts +1 -1
  134. package/types/components/Progress/ProgressBar.d.ts +0 -0
  135. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  136. package/types/components/Progress/ProgressStep.d.ts +1 -1
  137. package/types/components/Progress/StyledProgressBar.d.ts +4 -4
  138. package/types/components/Progress/StyledProgressCircle.d.ts +12 -12
  139. package/types/components/Progress/StyledStep.d.ts +10 -10
  140. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  141. package/types/components/Progress/constants.d.ts +0 -0
  142. package/types/components/Progress/index.d.ts +0 -0
  143. package/types/components/Progress/types.d.ts +1 -1
  144. package/types/components/Radio/Radio.d.ts +0 -0
  145. package/types/components/Radio/RadioGroup.d.ts +0 -0
  146. package/types/components/Radio/StyledRadio.d.ts +9 -9
  147. package/types/components/Radio/index.d.ts +1 -1
  148. package/types/components/Radio/types.d.ts +1 -1
  149. package/types/components/Rate/StyledRate.d.ts +4 -4
  150. package/types/components/RefreshControl/index.d.ts +1 -1
  151. package/types/components/RichTextEditor/EditorEvent.d.ts +1 -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 +1 -1
  155. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +4 -4
  156. package/types/components/RichTextEditor/StyledToolbar.d.ts +6 -6
  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 +1 -1
  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/Search/SearchBasic.d.ts +31 -0
  165. package/types/components/Search/SearchCompound.d.ts +60 -0
  166. package/types/components/Search/SearchOneLine.d.ts +5 -5
  167. package/types/components/Search/StyledSearch.d.ts +18 -18
  168. package/types/components/Search/index.d.ts +1 -1
  169. package/types/components/Search/utils.d.ts +2 -2
  170. package/types/components/SectionHeading/StyledHeading.d.ts +7 -7
  171. package/types/components/SectionHeading/index.d.ts +0 -0
  172. package/types/components/Select/BaseOptionList.d.ts +1 -1
  173. package/types/components/Select/Footer.d.ts +0 -0
  174. package/types/components/Select/MultiSelect/Option.d.ts +2 -2
  175. package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
  176. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  177. package/types/components/Select/SingleSelect/Option.d.ts +2 -2
  178. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  179. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -2
  180. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  181. package/types/components/Select/StyledSelect.d.ts +6 -6
  182. package/types/components/Select/helpers.d.ts +2 -2
  183. package/types/components/Select/index.d.ts +0 -0
  184. package/types/components/Select/types.d.ts +6 -6
  185. package/types/components/Skeleton/StyledSkeleton.d.ts +6 -6
  186. package/types/components/Skeleton/index.d.ts +0 -0
  187. package/types/components/Slider/Range.d.ts +60 -0
  188. package/types/components/Slider/Single.d.ts +53 -0
  189. package/types/components/Slider/index.d.ts +6 -51
  190. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -2
  191. package/types/components/Spinner/StyledSpinner.d.ts +13 -13
  192. package/types/components/Spinner/index.d.ts +0 -0
  193. package/types/components/Success/StyledSuccess.d.ts +19 -19
  194. package/types/components/Success/index.d.ts +0 -0
  195. package/types/components/Swipeable/StyledSwipeable.d.ts +3 -3
  196. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  197. package/types/components/Swipeable/index.d.ts +2 -2
  198. package/types/components/Switch/SelectorSwitch/Option.d.ts +5 -3
  199. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +8 -8
  200. package/types/components/Switch/SelectorSwitch/index.d.ts +3 -3
  201. package/types/components/Switch/StyledSwitch.d.ts +5 -5
  202. package/types/components/Switch/index.d.ts +3 -3
  203. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  204. package/types/components/Tabs/SceneView.d.ts +3 -3
  205. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  206. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +2 -2
  207. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +2 -2
  208. package/types/components/Tabs/ScrollableTabsHeader.d.ts +35 -0
  209. package/types/components/Tabs/StyledScrollableTabs.d.ts +17 -17
  210. package/types/components/Tabs/StyledTabs.d.ts +14 -14
  211. package/types/components/Tabs/TabWithBadge.d.ts +3 -3
  212. package/types/components/Tabs/index.d.ts +2 -2
  213. package/types/components/Tabs/useHandlePageScroll.d.ts +1 -1
  214. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  215. package/types/components/Tabs/utils.d.ts +0 -0
  216. package/types/components/Tag/StyledTag.d.ts +5 -5
  217. package/types/components/Tag/index.d.ts +0 -0
  218. package/types/components/TextInput/StyledTextInput.d.ts +28 -28
  219. package/types/components/TextInput/index.d.ts +16 -16
  220. package/types/components/TimePicker/StyledTimePicker.d.ts +2 -2
  221. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  222. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  223. package/types/components/TimePicker/index.d.ts +0 -0
  224. package/types/components/TimePicker/types.d.ts +0 -0
  225. package/types/components/Toast/StyledToast.d.ts +18 -18
  226. package/types/components/Toast/Toast.d.ts +0 -0
  227. package/types/components/Toast/ToastContainer.d.ts +0 -0
  228. package/types/components/Toast/ToastContext.d.ts +2 -2
  229. package/types/components/Toast/ToastProvider.d.ts +1 -1
  230. package/types/components/Toast/index.d.ts +0 -0
  231. package/types/components/Toast/types.d.ts +2 -2
  232. package/types/components/Toolbar/StyledToolbar.d.ts +25 -25
  233. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  234. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  235. package/types/components/Toolbar/ToolbarMessage.d.ts +4 -4
  236. package/types/components/Toolbar/index.d.ts +0 -0
  237. package/types/components/Typography/Body/StyledBody.d.ts +4 -4
  238. package/types/components/Typography/Caption/StyledCaption.d.ts +3 -3
  239. package/types/components/Typography/Label/StyledLabel.d.ts +2 -2
  240. package/types/components/Typography/Text/StyledText.d.ts +6 -6
  241. package/types/components/Typography/Text/index.d.ts +0 -0
  242. package/types/components/Typography/Title/StyledTitle.d.ts +4 -4
  243. package/types/components/Typography/index.d.ts +0 -0
  244. package/types/components/Typography/types.d.ts +1 -1
  245. package/types/index.d.ts +0 -0
  246. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  247. package/types/testHelpers/utils.d.ts +1 -1
  248. package/types/theme/ThemeProvider.d.ts +0 -0
  249. package/types/theme/ThemeSwitcher.d.ts +3 -3
  250. package/types/theme/components/accordion.d.ts +0 -0
  251. package/types/theme/components/alert.d.ts +0 -0
  252. package/types/theme/components/attachment.d.ts +0 -0
  253. package/types/theme/components/avatar.d.ts +0 -0
  254. package/types/theme/components/badge.d.ts +1 -1
  255. package/types/theme/components/bottomNavigation.d.ts +0 -0
  256. package/types/theme/components/bottomSheet.d.ts +0 -0
  257. package/types/theme/components/button.d.ts +1 -1
  258. package/types/theme/components/calendar.d.ts +0 -0
  259. package/types/theme/components/card.d.ts +0 -0
  260. package/types/theme/components/cardCarousel.d.ts +0 -0
  261. package/types/theme/components/carousel.d.ts +1 -1
  262. package/types/theme/components/checkbox.d.ts +0 -0
  263. package/types/theme/components/compoundSearch.d.ts +36 -0
  264. package/types/theme/components/contentNavigator.d.ts +0 -0
  265. package/types/theme/components/datePicker.d.ts +0 -0
  266. package/types/theme/components/divider.d.ts +0 -0
  267. package/types/theme/components/drawer.d.ts +0 -0
  268. package/types/theme/components/empty.d.ts +1 -1
  269. package/types/theme/components/error.d.ts +1 -1
  270. package/types/theme/components/fab.d.ts +1 -1
  271. package/types/theme/components/icon.d.ts +0 -0
  272. package/types/theme/components/image.d.ts +0 -0
  273. package/types/theme/components/list.d.ts +0 -0
  274. package/types/theme/components/pageControl.d.ts +0 -0
  275. package/types/theme/components/pinInput.d.ts +1 -1
  276. package/types/theme/components/progress.d.ts +0 -0
  277. package/types/theme/components/radio.d.ts +0 -0
  278. package/types/theme/components/refreshControl.d.ts +0 -0
  279. package/types/theme/components/richTextEditor.d.ts +0 -0
  280. package/types/theme/components/sectionHeading.d.ts +0 -0
  281. package/types/theme/components/select.d.ts +0 -0
  282. package/types/theme/components/skeleton.d.ts +0 -0
  283. package/types/theme/components/slider.d.ts +18 -0
  284. package/types/theme/components/spinner.d.ts +0 -0
  285. package/types/theme/components/success.d.ts +1 -1
  286. package/types/theme/components/swipeable.d.ts +0 -0
  287. package/types/theme/components/switch.d.ts +0 -0
  288. package/types/theme/components/tabs.d.ts +0 -0
  289. package/types/theme/components/tag.d.ts +1 -1
  290. package/types/theme/components/textInput.d.ts +0 -0
  291. package/types/theme/components/timePicker.d.ts +0 -0
  292. package/types/theme/components/toast.d.ts +0 -0
  293. package/types/theme/components/toolbar.d.ts +0 -0
  294. package/types/theme/components/typography.d.ts +0 -0
  295. package/types/theme/getTheme.d.ts +1 -1
  296. package/types/theme/global/borders.d.ts +0 -0
  297. package/types/theme/global/colors/eBens.d.ts +0 -0
  298. package/types/theme/global/colors/global.d.ts +0 -0
  299. package/types/theme/global/colors/globalDark.d.ts +0 -0
  300. package/types/theme/global/colors/jobs.d.ts +0 -0
  301. package/types/theme/global/colors/swag.d.ts +0 -0
  302. package/types/theme/global/colors/swagDark.d.ts +0 -0
  303. package/types/theme/global/colors/types.d.ts +3 -3
  304. package/types/theme/global/colors/wallet.d.ts +0 -0
  305. package/types/theme/global/colors/work.d.ts +0 -0
  306. package/types/theme/global/index.d.ts +4 -4
  307. package/types/theme/global/scale.d.ts +1 -1
  308. package/types/theme/global/shadows.d.ts +1 -1
  309. package/types/theme/global/sizes.d.ts +0 -0
  310. package/types/theme/global/space.d.ts +0 -0
  311. package/types/theme/global/typography.d.ts +1 -1
  312. package/types/theme/index.d.ts +0 -0
  313. package/types/types.d.ts +2 -1
  314. package/types/utils/functions.d.ts +0 -0
  315. package/types/utils/helpers.d.ts +0 -0
  316. package/types/utils/hooks.d.ts +0 -0
  317. package/types/utils/scale.d.ts +0 -0
  318. /package/src/components/Slider/__tests__/__snapshots__/{index.spec.tsx.snap → Single.spec.tsx.snap} +0 -0
@@ -1,58 +1,58 @@
1
1
  import { TextInput, View, Animated } from 'react-native';
2
- export type State = 'default' | 'filled' | 'disabled' | 'readonly' | 'error';
3
- type Variant = 'text' | 'textarea';
2
+ export declare type State = 'default' | 'filled' | 'disabled' | 'readonly' | 'error';
3
+ declare type Variant = 'text' | 'textarea';
4
4
  declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
5
- theme?: import("@emotion/react").Theme;
6
- as?: React.ElementType;
5
+ theme?: import("@emotion/react").Theme | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  }, {}, {
8
8
  ref?: import("react").Ref<View> | undefined;
9
9
  }>;
10
10
  declare const StyledLabelContainerInsideTextInput: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
11
- theme?: import("@emotion/react").Theme;
12
- as?: React.ElementType;
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
13
  } & {
14
14
  themeVariant: Variant;
15
15
  }, {}, {}>;
16
16
  declare const StyledLabelInsideTextInput: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
17
- theme?: import("@emotion/react").Theme;
18
- as?: React.ElementType;
17
+ theme?: import("@emotion/react").Theme | undefined;
18
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
19
  } & {
20
20
  themeState: State;
21
21
  }, {}, {}>;
22
22
  declare const StyledAsteriskLabelInsideTextInput: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
23
- theme?: import("@emotion/react").Theme;
24
- as?: React.ElementType;
23
+ theme?: import("@emotion/react").Theme | undefined;
24
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
25
25
  } & {
26
26
  themeState: State;
27
27
  }, {}, {}>;
28
28
  declare const StyledErrorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
29
- theme?: import("@emotion/react").Theme;
30
- as?: React.ElementType;
29
+ theme?: import("@emotion/react").Theme | undefined;
30
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
31
31
  }, {}, {
32
32
  ref?: import("react").Ref<View> | undefined;
33
33
  }>;
34
34
  declare const StyledError: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
35
- theme?: import("@emotion/react").Theme;
36
- as?: React.ElementType;
35
+ theme?: import("@emotion/react").Theme | undefined;
36
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
37
37
  }, {}, {}>;
38
38
  declare const StyledMaxLengthMessage: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
39
- theme?: import("@emotion/react").Theme;
40
- as?: React.ElementType;
39
+ theme?: import("@emotion/react").Theme | undefined;
40
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
41
41
  } & {
42
42
  themeState: State;
43
43
  }, {}, {}>;
44
44
  declare const StyledHelperText: ({ children, fontWeight, intent, allowFontScaling, ...nativeProps }: import("../Typography/Caption").CaptionProps) => import("react").JSX.Element;
45
45
  declare const StyledTextInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
46
- theme?: import("@emotion/react").Theme;
47
- as?: React.ElementType;
46
+ theme?: import("@emotion/react").Theme | undefined;
47
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
48
48
  } & {
49
49
  themeVariant: Variant;
50
50
  }, {}, {
51
51
  ref?: import("react").Ref<TextInput> | undefined;
52
52
  }>;
53
53
  declare const StyledBorderBackDrop: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
54
- theme?: import("@emotion/react").Theme;
55
- as?: React.ElementType;
54
+ theme?: import("@emotion/react").Theme | undefined;
55
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
56
56
  } & {
57
57
  themeState: State;
58
58
  themeFocused: boolean;
@@ -60,26 +60,26 @@ declare const StyledBorderBackDrop: import("@emotion/native").StyledComponent<im
60
60
  ref?: import("react").Ref<View> | undefined;
61
61
  }>;
62
62
  declare const StyledTextInputContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
63
- theme?: import("@emotion/react").Theme;
64
- as?: React.ElementType;
63
+ theme?: import("@emotion/react").Theme | undefined;
64
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
65
65
  }, {}, {
66
66
  ref?: import("react").Ref<View> | undefined;
67
67
  }>;
68
68
  declare const StyledTextInputAndLabelContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
69
- theme?: import("@emotion/react").Theme;
70
- as?: React.ElementType;
69
+ theme?: import("@emotion/react").Theme | undefined;
70
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
71
71
  }, {}, {
72
72
  ref?: import("react").Ref<View> | undefined;
73
73
  }>;
74
74
  declare const StyledErrorAndHelpTextContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
75
- theme?: import("@emotion/react").Theme;
76
- as?: React.ElementType;
75
+ theme?: import("@emotion/react").Theme | undefined;
76
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
77
77
  }, {}, {
78
78
  ref?: import("react").Ref<View> | undefined;
79
79
  }>;
80
80
  declare const StyledErrorAndMaxLengthContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
81
- theme?: import("@emotion/react").Theme;
82
- as?: React.ElementType;
81
+ theme?: import("@emotion/react").Theme | undefined;
82
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
83
83
  }, {}, {
84
84
  ref?: import("react").Ref<View> | undefined;
85
85
  }>;
@@ -3,8 +3,8 @@ import { TextInput as RNTextInput } from 'react-native';
3
3
  import type { TextInputProps as NativeTextInputProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
4
4
  import type { State } from './StyledTextInput';
5
5
  import type { IconName } from '../Icon';
6
- export type TextInputHandles = Pick<RNTextInput, 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps'>;
7
- export type TextInputVariant = 'text' | 'textarea';
6
+ export declare type TextInputHandles = Pick<RNTextInput, 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps'>;
7
+ export declare type TextInputVariant = 'text' | 'textarea';
8
8
  export interface TextInputProps extends NativeTextInputProps {
9
9
  /**
10
10
  * Field label.
@@ -85,38 +85,38 @@ export interface TextInputProps extends NativeTextInputProps {
85
85
  variant?: TextInputVariant;
86
86
  }
87
87
  export declare const getState: ({ disabled, error, editable, loading, isEmptyValue, }: {
88
- disabled?: boolean;
89
- error?: string;
90
- editable?: boolean;
88
+ disabled?: boolean | undefined;
89
+ error?: string | undefined;
90
+ editable?: boolean | undefined;
91
91
  loading: boolean;
92
- isFocused?: boolean;
93
- isEmptyValue?: boolean;
92
+ isFocused?: boolean | undefined;
93
+ isEmptyValue?: boolean | undefined;
94
94
  }) => State;
95
95
  export declare const LABEL_ANIMATION_DURATION = 150;
96
96
  export declare const renderErrorOrHelpText: ({ error, helpText, }: {
97
- error?: string;
98
- helpText?: string;
97
+ error?: string | undefined;
98
+ helpText?: string | undefined;
99
99
  }) => false | React.JSX.Element;
100
100
  export declare const renderInput: ({ variant, nativeInputProps, renderInputValue, ref, }: {
101
101
  variant: TextInputVariant;
102
102
  nativeInputProps: NativeTextInputProps;
103
- multiline?: boolean;
104
- renderInputValue?: (inputProps: NativeTextInputProps) => React.ReactNode;
105
- ref?: React.Ref<RNTextInput>;
103
+ multiline?: boolean | undefined;
104
+ renderInputValue?: ((inputProps: NativeTextInputProps) => React.ReactNode) | undefined;
105
+ ref?: React.Ref<RNTextInput> | undefined;
106
106
  }) => string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
107
107
  export declare const renderSuffix: ({ state, loading, suffix, }: {
108
108
  state: State;
109
109
  loading: boolean;
110
- suffix?: IconName | React.ReactElement;
111
- }) => "number" | "swag" | "wallet" | React.JSX.Element | "bold" | "menu" | "filter" | "image" | "switch" | "target" | "restart" | "list" | "loading" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "billing" | "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" | "directory" | "document" | "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" | "feed" | "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" | "file" | "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" | "home" | "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" | "send" | "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" | "user" | "video-1" | "video-2" | "accommodation-outlined" | "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" | "automotive-outlined" | "bakery-outlined" | "bar-outlined" | "beauty-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" | "cultural-site-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" | "electronics-outlined" | "email-outlined" | "end-break-outlined" | "enter-arrow" | "entertainment-outlined" | "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" | "fitness-outlined" | "folder-outlined" | "folder-upload-outlined" | "folder-user-outlined" | "form-outlined" | "funnel-filter-outline" | "goal-outlined" | "graph-outlined" | "grocery-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" | "park-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" | "restaurant-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" | "shop-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" | "sync" | "tag-outlined" | "target-outlined" | "tennis-outlined" | "thumb-down-outlined" | "ticket-outlined" | "timesheet-outlined" | "timesheets-outlined" | "today-outlined" | "transfer" | "transportation-outlined" | "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;
110
+ 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" | "accommodation-outlined" | "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" | "automotive-outlined" | "bakery-outlined" | "bar-outlined" | "beauty-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" | "cultural-site-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" | "electronics-outlined" | "email-outlined" | "end-break-outlined" | "enter-arrow" | "entertainment-outlined" | "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" | "fitness-outlined" | "folder-outlined" | "folder-upload-outlined" | "folder-user-outlined" | "form-outlined" | "funnel-filter-outline" | "goal-outlined" | "graph-outlined" | "grocery-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" | "park-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" | "restaurant-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" | "shop-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" | "transportation-outlined" | "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;
111
+ }) => "number" | "swag" | "wallet" | React.JSX.Element | "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" | "accommodation-outlined" | "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" | "automotive-outlined" | "bakery-outlined" | "bar-outlined" | "beauty-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" | "cultural-site-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" | "electronics-outlined" | "email-outlined" | "end-break-outlined" | "enter-arrow" | "entertainment-outlined" | "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" | "fitness-outlined" | "folder-outlined" | "folder-upload-outlined" | "folder-user-outlined" | "form-outlined" | "funnel-filter-outline" | "goal-outlined" | "graph-outlined" | "grocery-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" | "park-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" | "restaurant-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" | "shop-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" | "transportation-outlined" | "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;
112
112
  export declare const renderPrefix: ({ state, prefix, }: {
113
113
  state: State;
114
- prefix?: IconName | React.ReactElement;
114
+ 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" | "accommodation-outlined" | "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" | "automotive-outlined" | "bakery-outlined" | "bar-outlined" | "beauty-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" | "cultural-site-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" | "electronics-outlined" | "email-outlined" | "end-break-outlined" | "enter-arrow" | "entertainment-outlined" | "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" | "fitness-outlined" | "folder-outlined" | "folder-upload-outlined" | "folder-user-outlined" | "form-outlined" | "funnel-filter-outline" | "goal-outlined" | "graph-outlined" | "grocery-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" | "park-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" | "restaurant-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" | "shop-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" | "transportation-outlined" | "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;
115
115
  }) => React.JSX.Element | undefined;
116
116
  export declare const renderMaxLengthMessage: ({ maxLength, state, currentLength, hideCharacterCount, }: {
117
117
  state: State;
118
118
  currentLength: number;
119
- maxLength?: number;
119
+ maxLength?: number | undefined;
120
120
  hideCharacterCount: boolean;
121
121
  }) => false | React.JSX.Element;
122
122
  export declare const getDisplayText: (value?: string, defaultValue?: string) => string;
@@ -1,8 +1,8 @@
1
1
  import { View } from 'react-native';
2
2
  import type { ViewProps } from 'react-native';
3
3
  declare const StyledPickerWrapper: import("@emotion/native").StyledComponent<ViewProps & {
4
- theme?: import("@emotion/react").Theme;
5
- as?: React.ElementType;
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  }, {}, {
7
7
  ref?: import("react").Ref<View> | undefined;
8
8
  }>;
File without changes
File without changes
File without changes
@@ -4,55 +4,55 @@ import { IntentType } from './types';
4
4
  import { TextProps } from '../Typography/Text';
5
5
  import { IconProps } from '../Icon';
6
6
  declare const ToastContainerWrapper: import("@emotion/native").StyledComponent<ViewProps & {
7
- theme?: import("@emotion/react").Theme;
8
- as?: React.ElementType;
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
9
  } & {
10
- position: "top" | "bottom";
10
+ position: 'top' | 'bottom';
11
11
  }, {}, {
12
12
  ref?: import("react").Ref<View> | undefined;
13
13
  }>;
14
14
  declare const Container: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
15
- theme?: import("@emotion/react").Theme;
16
- as?: React.ElementType;
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
17
17
  } & {
18
- themeVariant: "default" | "round";
18
+ themeVariant: 'default' | 'round';
19
19
  themeIntent: IntentType;
20
20
  }, {}, {}>;
21
21
  declare const IconContainer: import("@emotion/native").StyledComponent<ViewProps & {
22
- theme?: import("@emotion/react").Theme;
23
- as?: React.ElementType;
22
+ theme?: import("@emotion/react").Theme | undefined;
23
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
24
24
  }, {}, {
25
25
  ref?: import("react").Ref<View> | undefined;
26
26
  }>;
27
27
  declare const TextContainer: import("@emotion/native").StyledComponent<ViewProps & {
28
- theme?: import("@emotion/react").Theme;
29
- as?: React.ElementType;
28
+ theme?: import("@emotion/react").Theme | undefined;
29
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
30
30
  }, {}, {
31
31
  ref?: import("react").Ref<View> | undefined;
32
32
  }>;
33
33
  declare const ContentContainer: import("@emotion/native").StyledComponent<ViewProps & {
34
- theme?: import("@emotion/react").Theme;
35
- as?: React.ElementType;
34
+ theme?: import("@emotion/react").Theme | undefined;
35
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
36
36
  } & {
37
37
  showDivider: boolean;
38
38
  }, {}, {
39
39
  ref?: import("react").Ref<View> | undefined;
40
40
  }>;
41
41
  declare const CTAWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
42
- theme?: import("@emotion/react").Theme;
43
- as?: React.ElementType;
42
+ theme?: import("@emotion/react").Theme | undefined;
43
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
44
44
  }, {}, {
45
45
  ref?: import("react").Ref<TouchableOpacity> | undefined;
46
46
  }>;
47
47
  declare const StyledBody: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
48
- theme?: import("@emotion/react").Theme;
49
- as?: React.ElementType;
48
+ theme?: import("@emotion/react").Theme | undefined;
49
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
50
50
  } & TextProps & {
51
51
  themeIntent: IntentType;
52
52
  }, {}, {}>;
53
53
  declare const StyledIcon: import("@emotion/native").StyledComponent<IconProps & {
54
- theme?: import("@emotion/react").Theme;
55
- as?: React.ElementType;
54
+ theme?: import("@emotion/react").Theme | undefined;
55
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
56
56
  } & {
57
57
  themeIntent: IntentType;
58
58
  }, {}, {}>;
File without changes
File without changes
@@ -1,12 +1,12 @@
1
1
  import type { ToastContainerProps, ToastProps } from './types';
2
- export type ToastControllerContextType = {
2
+ export declare type ToastControllerContextType = {
3
3
  show: (props: Omit<ToastProps, 'position'>) => string;
4
4
  hide: (id: string) => void;
5
5
  clearAll: () => void;
6
6
  };
7
7
  export declare const fallbackToastControlContext: ToastControllerContextType;
8
8
  export declare const ToastContext: import("react").Context<ToastControllerContextType>;
9
- export type ToastConfigContextType = Pick<ToastContainerProps, 'position' | 'displayType'>;
9
+ export declare type ToastConfigContextType = Pick<ToastContainerProps, 'position' | 'displayType'>;
10
10
  export declare const ToastConfigContext: import("react").Context<ToastConfigContextType>;
11
11
  export declare const useToastConfig: () => ToastConfigContextType;
12
12
  export declare const useToast: () => ToastControllerContextType;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { ReactNode } from 'react';
3
3
  import type { ToastContainerProps } from './types';
4
- type ToastProviderProps = {
4
+ declare type ToastProviderProps = {
5
5
  /**
6
6
  * Content to be wrapped.
7
7
  */
File without changes
@@ -1,7 +1,7 @@
1
1
  import type { ReactElement } from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
3
  import type { IconName } from '../Icon';
4
- export type IntentType = 'success' | 'info' | 'warning' | 'error' | 'notification' | 'snackbar';
4
+ export declare type IntentType = 'success' | 'info' | 'warning' | 'error' | 'notification' | 'snackbar';
5
5
  export interface ToastProps {
6
6
  /**
7
7
  * Toast content.
@@ -66,7 +66,7 @@ export interface ToastContainerProps {
66
66
  */
67
67
  style?: StyleProp<ViewStyle>;
68
68
  }
69
- export type ToastItemProps = {
69
+ export declare type ToastItemProps = {
70
70
  id: string;
71
71
  props: Omit<ToastProps, 'position'>;
72
72
  };
@@ -1,70 +1,70 @@
1
1
  import { TextInput, TouchableOpacity, View } from 'react-native';
2
2
  import type { ViewProps } from 'react-native';
3
3
  import { BodyProps } from '../Typography/Body';
4
- export type ToolbarMessageState = 'default' | 'filled' | 'disabled' | 'readonly';
4
+ export declare type ToolbarMessageState = 'default' | 'filled' | 'disabled' | 'readonly';
5
5
  declare const ToolbarWrapper: import("@emotion/native").StyledComponent<ViewProps & {
6
- theme?: import("@emotion/react").Theme;
7
- as?: React.ElementType;
6
+ theme?: import("@emotion/react").Theme | undefined;
7
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
8
  }, {}, {
9
9
  ref?: import("react").Ref<View> | undefined;
10
10
  }>;
11
11
  declare const ToolbarGroupWrapper: import("@emotion/native").StyledComponent<ViewProps & {
12
- theme?: import("@emotion/react").Theme;
13
- as?: React.ElementType;
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
14
14
  } & {
15
- align: "left" | "center" | "right";
15
+ align: 'left' | 'center' | 'right';
16
16
  }, {}, {
17
17
  ref?: import("react").Ref<View> | undefined;
18
18
  }>;
19
19
  declare const ToolbarItemWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
20
- theme?: import("@emotion/react").Theme;
21
- as?: React.ElementType;
20
+ theme?: import("@emotion/react").Theme | undefined;
21
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
22
22
  }, {}, {
23
23
  ref?: import("react").Ref<TouchableOpacity> | undefined;
24
24
  }>;
25
25
  declare const IconButtonWrapper: import("@emotion/native").StyledComponent<ViewProps & {
26
- theme?: import("@emotion/react").Theme;
27
- as?: React.ElementType;
26
+ theme?: import("@emotion/react").Theme | undefined;
27
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
28
28
  }, {}, {
29
29
  ref?: import("react").Ref<View> | undefined;
30
30
  }>;
31
31
  declare const IconButtonLabel: import("@emotion/native").StyledComponent<BodyProps & {
32
- theme?: import("@emotion/react").Theme;
33
- as?: React.ElementType;
32
+ theme?: import("@emotion/react").Theme | undefined;
33
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
34
34
  }, {}, {}>;
35
35
  declare const StyledLabel: import("@emotion/native").StyledComponent<BodyProps & {
36
- theme?: import("@emotion/react").Theme;
37
- as?: React.ElementType;
36
+ theme?: import("@emotion/react").Theme | undefined;
37
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
38
38
  } & {
39
- intent: Exclude<BodyProps["intent"], undefined>;
39
+ intent: Exclude<BodyProps['intent'], undefined>;
40
40
  }, {}, {}>;
41
41
  declare const ToolbarMessageWrapper: import("@emotion/native").StyledComponent<ViewProps & {
42
- theme?: import("@emotion/react").Theme;
43
- as?: React.ElementType;
42
+ theme?: import("@emotion/react").Theme | undefined;
43
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
44
44
  }, {}, {
45
45
  ref?: import("react").Ref<View> | undefined;
46
46
  }>;
47
47
  export declare const StyledInputContainer: import("@emotion/native").StyledComponent<ViewProps & {
48
- theme?: import("@emotion/react").Theme;
49
- as?: React.ElementType;
48
+ theme?: import("@emotion/react").Theme | undefined;
49
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
50
50
  }, {}, {
51
51
  ref?: import("react").Ref<View> | undefined;
52
52
  }>;
53
53
  export declare const StyledInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
54
- theme?: import("@emotion/react").Theme;
55
- as?: React.ElementType;
54
+ theme?: import("@emotion/react").Theme | undefined;
55
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
56
56
  }, {}, {
57
57
  ref?: import("react").Ref<TextInput> | undefined;
58
58
  }>;
59
59
  export declare const StyledPrefix: import("@emotion/native").StyledComponent<ViewProps & {
60
- theme?: import("@emotion/react").Theme;
61
- as?: React.ElementType;
60
+ theme?: import("@emotion/react").Theme | undefined;
61
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
62
62
  }, {}, {
63
63
  ref?: import("react").Ref<View> | undefined;
64
64
  }>;
65
65
  export declare const StyledSuffix: import("@emotion/native").StyledComponent<ViewProps & {
66
- theme?: import("@emotion/react").Theme;
67
- as?: React.ElementType;
66
+ theme?: import("@emotion/react").Theme | undefined;
67
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
68
68
  }, {}, {
69
69
  ref?: import("react").Ref<View> | undefined;
70
70
  }>;
File without changes
File without changes
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { TextInput as RNTextInput } from 'react-native';
3
3
  import type { TextInputProps as NativeTextInputProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
4
4
  import { ToolbarMessageState } from './StyledToolbar';
5
- export type ToolbarMessageHandles = Pick<RNTextInput, 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps'>;
5
+ export declare type ToolbarMessageHandles = Pick<RNTextInput, 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps'>;
6
6
  export interface ToolbarMessageProps extends NativeTextInputProps {
7
7
  /**
8
8
  * Element to render on the left side of the input, before the user's cursor.
@@ -51,9 +51,9 @@ export interface ToolbarMessageProps extends NativeTextInputProps {
51
51
  ref?: React.Ref<ToolbarMessageHandles>;
52
52
  }
53
53
  export declare const getState: ({ disabled, editable, isEmptyValue, }: {
54
- disabled?: boolean;
55
- editable?: boolean;
56
- isEmptyValue?: boolean;
54
+ disabled?: boolean | undefined;
55
+ editable?: boolean | undefined;
56
+ isEmptyValue?: boolean | undefined;
57
57
  }) => ToolbarMessageState;
58
58
  declare const ToolbarMessage: React.ForwardRefExoticComponent<Omit<ToolbarMessageProps, "ref"> & React.RefAttributes<ToolbarMessageHandles>>;
59
59
  export default ToolbarMessage;
File without changes
@@ -1,12 +1,12 @@
1
1
  import { Text } from 'react-native';
2
2
  import { ThemeIntent } from '../types';
3
- type ThemeVariant = 'small' | 'small-bold' | 'regular' | 'regular-bold';
3
+ declare type ThemeVariant = 'small' | 'small-bold' | 'regular' | 'regular-bold';
4
4
  declare const StyledBody: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
5
- theme?: import("@emotion/react").Theme;
6
- as?: React.ElementType;
5
+ theme?: import("@emotion/react").Theme | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  } & {
8
8
  themeIntent: ThemeIntent;
9
- themeTypeface: "neutral" | "playful";
9
+ themeTypeface: 'neutral' | 'playful';
10
10
  themeVariant: ThemeVariant;
11
11
  }, {}, {
12
12
  ref?: import("react").Ref<Text> | undefined;
@@ -1,10 +1,10 @@
1
1
  import { Text } from 'react-native';
2
2
  import { ThemeIntent } from '../types';
3
3
  declare const StyledCaption: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
4
- theme?: import("@emotion/react").Theme;
5
- as?: React.ElementType;
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
- themeFontWeight: "regular" | "semi-bold";
7
+ themeFontWeight: 'regular' | 'semi-bold';
8
8
  themeIntent: ThemeIntent;
9
9
  }, {}, {
10
10
  ref?: import("react").Ref<Text> | undefined;
@@ -1,8 +1,8 @@
1
1
  import { Text } from 'react-native';
2
2
  import { ThemeIntent } from '../types';
3
3
  declare const StyledLabel: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
4
- theme?: import("@emotion/react").Theme;
5
- as?: React.ElementType;
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
7
  themeIntent: ThemeIntent;
8
8
  }, {}, {