@amazon-devices/react-native-screens 2.0.1758683737 → 2.0.1759135970

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.
@@ -9266,7 +9266,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
9266
9266
  // amznmod_react - register component on Kepler
9267
9267
  var ScreenComponent = 'RNSScreen';
9268
9268
  var viewConfig = {
9269
- activityState: true
9269
+ activityState: true,
9270
+ stackPresentation: true,
9271
+ stackAnimation: true
9270
9272
  };
9271
9273
  var bubblingEventTypes = {
9272
9274
  topOnAppear: {
@@ -9443,7 +9445,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
9443
9445
  __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
9444
9446
  "use strict";
9445
9447
 
9446
- var _excluded = ["active", "activityState", "style", "enabled"];
9448
+ var _excluded = ["active", "activityState", "style", "enabled", "stackAnimation"];
9447
9449
  function _callSuper(t, o, e) { return o = _$$_REQUIRE(_dependencyMap[0])(o), _$$_REQUIRE(_dependencyMap[1])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _$$_REQUIRE(_dependencyMap[0])(t).constructor) : o.apply(t, e)); }
9448
9450
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9449
9451
  Object.defineProperty(exports, "__esModule", {
@@ -9562,6 +9564,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
9562
9564
  style = _this$props.style,
9563
9565
  _this$props$enabled = _this$props.enabled,
9564
9566
  enabled = _this$props$enabled === undefined ? ENABLE_SCREENS : _this$props$enabled,
9567
+ stackAnimation = _this$props.stackAnimation,
9565
9568
  rest = _$$_REQUIRE(_dependencyMap[10])(_this$props, _excluded);
9566
9569
  if (enabled) {
9567
9570
  if (active !== undefined && activityState === undefined) {
@@ -9703,7 +9706,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
9703
9706
 
9704
9707
  var _excluded = ["children"],
9705
9708
  _excluded2 = ["enabled", "freezeOnBlur"],
9706
- _excluded3 = ["active", "activityState", "children", "isNativeStack", "gestureResponseDistance", "onGestureCancel"],
9709
+ _excluded3 = ["active", "activityState", "children", "isNativeStack", "gestureResponseDistance", "onGestureCancel", "stackAnimation"],
9707
9710
  _excluded4 = ["active", "activityState", "style", "onComponentRef"],
9708
9711
  _excluded5 = ["enabled", "hasTwoStates"];
9709
9712
  function _callSuper(t, o, e) { return o = _$$_REQUIRE(_dependencyMap[0])(o), _$$_REQUIRE(_dependencyMap[1])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _$$_REQUIRE(_dependencyMap[0])(t).constructor) : o.apply(t, e)); }
@@ -9936,6 +9939,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
9936
9939
  isNativeStack = rest.isNativeStack,
9937
9940
  gestureResponseDistance = rest.gestureResponseDistance,
9938
9941
  onGestureCancel = rest.onGestureCancel,
9942
+ stackAnimation = rest.stackAnimation,
9939
9943
  props = _$$_REQUIRE(_dependencyMap[13])(rest, _excluded3);
9940
9944
  if (active !== undefined && activityState === undefined) {
9941
9945
  console.warn('It appears that you are using old version of react-navigation library. Please update @react-navigation/bottom-tabs, @react-navigation/stack and @react-navigation/drawer to version 5.10.0 or above to take full advantage of new functionality added to react-native-screens');
@@ -9954,6 +9958,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
9954
9958
  freeze: freezeOnBlur && activityState === 0
9955
9959
  }, /*#__PURE__*/_react.default.createElement(ScreensNativeModules.NativeScreen, _extends({}, props, {
9956
9960
  activityState: activityState,
9961
+ stackAnimation: stackAnimation,
9957
9962
  sheetAllowedDetents: sheetAllowedDetents,
9958
9963
  sheetLargestUndimmedDetent: sheetLargestUndimmedDetent,
9959
9964
  sheetGrabberVisible: sheetGrabberVisible,
@@ -11647,7 +11652,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
11647
11652
  var _useTransitionProgress = _$$_REQUIRE(_dependencyMap[0])(_$$_REQUIRE(_dependencyMap[10]));
11648
11653
  var _excluded = ["children"],
11649
11654
  _excluded2 = ["enabled", "freezeOnBlur"],
11650
- _excluded3 = ["active", "activityState", "children", "isNativeStack", "gestureResponseDistance", "onGestureCancel"],
11655
+ _excluded3 = ["active", "activityState", "children", "isNativeStack", "gestureResponseDistance", "onGestureCancel", "stackAnimation"],
11651
11656
  _excluded4 = ["active", "activityState", "style", "onComponentRef"],
11652
11657
  _excluded5 = ["enabled", "hasTwoStates"];
11653
11658
  /*
@@ -11847,6 +11852,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
11847
11852
  isNativeStack = rest.isNativeStack,
11848
11853
  gestureResponseDistance = rest.gestureResponseDistance,
11849
11854
  onGestureCancel = rest.onGestureCancel,
11855
+ stackAnimation = rest.stackAnimation,
11850
11856
  props = (0, _objectWithoutProperties2.default)(rest, _excluded3);
11851
11857
  if (active !== undefined && activityState === undefined) {
11852
11858
  console.warn('It appears that you are using old version of react-navigation library. Please update @react-navigation/bottom-tabs, @react-navigation/stack and @react-navigation/drawer to version 5.10.0 or above to take full advantage of new functionality added to react-native-screens');
@@ -11865,6 +11871,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
11865
11871
  freeze: freezeOnBlur && activityState === 0,
11866
11872
  children: /*#__PURE__*/(0, _$$_REQUIRE(_dependencyMap[17]).jsx)(ScreensNativeModules.NativeScreen, Object.assign({}, props, {
11867
11873
  activityState: activityState,
11874
+ stackAnimation: stackAnimation,
11868
11875
  sheetAllowedDetents: sheetAllowedDetents,
11869
11876
  sheetLargestUndimmedDetent: sheetLargestUndimmedDetent,
11870
11877
  sheetGrabberVisible: sheetGrabberVisible,
@@ -12162,7 +12169,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
12162
12169
  // amznmod_react - register component on Kepler
12163
12170
  var ScreenComponent = 'RNSScreen';
12164
12171
  var viewConfig = {
12165
- activityState: true
12172
+ activityState: true,
12173
+ stackPresentation: true,
12174
+ stackAnimation: true
12166
12175
  };
12167
12176
  var bubblingEventTypes = {
12168
12177
  topOnAppear: {
@@ -30756,7 +30765,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
30756
30765
  // amznmod_react - register component on Kepler
30757
30766
  var ScreenComponent = 'RNSScreen';
30758
30767
  var viewConfig = {
30759
- activityState: true
30768
+ activityState: true,
30769
+ stackPresentation: true,
30770
+ stackAnimation: true
30760
30771
  };
30761
30772
  var bubblingEventTypes = {
30762
30773
  topOnAppear: {
@@ -30939,7 +30950,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
30939
30950
  });
30940
30951
  });
30941
30952
  var _useTransitionProgress = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[11]));
30942
- var _excluded = ["active", "activityState", "style", "enabled"];
30953
+ var _excluded = ["active", "activityState", "style", "enabled", "stackAnimation"];
30943
30954
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
30944
30955
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
30945
30956
  function _extends() {
@@ -30980,6 +30991,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
30980
30991
  style = _this$props.style,
30981
30992
  _this$props$enabled = _this$props.enabled,
30982
30993
  enabled = _this$props$enabled === undefined ? ENABLE_SCREENS : _this$props$enabled,
30994
+ stackAnimation = _this$props.stackAnimation,
30983
30995
  rest = (0, _objectWithoutProperties2.default)(_this$props, _excluded);
30984
30996
  if (enabled) {
30985
30997
  if (active !== undefined && activityState === undefined) {
@@ -32446,7 +32458,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
32446
32458
  });
32447
32459
  });
32448
32460
  var _useTransitionProgress = _$$_REQUIRE(_dependencyMap[1])(_$$_REQUIRE(_dependencyMap[11]));
32449
- var _excluded = ["active", "activityState", "style", "enabled"];
32461
+ var _excluded = ["active", "activityState", "style", "enabled", "stackAnimation"];
32450
32462
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
32451
32463
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
32452
32464
  var ENABLE_SCREENS = true;
@@ -32478,6 +32490,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
32478
32490
  style = _this$props.style,
32479
32491
  _this$props$enabled = _this$props.enabled,
32480
32492
  enabled = _this$props$enabled === undefined ? ENABLE_SCREENS : _this$props$enabled,
32493
+ stackAnimation = _this$props.stackAnimation,
32481
32494
  rest = (0, _objectWithoutProperties2.default)(_this$props, _excluded);
32482
32495
  if (enabled) {
32483
32496
  if (active !== undefined && activityState === undefined) {