@hero-design/rn 8.0.0-rc.0 → 8.0.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 (325) hide show
  1. package/.eslintrc.js +2 -1
  2. package/.turbo/turbo-build.log +9 -9
  3. package/assets/fonts/{RebondGrotesque-Regular.otf → RebondGrotesque.otf} +0 -0
  4. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  5. package/es/index.js +437 -617
  6. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  7. package/lib/index.js +436 -616
  8. package/package.json +9 -7
  9. package/src/components/Alert/StyledAlert.tsx +2 -3
  10. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +6 -12
  11. package/src/components/Alert/index.tsx +3 -23
  12. package/src/components/BottomSheet/StyledBottomSheet.tsx +0 -1
  13. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +4 -6
  14. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +4 -26
  15. package/src/components/Button/Button.tsx +7 -16
  16. package/src/components/Button/StyledButton.tsx +0 -46
  17. package/src/components/Button/__tests__/Button.spec.tsx +10 -11
  18. package/src/components/Button/__tests__/StyledButton.spec.tsx +0 -3
  19. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +0 -91
  20. package/src/components/Card/StyledCard.tsx +2 -11
  21. package/src/components/Card/__tests__/StyledCard.spec.tsx +2 -14
  22. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +0 -32
  23. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
  24. package/src/components/Card/__tests__/index.spec.tsx +1 -13
  25. package/src/components/Card/index.tsx +5 -26
  26. package/src/components/DatePicker/DatePickerAndroid.tsx +4 -0
  27. package/src/components/DatePicker/DatePickerIOS.tsx +9 -11
  28. package/src/components/DatePicker/__tests__/DatePicker.spec.tsx +4 -0
  29. package/src/components/DatePicker/__tests__/DatePickerAndroid.spec.tsx +4 -0
  30. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +3 -0
  31. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +31 -12
  32. package/src/components/DatePicker/types.ts +8 -0
  33. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  34. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  35. package/src/components/Icon/IconList.ts +0 -8
  36. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +5 -7
  37. package/src/components/Progress/ProgressCircle.tsx +1 -1
  38. package/src/components/Select/Footer.tsx +2 -7
  39. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +120 -50
  40. package/src/components/Select/MultiSelect/index.tsx +1 -20
  41. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
  42. package/src/components/Select/SingleSelect/index.tsx +5 -24
  43. package/src/components/Select/StyledSelect.tsx +1 -12
  44. package/src/components/Select/types.ts +1 -11
  45. package/src/components/Switch/StyledSwitch.tsx +7 -12
  46. package/src/components/Switch/__tests__/StyledSwitch.spec.tsx +2 -2
  47. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +10 -15
  48. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -12
  49. package/src/components/Switch/index.tsx +6 -22
  50. package/src/components/Tabs/ScrollableTabs.tsx +1 -6
  51. package/src/components/Tabs/TabWithBadge.tsx +1 -15
  52. package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +3 -1
  53. package/src/components/Tabs/__tests__/TabWithBadge.spec.tsx +0 -12
  54. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +4 -3
  55. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +0 -70
  56. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1 -2
  57. package/src/components/Tabs/__tests__/index.spec.tsx +3 -1
  58. package/src/components/Tabs/index.tsx +12 -24
  59. package/src/components/Tag/StyledTag.tsx +0 -1
  60. package/src/components/Tag/__tests__/Tag.spec.tsx +0 -9
  61. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +0 -40
  62. package/src/components/Tag/index.tsx +3 -16
  63. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
  64. package/src/components/TextInput/__tests__/index.spec.tsx +4 -2
  65. package/src/components/TextInput/index.tsx +7 -1
  66. package/src/components/TimePicker/TimePickerIOS.tsx +5 -11
  67. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +1 -0
  68. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +31 -12
  69. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
  70. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +9 -72
  71. package/src/theme/components/bottomSheet.ts +2 -3
  72. package/src/theme/components/select.ts +1 -5
  73. package/src/theme/components/switch.ts +4 -14
  74. package/src/theme/components/tag.ts +0 -2
  75. package/src/theme/global/colors/swag.ts +1 -20
  76. package/src/theme/global/colors/types.ts +1 -58
  77. package/src/theme/global/typography.ts +1 -1
  78. package/src/utils/hooks.ts +1 -1
  79. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  80. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  81. package/types/components/Accordion/index.d.ts +0 -0
  82. package/types/components/Alert/StyledAlert.d.ts +0 -1
  83. package/types/components/Alert/index.d.ts +1 -6
  84. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  85. package/types/components/Attachment/index.d.ts +0 -0
  86. package/types/components/Avatar/Avatar.d.ts +0 -0
  87. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  88. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  89. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  90. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  91. package/types/components/Avatar/index.d.ts +0 -0
  92. package/types/components/Badge/Status.d.ts +0 -0
  93. package/types/components/Badge/StyledBadge.d.ts +0 -0
  94. package/types/components/Badge/index.d.ts +0 -0
  95. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  96. package/types/components/BottomNavigation/index.d.ts +0 -0
  97. package/types/components/BottomSheet/Footer.d.ts +0 -0
  98. package/types/components/BottomSheet/Header.d.ts +0 -0
  99. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  100. package/types/components/BottomSheet/index.d.ts +0 -0
  101. package/types/components/Box/StyledBox.d.ts +0 -0
  102. package/types/components/Box/config.d.ts +0 -0
  103. package/types/components/Box/index.d.ts +0 -0
  104. package/types/components/Box/types.d.ts +0 -0
  105. package/types/components/Button/Button.d.ts +2 -3
  106. package/types/components/Button/IconButton.d.ts +0 -0
  107. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  108. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  109. package/types/components/Button/StyledButton.d.ts +1 -1
  110. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  111. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  112. package/types/components/Button/index.d.ts +0 -0
  113. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  114. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  115. package/types/components/Calendar/helpers.d.ts +0 -0
  116. package/types/components/Calendar/index.d.ts +0 -0
  117. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  118. package/types/components/Card/DataCard/index.d.ts +0 -0
  119. package/types/components/Card/StyledCard.d.ts +1 -8
  120. package/types/components/Card/index.d.ts +2 -8
  121. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  122. package/types/components/Checkbox/index.d.ts +0 -0
  123. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  124. package/types/components/Collapse/index.d.ts +0 -0
  125. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  126. package/types/components/ContentNavigator/index.d.ts +0 -0
  127. package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
  128. package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
  129. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  130. package/types/components/DatePicker/index.d.ts +0 -0
  131. package/types/components/DatePicker/types.d.ts +8 -0
  132. package/types/components/Divider/StyledDivider.d.ts +0 -0
  133. package/types/components/Divider/index.d.ts +0 -0
  134. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  135. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  136. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  137. package/types/components/Drawer/index.d.ts +0 -0
  138. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  139. package/types/components/Empty/index.d.ts +0 -0
  140. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  141. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  142. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  143. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  144. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  145. package/types/components/FAB/FAB.d.ts +0 -0
  146. package/types/components/FAB/StyledFAB.d.ts +0 -0
  147. package/types/components/FAB/index.d.ts +0 -0
  148. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  149. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  150. package/types/components/Icon/IconList.d.ts +1 -1
  151. package/types/components/Icon/index.d.ts +1 -1
  152. package/types/components/Icon/utils.d.ts +1 -1
  153. package/types/components/Image/index.d.ts +0 -0
  154. package/types/components/List/BasicListItem.d.ts +0 -0
  155. package/types/components/List/ListItem.d.ts +0 -0
  156. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  157. package/types/components/List/StyledListItem.d.ts +0 -0
  158. package/types/components/List/index.d.ts +0 -0
  159. package/types/components/PinInput/PinCell.d.ts +0 -0
  160. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  161. package/types/components/PinInput/index.d.ts +0 -0
  162. package/types/components/Progress/ProgressBar.d.ts +0 -0
  163. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  164. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  165. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  166. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  167. package/types/components/Progress/constants.d.ts +0 -0
  168. package/types/components/Progress/index.d.ts +0 -0
  169. package/types/components/Progress/types.d.ts +0 -0
  170. package/types/components/Radio/Radio.d.ts +0 -0
  171. package/types/components/Radio/RadioGroup.d.ts +0 -0
  172. package/types/components/Radio/StyledRadio.d.ts +0 -0
  173. package/types/components/Radio/index.d.ts +0 -0
  174. package/types/components/Radio/types.d.ts +0 -0
  175. package/types/components/RefreshControl/index.d.ts +0 -0
  176. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  177. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  178. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  179. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  180. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  181. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  182. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  183. package/types/components/RichTextEditor/constants.d.ts +0 -0
  184. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  185. package/types/components/RichTextEditor/index.d.ts +0 -0
  186. package/types/components/RichTextEditor/types.d.ts +0 -0
  187. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  188. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  189. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  190. package/types/components/SectionHeading/index.d.ts +0 -0
  191. package/types/components/Select/BaseOptionList.d.ts +0 -0
  192. package/types/components/Select/Footer.d.ts +0 -0
  193. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  194. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  195. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  196. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  197. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  198. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  199. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  200. package/types/components/Select/StyledSelect.d.ts +1 -5
  201. package/types/components/Select/helpers.d.ts +0 -0
  202. package/types/components/Select/index.d.ts +1 -1
  203. package/types/components/Select/types.d.ts +1 -11
  204. package/types/components/Slider/index.d.ts +0 -0
  205. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  206. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  207. package/types/components/Spinner/index.d.ts +0 -0
  208. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  209. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  210. package/types/components/Swipeable/index.d.ts +0 -0
  211. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  212. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  213. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  214. package/types/components/Switch/StyledSwitch.d.ts +0 -4
  215. package/types/components/Switch/index.d.ts +1 -6
  216. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  217. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  218. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  219. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  220. package/types/components/Tabs/TabWithBadge.d.ts +1 -2
  221. package/types/components/Tabs/index.d.ts +2 -3
  222. package/types/components/Tabs/utils.d.ts +0 -0
  223. package/types/components/Tag/StyledTag.d.ts +1 -1
  224. package/types/components/Tag/index.d.ts +2 -2
  225. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  226. package/types/components/TextInput/index.d.ts +0 -0
  227. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  228. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  229. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  230. package/types/components/TimePicker/index.d.ts +0 -0
  231. package/types/components/TimePicker/types.d.ts +0 -0
  232. package/types/components/Toast/StyledToast.d.ts +0 -0
  233. package/types/components/Toast/Toast.d.ts +0 -0
  234. package/types/components/Toast/ToastContainer.d.ts +0 -0
  235. package/types/components/Toast/ToastContext.d.ts +0 -0
  236. package/types/components/Toast/ToastProvider.d.ts +0 -0
  237. package/types/components/Toast/index.d.ts +0 -0
  238. package/types/components/Toast/types.d.ts +0 -0
  239. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  240. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  241. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  242. package/types/components/Toolbar/index.d.ts +0 -0
  243. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  244. package/types/components/Typography/Text/index.d.ts +0 -0
  245. package/types/components/Typography/index.d.ts +0 -0
  246. package/types/index.d.ts +0 -0
  247. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  248. package/types/theme/ThemeProvider.d.ts +0 -0
  249. package/types/theme/ThemeSwitcher.d.ts +0 -0
  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 +0 -0
  255. package/types/theme/components/bottomNavigation.d.ts +0 -0
  256. package/types/theme/components/bottomSheet.d.ts +0 -1
  257. package/types/theme/components/button.d.ts +0 -0
  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/checkbox.d.ts +0 -0
  261. package/types/theme/components/contentNavigator.d.ts +0 -0
  262. package/types/theme/components/datePicker.d.ts +0 -0
  263. package/types/theme/components/divider.d.ts +0 -0
  264. package/types/theme/components/drawer.d.ts +0 -0
  265. package/types/theme/components/empty.d.ts +0 -0
  266. package/types/theme/components/fab.d.ts +0 -0
  267. package/types/theme/components/icon.d.ts +0 -0
  268. package/types/theme/components/image.d.ts +0 -0
  269. package/types/theme/components/list.d.ts +0 -0
  270. package/types/theme/components/pinInput.d.ts +0 -0
  271. package/types/theme/components/progress.d.ts +0 -0
  272. package/types/theme/components/radio.d.ts +0 -0
  273. package/types/theme/components/refreshControl.d.ts +0 -0
  274. package/types/theme/components/richTextEditor.d.ts +0 -0
  275. package/types/theme/components/sectionHeading.d.ts +0 -0
  276. package/types/theme/components/select.d.ts +0 -3
  277. package/types/theme/components/slider.d.ts +0 -0
  278. package/types/theme/components/spinner.d.ts +0 -0
  279. package/types/theme/components/swipeable.d.ts +0 -0
  280. package/types/theme/components/switch.d.ts +4 -14
  281. package/types/theme/components/tabs.d.ts +0 -0
  282. package/types/theme/components/tag.d.ts +0 -2
  283. package/types/theme/components/textInput.d.ts +0 -0
  284. package/types/theme/components/timePicker.d.ts +0 -0
  285. package/types/theme/components/toast.d.ts +0 -0
  286. package/types/theme/components/toolbar.d.ts +0 -0
  287. package/types/theme/components/typography.d.ts +0 -0
  288. package/types/theme/getTheme.d.ts +0 -0
  289. package/types/theme/global/borders.d.ts +0 -0
  290. package/types/theme/global/colors/eBens.d.ts +0 -0
  291. package/types/theme/global/colors/global.d.ts +0 -0
  292. package/types/theme/global/colors/jobs.d.ts +0 -0
  293. package/types/theme/global/colors/swag.d.ts +0 -0
  294. package/types/theme/global/colors/types.d.ts +1 -52
  295. package/types/theme/global/colors/wallet.d.ts +0 -0
  296. package/types/theme/global/colors/work.d.ts +0 -0
  297. package/types/theme/global/index.d.ts +0 -47
  298. package/types/theme/global/scale.d.ts +0 -0
  299. package/types/theme/global/sizes.d.ts +0 -0
  300. package/types/theme/global/space.d.ts +0 -0
  301. package/types/theme/global/typography.d.ts +0 -0
  302. package/types/theme/index.d.ts +0 -0
  303. package/types/types.d.ts +0 -0
  304. package/types/utils/functions.d.ts +0 -0
  305. package/types/utils/helpers.d.ts +0 -0
  306. package/types/utils/hooks.d.ts +0 -0
  307. package/types/utils/scale.d.ts +0 -0
  308. package/.expo/README.md +0 -15
  309. package/.expo/packager-info.json +0 -10
  310. package/.expo/prebuild/cached-packages.json +0 -4
  311. package/.expo/settings.json +0 -10
  312. package/.expo/xcodebuild-error.log +0 -2
  313. package/.expo/xcodebuild.log +0 -11199
  314. package/.turbo/turbo-build:types.log +0 -2
  315. package/.turbo/turbo-build:watch.log +0 -1
  316. package/.turbo/turbo-lint.log +0 -96
  317. package/.turbo/turbo-test.log +0 -909
  318. package/src/components/Select/__tests__/StyledSelect.spec.tsx +0 -14
  319. package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +0 -29
  320. package/src/theme/__tests__/ensureCompatibleWithV7.spec.tsx +0 -13
  321. package/src/theme/global/colors/legacySystemPalette.ts +0 -53
  322. package/types/components/Accordion/utils.d.ts +0 -1
  323. package/types/components/Select/StyledOptionList.d.ts +0 -12
  324. package/types/theme/global/colors/legacySystemPalette.d.ts +0 -3
  325. package/types/theme/utils.d.ts +0 -2
