Satyajit Sahoo
211f1f2c0e
fix: fix integration tests
2021-05-16 05:04:49 +02:00
Satyajit Sahoo
dc4ffc0171
fix: fix type error when passing unannotated navigation ref
2021-05-14 09:43:18 +02:00
Satyajit Sahoo
2f282f1070
feat: add a tabBarBackground option to bottom tabs
2021-05-14 08:59:46 +02:00
Satyajit Sahoo
7580efce89
refactor: rename animationPresentation to presentation
2021-05-10 12:42:02 +02:00
Satyajit Sahoo
08e74af545
fix: fix modal animation not being set properly
2021-05-09 08:06:38 +02:00
Satyajit Sahoo
a369ba3645
fix: make sure disabling react-native-screens works
2021-05-09 06:43:48 +02:00
Satyajit Sahoo
4294318210
refactor: use react-native-screens for web as well
2021-05-09 06:43:09 +02:00
Satyajit Sahoo
7809bc0650
chore: upgrade expo to stable version
2021-05-09 06:12:08 +02:00
Jesse Katsumata
6866ad2cda
chore: update @types/react-native and remove ts-ignore ( #9518 )
2021-05-09 05:45:52 +02:00
Satyajit Sahoo
14786594c0
feat: support navigate-like object in Link
2021-05-09 04:56:45 +02:00
Satyajit Sahoo
b28bfddc17
feat: add ability to specify root param list
2021-05-09 04:33:56 +02:00
Satyajit Sahoo
1a6aebefcb
feat: add a new component to group multiple screens with common options
2021-05-09 01:14:24 +02:00
Satyajit Sahoo
4bb0b43f1a
feat: automatically set headerMode if it's modal presentation style
2021-05-08 23:20:12 +02:00
Satyajit Sahoo
9ac709ea1e
refactor: drop mode prop in favor of animationPresentation option
...
BREAKING CHANGE: This drops the mode prop on the navigator in favor of a per-screen option animationPresentation
2021-05-08 07:04:25 +02:00
Satyajit Sahoo
60fa3b9be9
feat: support mixing regular and modal presentation in same stack
2021-05-08 07:04:25 +02:00
Satyajit Sahoo
0ecd112ec9
feat: add helper and hook for container ref
2021-05-01 23:51:10 +02:00
Satyajit Sahoo
83242a7bef
refactor: tweak the types
2021-05-01 21:32:10 +02:00
Satyajit Sahoo
ef7370b215
chore: configure reanimated 2
2021-04-04 06:55:37 +02:00
Satyajit Sahoo
d85a4fd8ed
chore: upgrade expo to SDK 41
2021-04-04 06:41:26 +02:00
Satyajit Sahoo
cbaabc1288
feat: add a Background component
2021-03-22 19:03:09 +01:00
Satyajit Sahoo
31caaf3071
refactor: set headerMode to screen by default when custom header is specified
2021-03-14 16:43:51 +01:00
Satyajit Sahoo
aacc1b525d
refactor: move headerMode to options
...
BREAKING CHANGE: headerMode is now moved to options instead of props
2021-03-14 16:27:53 +01:00
Satyajit Sahoo
78b00bd814
chore: update expo-cli
2021-03-12 03:30:37 +01:00
Satyajit Sahoo
22610014b3
feat: upgrade to latest react-native-tab-view using ViewPager
2021-03-09 04:00:45 +01:00
Satyajit Sahoo
70ddcce76f
chore: add a tsconfig to workaround expo-cli adding its own
2021-03-07 18:14:11 +01:00
Satyajit Sahoo
9fce3a433c
chore: upgrade dependencies
2021-03-07 00:28:13 +01:00
Satyajit Sahoo
2bc4882692
fix: show a missing icon symbol instead of empty area in bottom tab bar
2021-03-06 19:00:38 +01:00
Satyajit Sahoo
86e64fdcd8
feat: associate path with the route it opens when deep linking ( #9384 )
...
This commit adds a new optional property on the `route` object called `path`.
This property will be added if the screen was opened from a deep link.
Having this property helps with few things:
- Preserve the URL when the path was unmatched, e.g. 404 routes
- Expose the path to the user so they could handle it manually if needed, e.g. open in a webview
- Avoid changing URL if state to path doesn't match current path, e.g. if orders of params change
Fixes #9102
2021-03-05 12:20:35 +01:00
Satyajit Sahoo
585ae7d7f6
chore: upgrade expo-cli
2021-03-05 02:40:08 +01:00
Satyajit Sahoo
7ac59e6109
chore: fix crash due to asyncstorage on web
2021-03-05 02:38:01 +01:00
Satyajit Sahoo
7c92cd9ca9
chore: upgrade playwright
2021-03-05 02:26:22 +01:00
Satyajit Sahoo
f49b0d3a3b
refactor: migrate to Pressable
2021-02-22 00:47:04 +01:00
Satyajit Sahoo
0fc718b49d
chore: upgrade @types/react-native
2021-02-21 23:39:54 +01:00
Satyajit Sahoo
26351254fc
chore: fix warnings from module-resolver
2021-02-21 23:32:18 +01:00
Satyajit Sahoo
9a0774ec35
chore: fix icon name for tab examples
2021-02-11 18:59:50 +01:00
Satyajit Sahoo
55e6f3dd33
refactor: move Header to elements package
2021-02-11 18:56:40 +01:00
Satyajit Sahoo
509ca49b64
refactor: move more header stuff to elements package
2021-02-04 15:07:22 +01:00
Satyajit Sahoo
6c5e196459
chore: wrap example list in SafeAreaView
2021-01-14 14:42:33 +01:00
Satyajit Sahoo
802db004ae
chore: upgrade dependencies
2021-01-08 13:59:24 +01:00
Satyajit Sahoo
65d8b487f8
chore: upgrade to typescript 4.1
2020-12-03 01:56:28 +01:00
Satyajit Sahoo
73aad00f19
chore: fix listing packages in metro config
2020-12-03 01:00:28 +01:00
Satyajit Sahoo
15e5678037
refactor: move drawerContentOptions to options
...
BREAKING CHANGE: This commit moves options from `drawerContentOptions` to regular `options` in order to reduce confusion between the two, as well as to make it more flexible to configure the drawer on a per screen basis.
2020-11-19 03:57:48 +01:00
Satyajit Sahoo
852f2f0f19
chore: remove compat package
2020-11-17 20:36:06 +01:00
Satyajit Sahoo
6f326cf0c5
feat: add a slide animation for modals on Android
2020-11-16 18:09:58 +01:00
Satyajit Sahoo
a97a43aa1d
refactor: drop support for tabBarVisible option
...
BREAKING CHANGE: We need to add support for specifying style for tab bar in options to support the use cases which need this.
2020-11-13 07:23:59 +01:00
Satyajit Sahoo
227f133536
fix: drop dangerously prefix from getState and getParent
...
BREAKING CHANGE
2020-11-13 04:48:14 +01:00
Jesse Katsumata
8773dcb80f
chore: replace community maskedview ( #9058 )
...
replaced `@react-native-community/masked-view` with `@react-native-masked-view/masked-view` due to namespace change.
2020-11-12 06:21:11 +01:00
Satyajit Sahoo
4cad132c2c
refactor: simplify props for stack and drawer headers
...
BREAKING CHANGE: Previously, the stack header accepted scene and previous scene which contained things such as descriptor, navigation prop, progress etc. The commit simplifies them to pass `route`, `navigation`, `options` and `progress` directly to the header. Similaryly, the `previous` argument now contains `options`, `route` and `progress`.
2020-11-12 02:47:51 +01:00
Satyajit Sahoo
8a63f193bf
feat: use modal presentation style for modals on iOS by default
2020-11-12 01:39:42 +01:00
Satyajit Sahoo
7bc385e4f3
chore: show header in drawer by default
2020-11-09 19:36:36 +01:00