@hero-design/rn 8.0.0-rc.0 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -156,6 +156,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
156
156
  onBlur={[Function]}
157
157
  onChangeText={[Function]}
158
158
  onFocus={[Function]}
159
+ placeholder=" "
159
160
  style={
160
161
  Array [
161
162
  Object {
@@ -416,6 +417,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
416
417
  onBlur={[Function]}
417
418
  onChangeText={[Function]}
418
419
  onFocus={[Function]}
420
+ placeholder=" "
419
421
  style={
420
422
  Array [
421
423
  Object {
@@ -661,6 +663,7 @@ exports[`TextInput disabled renders correctly 1`] = `
661
663
  onBlur={[Function]}
662
664
  onChangeText={[Function]}
663
665
  onFocus={[Function]}
666
+ placeholder=" "
664
667
  style={
665
668
  Array [
666
669
  Object {
@@ -866,6 +869,7 @@ exports[`TextInput error renders correctly 1`] = `
866
869
  onBlur={[Function]}
867
870
  onChangeText={[Function]}
868
871
  onFocus={[Function]}
872
+ placeholder=" "
869
873
  style={
870
874
  Array [
871
875
  Object {
@@ -1097,6 +1101,7 @@ exports[`TextInput filled renders correctly 1`] = `
1097
1101
  onBlur={[Function]}
1098
1102
  onChangeText={[Function]}
1099
1103
  onFocus={[Function]}
1104
+ placeholder=" "
1100
1105
  style={
1101
1106
  Array [
1102
1107
  Object {
@@ -1317,6 +1322,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1317
1322
  onBlur={[Function]}
1318
1323
  onChangeText={[Function]}
1319
1324
  onFocus={[Function]}
1325
+ placeholder=" "
1320
1326
  style={
1321
1327
  Array [
1322
1328
  Object {
@@ -1522,6 +1528,7 @@ exports[`TextInput idle renders correctly 1`] = `
1522
1528
  onBlur={[Function]}
1523
1529
  onChangeText={[Function]}
1524
1530
  onFocus={[Function]}
1531
+ placeholder=" "
1525
1532
  style={
1526
1533
  Array [
1527
1534
  Object {
@@ -1741,6 +1748,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
1741
1748
  onBlur={[Function]}
1742
1749
  onChangeText={[Function]}
1743
1750
  onFocus={[Function]}
1751
+ placeholder=" "
1744
1752
  style={
1745
1753
  Array [
1746
1754
  Object {
@@ -2100,6 +2108,7 @@ exports[`TextInput max length renders correctly 1`] = `
2100
2108
  onBlur={[Function]}
2101
2109
  onChangeText={[Function]}
2102
2110
  onFocus={[Function]}
2111
+ placeholder=" "
2103
2112
  style={
2104
2113
  Array [
2105
2114
  Object {
@@ -2398,6 +2407,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2398
2407
  onBlur={[Function]}
2399
2408
  onChangeText={[Function]}
2400
2409
  onFocus={[Function]}
2410
+ placeholder=" "
2401
2411
  style={
2402
2412
  Array [
2403
2413
  Object {
@@ -2621,6 +2631,7 @@ exports[`TextInput readonly renders correctly 1`] = `
2621
2631
  onBlur={[Function]}
2622
2632
  onChangeText={[Function]}
2623
2633
  onFocus={[Function]}
2634
+ placeholder=" "
2624
2635
  style={
2625
2636
  Array [
2626
2637
  Object {
@@ -2841,6 +2852,7 @@ exports[`TextInput required renders correctly 1`] = `
2841
2852
  onBlur={[Function]}
2842
2853
  onChangeText={[Function]}
2843
2854
  onFocus={[Function]}
2855
+ placeholder=" "
2844
2856
  style={
2845
2857
  Array [
2846
2858
  Object {
@@ -59,6 +59,8 @@ describe('TextInput', () => {
59
59
  expect(
60
60
  within(getByTestId('idle-text-input')).queryAllByTestId('input-suffix')
61
61
  ).toHaveLength(1);
62
+
63
+ expect(getByTestId('text-input').props.placeholder).toBe(' ');
62
64
  });
63
65
 
64
66
  it('should not render input-label if label is empty', () => {
@@ -319,13 +321,13 @@ describe('TextInput', () => {
319
321
  );
320
322
 
321
323
  expect(wrapper.toJSON()).toMatchSnapshot();
322
- expect(wrapper.queryByPlaceholderText('Enter Amount')).toBeFalsy();
324
+ expect(wrapper.getByTestId('text-input').props.placeholder).toBe(' ');
323
325
 
324
326
  fireEvent(wrapper.getByTestId('text-input'), 'focus');
325
327
  expect(wrapper.queryByPlaceholderText('Enter Amount')).toBeTruthy();
326
328
 
327
329
  fireEvent(wrapper.getByTestId('text-input'), 'blur');
328
- expect(wrapper.queryByPlaceholderText('Enter Amount')).toBeFalsy();
330
+ expect(wrapper.getByTestId('text-input').props.placeholder).toBe(' ');
329
331
  });
330
332
  });
331
333
  });
@@ -128,6 +128,10 @@ export const getVariant = ({
128
128
  return 'default';
129
129
  };
130
130
 
131
+ // Fix issue: Placeholder is not shown on iOS when multiline is true
132
+ // https://github.com/callstack/react-native-paper/pull/3331
133
+ const EMPTY_PLACEHOLDER_VALUE = ' ';
134
+
131
135
  const TextInput = ({
132
136
  label,
133
137
  prefix,
@@ -211,7 +215,9 @@ const TextInput = ({
211
215
  },
212
216
  defaultValue,
213
217
  placeholder:
214
- isFocused || label === undefined ? nativeProps.placeholder : undefined,
218
+ isFocused || label === undefined
219
+ ? nativeProps.placeholder
220
+ : EMPTY_PLACEHOLDER_VALUE,
215
221
  };
216
222
 
217
223
  return (
@@ -5,7 +5,7 @@ import formatTime from 'date-fns/fp/format';
5
5
 
6
6
  import BottomSheet from '../BottomSheet';
7
7
  import TextInput from '../TextInput';
8
- import Typography from '../Typography';
8
+ import Button from '../Button';
9
9
  import { StyledPickerWrapper } from './StyledTimePicker';
10
10
  import type { TimePickerProps } from './types';
11
11
 
@@ -50,22 +50,16 @@ const TimePickerIOS = ({
50
50
  onRequestClose={() => setOpen(false)}
51
51
  header={label}
52
52
  footer={
53
- <TouchableOpacity
53
+ <Button
54
+ variant="text"
55
+ text={confirmLabel}
54
56
  onPress={() => {
55
57
  if (selectingDate) {
56
58
  onChange(selectingDate);
57
59
  }
58
60
  setOpen(false);
59
61
  }}
60
- >
61
- <Typography.Text
62
- fontSize="large"
63
- fontWeight="semi-bold"
64
- intent="primary"
65
- >
66
- {confirmLabel}
67
- </Typography.Text>
68
- </TouchableOpacity>
62
+ />
69
63
  }
70
64
  >
71
65
  <StyledPickerWrapper>
@@ -133,6 +133,7 @@ exports[`TimePickerAndroid renders correctly 1`] = `
133
133
  onBlur={[Function]}
134
134
  onChangeText={[Function]}
135
135
  onFocus={[Function]}
136
+ placeholder=" "
136
137
  style={
137
138
  Array [
138
139
  Object {
@@ -133,6 +133,7 @@ exports[`TimePickerIOS renders correctly 1`] = `
133
133
  onBlur={[Function]}
134
134
  onChangeText={[Function]}
135
135
  onFocus={[Function]}
136
+ placeholder=" "
136
137
  style={
137
138
  Array [
138
139
  Object {
@@ -476,9 +477,8 @@ exports[`TimePickerIOS renders correctly 1`] = `
476
477
  "alignItems": "center",
477
478
  "flexDirection": "row",
478
479
  "justifyContent": "flex-end",
479
- "minHeight": 64,
480
- "paddingHorizontal": 24,
481
- "paddingVertical": 16,
480
+ "paddingHorizontal": 12,
481
+ "paddingVertical": 2,
482
482
  },
483
483
  undefined,
484
484
  ]
@@ -498,27 +498,46 @@ exports[`TimePickerIOS renders correctly 1`] = `
498
498
  onStartShouldSetResponder={[Function]}
499
499
  style={
500
500
  Object {
501
+ "alignItems": "center",
502
+ "borderWidth": 0,
503
+ "flexDirection": "row",
504
+ "justifyContent": "center",
501
505
  "opacity": 1,
506
+ "padding": 16,
502
507
  }
503
508
  }
504
509
  >
505
510
  <Text
511
+ disabled={false}
512
+ ellipsizeMode="tail"
513
+ numberOfLines={1}
506
514
  style={
507
515
  Array [
508
516
  Object {
509
- "color": "#401960",
510
- "fontFamily": "BeVietnamPro-SemiBold",
511
- "fontSize": 16,
512
- "letterSpacing": 0.48,
513
- "lineHeight": 24,
517
+ "color": "#001f23",
518
+ "fontFamily": "BeVietnamPro-Regular",
519
+ "fontSize": 14,
520
+ "letterSpacing": 0.42,
521
+ "lineHeight": 22,
514
522
  },
515
- undefined,
523
+ Array [
524
+ Object {
525
+ "color": "#401960",
526
+ "flexShrink": 1,
527
+ "fontFamily": "BeVietnamPro-SemiBold",
528
+ "fontSize": 16,
529
+ "lineHeight": 24,
530
+ "textAlign": "center",
531
+ },
532
+ undefined,
533
+ ],
516
534
  ]
517
535
  }
518
- themeFontSize="large"
519
- themeFontWeight="semi-bold"
520
- themeIntent="primary"
536
+ themeFontSize="medium"
537
+ themeFontWeight="regular"
538
+ themeIntent="body"
521
539
  themeTypeface="neutral"
540
+ themeVariant="text-primary"
522
541
  >
523
542
  Confirm
524
543
  </Text>
@@ -190,7 +190,7 @@ exports[`StyledText has playful typeface style 1`] = `
190
190
  Array [
191
191
  Object {
192
192
  "color": "#001f23",
193
- "fontFamily": "RebondGrotesque-Regular",
193
+ "fontFamily": "RebondGrotesque",
194
194
  "fontSize": 14,
195
195
  "letterSpacing": 0.42,
196
196
  "lineHeight": 22,
@@ -163,12 +163,11 @@ Object {
163
163
  },
164
164
  "sizes": Object {
165
165
  "closeIcon": 48,
166
- "sectionHeight": 64,
167
166
  },
168
167
  "space": Object {
169
168
  "closeIconMargin": 12,
170
- "footerHorizontalPadding": 24,
171
- "footerVerticalPadding": 16,
169
+ "footerHorizontalPadding": 12,
170
+ "footerVerticalPadding": 2,
172
171
  "headerWrapperHorizontalPadding": 16,
173
172
  "headerWrapperVerticalPadding": 8,
174
173
  },
@@ -341,7 +340,7 @@ Object {
341
340
  "title": 24,
342
341
  },
343
342
  "fonts": Object {
344
- "description": "RebondGrotesque-Regular",
343
+ "description": "RebondGrotesque",
345
344
  "title": "RebondGrotesque-SemiBold",
346
345
  },
347
346
  "sizes": Object {
@@ -600,9 +599,6 @@ Object {
600
599
  },
601
600
  },
602
601
  "select": Object {
603
- "colors": Object {
604
- "footerText": "#795e90",
605
- },
606
602
  "radii": Object {
607
603
  "option": 4,
608
604
  },
@@ -678,29 +674,19 @@ Object {
678
674
  },
679
675
  },
680
676
  "sizes": Object {
681
- "heights": Object {
682
- "medium": 32,
683
- "small": 24,
684
- },
677
+ "height": 24,
685
678
  "selector": Object {
686
679
  "height": 56,
687
680
  },
688
- "thumbs": Object {
689
- "medium": 24,
690
- "small": 16,
691
- },
692
- "widths": Object {
693
- "medium": 64,
694
- "small": 48,
695
- },
681
+ "thumb": 16,
682
+ "width": 48,
696
683
  },
697
684
  "spaces": Object {
698
- "medium": 4,
685
+ "paddingHorizontal": 4,
699
686
  "selector": Object {
700
687
  "iconPadding": 16,
701
688
  "wrapperPadding": 4,
702
689
  },
703
- "small": 4,
704
690
  },
705
691
  },
706
692
  "tabs": Object {
@@ -739,8 +725,6 @@ Object {
739
725
  "archivedBackground": "#f1f2f3",
740
726
  "danger": "#de350b",
741
727
  "dangerBackground": "#fcebe7",
742
- "default": "#001f23",
743
- "defaultBackground": undefined,
744
728
  "info": "#4568fb",
745
729
  "infoBackground": "#ecf0ff",
746
730
  "primary": "#401960",
@@ -928,7 +912,7 @@ Object {
928
912
  },
929
913
  "playful": Object {
930
914
  "light": "RebondGrotesque-Light",
931
- "regular": "RebondGrotesque-Regular",
915
+ "regular": "RebondGrotesque",
932
916
  "semiBold": "RebondGrotesque-SemiBold",
933
917
  },
934
918
  },
@@ -949,54 +933,25 @@ Object {
949
933
  },
950
934
  "colors": Object {
951
935
  "archived": "#abacaf",
952
- "archivedBackground": "#f6f6f7",
953
- "archivedDark": "#737479",
954
- "archivedLight": "#bfc1c5",
955
936
  "archivedSurface": "#f1f2f3",
956
- "backgroundDark": "#001f23",
957
- "backgroundLight": "#f6f6f7",
958
- "black": "#000000",
959
- "danger": "#de350b",
960
- "dangerBackground": "#fcebe7",
961
- "dangerLight": "#f46363",
962
- "dangerMediumLight": "#e3602a",
963
937
  "darkGlobalSurface": "#001f23",
964
938
  "decorativePrimary": "#ffffff",
965
939
  "decorativePrimarySurface": "#ccd2d3",
966
940
  "defaultGlobalSurface": "#ffffff",
967
941
  "defaultSurface": "#f6f6f7",
968
- "disabledLightText": "#bfc1c5",
969
942
  "disabledOnDefaultGlobalSurface": "#bfc1c5",
970
943
  "disabledOutline": "#bfc1c5",
971
- "disabledSecondary": "#a08cb0",
972
- "disabledText": "#808f91",
973
944
  "error": "#f46363",
974
945
  "errorSurface": "#fcebe7",
975
- "globalPrimary": "#001f23",
976
- "globalPrimaryBackground": "#e6e9e9",
977
- "globalPrimaryLight": "#808f91",
978
- "globalPrimaryOutline": "#001f23",
979
- "globalSecondary": "#4d6265",
980
- "globalSecondaryOutline": "#e8e9ea",
981
- "highlightedSecondarySurface": "#ecf0ff",
982
946
  "highlightedSurface": "#ece8ef",
983
- "inactiveBackground": "#808f91",
984
947
  "inactiveOnDefaultGlobalSurface": "#808f91",
985
948
  "inactiveOutline": "#808f91",
986
949
  "info": "#b5c3fd",
987
- "infoBackground": "#ecf0ff",
988
- "infoLight": "#b5c3fd",
989
- "infoMediumLight": "#b5c3fd",
990
950
  "infoSurface": "#ecf0ff",
991
- "invertedText": "#ffffff",
992
- "lightHighlightedSurface": "#ece8ef",
993
951
  "mutedArchived": "#bcbdbf",
994
952
  "mutedError": "#f68282",
995
- "mutedGlobalPrimary": "#4d6265",
996
953
  "mutedInfo": "#c4cffd",
997
954
  "mutedOnDefaultGlobalSurface": "#4d6265",
998
- "mutedPrimary": "#e6e9e9",
999
- "mutedSecondary": "#808f91",
1000
955
  "mutedSuccess": "#7bd897",
1001
956
  "mutedWarning": "#ffcb8d",
1002
957
  "neutralGlobalSurface": "#f6f6f7",
@@ -1004,38 +959,20 @@ Object {
1004
959
  "onDarkGlobalSurface": "#ffffff",
1005
960
  "onDefaultGlobalSurface": "#001f23",
1006
961
  "onErrorSurface": "#de350b",
1007
- "onGlobalPrimary": "#ffffff",
1008
962
  "onInfoSurface": "#4568fb",
1009
963
  "onPrimary": "#ffffff",
1010
964
  "onSecondary": "#ffffff",
1011
965
  "onSuccessSurface": "#017d6d",
1012
966
  "onWarningSurface": "#ffa234",
1013
- "outline": "#e8e9ea",
1014
967
  "overlayGlobalSurface": "#000000",
1015
- "platformBackground": "#ffffff",
1016
968
  "pressedSurface": "#664780",
1017
969
  "primary": "#401960",
1018
- "primaryBackground": "#f3e6f6",
1019
- "primaryBackgroundDark": "#4d6265",
1020
- "primaryDark": "#795e90",
1021
- "primaryLight": "#c282d1",
1022
970
  "primaryOutline": "#001f23",
1023
971
  "secondary": "#795e90",
1024
- "secondaryBackground": "#ecf0ff",
1025
- "secondaryLight": "#b5c3fd",
1026
972
  "secondaryOutline": "#e8e9ea",
1027
- "shadow": "#ccced1",
1028
- "subduedText": "#4d6265",
1029
973
  "success": "#5ace7d",
1030
- "successBackground": "#f0fef4",
1031
- "successDark": "#017d6d",
1032
- "successLight": "#5ace7d",
1033
974
  "successSurface": "#f0fef4",
1034
- "text": "#001f23",
1035
975
  "warning": "#ffbe71",
1036
- "warningBackground": "#fff6eb",
1037
- "warningDark": "#ffa234",
1038
- "warningLight": "#ffbe71",
1039
976
  "warningSurface": "#fff6eb",
1040
977
  },
1041
978
  "fontSizes": Object {
@@ -1058,7 +995,7 @@ Object {
1058
995
  },
1059
996
  "playful": Object {
1060
997
  "light": "RebondGrotesque-Light",
1061
- "regular": "RebondGrotesque-Regular",
998
+ "regular": "RebondGrotesque",
1062
999
  "semiBold": "RebondGrotesque-SemiBold",
1063
1000
  },
1064
1001
  },
@@ -8,7 +8,6 @@ const getBottomSheetTheme = (theme: GlobalTheme) => {
8
8
  };
9
9
 
10
10
  const sizes = {
11
- sectionHeight: theme.sizes.xxxxxlarge,
12
11
  closeIcon: theme.sizes.xxxlarge,
13
12
  };
14
13
 
@@ -16,8 +15,8 @@ const getBottomSheetTheme = (theme: GlobalTheme) => {
16
15
  headerWrapperVerticalPadding: theme.space.small,
17
16
  headerWrapperHorizontalPadding: theme.space.medium,
18
17
  closeIconMargin: theme.space.smallMedium,
19
- footerVerticalPadding: theme.space.medium,
20
- footerHorizontalPadding: theme.space.large,
18
+ footerVerticalPadding: theme.space.xxsmall,
19
+ footerHorizontalPadding: theme.space.smallMedium,
21
20
  };
22
21
 
23
22
  const shadows = {
@@ -1,10 +1,6 @@
1
1
  import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getSelectTheme = (theme: GlobalTheme) => {
4
- const colors = {
5
- footerText: theme.colors.secondary,
6
- };
7
-
8
4
  const space = {
9
5
  minimumOptionListHeight: theme.space.xxxxlarge * 5,
10
6
  sectionSpacing: theme.space.smallMedium,
@@ -21,7 +17,7 @@ const getSelectTheme = (theme: GlobalTheme) => {
21
17
  option: theme.radii.base,
22
18
  };
23
19
 
24
- return { space, colors, radii };
20
+ return { space, radii };
25
21
  };
26
22
 
27
23
  export default getSelectTheme;
@@ -16,26 +16,16 @@ const getSwitchTheme = (theme: GlobalTheme) => {
16
16
  };
17
17
 
18
18
  const sizes = {
19
- thumbs: {
20
- small: theme.sizes.medium,
21
- medium: theme.sizes.large,
22
- },
23
- widths: {
24
- small: theme.sizes.xxxlarge,
25
- medium: theme.sizes.xxxxxlarge,
26
- },
27
- heights: {
28
- small: theme.sizes.large,
29
- medium: theme.sizes.xlarge,
30
- },
19
+ thumb: theme.sizes.medium,
20
+ width: theme.sizes.xxxlarge,
21
+ height: theme.sizes.large,
31
22
  selector: {
32
23
  height: theme.sizes.xxxxlarge,
33
24
  },
34
25
  };
35
26
 
36
27
  const spaces = {
37
- small: theme.space.xsmall,
38
- medium: theme.space.xsmall,
28
+ paddingHorizontal: theme.space.xsmall,
39
29
  selector: {
40
30
  iconPadding: theme.space.medium,
41
31
  wrapperPadding: theme.space.xsmall,
@@ -6,8 +6,6 @@ const getTagTheme = (theme: GlobalTheme) => {
6
6
  };
7
7
 
8
8
  const colors = {
9
- default: theme.colors.onDefaultGlobalSurface,
10
- defaultBackground: undefined,
11
9
  primary: theme.colors.primary,
12
10
  primaryBackground: undefined,
13
11
  info: theme.colors.onInfoSurface,
@@ -1,11 +1,6 @@
1
1
  import { swagPalette as palette } from '@hero-design/colors';
2
- import type {
3
- SystemPalette,
4
- BrandSystemPalette,
5
- LegacyBrandSystemPalette,
6
- } from './types';
2
+ import type { SystemPalette, BrandSystemPalette } from './types';
7
3
  import globalPalette from './global';
8
- import legacySystemPalette from './legacySystemPalette';
9
4
 
10
5
  const swagBrandSystemPallete: BrandSystemPalette = {
11
6
  primary: palette.scarletGum,
@@ -20,21 +15,7 @@ const swagBrandSystemPallete: BrandSystemPalette = {
20
15
  decorativePrimarySurface: palette.maasstrichtBlueLight80,
21
16
  };
22
17
 
23
- const swagLegacyBrandSystemPalette: LegacyBrandSystemPalette = {
24
- mutedPrimary: palette.maasstrichtBlueLight90,
25
- highlightedSecondarySurface: palette.aliceBlue,
26
- mutedSecondary: palette.maasstrichtBlueLight50,
27
- disabledSecondary: palette.scarletGumLight50,
28
- lightHighlightedSurface: palette.scarletGumLight90,
29
- };
30
-
31
18
  const swagSystemPalette: SystemPalette = {
32
- // TODO: Remove legacy in V8
33
- // Legacy system
34
- ...legacySystemPalette,
35
- // Legacy brand
36
- ...swagLegacyBrandSystemPalette,
37
-
38
19
  // Global
39
20
  ...globalPalette,
40
21
  // Brand
@@ -56,61 +56,4 @@ export type BrandSystemPalette = {
56
56
  // End of Updated 14 / Nov / 22
57
57
  };
58
58
 
59
- export type LegacyBrandSystemPalette = {
60
- mutedPrimary: string;
61
- highlightedSecondarySurface: string;
62
- mutedSecondary: string;
63
- disabledSecondary: string;
64
- lightHighlightedSurface: string;
65
- };
66
-
67
- export type LegacySystemPalette = {
68
- globalPrimary: string;
69
- globalPrimaryLight: string;
70
- globalPrimaryBackground: string;
71
- primaryLight: string;
72
- primaryDark: string;
73
- primaryBackground: string;
74
- primaryBackgroundDark: string;
75
- secondaryLight: string;
76
- secondaryBackground: string;
77
- infoMediumLight: string;
78
- infoLight: string;
79
- infoBackground: string;
80
- successLight: string;
81
- successDark: string;
82
- successBackground: string;
83
- danger: string;
84
- dangerMediumLight: string;
85
- dangerLight: string;
86
- dangerBackground: string;
87
- warningLight: string;
88
- warningDark: string;
89
- warningBackground: string;
90
- platformBackground: string;
91
- backgroundLight: string;
92
- backgroundDark: string;
93
- text: string;
94
- subduedText: string;
95
- disabledText: string;
96
- disabledLightText: string;
97
- invertedText: string;
98
- outline: string;
99
- archivedLight: string;
100
- archivedDark: string;
101
- archivedBackground: string;
102
- black: string;
103
- inactiveBackground: string;
104
- shadow: string;
105
-
106
- mutedGlobalPrimary: string;
107
- onGlobalPrimary: string;
108
- globalSecondary: string;
109
- globalPrimaryOutline: string;
110
- globalSecondaryOutline: string;
111
- };
112
-
113
- export type SystemPalette = LegacySystemPalette &
114
- LegacyBrandSystemPalette &
115
- GlobalSystemPalette &
116
- BrandSystemPalette;
59
+ export type SystemPalette = GlobalSystemPalette & BrandSystemPalette;
@@ -45,7 +45,7 @@ const getFonts = ({
45
45
  },
46
46
  playful: {
47
47
  light: `${playful}-Light`,
48
- regular: `${playful}-Regular`,
48
+ regular: `${playful}`,
49
49
  semiBold: `${playful}-SemiBold`,
50
50
  },
51
51
  });
@@ -23,7 +23,7 @@ export const useDeprecation = (message: string, cond = true) => {
23
23
  useEffect(() => {
24
24
  // eslint-disable-next-line no-console
25
25
  if (cond) {
26
- console.warn(message);
26
+ console.error(message);
27
27
  }
28
28
  }, [message, cond]);
29
29
  };
File without changes
File without changes
File without changes
@@ -4,7 +4,6 @@ declare const Container: import("@emotion/native").StyledComponent<ViewProps & {
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
5
  as?: import("react").ElementType<any> | undefined;
6
6
  } & {
7
- themeVariant: 'default' | 'round';
8
7
  themeIntent: 'success' | 'info' | 'warning' | 'error' | 'notification';
9
8
  }, {}, {
10
9
  ref?: import("react").Ref<View> | undefined;