@@ -43,11 +43,6 @@ export interface SelectProps<V, T extends OptionType<V>> extends Pick<TextInputP
43
43
  * Search bar onChangeText event handler
44
44
  */
45
45
  onQueryChange?: (value: string) => void;
46
- /**
47
- * @deprecated due to typo.
48
- * Please use onDismiss instead.
49
- */
50
- onDimiss?: () => void;
51
46
  /**
52
47
  * Event handler when selection dismiss
53
48
  */
@@ -65,7 +60,7 @@ export interface SelectProps<V, T extends OptionType<V>> extends Pick<TextInputP
65
60
  * Required is deprecated and will be removed in the next major release.
66
61
  * Please use the outer required instead.
67
62
  */
68
- inputProps?: Pick<TextInputProps, 'loading' | 'required' | 'numberOfLines'>;
63
+ inputProps?: Pick<TextInputProps, 'loading' | 'numberOfLines'>;
69
64
  /**
70
65
  * Field label.
71
66
  */
@@ -78,9 +73,4 @@ export interface SelectProps<V, T extends OptionType<V>> extends Pick<TextInputP
78
73
  * Testing id of the component.
79
74
  */
80
75
  testID?: string;
81
- /**
82
- * @deprecated
83
- * Please use inputProps.numberOfLines instead.
84
- */
85
- numberOfLines?: number;
86
76
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,12 +1,10 @@
1
1
  import { Animated, View } from 'react-native';
