@amazon-devices/react-navigation__stack 2.0.9000000000 → 2.0.9000000001
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/SystemBundles/{1e6b57a7e9328f2f26ced2a1622b083dc51e8c2df5d535bb32a19f9026ef2174.bundle → e440d378c4723b8729ec3783ca67a088c72f96ed1d3a8b890e7cb33a97376b8f.bundle} +3803 -4616
- package/SystemBundles/{1e6b57a7e9328f2f26ced2a1622b083dc51e8c2df5d535bb32a19f9026ef2174.map → e440d378c4723b8729ec3783ca67a088c72f96ed1d3a8b890e7cb33a97376b8f.map} +153 -467
- package/SystemModules/amzn__react-navigation__stack-2.private.modules.txt +118 -125
- package/kepler-compatibility.json +3 -2
- package/lib/commonjs/views/Stack/CardStack.js +2 -3
- package/lib/commonjs/views/Stack/CardStack.js.map +1 -1
- package/lib/module/views/Stack/CardStack.js +2 -3
- package/lib/module/views/Stack/CardStack.js.map +1 -1
- package/lib/typescript/src/navigators/createStackNavigator.d.ts +1 -0
- package/lib/typescript/src/navigators/createStackNavigator.d.ts.map +1 -1
- package/lib/typescript/src/views/GestureHandlerNative.d.ts +1 -0
- package/lib/typescript/src/views/GestureHandlerNative.d.ts.map +1 -1
- package/lib/typescript/src/views/Header/HeaderContainer.d.ts +1 -0
- package/lib/typescript/src/views/Header/HeaderContainer.d.ts.map +1 -1
- package/lib/typescript/src/views/Header/HeaderSegment.d.ts +1 -0
- package/lib/typescript/src/views/Header/HeaderSegment.d.ts.map +1 -1
- package/lib/typescript/src/views/ModalStatusBarManager.d.ts +1 -0
- package/lib/typescript/src/views/ModalStatusBarManager.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/views/Stack/CardStack.tsx +2 -2
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@amazon-devices/react-navigation__stack", "description": "Stack navigator component for iOS and Android with animated transitions and gestures", "version": "2.0.
|
|
1
|
+
{"name": "@amazon-devices/react-navigation__stack", "description": "Stack navigator component for iOS and Android with animated transitions and gestures", "version": "2.0.9000000001+6.3.19", "keywords": ["react-native-component", "react-component", "react-native", "react-navigation", "ios", "android", "stack"], "license": "See license in LICENSE", "repository": {"type": "git", "url": "https://github.com/react-navigation/react-navigation.git", "directory": "packages/stack"}, "bugs": {"url": "https://github.com/react-navigation/react-navigation/issues"}, "homepage": "https://reactnavigation.org/docs/stack-navigator/", "main": "lib/commonjs/index.js", "react-native": "src/index.tsx", "source": "src/index.tsx", "module": "lib/module/index.js", "types": "lib/typescript/src/index.d.ts", "files": ["src", "lib", "kepler-compatibility.json", "!**/__tests__", "SystemModules", "SystemBundles", "THIRD_PARTY_NOTICES.txt", "kepler-transformed-package-info.json"], "sideEffects": false, "kepler": {"temporary-alias-for-package": {"name": "@react-navigation/stack", "version": "6.3.19"}}, "publishConfig": {"access": "public"}, "scripts": {"clean": "del lib"}, "dependencies": {"@amazon-devices/react-navigation__elements": "^2.0.0+1.3.20", "color": "4.2.3", "warn-once": "0.1.0"}, "devDependencies": {"@amazon-devices/react-native-kepler": "^2.0.0+rn0.72.0", "@amazon-devices/react-navigation__native": "^2.0.0+6.1.9", "@testing-library/react-native": "11.5.0", "@types/color": "3.0.2", "@types/jest": "26.0.15", "@types/react": "17.0.2", "@types/react-native": "0.72.5", "del-cli": "5.0.0", "react-native-builder-bob": "0.20.4", "react-native-gesture-handler": "~2.13.0", "@amazon-devices/react-native-safe-area-context": "^2.0.0+3.2.0", "@amazon-devices/react-native-screens": "^2.0.0+3.25.0", "typescript": "4.9.4"}, "peerDependencies": {"@amazon-devices/react-native-kepler": "^2.0.0+rn0.72.0", "@amazon-devices/react-navigation__native": "^2.0.0+6.1.9", "react": "*", "react-native": "*", "react-native-gesture-handler": ">= 2.0.0", "@amazon-devices/react-native-safe-area-context": "^2.0.0+3.2.0", "@amazon-devices/react-native-screens": "^2.0.0+3.25.0"}, "react-native-builder-bob": {"source": "src", "output": "lib", "targets": ["commonjs", "module", ["typescript", {"project": "tsconfig.build.json"}]]}}
|
|
@@ -588,8 +588,8 @@ export default class CardStack extends React.Component<Props, State> {
|
|
|
588
588
|
| 1
|
|
589
589
|
| 0 = 1;
|
|
590
590
|
|
|
591
|
-
|
|
592
|
-
|
|
591
|
+
if (index < self.length - activeScreensLimit - 1) {
|
|
592
|
+
// screen should be inactive because it is too deep in the stack
|
|
593
593
|
isScreenActive = STATE_INACTIVE;
|
|
594
594
|
} else {
|
|
595
595
|
isScreenActive = STATE_TRANSITIONING_OR_BELOW_TOP;
|