Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 20 additions & 10 deletions patches/@react-navigation%2Fnative-stack@7.17.6.patch
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,16 @@ diff --git a/lib/typescript/src/types.d.ts b/lib/typescript/src/types.d.ts
index 2f1351a89f0f2e67e854dc81e392198326b71834..ccf8556911fa1fa17588f06b56edb2151a712bf0 100644
--- a/lib/typescript/src/types.d.ts
+++ b/lib/typescript/src/types.d.ts
@@ -1091,6 +1091,13 @@ export type NativeStackHeaderItemSpacing = {
@@ -862,6 +862,8 @@
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/sharesbackground
*/
sharesBackground?: boolean;
+ /** Native bar axis preference on iOS 27.1 and later. */
+ axisBehavior?: 'automatic' | 'horizontalOnly' | 'verticalPreferred';
/**
* An identifier used to match items across transitions.
* Only available from iOS 26.0 and later.
@@ -1091,6 +1093,13 @@ export type NativeStackHeaderItemSpacing = {
*/
export type NativeStackHeaderItemCustom = {
type: 'custom';
Expand All @@ -190,15 +199,20 @@ index 2f1351a89f0f2e67e854dc81e392198326b71834..ccf8556911fa1fa17588f06b56edb215
/**
* A React Element to display as the item.
*/
@@ -864,1 +864,3 @@
sharesBackground?: boolean;
+ /** Native bar axis preference on iOS 27.1 and later. */
+ axisBehavior?: 'automatic' | 'horizontalOnly' | 'verticalPreferred';
diff --git a/src/types.tsx b/src/types.tsx
index 7488b1cf20afe36b5c585fbfcd369471fdb6ab8d..f4bd78e48c687024ba84e998fac79e9eb16f1a80 100644
--- a/src/types.tsx
+++ b/src/types.tsx
@@ -1156,6 +1156,13 @@ export type NativeStackHeaderItemSpacing = {
@@ -918,6 +918,8 @@
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/sharesbackground
*/
sharesBackground?: boolean;
+ /** Native bar axis preference on iOS 27.1 and later. */
+ axisBehavior?: 'automatic' | 'horizontalOnly' | 'verticalPreferred';
/**
* An identifier used to match items across transitions.
* Only available from iOS 26.0 and later.
@@ -1156,6 +1158,13 @@ export type NativeStackHeaderItemSpacing = {
*/
export type NativeStackHeaderItemCustom = {
type: 'custom';
Expand All @@ -212,10 +226,6 @@ index 7488b1cf20afe36b5c585fbfcd369471fdb6ab8d..f4bd78e48c687024ba84e998fac79e9e
/**
* A React Element to display as the item.
*/
@@ -920,1 +920,3 @@
sharesBackground?: boolean;
+ /** Native bar axis preference on iOS 27.1 and later. */
+ axisBehavior?: 'automatic' | 'horizontalOnly' | 'verticalPreferred';
diff --git a/src/views/useHeaderConfigProps.tsx b/src/views/useHeaderConfigProps.tsx
index 3f3fff405048b3c2250afbe99dd7f35cecb9a6d5..bb062b898cfa77f8c02f951dc9d81b51672d7d0e 100644
--- a/src/views/useHeaderConfigProps.tsx
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.