2
- declare type ThemeSize = 'small' | 'medium';
3
2
  export declare type Variant = 'checked' | 'unchecked' | 'disabled-checked' | 'disabled-unchecked';
4
3
  declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
5
4
  theme?: import("@emotion/react").Theme | undefined;
6
5
  as?: import("react").ElementType<any> | undefined;
7
6
  } & {
8
7
  themeVariant: Variant;
9
- themeSize: ThemeSize;
10
8
  }, {}, {
11
9
  ref?: import("react").Ref<View> | undefined;
12
10
  }>;
@@ -15,7 +13,5 @@ declare const StyledKnot: import("@emotion/native").StyledComponent<Animated.Ani
15
13
  } & {
16
14
  theme?: import("@emotion/react").Theme | undefined;
17
15
  as?: import("react").ElementType<any> | undefined;
18
- } & {
19
- themeSize: ThemeSize;
20
16
  }, {}, {}>;
21
17
  export { StyledWrapper, StyledKnot };
@@ -13,11 +13,6 @@ export interface SwitchProps {
13
13
  * Event handler.
14
14
  */
15
15
  onPress?: () => void;
16
- /**
17
- * Size of the switch
18
- * size is deprecated and will be removed in the next major release.
19
- */
20
- size?: 'small' | 'medium';
21
16
  /**
22
17
  * Additional style.
23
18
  */
@@ -27,7 +22,7 @@ export interface SwitchProps {
27
22
  */
28
23
  testID?: string;
29
24
  }
30
- declare const _default: (({ size: _size, disabled, checked, onPress, style, testID, }: SwitchProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
25
+ declare const _default: (({ disabled, checked, onPress, style, testID, }: SwitchProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
31
26
  Selector: <T>({ options, value, onPress, style, testID, }: import("./SelectorSwitch").SelectorSwitchProps<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
32
27
  };
33
28
  export default _default;
File without changes
File without changes
File without changes
File without changes
@@ -9,9 +9,8 @@ export declare type CounterBadgeType = {
9
9
  };
10
10
  export declare type BadgeConfigType = StatusBadgeType | CounterBadgeType;
11
11
  interface TabWithBadgeProps {
12
- showBadge?: boolean;
13
12
  config?: BadgeConfigType;
14
13
  tabItem: ReactNode;
15
14
  }
16
- declare const TabWithBadge: ({ showBadge, config, tabItem }: TabWithBadgeProps) => JSX.Element;
15
+ declare const TabWithBadge: ({ config, tabItem }: TabWithBadgeProps) => JSX.Element;
17
16
  export default TabWithBadge;
@@ -1,7 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
3
- import type { BadgeConfigType } from './TabWithBadge';
2
+ import type { StyleProp, ViewProps, ViewStyle } from 'react-native';
4
3
  import { IconName } from '../Icon';
4
+ import type { BadgeConfigType } from './TabWithBadge';
5
5
  export declare type ItemType = string | IconName | ((props: {
6
6
  color: string;
7
7
  }) => ReactNode);
@@ -11,7 +11,6 @@ export declare type TabType = {
11
11
  inactiveItem?: ItemType;
12
12
  component: ReactNode;
13
13
  testID?: string;
14
- showBadge?: boolean;
15
14
  badge?: BadgeConfigType;
16
15
  };
17
16
  export interface TabsProps extends ViewProps {
File without changes
@@ -1,5 +1,5 @@
1
1
  import { View, Text } from 'react-native';
2
- declare type ThemeIntent = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'archived';
2
+ declare type ThemeIntent = 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'archived';
3
3
  declare type ThemeVariant = 'filled' | 'outlined';
4
4
  declare const StyledView: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
5
5
  theme?: import("@emotion/react").Theme | undefined;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
2
+ import type { StyleProp, ViewProps, ViewStyle } from 'react-native';
3
3
  interface TagProps extends ViewProps {
4
4
  /**
5
5
  * Content of the Tag.
@@ -8,7 +8,7 @@ interface TagProps extends ViewProps {
8
8
  /**
9
9
  * Visual intent color to apply to Tag.
10
10
  */
11
- intent?: 'primary' | 'default' | 'info' | 'success' | 'warning' | 'danger' | 'archived';
11
+ intent?: 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'archived';
12
12
  /**
13
13
  * Tag variant.
14
14
  */
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/types/index.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -18,7 +18,6 @@ declare const getBottomSheetTheme: (theme: GlobalTheme) => {
18
18
  default: number;
19
19
  };
20
20
  sizes: {
21
- sectionHeight: number;
22
21
  closeIcon: number;
23
22
  };
24
23
  space: {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -11,9 +11,6 @@ declare const getSelectTheme: (theme: GlobalTheme) => {
11
11
  singleSelectContentPaddingBottom: number;
12
12
  suffixMarginRight: number;
13
13
  };
14
- colors: {
15
- footerText: string;
16
- };
17
14
  radii: {
18
15
  option: number;
19
16
  };
File without changes
File without changes
File without changes
@@ -14,25 +14,15 @@ declare const getSwitchTheme: (theme: GlobalTheme) => {
14
14
  };
15
15
  };
16
16
  sizes: {
17
- thumbs: {
18
- small: number;
19
- medium: number;
20
- };
21
- widths: {
22
- small: number;
23
- medium: number;
24
- };
25
- heights: {
26
- small: number;
27
- medium: number;
28
- };
17
+ thumb: number;
18
+ width: number;
19
+ height: number;
29
20
  selector: {
30
21
  height: number;
31
22
  };
32
23
  };
33
24
  spaces: {
34
- small: number;
35
- medium: number;
25
+ paddingHorizontal: number;
36
26
  selector: {
37
27
  iconPadding: number;
38
28
  wrapperPadding: number;
File without changes
@@ -4,8 +4,6 @@ declare const getTagTheme: (theme: GlobalTheme) => {
4
4
  default: number;
5
5
  };
6
6
  colors: {
7
- default: string;
8
- defaultBackground: undefined;
9
7
  primary: string;
10
8
  primaryBackground: undefined;
11
9
  info: string;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -44,55 +44,4 @@ export declare type BrandSystemPalette = {
44
44
  decorativePrimary: string;
45
45
  decorativePrimarySurface: string;
46
46
  };
47
- export declare type LegacyBrandSystemPalette = {
48
- mutedPrimary: string;
49
- highlightedSecondarySurface: string;
50
- mutedSecondary: string;
51
- disabledSecondary: string;
52
- lightHighlightedSurface: string;
53
- };
54
- export declare type LegacySystemPalette = {
55
- globalPrimary: string;
56
- globalPrimaryLight: string;
57
- globalPrimaryBackground: string;
58
- primaryLight: string;
59
- primaryDark: string;
60
- primaryBackground: string;
61
- primaryBackgroundDark: string;
62
- secondaryLight: string;
63
- secondaryBackground: string;
64
- infoMediumLight: string;
65
- infoLight: string;
66
- infoBackground: string;
67
- successLight: string;
68
- successDark: string;
69
- successBackground: string;
70
- danger: string;
71
- dangerMediumLight: string;
72
- dangerLight: string;
73
- dangerBackground: string;
74
- warningLight: string;
75
- warningDark: string;
76
- warningBackground: string;
77
- platformBackground: string;
78
- backgroundLight: string;
79
- backgroundDark: string;
80
- text: string;
81
- subduedText: string;
82
- disabledText: string;
83
- disabledLightText: string;
84
- invertedText: string;
85
- outline: string;
86
- archivedLight: string;
87
- archivedDark: string;
88
- archivedBackground: string;
89
- black: string;
90
- inactiveBackground: string;
91
- shadow: string;
92
- mutedGlobalPrimary: string;
93
- onGlobalPrimary: string;
94
- globalSecondary: string;
95
- globalPrimaryOutline: string;
96
- globalSecondaryOutline: string;
97
- };
98
- export declare type SystemPalette = LegacySystemPalette & LegacyBrandSystemPalette & GlobalSystemPalette & BrandSystemPalette;
47
+ export declare type SystemPalette = GlobalSystemPalette & BrandSystemPalette;
File without changes
File without changes
@@ -8,53 +8,6 @@ import type { Scale } from './scale';
8
8
  import type { SystemPalette } from './colors/types';
9
9
  declare const getGlobalTheme: (scale: Scale, systemPalette: SystemPalette) => {
10
10
  colors: {
11
- globalPrimary: string;
12
- globalPrimaryLight: string;
13
- globalPrimaryBackground: string;
14
- primaryLight: string;
15
- primaryDark: string;
16
- primaryBackground: string;
17
- primaryBackgroundDark: string;
18
- secondaryLight: string;
19
- secondaryBackground: string;
20
- infoMediumLight: string;
21
- infoLight: string;
22
- infoBackground: string;
23
- successLight: string;
24
- successDark: string;
25
- successBackground: string;
26
- danger: string;
27
- dangerMediumLight: string;
28
- dangerLight: string;
29
- dangerBackground: string;
30
- warningLight: string;
31
- warningDark: string;
32
- warningBackground: string;
33
- platformBackground: string;
34
- backgroundLight: string;
35
- backgroundDark: string;
36
- text: string;
37
- subduedText: string;
38
- disabledText: string;
39
- disabledLightText: string;
40
- invertedText: string;
41
- outline: string;
42
- archivedLight: string;
43
- archivedDark: string;
44
- archivedBackground: string;
45
- black: string;
46
- inactiveBackground: string;
47
- shadow: string;
48
- mutedGlobalPrimary: string;
49
- onGlobalPrimary: string;
50
- globalSecondary: string;
51
- globalPrimaryOutline: string;
52
- globalSecondaryOutline: string;
53
- mutedPrimary: string;
54
- highlightedSecondarySurface: string;
55
- mutedSecondary: string;
56
- disabledSecondary: string;
57
- lightHighlightedSurface: string;
58
11
  defaultGlobalSurface: string;
59
12
  onDefaultGlobalSurface: string;
60
13
  neutralGlobalSurface: string;
File without changes
File without changes
File without changes
File without changes
File without changes
package/types/types.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/.expo/README.md DELETED
@@ -1,15 +0,0 @@
1
- > Why do I have a folder named ".expo" in my project?
2
-
3
- The ".expo" folder is created when an Expo project is started using "expo start" command.
4
-
5
- > What do the files contain?
6
-
7
- - "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
8
- - "packager-info.json": contains port numbers and process PIDs that are used to serve the application to the mobile device/simulator.
9
- - "settings.json": contains the server configuration that is used to serve the application manifest.
10
-
11
- > Should I commit the ".expo" folder?
12
-
13
- No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
14
-
15
- Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
@@ -1,10 +0,0 @@
1
- {
2
- "devToolsPort": 19002,
3
- "expoServerPort": null,
4
- "packagerPort": 19000,
5
- "packagerPid": null,
6
- "expoServerNgrokUrl": null,
7
- "packagerNgrokUrl": null,
8
- "ngrokPid": null,
9
- "webpackServerPort": null
10
- }
@@ -1,4 +0,0 @@
1
- {
2
- "dependencies": "75a9d3d29379eb983d76968e2681af38c930ef79",
3
- "devDependencies": "843b58fa49ff6a9ac1aaf4f6f32cb9da88f61475"
4
- }
@@ -1,10 +0,0 @@
1
- {
2
- "hostType": "lan",
3
- "lanType": "ip",
4
- "dev": true,
5
- "minify": false,
6
- "urlRandomness": null,
7
- "https": false,
8
- "scheme": null,
9
- "devClient": false
10
- }
@@ -1,2 +0,0 @@
1
- 2022-08-15 16:30:43.312 xcodebuild[51962:564141] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2
- 2022-08-15 16:30:43.312 xcodebuild[51962:564141] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore