@react-navigation/stack 7.2.9 → 7.2.10

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.
Files changed (70) hide show
  1. package/package.json +7 -5
  2. package/lib/commonjs/TransitionConfigs/CardStyleInterpolators.js +0 -407
  3. package/lib/commonjs/TransitionConfigs/CardStyleInterpolators.js.map +0 -1
  4. package/lib/commonjs/TransitionConfigs/HeaderStyleInterpolators.js +0 -271
  5. package/lib/commonjs/TransitionConfigs/HeaderStyleInterpolators.js.map +0 -1
  6. package/lib/commonjs/TransitionConfigs/TransitionPresets.js +0 -156
  7. package/lib/commonjs/TransitionConfigs/TransitionPresets.js.map +0 -1
  8. package/lib/commonjs/TransitionConfigs/TransitionSpecs.js +0 -128
  9. package/lib/commonjs/TransitionConfigs/TransitionSpecs.js.map +0 -1
  10. package/lib/commonjs/index.js +0 -68
  11. package/lib/commonjs/index.js.map +0 -1
  12. package/lib/commonjs/navigators/createStackNavigator.js +0 -75
  13. package/lib/commonjs/navigators/createStackNavigator.js.map +0 -1
  14. package/lib/commonjs/package.json +0 -1
  15. package/lib/commonjs/types.js +0 -6
  16. package/lib/commonjs/types.js.map +0 -1
  17. package/lib/commonjs/utils/CardAnimationContext.js +0 -11
  18. package/lib/commonjs/utils/CardAnimationContext.js.map +0 -1
  19. package/lib/commonjs/utils/GestureHandlerRefContext.js +0 -11
  20. package/lib/commonjs/utils/GestureHandlerRefContext.js.map +0 -1
  21. package/lib/commonjs/utils/ModalPresentationContext.js +0 -11
  22. package/lib/commonjs/utils/ModalPresentationContext.js.map +0 -1
  23. package/lib/commonjs/utils/conditional.js +0 -32
  24. package/lib/commonjs/utils/conditional.js.map +0 -1
  25. package/lib/commonjs/utils/findLastIndex.js +0 -15
  26. package/lib/commonjs/utils/findLastIndex.js.map +0 -1
  27. package/lib/commonjs/utils/getDistanceForDirection.js +0 -19
  28. package/lib/commonjs/utils/getDistanceForDirection.js.map +0 -1
  29. package/lib/commonjs/utils/getInvertedMultiplier.js +0 -19
  30. package/lib/commonjs/utils/getInvertedMultiplier.js.map +0 -1
  31. package/lib/commonjs/utils/getModalRoutesKeys.js +0 -17
  32. package/lib/commonjs/utils/getModalRoutesKeys.js.map +0 -1
  33. package/lib/commonjs/utils/getShadowStyle.js +0 -29
  34. package/lib/commonjs/utils/getShadowStyle.js.map +0 -1
  35. package/lib/commonjs/utils/memoize.js +0 -33
  36. package/lib/commonjs/utils/memoize.js.map +0 -1
  37. package/lib/commonjs/utils/throttle.js +0 -18
  38. package/lib/commonjs/utils/throttle.js.map +0 -1
  39. package/lib/commonjs/utils/useCardAnimation.js +0 -18
  40. package/lib/commonjs/utils/useCardAnimation.js.map +0 -1
  41. package/lib/commonjs/utils/useGestureHandlerRef.js +0 -18
  42. package/lib/commonjs/utils/useGestureHandlerRef.js.map +0 -1
  43. package/lib/commonjs/utils/useKeyboardManager.js +0 -96
  44. package/lib/commonjs/utils/useKeyboardManager.js.map +0 -1
  45. package/lib/commonjs/views/GestureHandler.android.js +0 -17
  46. package/lib/commonjs/views/GestureHandler.android.js.map +0 -1
  47. package/lib/commonjs/views/GestureHandler.ios.js +0 -17
  48. package/lib/commonjs/views/GestureHandler.ios.js.map +0 -1
  49. package/lib/commonjs/views/GestureHandler.js +0 -27
  50. package/lib/commonjs/views/GestureHandler.js.map +0 -1
  51. package/lib/commonjs/views/GestureHandlerNative.js +0 -35
  52. package/lib/commonjs/views/GestureHandlerNative.js.map +0 -1
  53. package/lib/commonjs/views/Header/Header.js +0 -62
  54. package/lib/commonjs/views/Header/Header.js.map +0 -1
  55. package/lib/commonjs/views/Header/HeaderContainer.js +0 -135
  56. package/lib/commonjs/views/Header/HeaderContainer.js.map +0 -1
  57. package/lib/commonjs/views/Header/HeaderSegment.js +0 -149
  58. package/lib/commonjs/views/Header/HeaderSegment.js.map +0 -1
  59. package/lib/commonjs/views/Screens.js +0 -50
  60. package/lib/commonjs/views/Screens.js.map +0 -1
  61. package/lib/commonjs/views/Stack/Card.js +0 -496
  62. package/lib/commonjs/views/Stack/Card.js.map +0 -1
  63. package/lib/commonjs/views/Stack/CardContainer.js +0 -282
  64. package/lib/commonjs/views/Stack/CardContainer.js.map +0 -1
  65. package/lib/commonjs/views/Stack/CardSheet.js +0 -88
  66. package/lib/commonjs/views/Stack/CardSheet.js.map +0 -1
  67. package/lib/commonjs/views/Stack/CardStack.js +0 -484
  68. package/lib/commonjs/views/Stack/CardStack.js.map +0 -1
  69. package/lib/commonjs/views/Stack/StackView.js +0 -346
  70. package/lib/commonjs/views/Stack/StackView.js.map +0 -1
