Ryan Stelly
558f949d23
fix: add fallbacks for non-web modules
2019-09-22 01:11:57 +02:00
satyajit.happy
b95c4321dd
fix: provide navigation prop in header
2019-09-22 01:05:17 +02:00
Dulmandakh
ed4bc26aa1
feat: use Animated.X for header title and background
2019-09-22 01:01:33 +02:00
Satyajit Sahoo
a0676569d0
fix: fix typescript definitions ( #214 )
2019-09-11 17:01:17 +02:00
satyajit.happy
4c012ad1ea
fix: add peer dep on react-navigation
2019-09-09 21:52:09 +02:00
satyajit.happy
4a53cc8b00
refactor: change signature of interpolation props
2019-08-31 10:25:41 +02:00
Daniel Loudon
da179736ae
feat: support multiple tint colors for HeaderSegment ( #198 )
2019-08-29 12:54:26 -07:00
satyajit.happy
aab51ebaca
fix: add left offset in header only if a left button is rendered
2019-08-22 05:07:08 +05:30
satyajit.happy
71285a69ab
fix: use MaskedView from @react-native-community/masked-view
2019-08-01 02:59:46 +02:00
Arnas
d97be9afd5
fix: use a shadow instead of a border for header on iOS
...
closes #97
2019-08-01 02:28:25 +02:00
satyajit.happy
ab64129911
feat: add a canGoBack prop to header back button
2019-07-17 14:19:00 +02:00
satyajit.happy
03c129ef23
fix: don't ignore headerLeft if specified. fixes #164
2019-07-17 14:10:28 +02:00
satyajit.happy
b685233f3a
feat: support a function for headerTitle
2019-07-10 17:00:28 +02:00
satyajit.happy
bd0e602143
fix: properly handle floating header height
...
Previously, the header height wasn't stored per screen. This resulted in header height always referring to the one in last mounted screen.
As a result, the top margin for screens were incorrect.
This resulted in bugs such as when you go to a screen with no header, header height will stay 0 even after navigating back.
This commit stores the height for each screen separately, handling this properly.
2019-07-07 15:21:46 +02:00
satyajit.happy
919a274b4c
fix: fix back button not working in header
2019-07-07 14:39:28 +02:00
satyajit.happy
7267d2fa6f
fix: use opacity in headerStyle
2019-07-01 17:36:45 +02:00
satyajit.happy
a4d489e9c0
refactor: measure back label layout when not truncated
2019-07-01 17:16:18 +02:00
satyajit.happy
2da09926d5
fix: whitelist supported styles instead of blacklist
2019-06-21 19:34:19 +02:00
satyajit.happy
b220b0bfa2
fix: support specifying header background color in headerStyle
2019-06-21 13:12:13 +02:00
satyajit.happy
4b2e6a95ca
feat: add headerTransparent option
2019-06-21 12:54:19 +02:00
satyajit.happy
309d09c387
chore: release 2.0.0-alpha.1
2019-06-15 00:11:09 +02:00
satyajit.happy
de733fa51e
feat: add headerBackgroundStyle option
2019-06-14 23:46:48 +02:00
satyajit.happy
f7b1b165b9
feat: add headerBackTitleVisible option to navigation options
2019-06-14 23:29:10 +02:00
satyajit.happy
1b2dcd77d4
fix: fix header tint color not applied
2019-06-14 23:23:45 +02:00
satyajit.happy
2f6576636a
fix: make the header appear static when sibling of headerless screen
2019-06-14 18:56:22 +02:00
satyajit.happy
2ada0c709b
fix: don't set a header height when a custom header is specified
2019-06-14 14:56:58 +02:00
satyajit.happy
6a2dfa1695
fix: use pure component for stack items
2019-06-13 23:02:15 +02:00
satyajit.happy
6b2079735b
refactor: keep transition states locally and implement animated replace
2019-06-08 01:18:48 +02:00
satyajit.happy
8f95076102
fix: properly set pointerEvents on the views
2019-06-07 12:02:43 +02:00
satyajit.happy
a8f521883a
fix: make sure left button isn't bigger than screen width / 2
2019-06-07 11:17:20 +02:00
satyajit.happy
fd5d4d05dd
refactor: refactor and perf improvements
2019-06-06 12:32:33 +02:00
satyajit.happy
06b3867e17
refactor: rewrite based on reanimated
2019-05-25 00:58:11 +02:00
satyajit.happy
3b907d39ee
refactor: migrate codebase to typescript
2019-04-26 10:20:51 +02:00
satyajit.happy
dee470829a
chore: configure bob and metro
2019-04-17 14:47:03 +02:00
Brent Vatne
cce6f6678c
Merge pull request #104 from expo/@evanbacon/expo-web/header-back-button
...
[web] Updated header style for web
2019-04-12 10:33:07 -07:00
Brent Vatne
cf2d6274df
Add disabled prop to HeaderBackButton
2019-03-30 04:32:54 -07:00
Brent Vatne
b433982e76
Header title defaults to disabled font scaling
2019-03-15 10:39:00 -07:00
Eric Vicenti
092f870359
Merge pull request #99 from expo/@evanbacon/expo-web/header-shadow
...
[web] added: header shadow
2019-03-27 00:25:31 -07:00
Brent Vatne
2efe45bbbe
Merge pull request #93 from expo/@evanbacon/expo-web/avoid-cjs
...
Remove commonJS on web
2019-03-12 13:47:17 -07:00
Brent Vatne
a8313a71ec
Merge pull request #88 from expo/@evanbacon/web-support
...
[Web] More web support
2019-03-06 16:01:56 -08:00
Satyajit Sahoo
8ed859035f
chore: fix formatting and snapshot tests
2019-03-01 13:32:54 +01:00
Brent Vatne
cbca7df4b5
Merge pull request #87 from substantial/add-back-font-scaling
...
iOS Accessibility - add headerBackAllowFontScaling option
2019-02-20 12:47:13 -08:00
Brent Vatne
5f5f5808cf
Revert "Header is positioned absolute in Layout layer already"
...
This reverts commit 553a5f616c3278041ecfb60e66fbcb1b3465bd00.
2019-02-06 08:50:20 -08:00
Andrew Trand
0a0b9d4f70
fix: header accessibility fixes ( #77 )
2019-02-07 13:54:30 +02:00
Brent Vatne
412abf028f
Merge pull request #71 from vshab/fix/transparent-header-height
...
Fix transparent header height measurement (Fix #60 )
2019-01-18 11:53:34 -08:00
Brent Vatne
6711967795
Force horizontal inset
2018-11-07 16:48:54 -08:00
Brent Vatne
e26e2fee5a
Improve UIKit style masking and button opacity
2018-11-05 14:22:35 -08:00
Brent Vatne
beb2f75884
Don't fade the back image on Android, use transparent background color
2018-11-03 14:13:32 -07:00
Brent Vatne
57f1ade906
Merge pull request #33 from wakeless/mgall/allow-left-button-to-control-its-own-destiny
...
Allow headerLeft components to control their own rendering
2018-11-02 10:14:31 -07:00
Brent Vatne
ab20beddea
Fix linting and typo
2018-10-31 19:23:44 -07:00