@react-navigation/native-stack 7.3.28 → 7.4.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.
- package/lib/module/views/NativeStackView.native.js +8 -1
- package/lib/module/views/NativeStackView.native.js.map +1 -1
- package/lib/module/views/useHeaderConfigProps.js +121 -4
- package/lib/module/views/useHeaderConfigProps.js.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +312 -7
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/lib/typescript/src/views/NativeStackView.native.d.ts.map +1 -1
- package/lib/typescript/src/views/useHeaderConfigProps.d.ts +2 -31
- package/lib/typescript/src/views/useHeaderConfigProps.d.ts.map +1 -1
- package/package.json +6 -4
- package/src/index.tsx +9 -0
- package/src/types.tsx +335 -5
- package/src/views/NativeStackView.native.tsx +8 -1
- package/src/views/useHeaderConfigProps.tsx +178 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DefaultNavigatorOptions, Descriptor, NavigationHelpers, NavigationProp, ParamListBase, Route, RouteProp, StackActionHelpers, StackNavigationState, StackRouterOptions, Theme } from '@react-navigation/native';
|
|
2
|
-
import type { ImageSourcePropType, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
-
import type { ScreenProps, ScreenStackHeaderConfigProps, SearchBarProps } from 'react-native-screens';
|
|
2
|
+
import type { ColorValue, ImageSourcePropType, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
+
import type { ScreenProps, ScreenStackHeaderConfigProps, ScrollEdgeEffect, SearchBarProps } from 'react-native-screens';
|
|
4
4
|
export type NativeStackNavigationEventMap = {
|
|
5
5
|
/**
|
|
6
6
|
* Event which fires when a transition animation starts.
|
|
@@ -76,7 +76,7 @@ export type NativeStackHeaderProps = {
|
|
|
76
76
|
*/
|
|
77
77
|
navigation: NativeStackNavigationProp<ParamListBase>;
|
|
78
78
|
};
|
|
79
|
-
export type
|
|
79
|
+
export type NativeStackHeaderItemProps = {
|
|
80
80
|
/**
|
|
81
81
|
* Tint color for the header.
|
|
82
82
|
*/
|
|
@@ -86,10 +86,10 @@ export type NativeStackHeaderRightProps = {
|
|
|
86
86
|
*/
|
|
87
87
|
canGoBack?: boolean;
|
|
88
88
|
};
|
|
89
|
-
export type
|
|
89
|
+
export type NativeStackHeaderBackProps = NativeStackHeaderItemProps & {
|
|
90
90
|
/**
|
|
91
91
|
* Label text for the button. Usually the title of the previous screen.
|
|
92
|
-
* By default, this is only shown on iOS.
|
|
92
|
+
* By default, this is only shown on iOS 18.
|
|
93
93
|
*/
|
|
94
94
|
label?: string;
|
|
95
95
|
/**
|
|
@@ -97,6 +97,14 @@ export type NativeStackHeaderLeftProps = NativeStackHeaderRightProps & {
|
|
|
97
97
|
*/
|
|
98
98
|
href?: string;
|
|
99
99
|
};
|
|
100
|
+
/**
|
|
101
|
+
* @deprecated Use `NativeStackHeaderBackProps` instead.
|
|
102
|
+
*/
|
|
103
|
+
export type NativeStackHeaderLeftProps = NativeStackHeaderBackProps;
|
|
104
|
+
/**
|
|
105
|
+
* @deprecated Use `NativeStackHeaderItemProps` instead.
|
|
106
|
+
*/
|
|
107
|
+
export type NativeStackHeaderRightProps = NativeStackHeaderItemProps;
|
|
100
108
|
export type NativeStackNavigationOptions = {
|
|
101
109
|
/**
|
|
102
110
|
* String that can be displayed in the header as a fallback for `headerTitle`.
|
|
@@ -241,12 +249,32 @@ export type NativeStackNavigationOptions = {
|
|
|
241
249
|
/**
|
|
242
250
|
* Function which returns a React Element to display on the left side of the header.
|
|
243
251
|
* This replaces the back button. See `headerBackVisible` to show the back button along side left element.
|
|
252
|
+
* Will be overriden by `headerLeftItems` on iOS.
|
|
244
253
|
*/
|
|
245
|
-
headerLeft?: (props:
|
|
254
|
+
headerLeft?: (props: NativeStackHeaderBackProps) => React.ReactNode;
|
|
246
255
|
/**
|
|
247
256
|
* Function which returns a React Element to display on the right side of the header.
|
|
257
|
+
* Will be overriden by `headerRightItems` on iOS.
|
|
248
258
|
*/
|
|
249
|
-
headerRight?: (props:
|
|
259
|
+
headerRight?: (props: NativeStackHeaderItemProps) => React.ReactNode;
|
|
260
|
+
/**
|
|
261
|
+
* Function which returns an array of items to display as on the left side of the header.
|
|
262
|
+
* Overrides `headerLeft`.
|
|
263
|
+
*
|
|
264
|
+
* This is an unstable API and might change in the future.
|
|
265
|
+
*
|
|
266
|
+
* @platform ios
|
|
267
|
+
*/
|
|
268
|
+
unstable_headerLeftItems?: (props: NativeStackHeaderItemProps) => NativeStackHeaderItem[];
|
|
269
|
+
/**
|
|
270
|
+
* Function which returns an array of items to display as on the right side of the header.
|
|
271
|
+
* Overrides `headerRight`.
|
|
272
|
+
*
|
|
273
|
+
* This is an unstable API and might change in the future.
|
|
274
|
+
*
|
|
275
|
+
* @platform ios
|
|
276
|
+
*/
|
|
277
|
+
unstable_headerRightItems?: (props: NativeStackHeaderItemProps) => NativeStackHeaderItem[];
|
|
250
278
|
/**
|
|
251
279
|
* String or a function that returns a React Element to be used by the header.
|
|
252
280
|
* Defaults to screen `title` or route name.
|
|
@@ -624,6 +652,24 @@ export type NativeStackNavigationOptions = {
|
|
|
624
652
|
* Only supported on iOS and Android.
|
|
625
653
|
*/
|
|
626
654
|
freezeOnBlur?: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* Configures the scroll edge effect for the _content ScrollView_ (the ScrollView that is present in first descendants chain of the Screen).
|
|
657
|
+
* Depending on values set, it will blur the scrolling content below certain UI elements (Header Items, SearchBar)
|
|
658
|
+
* for the specifed edge of the ScrollView.
|
|
659
|
+
*
|
|
660
|
+
* When set in nested containers, i.e. ScreenStack inside BottomTabs, or the other way around,
|
|
661
|
+
* the ScrollView will use only the innermost one's config.
|
|
662
|
+
*
|
|
663
|
+
* @platform ios
|
|
664
|
+
*
|
|
665
|
+
* @supported iOS 26 or higher
|
|
666
|
+
*/
|
|
667
|
+
scrollEdgeEffects?: {
|
|
668
|
+
bottom?: ScrollEdgeEffect;
|
|
669
|
+
left?: ScrollEdgeEffect;
|
|
670
|
+
right?: ScrollEdgeEffect;
|
|
671
|
+
top?: ScrollEdgeEffect;
|
|
672
|
+
};
|
|
627
673
|
/**
|
|
628
674
|
* Footer component that can be used alongside formSheet stack presentation style.
|
|
629
675
|
*
|
|
@@ -638,9 +684,268 @@ export type NativeStackNavigationOptions = {
|
|
|
638
684
|
*/
|
|
639
685
|
unstable_sheetFooter?: () => React.ReactNode;
|
|
640
686
|
};
|
|
687
|
+
type PlatformIconShared = {
|
|
688
|
+
type: 'imageSource';
|
|
689
|
+
imageSource: ImageSourcePropType;
|
|
690
|
+
};
|
|
691
|
+
type PlatformIconIOSSfSymbol = {
|
|
692
|
+
type: 'sfSymbol';
|
|
693
|
+
name: string;
|
|
694
|
+
};
|
|
695
|
+
type PlatformIconIOS = PlatformIconIOSSfSymbol | PlatformIconShared;
|
|
696
|
+
type SharedHeaderItem = {
|
|
697
|
+
/**
|
|
698
|
+
* Label of the item.
|
|
699
|
+
*/
|
|
700
|
+
label: string;
|
|
701
|
+
/**
|
|
702
|
+
* Style for the item label.
|
|
703
|
+
*/
|
|
704
|
+
labelStyle?: {
|
|
705
|
+
fontFamily?: string;
|
|
706
|
+
fontSize?: number;
|
|
707
|
+
fontWeight?: string;
|
|
708
|
+
color?: ColorValue;
|
|
709
|
+
};
|
|
710
|
+
/**
|
|
711
|
+
* Icon for the item
|
|
712
|
+
*/
|
|
713
|
+
icon?: PlatformIconIOS;
|
|
714
|
+
/**
|
|
715
|
+
* The variant of the item.
|
|
716
|
+
* "prominent" only available from iOS 26.0 and later.
|
|
717
|
+
*
|
|
718
|
+
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/style-swift.property
|
|
719
|
+
*/
|
|
720
|
+
variant?: 'plain' | 'done' | 'prominent';
|
|
721
|
+
/**
|
|
722
|
+
* The tint color to apply to the item.
|
|
723
|
+
*
|
|
724
|
+
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/tintcolor
|
|
725
|
+
*/
|
|
726
|
+
tintColor?: ColorValue;
|
|
727
|
+
/**
|
|
728
|
+
* Whether the item is in a disabled state.
|
|
729
|
+
*/
|
|
730
|
+
disabled?: boolean;
|
|
731
|
+
/**
|
|
732
|
+
* The width of the item.
|
|
733
|
+
*
|
|
734
|
+
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/width
|
|
735
|
+
*/
|
|
736
|
+
width?: number;
|
|
737
|
+
/**
|
|
738
|
+
* Whether the background this item may share with other items in the bar should be hidden.
|
|
739
|
+
* Only available from iOS 26.0 and later.
|
|
740
|
+
*
|
|
741
|
+
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/hidessharedbackground
|
|
742
|
+
*/
|
|
743
|
+
hidesSharedBackground?: boolean;
|
|
744
|
+
/**
|
|
745
|
+
* Whether this item can share a background with other items.
|
|
746
|
+
* Only available from iOS 26.0 and later.
|
|
747
|
+
*
|
|
748
|
+
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/sharesbackground
|
|
749
|
+
*/
|
|
750
|
+
sharesBackground?: boolean;
|
|
751
|
+
/**
|
|
752
|
+
* An identifier used to match items across transitions.
|
|
753
|
+
* Only available from iOS 26.0 and later.
|
|
754
|
+
*
|
|
755
|
+
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/identifier
|
|
756
|
+
*/
|
|
757
|
+
identifier?: string;
|
|
758
|
+
/**
|
|
759
|
+
* A badge to display on a item.
|
|
760
|
+
* Only available from iOS 26.0 and later.
|
|
761
|
+
*
|
|
762
|
+
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitembadge
|
|
763
|
+
*/
|
|
764
|
+
badge?: {
|
|
765
|
+
/**
|
|
766
|
+
* The text to display in the badge.
|
|
767
|
+
*/
|
|
768
|
+
value: number | string;
|
|
769
|
+
/**
|
|
770
|
+
* Style of the badge.
|
|
771
|
+
*/
|
|
772
|
+
style?: {
|
|
773
|
+
color?: ColorValue;
|
|
774
|
+
backgroundColor?: ColorValue;
|
|
775
|
+
fontFamily?: string;
|
|
776
|
+
fontSize?: number;
|
|
777
|
+
fontWeight?: string;
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
/**
|
|
781
|
+
* Accessibility label for the item.
|
|
782
|
+
*/
|
|
783
|
+
accessibilityLabel?: string;
|
|
784
|
+
/**
|
|
785
|
+
* Accessibility hint for the item.
|
|
786
|
+
*/
|
|
787
|
+
accessibilityHint?: string;
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* A button item in the header.
|
|
791
|
+
*/
|
|
792
|
+
export type NativeStackHeaderItemButton = SharedHeaderItem & {
|
|
793
|
+
/**
|
|
794
|
+
* Type of the item.
|
|
795
|
+
*/
|
|
796
|
+
type: 'button';
|
|
797
|
+
/**
|
|
798
|
+
* Function to call when the item is pressed.
|
|
799
|
+
*/
|
|
800
|
+
onPress: () => void;
|
|
801
|
+
/**
|
|
802
|
+
* Whether the item is in a selected state.
|
|
803
|
+
*
|
|
804
|
+
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/isselected
|
|
805
|
+
*/
|
|
806
|
+
selected?: boolean;
|
|
807
|
+
};
|
|
808
|
+
/**
|
|
809
|
+
* An action item in a menu.
|
|
810
|
+
*/
|
|
811
|
+
export type NativeStackHeaderItemMenuAction = {
|
|
812
|
+
type: 'action';
|
|
813
|
+
/**
|
|
814
|
+
* Label for the menu item.
|
|
815
|
+
*/
|
|
816
|
+
label: string;
|
|
817
|
+
/**
|
|
818
|
+
* Icon for the menu item.
|
|
819
|
+
*/
|
|
820
|
+
icon?: PlatformIconIOSSfSymbol;
|
|
821
|
+
/**
|
|
822
|
+
* Function to call when the menu item is pressed.
|
|
823
|
+
*/
|
|
824
|
+
onPress: () => void;
|
|
825
|
+
/**
|
|
826
|
+
* The state of an action- or command-based menu item.
|
|
827
|
+
*
|
|
828
|
+
* Read more: https://developer.apple.com/documentation/uikit/uimenuelement/state
|
|
829
|
+
*/
|
|
830
|
+
state?: 'on' | 'off' | 'mixed';
|
|
831
|
+
/**
|
|
832
|
+
* Whether to apply disabled style to the item.
|
|
833
|
+
*
|
|
834
|
+
* Read more: https://developer.apple.com/documentation/uikit/uimenuelement/attributes/disabled
|
|
835
|
+
*/
|
|
836
|
+
disabled?: boolean;
|
|
837
|
+
/**
|
|
838
|
+
* Whether to apply destructive style to the item.
|
|
839
|
+
*
|
|
840
|
+
* Read more: https://developer.apple.com/documentation/uikit/uimenuelement/attributes/destructive
|
|
841
|
+
*/
|
|
842
|
+
destructive?: boolean;
|
|
843
|
+
/**
|
|
844
|
+
* Whether to apply hidden style to the item.
|
|
845
|
+
*
|
|
846
|
+
* Read more: https://developer.apple.com/documentation/uikit/uimenuelement/attributes/hidden
|
|
847
|
+
*/
|
|
848
|
+
hidden?: boolean;
|
|
849
|
+
/**
|
|
850
|
+
* Whether to keep the menu presented after firing the element’s action.
|
|
851
|
+
*
|
|
852
|
+
* Read more: https://developer.apple.com/documentation/uikit/uimenuelement/attributes/keepsmenupresented
|
|
853
|
+
*/
|
|
854
|
+
keepsMenuPresented?: boolean;
|
|
855
|
+
/**
|
|
856
|
+
* An elaborated title that explains the purpose of the action.
|
|
857
|
+
*
|
|
858
|
+
* On iOS, the system displays this title in the discoverability heads-up display (HUD).
|
|
859
|
+
* If this is not set, the HUD displays the title property.
|
|
860
|
+
*
|
|
861
|
+
* Read more: https://developer.apple.com/documentation/uikit/uiaction/discoverabilitytitle
|
|
862
|
+
*/
|
|
863
|
+
discoverabilityLabel?: string;
|
|
864
|
+
};
|
|
865
|
+
/**
|
|
866
|
+
* A submenu item that contains other menu items.
|
|
867
|
+
*/
|
|
868
|
+
export type NativeStackHeaderItemMenuSubmenu = {
|
|
869
|
+
type: 'submenu';
|
|
870
|
+
/**
|
|
871
|
+
* Label for the submenu item.
|
|
872
|
+
*/
|
|
873
|
+
label: string;
|
|
874
|
+
/**
|
|
875
|
+
* Icon for the submenu item.
|
|
876
|
+
*/
|
|
877
|
+
icon?: PlatformIconIOSSfSymbol;
|
|
878
|
+
/**
|
|
879
|
+
* Array of menu items (actions or submenus).
|
|
880
|
+
*/
|
|
881
|
+
items: NativeStackHeaderItemMenu['menu']['items'];
|
|
882
|
+
};
|
|
883
|
+
/**
|
|
884
|
+
* An item that shows a menu when pressed.
|
|
885
|
+
*/
|
|
886
|
+
export type NativeStackHeaderItemMenu = SharedHeaderItem & {
|
|
887
|
+
type: 'menu';
|
|
888
|
+
/**
|
|
889
|
+
* Whether the menu is a selection menu.
|
|
890
|
+
* Tapping an item in a selection menu will add a checkmark to the selected item.
|
|
891
|
+
*
|
|
892
|
+
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/changesselectionasprimaryaction
|
|
893
|
+
*/
|
|
894
|
+
changesSelectionAsPrimaryAction?: boolean;
|
|
895
|
+
/**
|
|
896
|
+
* Menu for the item.
|
|
897
|
+
*/
|
|
898
|
+
menu: {
|
|
899
|
+
/**
|
|
900
|
+
* Optional title to show on top of the menu.
|
|
901
|
+
*/
|
|
902
|
+
title?: string;
|
|
903
|
+
/**
|
|
904
|
+
* Array of menu items (actions or submenus).
|
|
905
|
+
*/
|
|
906
|
+
items: (NativeStackHeaderItemMenuAction | NativeStackHeaderItemMenuSubmenu)[];
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
/**
|
|
910
|
+
* An item to add spacing between other items in the header.
|
|
911
|
+
*/
|
|
912
|
+
export type NativeStackHeaderItemSpacing = {
|
|
913
|
+
type: 'spacing';
|
|
914
|
+
/**
|
|
915
|
+
* The amount of spacing to add.
|
|
916
|
+
*/
|
|
917
|
+
spacing: number;
|
|
918
|
+
};
|
|
919
|
+
/**
|
|
920
|
+
* A custom item to display any React Element in the header.
|
|
921
|
+
*/
|
|
922
|
+
export type NativeStackHeaderItemCustom = {
|
|
923
|
+
type: 'custom';
|
|
924
|
+
/**
|
|
925
|
+
* A React Element to display as the item.
|
|
926
|
+
*/
|
|
927
|
+
element: React.ReactElement;
|
|
928
|
+
/**
|
|
929
|
+
* Whether the background this item may share with other items in the bar should be hidden.
|
|
930
|
+
* Only available from iOS 26.0 and later.
|
|
931
|
+
*
|
|
932
|
+
* Read more: https://developer.apple.com/documentation/uikit/uibarbuttonitem/hidessharedbackground
|
|
933
|
+
*/
|
|
934
|
+
hidesSharedBackground?: boolean;
|
|
935
|
+
};
|
|
936
|
+
/**
|
|
937
|
+
* An item that can be displayed in the header.
|
|
938
|
+
* It can be a button, a menu, spacing, or a custom element.
|
|
939
|
+
*
|
|
940
|
+
* On iOS 26, when showing items on the right side of the header,
|
|
941
|
+
* if the items don't fit the available space, they will be collapsed into a menu automatically.
|
|
942
|
+
* Items with `type: 'custom'` will not be included in this automatic collapsing behavior.
|
|
943
|
+
*/
|
|
944
|
+
export type NativeStackHeaderItem = NativeStackHeaderItemButton | NativeStackHeaderItemMenu | NativeStackHeaderItemSpacing | NativeStackHeaderItemCustom;
|
|
641
945
|
export type NativeStackNavigatorProps = DefaultNavigatorOptions<ParamListBase, string | undefined, StackNavigationState<ParamListBase>, NativeStackNavigationOptions, NativeStackNavigationEventMap, NativeStackNavigationProp<ParamListBase>> & StackRouterOptions & NativeStackNavigationConfig;
|
|
642
946
|
export type NativeStackDescriptor = Descriptor<NativeStackNavigationOptions, NativeStackNavigationProp<ParamListBase>, RouteProp<ParamListBase>>;
|
|
643
947
|
export type NativeStackDescriptorMap = {
|
|
644
948
|
[key: string]: NativeStackDescriptor;
|
|
645
949
|
};
|
|
950
|
+
export {};
|
|
646
951
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,KAAK,EACL,SAAS,EACT,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,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O,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,YAAY,CAAC;IAC5B;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,qBAAqB,GAC7B,2BAA2B,GAC3B,yBAAyB,GACzB,4BAA4B,GAC5B,2BAA2B,CAAC;AAEhC,MAAM,MAAM,yBAAyB,GAAG,uBAAuB,CAC7D,aAAa,EACb,MAAM,GAAG,SAAS,EAClB,oBAAoB,CAAC,aAAa,CAAC,EACnC,4BAA4B,EAC5B,6BAA6B,EAC7B,yBAAyB,CAAC,aAAa,CAAC,CACzC,GACC,kBAAkB,GAClB,2BAA2B,CAAC;AAE9B,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAC5C,4BAA4B,EAC5B,yBAAyB,CAAC,aAAa,CAAC,EACxC,SAAS,CAAC,aAAa,CAAC,CACzB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAC;CACtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeStackView.native.d.ts","sourceRoot":"","sources":["../../../../src/views/NativeStackView.native.tsx"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,SAAS,EAEd,KAAK,oBAAoB,EAG1B,MAAM,0BAA0B,CAAC;AAiBlC,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeStackView.native.d.ts","sourceRoot":"","sources":["../../../../src/views/NativeStackView.native.tsx"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,SAAS,EAEd,KAAK,oBAAoB,EAG1B,MAAM,0BAA0B,CAAC;AAiBlC,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAgblB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,oBAAoB,CAAC,aAAa,CAAC,CAAC;IAC3C,UAAU,EAAE,4BAA4B,CAAC;IACzC,WAAW,EAAE,wBAAwB,CAAC;IACtC,QAAQ,EAAE,CACR,KAAK,EAAE,SAAS,CAAC,aAAa,CAAC,EAC/B,WAAW,EAAE,OAAO,KACjB,qBAAqB,CAAC;CAC5B,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,UAAU,EACV,WAAW,EACX,QAAQ,GACT,EAAE,KAAK,2CA4HP"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Route } from '@react-navigation/native';
|
|
2
|
+
import { type ScreenStackHeaderConfigProps } from 'react-native-screens';
|
|
2
3
|
import type { NativeStackNavigationOptions } from '../types';
|
|
3
4
|
type Props = NativeStackNavigationOptions & {
|
|
4
5
|
headerTopInsetEnabled: boolean;
|
|
@@ -9,36 +10,6 @@ type Props = NativeStackNavigationOptions & {
|
|
|
9
10
|
} | undefined;
|
|
10
11
|
route: Route<string>;
|
|
11
12
|
};
|
|
12
|
-
export declare function useHeaderConfigProps({ headerBackImageSource, headerBackButtonDisplayMode, headerBackButtonMenuEnabled, headerBackTitle, headerBackTitleStyle, headerBackVisible, headerShadowVisible, headerLargeStyle, headerLargeTitle, headerLargeTitleShadowVisible, headerLargeTitleStyle, headerBackground, headerLeft, headerRight, headerShown, headerStyle, headerBlurEffect, headerTintColor, headerTitle, headerTitleAlign, headerTitleStyle, headerTransparent, headerSearchBarOptions, headerTopInsetEnabled, headerBack, route, title, }: Props):
|
|
13
|
-
readonly backButtonInCustomView: boolean;
|
|
14
|
-
readonly backgroundColor: string;
|
|
15
|
-
readonly backTitle: string | undefined;
|
|
16
|
-
readonly backTitleVisible: boolean | undefined;
|
|
17
|
-
readonly backButtonDisplayMode: import("react-native-screens").BackButtonDisplayMode | undefined;
|
|
18
|
-
readonly backTitleFontFamily: string | undefined;
|
|
19
|
-
readonly backTitleFontSize: number | undefined;
|
|
20
|
-
readonly blurEffect: import("react-native-screens").BlurEffectTypes | undefined;
|
|
21
|
-
readonly color: string;
|
|
22
|
-
readonly direction: import("@react-navigation/native").LocaleDirection;
|
|
23
|
-
readonly disableBackButtonMenu: boolean;
|
|
24
|
-
readonly hidden: boolean;
|
|
25
|
-
readonly hideBackButton: boolean;
|
|
26
|
-
readonly hideShadow: boolean | undefined;
|
|
27
|
-
readonly largeTitle: boolean | undefined;
|
|
28
|
-
readonly largeTitleBackgroundColor: string | undefined;
|
|
29
|
-
readonly largeTitleColor: string | undefined;
|
|
30
|
-
readonly largeTitleFontFamily: string | undefined;
|
|
31
|
-
readonly largeTitleFontSize: number | undefined;
|
|
32
|
-
readonly largeTitleFontWeight: string | undefined;
|
|
33
|
-
readonly largeTitleHideShadow: boolean;
|
|
34
|
-
readonly title: string;
|
|
35
|
-
readonly titleColor: string | undefined;
|
|
36
|
-
readonly titleFontFamily: string | undefined;
|
|
37
|
-
readonly titleFontSize: number | undefined;
|
|
38
|
-
readonly titleFontWeight: string;
|
|
39
|
-
readonly topInsetEnabled: boolean;
|
|
40
|
-
readonly translucent: boolean;
|
|
41
|
-
readonly children: import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
};
|
|
13
|
+
export declare function useHeaderConfigProps({ headerBackImageSource, headerBackButtonDisplayMode, headerBackButtonMenuEnabled, headerBackTitle, headerBackTitleStyle, headerBackVisible, headerShadowVisible, headerLargeStyle, headerLargeTitle, headerLargeTitleShadowVisible, headerLargeTitleStyle, headerBackground, headerLeft, headerRight, headerShown, headerStyle, headerBlurEffect, headerTintColor, headerTitle, headerTitleAlign, headerTitleStyle, headerTransparent, headerSearchBarOptions, headerTopInsetEnabled, headerBack, route, title, unstable_headerLeftItems: headerLeftItems, unstable_headerRightItems: headerRightItems, }: Props): ScreenStackHeaderConfigProps;
|
|
43
14
|
export {};
|
|
44
15
|
//# sourceMappingURL=useHeaderConfigProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHeaderConfigProps.d.ts","sourceRoot":"","sources":["../../../../src/views/useHeaderConfigProps.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"useHeaderConfigProps.d.ts","sourceRoot":"","sources":["../../../../src/views/useHeaderConfigProps.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,KAAK,EAIX,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EAOL,KAAK,4BAA4B,EAKlC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAIV,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAGlB,KAAK,KAAK,GAAG,4BAA4B,GAAG;IAC1C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,IAAI,EAAE,SAAS,CAAA;KAAE,GAAG,SAAS,CAAC;IACxE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB,CAAC;AA4GF,wBAAgB,oBAAoB,CAAC,EACnC,qBAAqB,EACrB,2BAA2B,EAC3B,2BAA2B,EAC3B,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,6BAA6B,EAC7B,qBAAqB,EACrB,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,UAAU,EACV,KAAK,EACL,KAAK,EACL,wBAAwB,EAAE,eAAe,EACzC,yBAAyB,EAAE,gBAAgB,GAC5C,EAAE,KAAK,GAAG,4BAA4B,CA2StC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-navigation/native-stack",
|
|
3
3
|
"description": "Native stack navigator using react-native-screens",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.4.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native-component",
|
|
7
7
|
"react-component",
|
|
@@ -46,19 +46,21 @@
|
|
|
46
46
|
"clean": "del lib"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@react-navigation/elements": "^2.
|
|
49
|
+
"@react-navigation/elements": "^2.7.0",
|
|
50
|
+
"color": "^4.2.3",
|
|
50
51
|
"warn-once": "^0.1.1"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
54
|
"@jest/globals": "^30.0.0",
|
|
54
55
|
"@react-navigation/native": "^7.1.18",
|
|
55
56
|
"@testing-library/react-native": "^13.2.0",
|
|
57
|
+
"@types/color": "^4.2.0",
|
|
56
58
|
"@types/react": "~19.0.10",
|
|
57
59
|
"del-cli": "^6.0.0",
|
|
58
60
|
"react": "19.0.0",
|
|
59
61
|
"react-native": "0.79.3",
|
|
60
62
|
"react-native-builder-bob": "^0.40.12",
|
|
61
|
-
"react-native-screens": "^4.
|
|
63
|
+
"react-native-screens": "^4.18.0",
|
|
62
64
|
"react-test-renderer": "19.0.0",
|
|
63
65
|
"typescript": "^5.8.3"
|
|
64
66
|
},
|
|
@@ -87,5 +89,5 @@
|
|
|
87
89
|
]
|
|
88
90
|
]
|
|
89
91
|
},
|
|
90
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "6f98ce195ea29883f4242e56390b334547c68bc5"
|
|
91
93
|
}
|
package/src/index.tsx
CHANGED
|
@@ -17,6 +17,15 @@ export { useAnimatedHeaderHeight } from './utils/useAnimatedHeaderHeight';
|
|
|
17
17
|
* Types
|
|
18
18
|
*/
|
|
19
19
|
export type {
|
|
20
|
+
NativeStackHeaderBackProps,
|
|
21
|
+
NativeStackHeaderItem,
|
|
22
|
+
NativeStackHeaderItemButton,
|
|
23
|
+
NativeStackHeaderItemCustom,
|
|
24
|
+
NativeStackHeaderItemMenu,
|
|
25
|
+
NativeStackHeaderItemMenuAction,
|
|
26
|
+
NativeStackHeaderItemMenuSubmenu,
|
|
27
|
+
NativeStackHeaderItemProps,
|
|
28
|
+
NativeStackHeaderItemSpacing,
|
|
20
29
|
NativeStackHeaderLeftProps,
|
|
21
30
|
NativeStackHeaderProps,
|
|
22
31
|
NativeStackHeaderRightProps,
|