@@ -1,496 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Card = void 0;
7
- var _color = _interopRequireDefault(require("color"));
8
- var React = _interopRequireWildcard(require("react"));
9
- var _reactNative = require("react-native");
10
- var _CardAnimationContext = require("../../utils/CardAnimationContext.js");
11
- var _getDistanceForDirection = require("../../utils/getDistanceForDirection.js");
12
- var _getInvertedMultiplier = require("../../utils/getInvertedMultiplier.js");
13
- var _getShadowStyle = require("../../utils/getShadowStyle.js");
14
- var _memoize = require("../../utils/memoize.js");
15
- var _GestureHandler = require("../GestureHandler");
16
- var _CardSheet = require("./CardSheet.js");
17
- var _jsxRuntime = require("react/jsx-runtime");
18
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
19
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
21
- const GESTURE_VELOCITY_IMPACT = 0.3;
22
- const TRUE = 1;
23
- const FALSE = 0;
24
-
25
- /**
26
- * The distance of touch start from the edge of the screen where the gesture will be recognized
27
- */
28
- const GESTURE_RESPONSE_DISTANCE_HORIZONTAL = 50;
29
- const GESTURE_RESPONSE_DISTANCE_VERTICAL = 135;
30
- const useNativeDriver = _reactNative.Platform.OS !== 'web';
31
- const hasOpacityStyle = style => {
32
- if (style) {
33
- const flattenedStyle = _reactNative.StyleSheet.flatten(style);
34
- return flattenedStyle.opacity != null;
35
- }
36
- return false;
37
- };
38
- class Card extends React.Component {
39
- static defaultProps = {
40
- shadowEnabled: false,
41
- gestureEnabled: true,
42
- gestureVelocityImpact: GESTURE_VELOCITY_IMPACT,
43
- overlay: ({
44
- style
45
- }) => style ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
46
- pointerEvents: "none",
47
- style: [styles.overlay, style]
48
- }) : null
49
- };
50
- componentDidMount() {
51
- if (!this.props.preloaded) {
52
- this.animate({
53
- closing: this.props.closing
54
- });
55
- }
56
- this.isCurrentlyMounted = true;
57
- }
58
- componentDidUpdate(prevProps) {
59
- const {
60
- gesture,
61
- direction,
62
- layout,
63
- gestureDirection,
64
- opening,
65
- closing
66
- } = this.props;
67
- const {
68
- width,
69
- height
70
- } = layout;
71
- if (width !== prevProps.layout.width) {
72
- this.layout.width.setValue(width);
73
- }
74
- if (height !== prevProps.layout.height) {
75
- this.layout.height.setValue(height);
76
- }
77
- if (gestureDirection !== prevProps.gestureDirection) {
78
- this.inverted.setValue((0, _getInvertedMultiplier.getInvertedMultiplier)(gestureDirection, direction === 'rtl'));
79
- }
80
- const toValue = this.getAnimateToValue(this.props);
81
- if (this.getAnimateToValue(prevProps) !== toValue || this.lastToValue !== toValue) {
82
- // We need to trigger the animation when route was closed
83
- // The route might have been closed by a `POP` action or by a gesture
84
- // When route was closed due to a gesture, the animation would've happened already
85
- // It's still important to trigger the animation so that `onClose` is called
86
- // If `onClose` is not called, cleanup step won't be performed for gestures
87
- this.animate({
88
- closing
89
- });
90
- } else if (opening && !prevProps.opening) {
91
- // This can happen when screen somewhere below in the stack comes into focus via rearranging
92
- // Also reset the animated value to make sure that the animation starts from the beginning
93
- gesture.setValue((0, _getDistanceForDirection.getDistanceForDirection)(layout, gestureDirection, direction === 'rtl'));
94
- this.animate({
95
- closing
96
- });
97
- }
98
- }
99
- componentWillUnmount() {
100
- this.props.gesture?.stopAnimation();
101
- this.isCurrentlyMounted = false;
102
- this.handleEndInteraction();
103
- }
104
- isCurrentlyMounted = false;
105
- isClosing = new _reactNative.Animated.Value(FALSE);
106
- inverted = new _reactNative.Animated.Value((0, _getInvertedMultiplier.getInvertedMultiplier)(this.props.gestureDirection, this.props.direction === 'rtl'));
107
- layout = {
108
- width: new _reactNative.Animated.Value(this.props.layout.width),
109
- height: new _reactNative.Animated.Value(this.props.layout.height)
110
- };
111
- isSwiping = new _reactNative.Animated.Value(FALSE);
112
- animate = ({
113
- closing,
114
- velocity
115
- }) => {
116
- const {
117
- transitionSpec,
118
- onOpen,
119
- onClose,
120
- onTransition,
121
- gesture
122
- } = this.props;
123
- const toValue = this.getAnimateToValue({
124
- ...this.props,
125
- closing
126
- });
127
- this.lastToValue = toValue;
128
- this.isClosing.setValue(closing ? TRUE : FALSE);
129
- const spec = closing ? transitionSpec.close : transitionSpec.open;
130
- const animation = spec.animation === 'spring' ? _reactNative.Animated.spring : _reactNative.Animated.timing;
131
- this.setPointerEventsEnabled(!closing);
132
- this.handleStartInteraction();
133
- clearTimeout(this.pendingGestureCallback);
134
- onTransition?.({
135
- closing,
136
- gesture: velocity !== undefined
137
- });
138
- animation(gesture, {
139
- ...spec.config,
140
- velocity,
141
- toValue,
142
- useNativeDriver,
143
- isInteraction: false
144
- }).start(({
145
- finished
146
- }) => {
147
- this.handleEndInteraction();
148
- clearTimeout(this.pendingGestureCallback);
149
- if (finished) {
150
- if (closing) {
151
- onClose();
152
- } else {
153
- onOpen();
154
- }
155
- if (this.isCurrentlyMounted) {
156
- // Make sure to re-open screen if it wasn't removed
157
- this.forceUpdate();
158
- }
159
- }
160
- });
161
- };
162
- getAnimateToValue = ({
163
- closing,
164
- layout,
165
- gestureDirection,
166
- direction,
167
- preloaded
168
- }) => {
169
- if (!closing && !preloaded) {
170
- return 0;
171
- }
172
- return (0, _getDistanceForDirection.getDistanceForDirection)(layout, gestureDirection, direction === 'rtl');
173
- };
174
- setPointerEventsEnabled = enabled => {
175
- const pointerEvents = enabled ? 'box-none' : 'none';
176
- this.ref.current?.setPointerEvents(pointerEvents);
177
- };
178
- handleStartInteraction = () => {
179
- if (this.interactionHandle === undefined) {
180
- this.interactionHandle = _reactNative.InteractionManager.createInteractionHandle();
181
- }
182
- };
183
- handleEndInteraction = () => {
184
- if (this.interactionHandle !== undefined) {
185
- _reactNative.InteractionManager.clearInteractionHandle(this.interactionHandle);
186
- this.interactionHandle = undefined;
187
- }
188
- };
189
- handleGestureStateChange = ({
190
- nativeEvent
191
- }) => {
192
- const {
193
- direction,
194
- layout,
195
- onClose,
196
- onGestureBegin,
197
- onGestureCanceled,
198
- onGestureEnd,
199
- gestureDirection,
200
- gestureVelocityImpact
201
- } = this.props;
202
- switch (nativeEvent.state) {
203
- case _GestureHandler.GestureState.ACTIVE:
204
- this.isSwiping.setValue(TRUE);
205
- this.handleStartInteraction();
206
- onGestureBegin?.();
207
- break;
208
- case _GestureHandler.GestureState.CANCELLED:
209
- case _GestureHandler.GestureState.FAILED:
210
- {
211
- this.isSwiping.setValue(FALSE);
212
- this.handleEndInteraction();
213
- const velocity = gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted' ? nativeEvent.velocityY : nativeEvent.velocityX;
214
- this.animate({
215
- closing: this.props.closing,
216
- velocity
217
- });
218
- onGestureCanceled?.();
219
- break;
220
- }
221
- case _GestureHandler.GestureState.END:
222
- {
223
- this.isSwiping.setValue(FALSE);
224
- let distance;
225
- let translation;
226
- let velocity;
227
- if (gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted') {
228
- distance = layout.height;
229
- translation = nativeEvent.translationY;
230
- velocity = nativeEvent.velocityY;
231
- } else {
232
- distance = layout.width;
233
- translation = nativeEvent.translationX;
234
- velocity = nativeEvent.velocityX;
235
- }
236
- const closing = (translation + velocity * gestureVelocityImpact) * (0, _getInvertedMultiplier.getInvertedMultiplier)(gestureDirection, direction === 'rtl') > distance / 2 ? velocity !== 0 || translation !== 0 : this.props.closing;
237
- this.animate({
238
- closing,
239
- velocity
240
- });
241
- if (closing) {
242
- // We call onClose with a delay to make sure that the animation has already started
243
- // This will make sure that the state update caused by this doesn't affect start of animation
244
- this.pendingGestureCallback = setTimeout(() => {
245
- onClose();
246
-
247
- // Trigger an update after we dispatch the action to remove the screen
248
- // This will make sure that we check if the screen didn't get removed so we can cancel the animation
249
- this.forceUpdate();
250
- }, 32);
251
- }
252
- onGestureEnd?.();
253
- break;
254
- }
255
- }
256
- };
257
-
258
- // Memoize this to avoid extra work on re-render
259
- getInterpolatedStyle = (0, _memoize.memoize)((styleInterpolator, animation) => styleInterpolator(animation));
260
-
261
- // Keep track of the animation context when deps changes.
262
- getCardAnimation = (0, _memoize.memoize)((interpolationIndex, current, next, layout, insetTop, insetRight, insetBottom, insetLeft) => ({
263
- index: interpolationIndex,
264
- current: {
265
- progress: current
266
- },
267
- next: next && {
268
- progress: next
269
- },
270
- closing: this.isClosing,
271
- swiping: this.isSwiping,
272
- inverted: this.inverted,
273
- layouts: {
274
- screen: layout
275
- },
276
- insets: {
277
- top: insetTop,
278
- right: insetRight,
279
- bottom: insetBottom,
280
- left: insetLeft
281
- }
282
- }));
283
- gestureActivationCriteria() {
284
- const {
285
- direction,
286
- layout,
287
- gestureDirection,
288
- gestureResponseDistance
289
- } = this.props;
290
- const enableTrackpadTwoFingerGesture = true;
291
- const distance = gestureResponseDistance !== undefined ? gestureResponseDistance : gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted' ? GESTURE_RESPONSE_DISTANCE_VERTICAL : GESTURE_RESPONSE_DISTANCE_HORIZONTAL;
292
- if (gestureDirection === 'vertical') {
293
- return {
294
- maxDeltaX: 15,
295
- minOffsetY: 5,
296
- hitSlop: {
297
- bottom: -layout.height + distance
298
- },
299
- enableTrackpadTwoFingerGesture
300
- };
301
- } else if (gestureDirection === 'vertical-inverted') {
302
- return {
303
- maxDeltaX: 15,
304
- minOffsetY: -5,
305
- hitSlop: {
306
- top: -layout.height + distance
307
- },
308
- enableTrackpadTwoFingerGesture
309
- };
310
- } else {
311
- const hitSlop = -layout.width + distance;
312
- const invertedMultiplier = (0, _getInvertedMultiplier.getInvertedMultiplier)(gestureDirection, direction === 'rtl');
313
- if (invertedMultiplier === 1) {
314
- return {
315
- minOffsetX: 5,
316
- maxDeltaY: 20,
317
- hitSlop: {
318
- right: hitSlop
319
- },
320
- enableTrackpadTwoFingerGesture
321
- };
322
- } else {
323
- return {
324
- minOffsetX: -5,
325
- maxDeltaY: 20,
326
- hitSlop: {
327
- left: hitSlop
328
- },
329
- enableTrackpadTwoFingerGesture
330
- };
331
- }
332
- }
333
- }
334
- ref = /*#__PURE__*/React.createRef();
335
- render() {
336
- const {
337
- styleInterpolator,
338
- interpolationIndex,
339
- current,
340
- gesture,
341
- next,
342
- layout,
343
- insets,
344
- overlay,
345
- overlayEnabled,
346
- shadowEnabled,
347
- gestureEnabled,
348
- gestureDirection,
349
- pageOverflowEnabled,
350
- children,
351
- containerStyle: customContainerStyle,
352
- contentStyle,
353
- /* eslint-disable @typescript-eslint/no-unused-vars */
354
- closing,
355
- direction,
356
- gestureResponseDistance,
357
- gestureVelocityImpact,
358
- onClose,
359
- onGestureBegin,
360
- onGestureCanceled,
361
- onGestureEnd,
362
- onOpen,
363
- onTransition,
364
- transitionSpec,
365
- /* eslint-enable @typescript-eslint/no-unused-vars */
366
- ...rest
367
- } = this.props;
368
- const interpolationProps = this.getCardAnimation(interpolationIndex, current, next, layout, insets.top, insets.right, insets.bottom, insets.left);
369
- const interpolatedStyle = this.getInterpolatedStyle(styleInterpolator, interpolationProps);
370
- const {
371
- containerStyle,
372
- cardStyle,
373
- overlayStyle,
374
- shadowStyle
375
- } = interpolatedStyle;
376
- const handleGestureEvent = gestureEnabled ? _reactNative.Animated.event([{
377
- nativeEvent: gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted' ? {
378
- translationY: gesture
379
- } : {
380
- translationX: gesture
381
- }
382
- }], {
383
- useNativeDriver
384
- }) : undefined;
385
- const {
386
- backgroundColor
387
- } = _reactNative.StyleSheet.flatten(contentStyle || {});
388
- const isTransparent = typeof backgroundColor === 'string' ? (0, _color.default)(backgroundColor).alpha() === 0 : false;
389
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CardAnimationContext.CardAnimationContext.Provider, {
390
- value: interpolationProps,
391
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
392
- style: {
393
- // This is a dummy style that doesn't actually change anything visually.
394
- // Animated needs the animated value to be used somewhere, otherwise things don't update properly.
395
- // If we disable animations and hide header, it could end up making the value unused.
396
- // So we have this dummy style that will always be used regardless of what else changed.
397
- opacity: current
398
- }
399
- // Make sure that this view isn't removed. If this view is removed, our style with animated value won't apply
400
- ,
401
- collapsable: false
402
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
403
- pointerEvents: "box-none"
404
- // Make sure this view is not removed on the new architecture, as it causes focus loss during navigation on Android.
405
- // This can happen when the view flattening results in different trees - due to `overflow` style changing in a parent.
406
- ,
407
- collapsable: false,
408
- ...rest,
409
- children: [overlayEnabled ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
410
- pointerEvents: "box-none",
411
- style: _reactNative.StyleSheet.absoluteFill,
412
- children: overlay({
413
- style: overlayStyle
414
- })
415
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
416
- style: [styles.container, containerStyle, customContainerStyle],
417
- pointerEvents: "box-none",
418
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GestureHandler.PanGestureHandler, {
419
- enabled: layout.width !== 0 && gestureEnabled,
420
- onGestureEvent: handleGestureEvent,
421
- onHandlerStateChange: this.handleGestureStateChange,
422
- ...this.gestureActivationCriteria(),
423
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Animated.View, {
424
- needsOffscreenAlphaCompositing: hasOpacityStyle(cardStyle),
425
- style: [styles.container, cardStyle],
426
- children: [shadowEnabled && shadowStyle && !isTransparent ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
427
- style: [styles.shadow, gestureDirection === 'horizontal' ? [styles.shadowHorizontal, styles.shadowStart] : gestureDirection === 'horizontal-inverted' ? [styles.shadowHorizontal, styles.shadowEnd] : gestureDirection === 'vertical' ? [styles.shadowVertical, styles.shadowTop] : [styles.shadowVertical, styles.shadowBottom], {
428
- backgroundColor
429
- }, shadowStyle],
430
- pointerEvents: "none"
431
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_CardSheet.CardSheet, {
432
- ref: this.ref,
433
- enabled: pageOverflowEnabled,
434
- layout: layout,
435
- style: contentStyle,
436
- children: children
437
- })]
438
- })
439
- })
440
- })]
441
- })]
442
- });
443
- }
444
- }
445
- exports.Card = Card;
446
- const styles = _reactNative.StyleSheet.create({
447
- container: {
448
- flex: 1
449
- },
450
- overlay: {
451
- flex: 1,
452
- backgroundColor: '#000'
453
- },
454
- shadow: {
455
- position: 'absolute'
456
- },
457
- shadowHorizontal: {
458
- top: 0,
459
- bottom: 0,
460
- width: 3,
461
- ...(0, _getShadowStyle.getShadowStyle)({
462
- offset: {
463
- width: -1,
464
- height: 1
465
- },
466
- radius: 5,
467
- opacity: 0.3
468
- })
469
- },
470
- shadowStart: {
471
- start: 0
472
- },
473
- shadowEnd: {
474
- end: 0
475
- },
476
- shadowVertical: {
477
- start: 0,
478
- end: 0,
479
- height: 3,
480
- ...(0, _getShadowStyle.getShadowStyle)({
481
- offset: {
482
- width: 1,
483
- height: -1
484
- },
485
- radius: 5,
486
- opacity: 0.3
487
- })
488
- },
489
- shadowTop: {
490
- top: 0
491
- },
492
- shadowBottom: {
493
- bottom: 0
494
- }
495
- });
496
- //# sourceMappingURL=Card.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_color","_interopRequireDefault","require","React","_interopRequireWildcard","_reactNative","_CardAnimationContext","_getDistanceForDirection","_getInvertedMultiplier","_getShadowStyle","_memoize","_GestureHandler","_CardSheet","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","GESTURE_VELOCITY_IMPACT","TRUE","FALSE","GESTURE_RESPONSE_DISTANCE_HORIZONTAL","GESTURE_RESPONSE_DISTANCE_VERTICAL","useNativeDriver","Platform","OS","hasOpacityStyle","style","flattenedStyle","StyleSheet","flatten","opacity","Card","Component","defaultProps","shadowEnabled","gestureEnabled","gestureVelocityImpact","overlay","jsx","Animated","View","pointerEvents","styles","componentDidMount","props","preloaded","animate","closing","isCurrentlyMounted","componentDidUpdate","prevProps","gesture","direction","layout","gestureDirection","opening","width","height","setValue","inverted","getInvertedMultiplier","toValue","getAnimateToValue","lastToValue","getDistanceForDirection","componentWillUnmount","stopAnimation","handleEndInteraction","isClosing","Value","isSwiping","velocity","transitionSpec","onOpen","onClose","onTransition","spec","close","open","animation","spring","timing","setPointerEventsEnabled","handleStartInteraction","clearTimeout","pendingGestureCallback","undefined","config","isInteraction","start","finished","forceUpdate","enabled","ref","current","setPointerEvents","interactionHandle","InteractionManager","createInteractionHandle","clearInteractionHandle","handleGestureStateChange","nativeEvent","onGestureBegin","onGestureCanceled","onGestureEnd","state","GestureState","ACTIVE","CANCELLED","FAILED","velocityY","velocityX","END","distance","translation","translationY","translationX","setTimeout","getInterpolatedStyle","memoize","styleInterpolator","getCardAnimation","interpolationIndex","next","insetTop","insetRight","insetBottom","insetLeft","index","progress","swiping","layouts","screen","insets","top","right","bottom","left","gestureActivationCriteria","gestureResponseDistance","enableTrackpadTwoFingerGesture","maxDeltaX","minOffsetY","hitSlop","invertedMultiplier","minOffsetX","maxDeltaY","createRef","render","overlayEnabled","pageOverflowEnabled","children","containerStyle","customContainerStyle","contentStyle","rest","interpolationProps","interpolatedStyle","cardStyle","overlayStyle","shadowStyle","handleGestureEvent","event","backgroundColor","isTransparent","Color","alpha","jsxs","CardAnimationContext","Provider","value","collapsable","absoluteFill","container","PanGestureHandler","onGestureEvent","onHandlerStateChange","needsOffscreenAlphaCompositing","shadow","shadowHorizontal","shadowStart","shadowEnd","shadowVertical","shadowTop","shadowBottom","CardSheet","exports","create","flex","position","getShadowStyle","offset","radius","end"],"sourceRoot":"../../../../src","sources":["views/Stack/Card.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAmBA,IAAAI,qBAAA,GAAAJ,OAAA;AACA,IAAAK,wBAAA,GAAAL,OAAA;AACA,IAAAM,sBAAA,GAAAN,OAAA;AACA,IAAAO,eAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,eAAA,GAAAT,OAAA;AAKA,IAAAU,UAAA,GAAAV,OAAA;AAA2D,IAAAW,WAAA,GAAAX,OAAA;AAAA,SAAAY,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAA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