@akylas/nativescript 9.0.25 → 9.1.4
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/abortcontroller/abortsignal.js.map +1 -1
- package/abortcontroller/index.js.map +1 -1
- package/accessibility/accessibility-common.js.map +1 -1
- package/accessibility/accessibility-css-helper.js.map +1 -1
- package/accessibility/accessibility-properties.js.map +1 -1
- package/accessibility/accessibility-service-common.js.map +1 -1
- package/accessibility/accessibility-service.android.js.map +1 -1
- package/accessibility/accessibility-service.ios.js.map +1 -1
- package/accessibility/accessibility-types.js.map +1 -1
- package/accessibility/font-scale-common.js.map +1 -1
- package/accessibility/font-scale.android.js.map +1 -1
- package/accessibility/font-scale.ios.js.map +1 -1
- package/accessibility/index.android.js.map +1 -1
- package/accessibility/index.ios.js.map +1 -1
- package/animation-frame/animation-native.android.js.map +1 -1
- package/animation-frame/animation-native.ios.js.map +1 -1
- package/animation-frame/index.js.map +1 -1
- package/application/application-common.d.ts +199 -3
- package/application/application-common.js +425 -55
- package/application/application-common.js.map +1 -1
- package/application/application-interfaces.d.ts +67 -1
- package/application/application-interfaces.js.map +1 -1
- package/application/application-shims.js.map +1 -1
- package/application/application.android.d.ts +39 -0
- package/application/application.android.js +242 -17
- package/application/application.android.js.map +1 -1
- package/application/application.d.ts +161 -54
- package/application/application.ios.d.ts +189 -28
- package/application/application.ios.js +885 -379
- package/application/application.ios.js.map +1 -1
- package/application/helpers-common.d.ts +5 -0
- package/application/helpers-common.js +23 -1
- package/application/helpers-common.js.map +1 -1
- package/application/helpers.android.js.map +1 -1
- package/application/helpers.ios.js.map +1 -1
- package/application/index.android.js.map +1 -1
- package/application/index.ios.js.map +1 -1
- package/application/scene-delegate-bridge.d.ts +60 -0
- package/application/scene-delegate-bridge.js +138 -0
- package/application/scene-delegate-bridge.js.map +1 -0
- package/application-settings/application-settings-common.js.map +1 -1
- package/application-settings/index.android.js.map +1 -1
- package/application-settings/index.ios.js.map +1 -1
- package/bundle-entry-points.js.map +1 -1
- package/cli-hooks/before-checkForChanges.mjs +0 -11
- package/color/color-common.js +16 -5
- package/color/color-common.js.map +1 -1
- package/color/color-types.js.map +1 -1
- package/color/color-utils.d.ts +4 -1
- package/color/color-utils.js +14 -9
- package/color/color-utils.js.map +1 -1
- package/color/index.android.js.map +1 -1
- package/color/index.ios.js.map +1 -1
- package/color/known-colors.js.map +1 -1
- package/config/config.interface.d.ts +44 -2
- package/config/config.interface.js.map +1 -1
- package/config/index.js.map +1 -1
- package/connectivity/index.android.js.map +1 -1
- package/connectivity/index.ios.js.map +1 -1
- package/console/index.js.map +1 -1
- package/core-types/animation-types.js.map +1 -1
- package/core-types/index.d.ts +25 -2
- package/core-types/index.js +23 -0
- package/core-types/index.js.map +1 -1
- package/core-types/validators.js.map +1 -1
- package/css/CSS3Parser.js +3 -2
- package/css/CSS3Parser.js.map +1 -1
- package/css/CSSNativeScript.js.map +1 -1
- package/css/css-tree-parser.js +5 -1
- package/css/css-tree-parser.js.map +1 -1
- package/css/lib/parse/index.js +5 -1
- package/css/lib/parse/index.js.map +1 -1
- package/css/parser.js +20 -3
- package/css/parser.js.map +1 -1
- package/css/reworkcss.js.map +1 -1
- package/css/system-classes.d.ts +9 -0
- package/css/system-classes.js +23 -0
- package/css/system-classes.js.map +1 -1
- package/css-mediaquery/index.js +4 -4
- package/css-mediaquery/index.js.map +1 -1
- package/css-value/reworkcss-value.js.map +1 -1
- package/data/observable/index.d.ts +23 -0
- package/data/observable/index.js +50 -9
- package/data/observable/index.js.map +1 -1
- package/data/observable-array/index.js.map +1 -1
- package/data/virtual-array/index.js.map +1 -1
- package/debugger/InspectorBackendCommands.js.map +1 -1
- package/debugger/devtools-elements-interfaces.js.map +1 -1
- package/debugger/devtools-elements.common.js.map +1 -1
- package/debugger/devtools-elements.js.map +1 -1
- package/debugger/dom-types.js +31 -1
- package/debugger/dom-types.js.map +1 -1
- package/debugger/index.js.map +1 -1
- package/debugger/webinspector-css.js.map +1 -1
- package/debugger/webinspector-dom.js.map +1 -1
- package/debugger/webinspector-network.android.js.map +1 -1
- package/debugger/webinspector-network.ios.js.map +1 -1
- package/file-system/file-system-access.android.js.map +1 -1
- package/file-system/file-system-access.ios.js +21 -13
- package/file-system/file-system-access.ios.js.map +1 -1
- package/file-system/index.d.ts +3 -3
- package/file-system/index.js.map +1 -1
- package/fps-meter/fps-native.android.js.map +1 -1
- package/fps-meter/fps-native.ios.js.map +1 -1
- package/fps-meter/index.js.map +1 -1
- package/global-types.d.ts +39 -33
- package/globals/global-utils.d.ts +6 -1
- package/globals/global-utils.js +10 -5
- package/globals/global-utils.js.map +1 -1
- package/globals/index.js +18 -5
- package/globals/index.js.map +1 -1
- package/globals/polyfills/polyfill-xhr.js.map +1 -1
- package/globals/polyfills/utils.js +2 -0
- package/globals/polyfills/utils.js.map +1 -1
- package/http/http-interfaces.js.map +1 -1
- package/http/http-request/http-request-common.js.map +1 -1
- package/http/http-request/index.android.js.map +1 -1
- package/http/http-request/index.ios.js.map +1 -1
- package/http/http-request-internal/http-request-internal-common.d.ts +5 -1
- package/http/http-request-internal/http-request-internal-common.js +10 -0
- package/http/http-request-internal/http-request-internal-common.js.map +1 -1
- package/http/http-request-internal/index.android.d.ts +7 -1
- package/http/http-request-internal/index.android.js +2 -2
- package/http/http-request-internal/index.android.js.map +1 -1
- package/http/http-request-internal/index.ios.d.ts +7 -1
- package/http/http-request-internal/index.ios.js +2 -2
- package/http/http-request-internal/index.ios.js.map +1 -1
- package/http/index.js.map +1 -1
- package/image-asset/image-asset-common.js.map +1 -1
- package/image-asset/index.android.js.map +1 -1
- package/image-asset/index.ios.js.map +1 -1
- package/image-source/image-source-common.js.map +1 -1
- package/image-source/index.android.js.map +1 -1
- package/image-source/index.ios.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/inspector_modules.js +1 -1
- package/inspector_modules.js.map +1 -1
- package/matrix/index.js.map +1 -1
- package/media-query-list/index.js.map +1 -1
- package/module-name-resolver/helpers.js.map +1 -1
- package/module-name-resolver/index.js.map +1 -1
- package/module-name-resolver/non-bundle-workflow-compat.js.map +1 -1
- package/module-name-resolver/qualifier-matcher/index.js.map +1 -1
- package/native-window/index.d.ts +426 -0
- package/native-window/index.js +4 -0
- package/native-window/index.js.map +1 -0
- package/native-window/native-window-common.d.ts +153 -0
- package/native-window/native-window-common.js +340 -0
- package/native-window/native-window-common.js.map +1 -0
- package/native-window/native-window-interfaces.d.ts +186 -0
- package/native-window/native-window-interfaces.js +90 -0
- package/native-window/native-window-interfaces.js.map +1 -0
- package/native-window/native-window.android.d.ts +59 -0
- package/native-window/native-window.android.js +175 -0
- package/native-window/native-window.android.js.map +1 -0
- package/native-window/native-window.ios.d.ts +61 -0
- package/native-window/native-window.ios.js +220 -0
- package/native-window/native-window.ios.js.map +1 -0
- package/native-window/window-base.d.ts +111 -0
- package/native-window/window-base.js +91 -0
- package/native-window/window-base.js.map +1 -0
- package/package.json +3 -2
- package/platform/common.js.map +1 -1
- package/platform/device/index.android.js.map +1 -1
- package/platform/device/index.ios.js.map +1 -1
- package/platform/index.js.map +1 -1
- package/platform/screen/index.android.js.map +1 -1
- package/platform/screen/index.ios.d.ts +1 -0
- package/platform/screen/index.ios.js +6 -2
- package/platform/screen/index.ios.js.map +1 -1
- package/platforms/android/java/org/nativescript/widgets/BorderDrawable.java +5 -6
- package/platforms/android/java/org/nativescript/widgets/BoxShadowDrawable.java +0 -6
- package/platforms/android/java/org/nativescript/widgets/CommonLayoutParams.java +56 -0
- package/platforms/android/java/org/nativescript/widgets/ContentLayout.java +20 -4
- package/platforms/android/java/org/nativescript/widgets/CustomTransition.java +26 -9
- package/platforms/android/java/org/nativescript/widgets/FlexLine.java +3 -3
- package/platforms/android/java/org/nativescript/widgets/FlexboxLayout.java +194 -731
- package/platforms/android/java/org/nativescript/widgets/ImageView.java +2 -2
- package/platforms/android/java/org/nativescript/widgets/Utils.java +37 -9
- package/platforms/android/java/org/nativescript/widgets/ViewHelper.java +78 -0
- package/platforms/android/java/org/nativescript/widgets/image/BitmapOwner.java +1 -4
- package/platforms/android/java/org/nativescript/widgets/image/Worker.java +99 -76
- package/platforms/android/native-api-usage.json +11 -0
- package/platforms/ios/src/NativeScriptMainWindow.swift +72 -39
- package/profiling/index.js.map +1 -1
- package/references.d.ts +5 -2
- package/text/formatted-string.js.map +1 -1
- package/text/index.android.js.map +1 -1
- package/text/index.ios.js.map +1 -1
- package/text/span.js.map +1 -1
- package/text/text-common.js +1 -1
- package/text/text-common.js.map +1 -1
- package/timer/index.android.js.map +1 -1
- package/timer/index.ios.js.map +1 -1
- package/trace/index.d.ts +2 -2
- package/trace/index.js.map +1 -1
- package/ui/action-bar/action-bar-common.js.map +1 -1
- package/ui/action-bar/index.android.js +2 -7
- package/ui/action-bar/index.android.js.map +1 -1
- package/ui/action-bar/index.d.ts +13 -1
- package/ui/action-bar/index.ios.js +26 -0
- package/ui/action-bar/index.ios.js.map +1 -1
- package/ui/activity-indicator/activity-indicator-common.js.map +1 -1
- package/ui/activity-indicator/index.android.js.map +1 -1
- package/ui/activity-indicator/index.ios.js.map +1 -1
- package/ui/animation/animation-common.js.map +1 -1
- package/ui/animation/animation-interfaces.js.map +1 -1
- package/ui/animation/animation-shared.js.map +1 -1
- package/ui/animation/animation-types.js.map +1 -1
- package/ui/animation/index.android.js.map +1 -1
- package/ui/animation/index.ios.js.map +1 -1
- package/ui/animation/keyframe-animation.d.ts +3 -1
- package/ui/animation/keyframe-animation.js +72 -3
- package/ui/animation/keyframe-animation.js.map +1 -1
- package/ui/builder/binding-builder.js.map +1 -1
- package/ui/builder/component-builder/index.js.map +1 -1
- package/ui/builder/index.js +9 -1
- package/ui/builder/index.js.map +1 -1
- package/ui/button/button-common.js.map +1 -1
- package/ui/button/index.android.js.map +1 -1
- package/ui/button/index.ios.js.map +1 -1
- package/ui/content-view/index.js.map +1 -1
- package/ui/core/bindable/bindable-expressions.js.map +1 -1
- package/ui/core/bindable/bindable-resources.js.map +1 -1
- package/ui/core/bindable/bindable-types.js.map +1 -1
- package/ui/core/bindable/index.js +2 -1
- package/ui/core/bindable/index.js.map +1 -1
- package/ui/core/control-state-change/index.android.js.map +1 -1
- package/ui/core/control-state-change/index.ios.js.map +1 -1
- package/ui/core/properties/index.d.ts +37 -2
- package/ui/core/properties/index.js +205 -29
- package/ui/core/properties/index.js.map +1 -1
- package/ui/core/properties/property-shared.js +11 -2
- package/ui/core/properties/property-shared.js.map +1 -1
- package/ui/core/view/index.android.d.ts +5 -0
- package/ui/core/view/index.android.js +78 -6
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.d.ts +58 -1
- package/ui/core/view/index.ios.d.ts +1 -0
- package/ui/core/view/index.ios.js +48 -11
- package/ui/core/view/index.ios.js.map +1 -1
- package/ui/core/view/view-common.d.ts +37 -0
- package/ui/core/view/view-common.js +81 -0
- package/ui/core/view/view-common.js.map +1 -1
- package/ui/core/view/view-helper/index.android.d.ts +1 -0
- package/ui/core/view/view-helper/index.android.js +8 -0
- package/ui/core/view/view-helper/index.android.js.map +1 -1
- package/ui/core/view/view-helper/index.d.ts +46 -0
- package/ui/core/view/view-helper/index.ios.d.ts +42 -0
- package/ui/core/view/view-helper/index.ios.js +170 -5
- package/ui/core/view/view-helper/index.ios.js.map +1 -1
- package/ui/core/view/view-helper/view-helper-common.js +21 -3
- package/ui/core/view/view-helper/view-helper-common.js.map +1 -1
- package/ui/core/view/view-helper/view-helper-shared.js.map +1 -1
- package/ui/core/view/view-interfaces.js.map +1 -1
- package/ui/core/view-base/index.js +75 -36
- package/ui/core/view-base/index.js.map +1 -1
- package/ui/core/view-base/utils.js.map +1 -1
- package/ui/core/weak-event-listener/index.js.map +1 -1
- package/ui/date-picker/date-picker-common.js.map +1 -1
- package/ui/date-picker/index.android.js.map +1 -1
- package/ui/date-picker/index.ios.js.map +1 -1
- package/ui/dialogs/dialogs-common.js.map +1 -1
- package/ui/dialogs/index.android.js +5 -5
- package/ui/dialogs/index.android.js.map +1 -1
- package/ui/dialogs/index.ios.js.map +1 -1
- package/ui/editable-text-base/editable-text-base-common.js.map +1 -1
- package/ui/editable-text-base/index.android.js +2 -1
- package/ui/editable-text-base/index.android.js.map +1 -1
- package/ui/editable-text-base/index.ios.js.map +1 -1
- package/ui/embedding/index.android.js.map +1 -1
- package/ui/embedding/index.ios.js.map +1 -1
- package/ui/enums/enums.js.map +1 -1
- package/ui/enums/index.js.map +1 -1
- package/ui/frame/activity.android.js.map +1 -1
- package/ui/frame/fragment.android.js.map +1 -1
- package/ui/frame/fragment.ios.js.map +1 -1
- package/ui/frame/fragment.transitions.android.d.ts +4 -4
- package/ui/frame/fragment.transitions.android.js +95 -78
- package/ui/frame/fragment.transitions.android.js.map +1 -1
- package/ui/frame/fragment.transitions.types.js.map +1 -1
- package/ui/frame/frame-common.d.ts +14 -2
- package/ui/frame/frame-common.js +51 -24
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/frame/frame-constants.d.ts +9 -0
- package/ui/frame/frame-constants.js +10 -0
- package/ui/frame/frame-constants.js.map +1 -0
- package/ui/frame/frame-helper-for-android.d.ts +2 -2
- package/ui/frame/frame-helper-for-android.js +14 -5
- package/ui/frame/frame-helper-for-android.js.map +1 -1
- package/ui/frame/frame-helpers.js.map +1 -1
- package/ui/frame/frame-interfaces.d.ts +1 -1
- package/ui/frame/frame-interfaces.js.map +1 -1
- package/ui/frame/frame-stack.d.ts +22 -1
- package/ui/frame/frame-stack.js +43 -5
- package/ui/frame/frame-stack.js.map +1 -1
- package/ui/frame/index.android.d.ts +1 -2
- package/ui/frame/index.android.js +152 -53
- package/ui/frame/index.android.js.map +1 -1
- package/ui/frame/index.d.ts +15 -5
- package/ui/frame/index.ios.d.ts +1 -1
- package/ui/frame/index.ios.js +86 -26
- package/ui/frame/index.ios.js.map +1 -1
- package/ui/gestures/gestures-common.js.map +1 -1
- package/ui/gestures/gestures-types.d.ts +2 -0
- package/ui/gestures/gestures-types.js.map +1 -1
- package/ui/gestures/index.android.d.ts +1 -1
- package/ui/gestures/index.android.js +159 -124
- package/ui/gestures/index.android.js.map +1 -1
- package/ui/gestures/index.ios.js +30 -1
- package/ui/gestures/index.ios.js.map +1 -1
- package/ui/gestures/touch-manager.d.ts +1 -2
- package/ui/gestures/touch-manager.js +79 -50
- package/ui/gestures/touch-manager.js.map +1 -1
- package/ui/html-view/html-view-common.js.map +1 -1
- package/ui/html-view/index.android.js.map +1 -1
- package/ui/html-view/index.ios.js.map +1 -1
- package/ui/image/image-common.js +1 -1
- package/ui/image/image-common.js.map +1 -1
- package/ui/image/index.android.js +13 -1
- package/ui/image/index.android.js.map +1 -1
- package/ui/image/index.ios.js.map +1 -1
- package/ui/image/symbol-effects-common.js.map +1 -1
- package/ui/image/symbol-effects.android.js.map +1 -1
- package/ui/image/symbol-effects.ios.js.map +1 -1
- package/ui/image-cache/image-cache-common.js.map +1 -1
- package/ui/image-cache/index.android.js.map +1 -1
- package/ui/image-cache/index.ios.js.map +1 -1
- package/ui/index.d.ts +1 -1
- package/ui/index.js.map +1 -1
- package/ui/label/index.android.js.map +1 -1
- package/ui/label/index.ios.js.map +1 -1
- package/ui/layouts/absolute-layout/absolute-layout-common.js.map +1 -1
- package/ui/layouts/absolute-layout/index.android.js.map +1 -1
- package/ui/layouts/absolute-layout/index.ios.js +3 -0
- package/ui/layouts/absolute-layout/index.ios.js.map +1 -1
- package/ui/layouts/dock-layout/dock-layout-common.js.map +1 -1
- package/ui/layouts/dock-layout/index.android.js.map +1 -1
- package/ui/layouts/dock-layout/index.ios.js +3 -0
- package/ui/layouts/dock-layout/index.ios.js.map +1 -1
- package/ui/layouts/flexbox-layout/flexbox-layout-common.d.ts +7 -0
- package/ui/layouts/flexbox-layout/flexbox-layout-common.js +18 -0
- package/ui/layouts/flexbox-layout/flexbox-layout-common.js.map +1 -1
- package/ui/layouts/flexbox-layout/index.android.d.ts +5 -0
- package/ui/layouts/flexbox-layout/index.android.js +15 -0
- package/ui/layouts/flexbox-layout/index.android.js.map +1 -1
- package/ui/layouts/flexbox-layout/index.d.ts +19 -1
- package/ui/layouts/flexbox-layout/index.ios.d.ts +2 -0
- package/ui/layouts/flexbox-layout/index.ios.js +246 -195
- package/ui/layouts/flexbox-layout/index.ios.js.map +1 -1
- package/ui/layouts/grid-layout/grid-layout-common.js.map +1 -1
- package/ui/layouts/grid-layout/index.android.js.map +1 -1
- package/ui/layouts/grid-layout/index.ios.js +3 -0
- package/ui/layouts/grid-layout/index.ios.js.map +1 -1
- package/ui/layouts/index.js.map +1 -1
- package/ui/layouts/layout-base-common.d.ts +1 -0
- package/ui/layouts/layout-base-common.js +23 -1
- package/ui/layouts/layout-base-common.js.map +1 -1
- package/ui/layouts/layout-base.android.js.map +1 -1
- package/ui/layouts/layout-base.ios.js.map +1 -1
- package/ui/layouts/liquid-glass/index.android.js.map +1 -1
- package/ui/layouts/liquid-glass/index.ios.d.ts +0 -1
- package/ui/layouts/liquid-glass/index.ios.js +2 -43
- package/ui/layouts/liquid-glass/index.ios.js.map +1 -1
- package/ui/layouts/liquid-glass/liquid-glass-common.js.map +1 -1
- package/ui/layouts/liquid-glass-container/index.android.js.map +1 -1
- package/ui/layouts/liquid-glass-container/index.ios.d.ts +0 -1
- package/ui/layouts/liquid-glass-container/index.ios.js +2 -43
- package/ui/layouts/liquid-glass-container/index.ios.js.map +1 -1
- package/ui/layouts/liquid-glass-container/liquid-glass-container-common.js.map +1 -1
- package/ui/layouts/root-layout/index.android.js.map +1 -1
- package/ui/layouts/root-layout/index.ios.js.map +1 -1
- package/ui/layouts/root-layout/root-layout-common.js.map +1 -1
- package/ui/layouts/root-layout/root-layout-stack.js.map +1 -1
- package/ui/layouts/stack-layout/index.android.js.map +1 -1
- package/ui/layouts/stack-layout/index.ios.js +3 -0
- package/ui/layouts/stack-layout/index.ios.js.map +1 -1
- package/ui/layouts/stack-layout/stack-layout-common.js.map +1 -1
- package/ui/layouts/wrap-layout/index.android.js.map +1 -1
- package/ui/layouts/wrap-layout/index.ios.js +3 -0
- package/ui/layouts/wrap-layout/index.ios.js.map +1 -1
- package/ui/layouts/wrap-layout/wrap-layout-common.js.map +1 -1
- package/ui/list-picker/index.android.js.map +1 -1
- package/ui/list-picker/index.ios.js.map +1 -1
- package/ui/list-picker/list-picker-common.js.map +1 -1
- package/ui/list-view/index.android.js +2 -2
- package/ui/list-view/index.android.js.map +1 -1
- package/ui/list-view/index.d.ts +47 -3
- package/ui/list-view/index.ios.d.ts +13 -3
- package/ui/list-view/index.ios.js +132 -41
- package/ui/list-view/index.ios.js.map +1 -1
- package/ui/list-view/list-view-common.d.ts +19 -0
- package/ui/list-view/list-view-common.js +30 -0
- package/ui/list-view/list-view-common.js.map +1 -1
- package/ui/page/events.js.map +1 -1
- package/ui/page/index.android.js.map +1 -1
- package/ui/page/index.d.ts +1 -1
- package/ui/page/index.ios.d.ts +3 -1
- package/ui/page/index.ios.js +26 -17
- package/ui/page/index.ios.js.map +1 -1
- package/ui/page/page-common.d.ts +5 -1
- package/ui/page/page-common.js.map +1 -1
- package/ui/placeholder/index.android.js.map +1 -1
- package/ui/placeholder/index.js.map +1 -1
- package/ui/placeholder/placeholder-common.js.map +1 -1
- package/ui/progress/index.android.js.map +1 -1
- package/ui/progress/index.ios.js.map +1 -1
- package/ui/progress/progress-common.js.map +1 -1
- package/ui/proxy-view-container/index.js.map +1 -1
- package/ui/repeater/index.d.ts +2 -1
- package/ui/repeater/index.js.map +1 -1
- package/ui/scroll-view/index.android.d.ts +2 -1
- package/ui/scroll-view/index.android.js +4 -1
- package/ui/scroll-view/index.android.js.map +1 -1
- package/ui/scroll-view/index.d.ts +53 -0
- package/ui/scroll-view/index.ios.d.ts +13 -1
- package/ui/scroll-view/index.ios.js +100 -20
- package/ui/scroll-view/index.ios.js.map +1 -1
- package/ui/scroll-view/scroll-view-common.d.ts +13 -0
- package/ui/scroll-view/scroll-view-common.js +27 -0
- package/ui/scroll-view/scroll-view-common.js.map +1 -1
- package/ui/search-bar/index.android.js.map +1 -1
- package/ui/search-bar/index.ios.js.map +1 -1
- package/ui/search-bar/search-bar-common.js.map +1 -1
- package/ui/segmented-bar/index.android.js.map +1 -1
- package/ui/segmented-bar/index.ios.js.map +1 -1
- package/ui/segmented-bar/segmented-bar-common.d.ts +5 -1
- package/ui/segmented-bar/segmented-bar-common.js +6 -1
- package/ui/segmented-bar/segmented-bar-common.js.map +1 -1
- package/ui/slider/index.android.js.map +1 -1
- package/ui/slider/index.ios.js.map +1 -1
- package/ui/slider/slider-common.js.map +1 -1
- package/ui/split-view/index.android.js.map +1 -1
- package/ui/split-view/index.ios.js.map +1 -1
- package/ui/split-view/split-view-common.js.map +1 -1
- package/ui/styling/background-common.d.ts +2 -0
- package/ui/styling/background-common.js +8 -0
- package/ui/styling/background-common.js.map +1 -1
- package/ui/styling/background.android.d.ts +4 -1
- package/ui/styling/background.android.js +5 -2
- package/ui/styling/background.android.js.map +1 -1
- package/ui/styling/background.d.ts +1 -1
- package/ui/styling/background.ios.js +9 -2
- package/ui/styling/background.ios.js.map +1 -1
- package/ui/styling/box-shadow.js.map +1 -1
- package/ui/styling/clip-path-function.js.map +1 -1
- package/ui/styling/converters.js.map +1 -1
- package/ui/styling/css-animation-parser.js.map +1 -1
- package/ui/styling/css-selector.d.ts +60 -13
- package/ui/styling/css-selector.js +311 -50
- package/ui/styling/css-selector.js.map +1 -1
- package/ui/styling/css-shadow.js.map +1 -1
- package/ui/styling/css-stroke.js.map +1 -1
- package/ui/styling/css-transform.js.map +1 -1
- package/ui/styling/css-utils.d.ts +16 -0
- package/ui/styling/css-utils.js +121 -7
- package/ui/styling/css-utils.js.map +1 -1
- package/ui/styling/font-common.js.map +1 -1
- package/ui/styling/font-interfaces.js.map +1 -1
- package/ui/styling/font.android.js.map +1 -1
- package/ui/styling/font.ios.js.map +1 -1
- package/ui/styling/length-shared.d.ts +2 -0
- package/ui/styling/length-shared.js +29 -2
- package/ui/styling/length-shared.js.map +1 -1
- package/ui/styling/linear-gradient.js.map +1 -1
- package/ui/styling/style/index.d.ts +16 -0
- package/ui/styling/style/index.js +1 -0
- package/ui/styling/style/index.js.map +1 -1
- package/ui/styling/style-properties.d.ts +5 -0
- package/ui/styling/style-properties.js +172 -101
- package/ui/styling/style-properties.js.map +1 -1
- package/ui/styling/style-scope.d.ts +24 -3
- package/ui/styling/style-scope.js +455 -63
- package/ui/styling/style-scope.js.map +1 -1
- package/ui/styling/styling-profile.js.map +1 -1
- package/ui/styling/styling-shared.js.map +1 -1
- package/ui/switch/index.android.js.map +1 -1
- package/ui/switch/index.ios.js +5 -1
- package/ui/switch/index.ios.js.map +1 -1
- package/ui/switch/switch-common.js.map +1 -1
- package/ui/tab-view/index.android.js +4 -1
- package/ui/tab-view/index.android.js.map +1 -1
- package/ui/tab-view/index.d.ts +5 -3
- package/ui/tab-view/index.ios.d.ts +2 -1
- package/ui/tab-view/index.ios.js +81 -18
- package/ui/tab-view/index.ios.js.map +1 -1
- package/ui/tab-view/tab-view-common.d.ts +6 -1
- package/ui/tab-view/tab-view-common.js +17 -1
- package/ui/tab-view/tab-view-common.js.map +1 -1
- package/ui/text-base/formatted-string.js.map +1 -1
- package/ui/text-base/index.android.js +5 -8
- package/ui/text-base/index.android.js.map +1 -1
- package/ui/text-base/index.ios.d.ts +3 -0
- package/ui/text-base/index.ios.js +25 -3
- package/ui/text-base/index.ios.js.map +1 -1
- package/ui/text-base/span.js.map +1 -1
- package/ui/text-base/text-base-common.js.map +1 -1
- package/ui/text-field/index.android.js.map +1 -1
- package/ui/text-field/index.ios.js +13 -5
- package/ui/text-field/index.ios.js.map +1 -1
- package/ui/text-field/text-field-common.js.map +1 -1
- package/ui/text-view/index.android.js.map +1 -1
- package/ui/text-view/index.ios.js.map +1 -1
- package/ui/text-view/text-view-common.js.map +1 -1
- package/ui/time-picker/index.android.js.map +1 -1
- package/ui/time-picker/index.ios.js.map +1 -1
- package/ui/time-picker/time-picker-common.js.map +1 -1
- package/ui/transition/fade-transition.android.js.map +1 -1
- package/ui/transition/fade-transition.ios.js.map +1 -1
- package/ui/transition/flip-transition.android.js.map +1 -1
- package/ui/transition/index.android.js.map +1 -1
- package/ui/transition/index.d.ts +2 -1
- package/ui/transition/index.ios.js.map +1 -1
- package/ui/transition/modal-transition.android.js.map +1 -1
- package/ui/transition/modal-transition.ios.js +33 -5
- package/ui/transition/modal-transition.ios.js.map +1 -1
- package/ui/transition/page-transition.android.d.ts +4 -0
- package/ui/transition/page-transition.android.js +174 -45
- package/ui/transition/page-transition.android.js.map +1 -1
- package/ui/transition/page-transition.ios.d.ts +5 -0
- package/ui/transition/page-transition.ios.js +298 -36
- package/ui/transition/page-transition.ios.js.map +1 -1
- package/ui/transition/shared-transition-helper.android.d.ts +3 -0
- package/ui/transition/shared-transition-helper.android.js +9 -0
- package/ui/transition/shared-transition-helper.android.js.map +1 -1
- package/ui/transition/shared-transition-helper.d.ts +7 -0
- package/ui/transition/shared-transition-helper.ios.d.ts +48 -0
- package/ui/transition/shared-transition-helper.ios.js +977 -95
- package/ui/transition/shared-transition-helper.ios.js.map +1 -1
- package/ui/transition/shared-transition.d.ts +134 -0
- package/ui/transition/shared-transition.js +90 -2
- package/ui/transition/shared-transition.js.map +1 -1
- package/ui/transition/slide-transition.android.js.map +1 -1
- package/ui/transition/slide-transition.ios.js.map +1 -1
- package/ui/utils.android.js.map +1 -1
- package/ui/utils.d.ts +2 -0
- package/ui/utils.ios.js.map +1 -1
- package/ui/web-view/index.android.js.map +1 -1
- package/ui/web-view/index.ios.js.map +1 -1
- package/ui/web-view/web-view-common.js.map +1 -1
- package/ui/web-view/web-view-interfaces.js.map +1 -1
- package/utils/animation-helpers.js.map +1 -1
- package/utils/common.js.map +1 -1
- package/utils/constants.android.js.map +1 -1
- package/utils/constants.ios.js.map +1 -1
- package/utils/debug-source.js.map +1 -1
- package/utils/debug.js.map +1 -1
- package/utils/index.android.js.map +1 -1
- package/utils/index.ios.js.map +1 -1
- package/utils/layout-helper/index.android.js.map +1 -1
- package/utils/layout-helper/index.ios.js +11 -3
- package/utils/layout-helper/index.ios.js.map +1 -1
- package/utils/layout-helper/layout-helper-common.js.map +1 -1
- package/utils/layout-helper/layout-helper-shared.js.map +1 -1
- package/utils/lazy.js.map +1 -1
- package/utils/macrotask-scheduler.js.map +1 -1
- package/utils/mainthread-helper.android.js.map +1 -1
- package/utils/mainthread-helper.ios.js.map +1 -1
- package/utils/module-merge.js.map +1 -1
- package/utils/native-helper-for-android.js +6 -2
- package/utils/native-helper-for-android.js.map +1 -1
- package/utils/native-helper.android.d.ts +66 -2
- package/utils/native-helper.android.js.map +1 -1
- package/utils/native-helper.d.ts +2 -2
- package/utils/native-helper.ios.d.ts +52 -2
- package/utils/native-helper.ios.js +35 -5
- package/utils/native-helper.ios.js.map +1 -1
- package/utils/native-helper.types.d.ts +2 -0
- package/utils/number-utils.js.map +1 -1
- package/utils/platform-check.d.ts +1 -1
- package/utils/platform-check.js.map +1 -1
- package/utils/shared.js.map +1 -1
- package/utils/types.js.map +1 -1
- package/utils/utils-shared.js.map +1 -1
- package/wgc/atob.js.map +1 -1
- package/wgc/btoa.js.map +1 -1
- package/wgc/crypto/SubtleCrypto.js.map +1 -1
- package/wgc/crypto/index.d.ts +1 -1
- package/wgc/crypto/index.js +12 -8
- package/wgc/crypto/index.js.map +1 -1
- package/wgc/index.js.map +1 -1
- package/xhr/index.js.map +1 -1
- package/xml/index.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-transition-helper.ios.js","sourceRoot":"","sources":["../../../../../packages/core/ui/transition/shared-transition-helper.ios.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,6BAA6B,EAAyB,MAAM,qBAAqB,CAAC;AAChL,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MA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EAAE,CAAC;gBACjE,gBAAgB,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;gBAC5D,gBAAgB,CAAC,WAAW,CAAC,gBAAgB,CAAC,aAAa,EAAE;oBAC5D,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;oBACvB,IAAI;oBACJ,MAAM,EAAE,mBAAmB;iBAC3B,CAAC,CAAC;YACJ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC,CAAC;QACrB,CAAC;IACF,CAAC;CACD"}
|
|
1
|
+
{"version":3,"file":"shared-transition-helper.ios.js","sourceRoot":"","sources":["../../../../../packages/core/ui/transition/shared-transition-helper.ios.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,6BAA6B,EAAyB,MAAM,qBAAqB,CAAC;AAChL,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,GAAG,IAAI,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAIpC,SAAS,iBAAiB,CAAC,UAA4B;IACtD,OAAQ,UAAkB,EAAE,CAAC,QAAQ,CAAC,EAAE,YAAY,IAAK,UAAkB,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,IAAK,UAAkB,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,IAAI,IAAI,CAAC;AACjJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,iBAAiB,CAAC,IAAY,EAAE,SAAiB;IACzD,IAAI,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;IACvB,IAAI,IAAI,YAAY,WAAW,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AE;oBAC5D,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;oBACvB,IAAI;oBACJ,MAAM,EAAE,mBAAmB;iBAC3B,CAAC,CAAC;YACJ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC,CAAC;QACrB,CAAC;IACF,CAAC;CACD","sourcesContent":["import type { TransitionInteractiveState, TransitionNavigationType } from '.';\nimport { getPageStartDefaultsForType, getRectFromProps, getSpringFromProps, SharedTransition, SharedTransitionAnimationType, SharedTransitionState } from './shared-transition';\nimport { isNumber } from '../../utils/types';\nimport { Screen } from '../../platform';\nimport { CORE_ANIMATION_DEFAULTS } from '../../utils/animation-helpers';\nimport { ios as iOSUtils } from '../../utils/native-helper';\nimport { Color } from '../../color';\nimport { Trace } from '../../trace';\nimport type { ViewBase } from '../core/view-base';\nimport type { View } from '../core/view';\n\nfunction getControllerPage(controller: UIViewController): ViewBase {\n\treturn (controller as any)?.['_entry']?.resolvedPage ?? (controller as any)?._owner?.deref?.() ?? (controller as any)?.owner?.deref?.() ?? null;\n}\n\n/**\n * Frame, in the container coordinates, of what the view really shows.\n * An aspect fit image view has letterbox around its image: animating its bounds would stretch the image\n * and make it jump to the right size at the end of the transition.\n * Aspect fill (cropped) and non image views simply use their bounds.\n */\nfunction getDisplayedFrame(view: UIView, container: UIView): CGRect {\n\tlet rect = view.bounds;\n\tif (view instanceof UIImageView && view.image && view.contentMode === UIViewContentMode.ScaleAspectFit) {\n\t\tconst imageSize = view.image.size;\n\t\tif (imageSize.width > 0 && imageSize.height > 0 && rect.size.width > 0 && rect.size.height > 0) {\n\t\t\tconst scale = Math.min(rect.size.width / imageSize.width, rect.size.height / imageSize.height);\n\t\t\tconst width = imageSize.width * scale;\n\t\t\tconst height = imageSize.height * scale;\n\t\t\trect = CGRectMake(rect.origin.x + (rect.size.width - width) / 2, rect.origin.y + (rect.size.height - height) / 2, width, height);\n\t\t}\n\t}\n\treturn view.convertRectToView(rect, container);\n}\n\n// when both sides are images, the snapshot is filled like the source one: both ends then show the exact same pixels\n// (the end frame of an aspect fit image has the aspect ratio of the image)\nfunction getSnapshotContentMode(from: UIView, to: UIView): UIViewContentMode {\n\treturn from instanceof UIImageView ? from.contentMode : to.contentMode;\n}\n\ninterface PlatformTransitionInteractiveState extends TransitionInteractiveState {\n\ttransitionContext?: UIViewControllerContextTransitioning;\n\tpropertyAnimator?: UIViewPropertyAnimator;\n}\n\n/**\n * Apply a drop shadow behind the destination view during an interactive\n * dismiss so it looks elevated above the source (Apple Music–style).\n *\n * Shadow + rounded corners can't coexist on the same CALayer on iOS — both\n * `masksToBounds = true` and `layer.mask` clip the shadow as part of the\n * compositing pipeline. So the shadow lives on a SIBLING CALayer inserted\n * below the modal's layer in its superlayer (the same pattern NS uses for\n * box-shadow via `outerShadowContainerLayer`). The modal keeps its own\n * `cornerRadius` + `masksToBounds` so subviews still clip to the rounded\n * shape.\n *\n * Because the shadow layer is a sibling (not a child), it doesn't inherit\n * the modal's transform automatically — `syncInteractiveDismissShadow`\n * mirrors transform/position/bounds during the drag.\n *\n * Falsy `shadowConfig` is a no-op.\n */\nexport function applyInteractiveDismissShadow(presentedView: any, shadowConfig: any): void {\n\tif (!presentedView?.layer || !shadowConfig) return;\n\tconst layer = presentedView.layer;\n\tconst superlayer = layer.superlayer;\n\tif (!superlayer) return;\n\tconst bounds = layer.bounds;\n\tif (bounds.size.width <= 0 || bounds.size.height <= 0) return;\n\t// Idempotent.\n\tif ((presentedView as any).__sharedTransitionShadowLayer) return;\n\tconst cfg = shadowConfig === true ? {} : shadowConfig;\n\tconst colorInput = cfg.color ?? '#000';\n\tlet cgColor: any;\n\ttry {\n\t\tconst nsColor = typeof colorInput === 'string' ? new Color(colorInput) : colorInput;\n\t\tcgColor = (nsColor as any).ios?.CGColor || (nsColor as any).CGColor || UIColor.blackColor.CGColor;\n\t} catch (_) {\n\t\tcgColor = UIColor.blackColor.CGColor;\n\t}\n\tconst opacity = isNumber(cfg.opacity) ? cfg.opacity : 0.3;\n\tconst radius = isNumber(cfg.radius) ? cfg.radius : 30;\n\tconst offsetX = isNumber(cfg.offset?.x) ? cfg.offset.x : 0;\n\tconst offsetY = isNumber(cfg.offset?.y) ? cfg.offset.y : 8;\n\tconst cornerRadius = layer.cornerRadius || 0;\n\tconst roundedRectPath = UIBezierPath.bezierPathWithRoundedRectCornerRadius(CGRectMake(0, 0, bounds.size.width, bounds.size.height), cornerRadius).CGPath;\n\n\tconst shadowLayer = CALayer.layer();\n\t// Match the modal's geometry so shadow tracks 1:1.\n\tshadowLayer.anchorPoint = layer.anchorPoint;\n\tshadowLayer.bounds = bounds;\n\tshadowLayer.position = layer.position;\n\tshadowLayer.transform = layer.transform;\n\tshadowLayer.shadowColor = cgColor;\n\tshadowLayer.shadowOpacity = opacity;\n\tshadowLayer.shadowRadius = radius;\n\tshadowLayer.shadowOffset = CGSizeMake(offsetX, offsetY);\n\t// Explicit shadowPath = shadow renders from this shape outward;\n\t// the layer itself stays fully transparent.\n\tshadowLayer.shadowPath = roundedRectPath;\n\n\tCATransaction.begin();\n\tCATransaction.setDisableActions(true);\n\tsuperlayer.insertSublayerBelow(shadowLayer, layer);\n\tCATransaction.commit();\n\n\t(presentedView as any).__sharedTransitionShadowLayer = shadowLayer;\n}\n\n/**\n * Mirror the modal layer's geometry onto the sibling shadow layer so the\n * shadow tracks the interactive drag. Called from the gesture handlers\n * after the modal's state has been updated (either via direct transform\n * in morph mode, or via `interactiveController.updateInteractiveTransition`\n * for the non-morph modal/page case driven by UIViewPropertyAnimator).\n *\n * Reads the layer's **presentation** values when an animation is in flight\n * — model values would point at the animation's end state and snap the\n * shadow there. Falls back to model values when no animation is running.\n */\nexport function syncInteractiveDismissShadow(presentedView: any): void {\n\tconst shadowLayer = (presentedView as any)?.__sharedTransitionShadowLayer;\n\tif (!shadowLayer || !presentedView?.layer) return;\n\tconst layer = presentedView.layer;\n\tconst pres = typeof layer.presentationLayer === 'function' ? layer.presentationLayer() : null;\n\tconst src = pres || layer;\n\tconst b = src.bounds;\n\tCATransaction.begin();\n\tCATransaction.setDisableActions(true);\n\tshadowLayer.bounds = b;\n\tshadowLayer.position = src.position;\n\tshadowLayer.anchorPoint = src.anchorPoint;\n\tshadowLayer.transform = src.transform;\n\tshadowLayer.shadowPath = UIBezierPath.bezierPathWithRoundedRectCornerRadius(CGRectMake(0, 0, b.size.width, b.size.height), src.cornerRadius || 0).CGPath;\n\tCATransaction.commit();\n}\n\n/**\n * Remove the sibling shadow layer. Safe to call repeatedly / when no\n * shadow was applied.\n */\nexport function removeInteractiveDismissShadow(presentedView: any): void {\n\tconst shadowLayer = (presentedView as any)?.__sharedTransitionShadowLayer;\n\tif (!shadowLayer) return;\n\tCATransaction.begin();\n\tCATransaction.setDisableActions(true);\n\tshadowLayer.removeFromSuperlayer();\n\tCATransaction.commit();\n\t(presentedView as any).__sharedTransitionShadowLayer = null;\n}\n\nexport class SharedTransitionHelper {\n\tstatic animate(state: SharedTransitionState, transitionContext: UIViewControllerContextTransitioning, type: TransitionNavigationType) {\n\t\tsetTimeout(async () => {\n\t\t\t// Run on next tick\n\t\t\t// ensures that existing UI state finishes before snapshotting\n\t\t\t// (eg, button touch up state)\n\t\t\t// Any exception thrown before the animation starts would leave `completeTransition` uncalled\n\t\t\t// and UIKit stuck in the middle of the transition (blank page, dead back button, hidden shared views)\n\t\t\ttry {\n\t\t\t\tawait SharedTransitionHelper.run(state, transitionContext, type);\n\t\t\t} catch (error) {\n\t\t\t\tSharedTransitionHelper.recover(state, transitionContext, type, error);\n\t\t\t}\n\t\t});\n\t}\n\n\tprivate static async run(state: SharedTransitionState, transitionContext: UIViewControllerContextTransitioning, type: TransitionNavigationType) {\n\t\tconst transition = state.instance;\n\t\t{\n\t\t\tswitch (state.activeType) {\n\t\t\t\tcase SharedTransitionAnimationType.present: {\n\t\t\t\t\t// console.log('-- Transition present --');\n\t\t\t\t\tSharedTransition.notifyEvent(SharedTransition.startedEvent, {\n\t\t\t\t\t\tid: transition.id,\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\taction: 'present',\n\t\t\t\t\t});\n\n\t\t\t\t\tif (type === 'modal') {\n\t\t\t\t\t\ttransitionContext.containerView.addSubview(transition.presented.view);\n\t\t\t\t\t} else if (type === 'page') {\n\t\t\t\t\t\ttransitionContext.containerView.insertSubviewAboveSubview(transition.presented.view, transition.presenting.view);\n\t\t\t\t\t}\n\t\t\t\t\ttransition.presented.view.layoutIfNeeded();\n\n\t\t\t\t\tconst { sharedElements: allSharedElements, presented, presenting } = SharedTransition.getSharedElements(state.page, state.toPage);\n\t\t\t\t\t// like on android, pageStart.sharedTransitionTags restricts the elements which are shared between both pages\n\t\t\t\t\tconst startTags = state.pageStart?.sharedTransitionTags ? Object.keys(state.pageStart.sharedTransitionTags) : null;\n\t\t\t\t\tconst sharedElements = startTags?.length ? allSharedElements.filter((v) => startTags.indexOf(v.sharedTransitionTag) !== -1) : allSharedElements;\n\t\t\t\t\tconst sharedElementTags = sharedElements.map((v) => v.sharedTransitionTag);\n\t\t\t\t\tif (!transition.sharedElements) {\n\t\t\t\t\t\ttransition.sharedElements = {\n\t\t\t\t\t\t\tpresented: [],\n\t\t\t\t\t\t\tpresenting: [],\n\t\t\t\t\t\t\tindependent: [],\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\t// Track every matched source view so cleanup can restore alpha,\n\t\t\t\t\t// including duplicates (same album surfacing in multiple lists)\n\t\t\t\t\t// that we hide but don't create a snapshot for.\n\t\t\t\t\t(transition.sharedElements as any)._allPresentingViews = sharedElements.slice();\n\n\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\tconsole.log(` ${type}: Present`);\n\t\t\t\t\t\tconsole.log(`1. Found sharedTransitionTags to animate:`, sharedElementTags);\n\n\t\t\t\t\t\tconsole.log(`2. Take snapshots of shared elements and position them based on presenting view:`);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst pageOut = state.pageOut;\n\t\t\t\t\tconst pageStart = state.pageStart;\n\n\t\t\t\t\tconst startFrame = getRectFromProps(pageStart, getPageStartDefaultsForType(type));\n\n\t\t\t\t\tconst pageEnd = state.pageEnd;\n\t\t\t\t\tconst pageEndTags = pageEnd?.sharedTransitionTags || {};\n\t\t\t\t\t// console.log('pageEndIndependentTags:', pageEndIndependentTags);\n\n\t\t\t\t\tconst positionSharedTags = async () => {\n\t\t\t\t\t\tconst processedTags = new Set<string>();\n\t\t\t\t\t\tfor (const presentingView of sharedElements) {\n\t\t\t\t\t\t\tconst presentingSharedElement = presentingView.ios;\n\t\t\t\t\t\t\tconst tag = presentingView.sharedTransitionTag;\n\t\t\t\t\t\t\tif (processedTags.has(tag)) {\n\t\t\t\t\t\t\t\t// The same item can appear in multiple lists on the source page\n\t\t\t\t\t\t\t\t// (e.g., a featured album also surfacing in \"Recently Played\").\n\t\t\t\t\t\t\t\t// Each instance has the same sharedTransitionTag. Only the first\n\t\t\t\t\t\t\t\t// one becomes the snapshot origin; the rest must still be hidden\n\t\t\t\t\t\t\t\t// so they don't show through behind the animating snapshot.\n\t\t\t\t\t\t\t\tif (presentingSharedElement) {\n\t\t\t\t\t\t\t\t\tpresentingSharedElement.alpha = 0;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tprocessedTags.add(tag);\n\n\t\t\t\t\t\t\tconst presentedView = presented.find((v) => v.sharedTransitionTag === presentingView.sharedTransitionTag);\n\t\t\t\t\t\t\tconst presentedSharedElement = presentedView.ios;\n\t\t\t\t\t\t\tconst pageEndProps = pageEndTags[presentingView.sharedTransitionTag];\n\n\t\t\t\t\t\t\tconst snapshot = UIImageView.alloc().init();\n\t\t\t\t\t\t\tif (pageEndProps?.callback) {\n\t\t\t\t\t\t\t\tawait pageEndProps?.callback(presentedView, 'present');\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// treat images differently...\n\t\t\t\t\t\t\tlet imageSourceChangeListener: ((args: any) => void) | undefined;\n\t\t\t\t\t\t\tif (presentedSharedElement instanceof UIImageView) {\n\t\t\t\t\t\t\t\t// In case the image is loaded async, keep the snapshot's image in sync with\n\t\t\t\t\t\t\t\t// the destination view's image. We hold a ref so we can detach the listener\n\t\t\t\t\t\t\t\t// on cleanup (the View would otherwise hold a strong ref via the observers\n\t\t\t\t\t\t\t\t// map and the snapshot closure would leak).\n\t\t\t\t\t\t\t\timageSourceChangeListener = () => {\n\t\t\t\t\t\t\t\t\tsnapshot.image = iOSUtils.snapshotView(presentedSharedElement, Screen.mainScreen.scale);\n\t\t\t\t\t\t\t\t\tsnapshot.tintColor = presentedSharedElement.tintColor;\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tpresentedView.on('imageSourceChange', imageSourceChangeListener);\n\n\t\t\t\t\t\t\t\tsnapshot.tintColor = presentedSharedElement.tintColor;\n\t\t\t\t\t\t\t\tsnapshot.contentMode = getSnapshotContentMode(presentingSharedElement, presentedSharedElement);\n\t\t\t\t\t\t\t\t// Seed the snapshot with the source's already-loaded image so the very\n\t\t\t\t\t\t\t\t// first frame of the animation isn't blank if the destination image is\n\t\t\t\t\t\t\t\t// still loading.\n\t\t\t\t\t\t\t\tif (presentingSharedElement instanceof UIImageView) {\n\t\t\t\t\t\t\t\t\tsnapshot.image = presentingSharedElement.image;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tiOSUtils.copyLayerProperties(snapshot, presentingSharedElement, pageEndProps?.propertiesToMatch as any);\n\t\t\t\t\t\t\tsnapshot.clipsToBounds = true;\n\t\t\t\t\t\t\t// console.log('---> snapshot: ', snapshot);\n\n\t\t\t\t\t\t\tconst startFrame = getDisplayedFrame(presentingSharedElement, transitionContext.containerView);\n\t\t\t\t\t\t\tconst endFrame = getDisplayedFrame(presentedSharedElement, transitionContext.containerView);\n\t\t\t\t\t\t\tsnapshot.frame = startFrame;\n\t\t\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\t\t\tconsole.log('---> ', presentingView.sharedTransitionTag, ' frame:', iOSUtils.printCGRect(snapshot.frame));\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\ttransition.sharedElements.presenting.push({\n\t\t\t\t\t\t\t\tview: presentingView,\n\t\t\t\t\t\t\t\tstartFrame,\n\t\t\t\t\t\t\t\tendFrame,\n\t\t\t\t\t\t\t\tsnapshot,\n\t\t\t\t\t\t\t\tstartOpacity: presentingView.opacity,\n\t\t\t\t\t\t\t\tendOpacity: isNumber(pageEndProps?.opacity) ? pageEndProps.opacity : presentedView.opacity,\n\t\t\t\t\t\t\t\tpropertiesToMatch: pageEndProps?.propertiesToMatch,\n\t\t\t\t\t\t\t\tzIndex: isNumber(pageEndProps?.zIndex) ? pageEndProps.zIndex : 0,\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\ttransition.sharedElements.presented.push({\n\t\t\t\t\t\t\t\tview: presentedView,\n\t\t\t\t\t\t\t\tstartFrame: endFrame,\n\t\t\t\t\t\t\t\tendFrame: startFrame,\n\t\t\t\t\t\t\t\tstartOpacity: presentedView.opacity,\n\t\t\t\t\t\t\t\tendOpacity: presentingView.opacity,\n\t\t\t\t\t\t\t\tpropertiesToMatch: pageEndProps?.propertiesToMatch,\n\t\t\t\t\t\t\t\timageSourceChangeListener,\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t// set initial opacity to match the source view opacity\n\t\t\t\t\t\t\tsnapshot.alpha = presentingView.opacity;\n\t\t\t\t\t\t\t// Hide both while animating in the transition context.\n\t\t\t\t\t\t\t//\n\t\t\t\t\t\t\t// We mutate native alpha directly rather than NS `opacity` so the NS-side\n\t\t\t\t\t\t\t// style remains the user's intended value (typically 1). If we instead set\n\t\t\t\t\t\t\t// `view.opacity = 0` and then a transition was interrupted before cleanup\n\t\t\t\t\t\t\t// (or the page was reused), `startOpacity` here could capture 0 from a prior\n\t\t\t\t\t\t\t// run and the cleanup below would leave the destination invisible.\n\t\t\t\t\t\t\tpresentingSharedElement.alpha = 0;\n\t\t\t\t\t\t\tpresentedSharedElement.alpha = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\tconst positionIndependentTags = async () => {\n\t\t\t\t\t\t// \"Independent\" tags appear on only one of the two pages (or were\n\t\t\t\t\t\t// explicitly enumerated in pageEnd.sharedTransitionTags). We auto-discover\n\t\t\t\t\t\t// them so authors don't have to enumerate every tag manually:\n\t\t\t\t\t\t// - source-only (orphan on presenting): fade *out* on present, fade\n\t\t\t\t\t\t// back in on dismiss. e.g., a \"FEATURED ALBUM\" label on a hero card\n\t\t\t\t\t\t// that has no counterpart on the destination page.\n\t\t\t\t\t\t// - destination-only (orphan on presented): fade *in* on present, fade\n\t\t\t\t\t\t// back out on dismiss. e.g., metadata that only exists on the detail\n\t\t\t\t\t\t// page.\n\t\t\t\t\t\t// Authors can override per-tag via pageStart / pageEnd `sharedTransitionTags`\n\t\t\t\t\t\t// (e.g. add `y: -20` to slide while fading), or opt a view out entirely\n\t\t\t\t\t\t// with `sharedTransitionIgnore`.\n\t\t\t\t\t\tconst orphanTags: Array<string> = [];\n\t\t\t\t\t\tconst seenOrphan = new Set<string>();\n\t\t\t\t\t\tconst addOrphan = (tag: string) => {\n\t\t\t\t\t\t\tif (!tag || seenOrphan.has(tag) || sharedElementTags.includes(tag)) return;\n\t\t\t\t\t\t\tseenOrphan.add(tag);\n\t\t\t\t\t\t\torphanTags.push(tag);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tfor (const v of presenting) addOrphan(v.sharedTransitionTag);\n\t\t\t\t\t\tfor (const v of presented) addOrphan(v.sharedTransitionTag);\n\t\t\t\t\t\t// Tags the user listed in pageEnd.sharedTransitionTags but that don't\n\t\t\t\t\t\t// match a real view are silently skipped further down — keep them in\n\t\t\t\t\t\t// the iteration so per-tag config still applies to existing orphans.\n\t\t\t\t\t\tfor (const tag in pageEndTags) addOrphan(tag);\n\n\t\t\t\t\t\tfor (const tag of orphanTags) {\n\t\t\t\t\t\t\tconst pageStartIndependentProps = pageStart?.sharedTransitionTags ? pageStart?.sharedTransitionTags[tag] : null;\n\t\t\t\t\t\t\tconst pageEndProps = pageEndTags[tag];\n\t\t\t\t\t\t\tlet independentView = presenting.find((v) => v.sharedTransitionTag === tag);\n\t\t\t\t\t\t\tlet isPresented = false;\n\t\t\t\t\t\t\tif (!independentView) {\n\t\t\t\t\t\t\t\tindependentView = presented.find((v) => v.sharedTransitionTag === tag);\n\t\t\t\t\t\t\t\tif (!independentView) {\n\t\t\t\t\t\t\t\t\t// Tag declared in config but no matching view; skip (don't\n\t\t\t\t\t\t\t\t\t// break — later tags might still resolve).\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tisPresented = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst independentSharedElement: UIView = independentView.ios;\n\n\t\t\t\t\t\t\tif (pageEndProps?.callback) {\n\t\t\t\t\t\t\t\tawait pageEndProps?.callback(independentView, 'present');\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tconst snapshot = UIImageView.alloc().initWithImage(iOSUtils.snapshotView(independentSharedElement, Screen.mainScreen.scale));\n\n\t\t\t\t\t\t\tif (independentSharedElement instanceof UIImageView) {\n\t\t\t\t\t\t\t\tsnapshot.tintColor = independentSharedElement.tintColor;\n\t\t\t\t\t\t\t\tsnapshot.contentMode = independentSharedElement.contentMode;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tsnapshot.clipsToBounds = true;\n\t\t\t\t\t\t\t// Copy layer properties (cornerRadius, borderWidth/Color)\n\t\t\t\t\t\t\t// from the source view so the snapshot renders with the\n\t\t\t\t\t\t\t// same rounded corners. Without this, source-side\n\t\t\t\t\t\t\t// thumbnails/buttons appear with sharp square corners\n\t\t\t\t\t\t\t// during a non-morph interactive dismiss — the snapshot\n\t\t\t\t\t\t\t// is what the user sees through the dismissing modal,\n\t\t\t\t\t\t\t// and its layer is freshly created with cornerRadius 0.\n\t\t\t\t\t\t\tiOSUtils.copyLayerProperties(snapshot, independentSharedElement, pageEndProps?.propertiesToMatch as any);\n\n\t\t\t\t\t\t\tconst startFrame = independentSharedElement.convertRectToView(independentSharedElement.bounds, transitionContext.containerView);\n\t\t\t\t\t\t\tsnapshot.frame = startFrame;\n\t\t\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\t\t\tconsole.log('---> ', independentView.sharedTransitionTag, ' frame:', iOSUtils.printCGRect(snapshot.frame));\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tconst endFrameRect = getRectFromProps(pageEndProps);\n\t\t\t\t\t\t\tconst endFrame = CGRectMake(startFrame.origin.x + (endFrameRect.x || 0), startFrame.origin.y + (endFrameRect.y || 0), startFrame.size.width, startFrame.size.height);\n\n\t\t\t\t\t\t\t// Opacity defaults are side-aware: source-only orphans fade out (1 → 0),\n\t\t\t\t\t\t\t// destination-only orphans fade in (0 → 1). The values are read back\n\t\t\t\t\t\t\t// during dismiss as `endOpacity → startOpacity` so the return phase is\n\t\t\t\t\t\t\t// automatically symmetric. Author-supplied opacity always wins.\n\t\t\t\t\t\t\tconst startOpacity = isNumber(pageStartIndependentProps?.opacity) ? pageStartIndependentProps.opacity : isPresented ? 0 : independentView.opacity;\n\t\t\t\t\t\t\tconst endOpacity = isNumber(pageEndProps?.opacity) ? pageEndProps.opacity : isPresented ? independentView.opacity : 0;\n\n\t\t\t\t\t\t\t// Snapshot's initial visible alpha. Default UIImageView alpha is 1;\n\t\t\t\t\t\t\t// destination-only orphans need to start at 0 so the fade-in is\n\t\t\t\t\t\t\t// visible, hence we always set it explicitly.\n\t\t\t\t\t\t\tsnapshot.alpha = startOpacity;\n\n\t\t\t\t\t\t\ttransition.sharedElements.independent.push({\n\t\t\t\t\t\t\t\tview: independentView,\n\t\t\t\t\t\t\t\tisPresented,\n\t\t\t\t\t\t\t\tstartFrame,\n\t\t\t\t\t\t\t\tsnapshot,\n\t\t\t\t\t\t\t\tendFrame,\n\t\t\t\t\t\t\t\tstartTransform: independentSharedElement.transform,\n\t\t\t\t\t\t\t\tscale: pageEndProps?.scale,\n\t\t\t\t\t\t\t\tstartOpacity,\n\t\t\t\t\t\t\t\tendOpacity,\n\t\t\t\t\t\t\t\tpropertiesToMatch: pageEndProps?.propertiesToMatch,\n\t\t\t\t\t\t\t\tzIndex: isNumber(pageEndProps?.zIndex) ? pageEndProps.zIndex : 0,\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t// Native alpha; see comment in positionSharedTags.\n\t\t\t\t\t\t\tindependentSharedElement.alpha = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\t// position all sharedTransitionTag elements\n\t\t\t\t\tawait positionSharedTags();\n\t\t\t\t\tawait positionIndependentTags();\n\t\t\t\t\t// combine to order by zIndex and add to transition context\n\t\t\t\t\tconst snapshotData = transition.sharedElements.presenting.concat(transition.sharedElements.independent);\n\t\t\t\t\tsnapshotData.sort((a, b) => (a.zIndex || 0) - (b.zIndex || 0));\n\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\tconsole.log(\n\t\t\t\t\t\t\t`zIndex settings:`,\n\t\t\t\t\t\t\tsnapshotData.map((s) => {\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\tsharedTransitionTag: s.view.sharedTransitionTag,\n\t\t\t\t\t\t\t\t\tzIndex: s.zIndex,\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (const data of snapshotData) {\n\t\t\t\t\t\t// add snapshot to animate\n\t\t\t\t\t\ttransitionContext.containerView.addSubview(data.snapshot);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Important: always set after above shared element positions have had their start positions set\n\t\t\t\t\ttransition.presented.view.alpha = isNumber(pageStart?.opacity) ? pageStart?.opacity : 0;\n\t\t\t\t\ttransition.presented.view.frame = CGRectMake(startFrame.x, startFrame.y, startFrame.width, startFrame.height);\n\t\t\t\t\t// Optional top-corner rounding for sheet-style transitions (e.g.\n\t\t\t\t\t// a modal that's rounded at the bottom of the screen and flattens\n\t\t\t\t\t// as it slides up). Setting maskedCorners and masksToBounds here\n\t\t\t\t\t// (before the animation) so they're stable during the animated\n\t\t\t\t\t// cornerRadius change.\n\t\t\t\t\tif (isNumber((pageStart as any)?.cornerRadius) || isNumber((pageEnd as any)?.cornerRadius)) {\n\t\t\t\t\t\tconst layer = transition.presented.view.layer;\n\t\t\t\t\t\t// top-left | top-right | bottom-left | bottom-right (CACornerMask bits)\n\t\t\t\t\t\tlayer.maskedCorners = 15;\n\t\t\t\t\t\tlayer.masksToBounds = true;\n\t\t\t\t\t\tif (isNumber((pageStart as any)?.cornerRadius)) {\n\t\t\t\t\t\t\tlayer.cornerRadius = (pageStart as any).cornerRadius;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tconst cleanupPresent = () => {\n\t\t\t\t\t\tfor (const presented of transition.sharedElements.presented) {\n\t\t\t\t\t\t\t// Detach the per-transition imageSourceChange listener registered\n\t\t\t\t\t\t\t// during positionSharedTags so it doesn't leak (the snapshot is gone).\n\t\t\t\t\t\t\tif (presented.imageSourceChangeListener) {\n\t\t\t\t\t\t\t\tpresented.view.off('imageSourceChange', presented.imageSourceChangeListener);\n\t\t\t\t\t\t\t\tpresented.imageSourceChangeListener = null;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// Restore the destination native alpha from the NS opacity (the source\n\t\t\t\t\t\t\t// of truth). NS opacity wasn't modified during the transition, so this\n\t\t\t\t\t\t\t// reflects the user's intended visibility (typically 1).\n\t\t\t\t\t\t\tpresented.view.ios.alpha = presented.view.opacity;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Restore native alpha on every source view we touched — including\n\t\t\t\t\t\t// duplicates that share a sharedTransitionTag and were hidden without\n\t\t\t\t\t\t// a snapshot. Even though the source page is being removed, the View\n\t\t\t\t\t\t// instances may be reused on subsequent navigations.\n\t\t\t\t\t\tfor (const sourceView of (transition.sharedElements as any)._allPresentingViews || []) {\n\t\t\t\t\t\t\tif (sourceView?.ios) {\n\t\t\t\t\t\t\t\tsourceView.ios.alpha = sourceView.opacity;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const presenting of transition.sharedElements.presenting) {\n\t\t\t\t\t\t\tpresenting.snapshot.removeFromSuperview();\n\t\t\t\t\t\t\tif (type === 'page') {\n\t\t\t\t\t\t\t\t// the page we left is detached: give its views back so none stays hidden when it is shown again\n\t\t\t\t\t\t\t\t// (the way back is not necessarily done with this transition instance nor with the same shared elements)\n\t\t\t\t\t\t\t\tpresenting.view.opacity = presenting.startOpacity;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const independent of transition.sharedElements.independent) {\n\t\t\t\t\t\t\tindependent.snapshot.removeFromSuperview();\n\t\t\t\t\t\t\tif (independent.isPresented) {\n\t\t\t\t\t\t\t\tindependent.view.ios.alpha = independent.view.opacity;\n\t\t\t\t\t\t\t} else if (type === 'page') {\n\t\t\t\t\t\t\t\tindependent.view.opacity = independent.startOpacity;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSharedTransition.updateState(transition.id, {\n\t\t\t\t\t\t\tactiveType: SharedTransitionAnimationType.dismiss,\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (type === 'page') {\n\t\t\t\t\t\t\ttransition.presenting.view.removeFromSuperview();\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttransitionContext.completeTransition(true);\n\t\t\t\t\t\tSharedTransition.notifyEvent(SharedTransition.finishedEvent, {\n\t\t\t\t\t\t\tid: transition.id,\n\t\t\t\t\t\t\ttype,\n\t\t\t\t\t\t\taction: 'present',\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\n\t\t\t\t\tconst animateProperties = () => {\n\t\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\t\tconsole.log('3. Animating shared elements:');\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttransition.presented.view.alpha = isNumber(pageEnd?.opacity) ? pageEnd?.opacity : 1;\n\n\t\t\t\t\t\tconst endFrame = getRectFromProps(pageEnd);\n\t\t\t\t\t\ttransition.presented.view.frame = CGRectMake(endFrame.x, endFrame.y, endFrame.width, endFrame.height);\n\t\t\t\t\t\t// Animate cornerRadius alongside the page frame. Implicit animation\n\t\t\t\t\t\t// of cornerRadius is supported on iOS 11+, both inside\n\t\t\t\t\t\t// UIView.animateWith… and UIViewPropertyAnimator's animations block.\n\t\t\t\t\t\tif (isNumber((pageEnd as any)?.cornerRadius)) {\n\t\t\t\t\t\t\ttransition.presented.view.layer.cornerRadius = (pageEnd as any).cornerRadius;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (pageOut) {\n\t\t\t\t\t\t\tif (isNumber(pageOut.opacity)) {\n\t\t\t\t\t\t\t\ttransition.presenting.view.alpha = pageOut?.opacity;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tconst outFrame = getRectFromProps(pageOut);\n\t\t\t\t\t\t\ttransition.presenting.view.frame = CGRectMake(outFrame.x, outFrame.y, outFrame.width, outFrame.height);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// animate page properties to the following:\n\t\t\t\t\t\t// https://stackoverflow.com/a/27997678/1418981\n\t\t\t\t\t\t// In order to have proper layout. Seems mostly needed when presenting.\n\t\t\t\t\t\t// For instance during presentation, destination view doesn't account navigation bar height.\n\t\t\t\t\t\t// Not sure if best to leave all the time?\n\t\t\t\t\t\t// owner.presented.view.setNeedsLayout();\n\t\t\t\t\t\t// owner.presented.view.layoutIfNeeded();\n\n\t\t\t\t\t\tfor (const presented of transition.sharedElements.presented) {\n\t\t\t\t\t\t\tconst presentingMatch = transition.sharedElements.presenting.find((v) => v.view.sharedTransitionTag === presented.view.sharedTransitionTag);\n\t\t\t\t\t\t\tif (!presentingMatch) {\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// Workaround wrong origin due ongoing layout process.\n\t\t\t\t\t\t\tconst updatedEndFrame = getDisplayedFrame(presented.view.ios, transitionContext.containerView);\n\t\t\t\t\t\t\tconst correctedEndFrame = CGRectMake(updatedEndFrame.origin.x, updatedEndFrame.origin.y, presentingMatch.endFrame.size.width, presentingMatch.endFrame.size.height);\n\t\t\t\t\t\t\tpresentingMatch.snapshot.frame = correctedEndFrame;\n\n\t\t\t\t\t\t\t// apply view and layer properties to the snapshot view to match the source/presented view\n\t\t\t\t\t\t\tiOSUtils.copyLayerProperties(presentingMatch.snapshot, presented.view.ios, presented.propertiesToMatch as any);\n\t\t\t\t\t\t\t// create a snapshot of the presented view\n\t\t\t\t\t\t\tpresentingMatch.snapshot.image = iOSUtils.snapshotView(presented.view.ios, Screen.mainScreen.scale);\n\t\t\t\t\t\t\t// apply correct alpha\n\t\t\t\t\t\t\tpresentingMatch.snapshot.alpha = presentingMatch.endOpacity;\n\n\t\t\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\t\t\tconsole.log(`---> ${presentingMatch.view.sharedTransitionTag} animate to: `, iOSUtils.printCGRect(correctedEndFrame));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const independent of transition.sharedElements.independent) {\n\t\t\t\t\t\t\tconst endFrame: CGRect = independent.endFrame;\n\t\t\t\t\t\t\t// if (independent.isPresented) {\n\t\t\t\t\t\t\t// \tconst updatedEndFrame = independent.view.ios.convertRectToView(independent.view.ios.bounds, transitionContext.containerView);\n\t\t\t\t\t\t\t// \tendFrame = CGRectMake(updatedEndFrame.origin.x, updatedEndFrame.origin.y, independent.endFrame.size.width, independent.endFrame.size.height);\n\t\t\t\t\t\t\t// }\n\t\t\t\t\t\t\tif (independent.scale) {\n\t\t\t\t\t\t\t\tindependent.snapshot.transform = CGAffineTransformConcat(CGAffineTransformMakeTranslation(endFrame.origin.x, endFrame.origin.y), CGAffineTransformMakeScale(independent.scale.x, independent.scale.y));\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tindependent.snapshot.frame = endFrame;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tindependent.snapshot.alpha = independent.endOpacity;\n\n\t\t\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\t\t\tconsole.log(`---> ${independent.view.sharedTransitionTag} animate to: `, iOSUtils.printCGRect(independent.endFrame));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\tif (isNumber(pageEnd?.duration)) {\n\t\t\t\t\t\t// override spring and use only linear animation\n\t\t\t\t\t\tUIView.animateWithDurationDelayOptionsAnimationsCompletion(\n\t\t\t\t\t\t\tpageEnd?.duration / 1000,\n\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\tUIViewAnimationOptions.CurveEaseInOut,\n\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\tanimateProperties();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\tcleanupPresent();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tiOSUtils.animateWithSpring({\n\t\t\t\t\t\t\t...getSpringFromProps(pageEnd?.spring),\n\t\t\t\t\t\t\tanimations: () => {\n\t\t\t\t\t\t\t\tanimateProperties();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcompletion: () => {\n\t\t\t\t\t\t\t\tcleanupPresent();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase SharedTransitionAnimationType.dismiss: {\n\t\t\t\t\t// console.log('-- Transition dismiss --');\n\t\t\t\t\tSharedTransition.notifyEvent(SharedTransition.startedEvent, {\n\t\t\t\t\t\tid: transition.id,\n\t\t\t\t\t\ttype,\n\t\t\t\t\t\taction: 'dismiss',\n\t\t\t\t\t});\n\t\t\t\t\tif (type === 'page') {\n\t\t\t\t\t\ttransitionContext.containerView.insertSubviewBelowSubview(transition.presenting.view, transition.presented.view);\n\t\t\t\t\t\t// UIKit's standard pop places the incoming source view off to the\n\t\t\t\t\t\t// left so it can slide into position; for custom shared transitions\n\t\t\t\t\t\t// (where the destination either slides down or morphs to source) we\n\t\t\t\t\t\t// don't want that lateral slide. Pin the source to its fullscreen\n\t\t\t\t\t\t// frame so it stays put underneath the animating destination.\n\t\t\t\t\t\t// Users can still opt into a custom source animation via `pageOut`.\n\t\t\t\t\t\tconst sourceDefaults = getRectFromProps(null);\n\t\t\t\t\t\ttransition.presenting.view.frame = CGRectMake(0, 0, sourceDefaults.width, sourceDefaults.height);\n\t\t\t\t\t}\n\t\t\t\t\t// Morph + interactive dismiss: the gesture handler drives the\n\t\t\t\t\t// animation via transforms and finalizes by calling cancel/finish\n\t\t\t\t\t// on the transitionContext. Running the standard snapshot + spring\n\t\t\t\t\t// rig here would race that and frequently call completeTransition(true)\n\t\t\t\t\t// *before* the user's gesture ended — causing the dismiss to commit\n\t\t\t\t\t// even on a cancel. Skip the rest of the dismiss setup entirely.\n\t\t\t\t\tif (state.interactive?.dismiss?.morph && state.interactiveBegan) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t// console.log('transitionContext.containerView.subviews.count:', transitionContext.containerView.subviews.count);\n\n\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\tconsole.log(` ${type}: Dismiss`);\n\t\t\t\t\t\tconsole.log(\n\t\t\t\t\t\t\t`1. Dismiss sharedTransitionTags to animate:`,\n\t\t\t\t\t\t\ttransition.sharedElements?.presented?.map((p) => p.view.sharedTransitionTag),\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tconsole.log(`2. Add back previously stored sharedElements to dismiss:`);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst pageOut = state.pageOut;\n\t\t\t\t\tconst pageEnd = state.pageEnd;\n\t\t\t\t\tconst pageEndTags = pageEnd?.sharedTransitionTags || {};\n\t\t\t\t\tconst pageReturn = state.pageReturn;\n\n\t\t\t\t\tif (type === 'page') {\n\t\t\t\t\t\t// rebuild from what is currently shown instead of replaying what was recorded on the way in\n\t\t\t\t\t\tSharedTransitionHelper.rebuildDismissElements(state, transitionContext);\n\t\t\t\t\t} else if (!transition.sharedElements) {\n\t\t\t\t\t\ttransition.sharedElements = { presented: [], presenting: [], independent: [] };\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (const p of transition.sharedElements.presented) {\n\t\t\t\t\t\t// Use native alpha (not NS opacity) so we don't pollute the NS-side\n\t\t\t\t\t\t// value if the dismiss is interrupted; cleanup restores from NS opacity.\n\t\t\t\t\t\tp.view.ios.alpha = 0;\n\t\t\t\t\t}\n\t\t\t\t\t// Ensure top-corner masking + clipping is in place before we animate\n\t\t\t\t\t// cornerRadius back toward the start value. If the present pass already\n\t\t\t\t\t// set these, this is a harmless no-op.\n\t\t\t\t\tif (isNumber((pageReturn as any)?.cornerRadius)) {\n\t\t\t\t\t\tconst layer = transition.presented.view.layer;\n\t\t\t\t\t\tlayer.maskedCorners = 15; // top-left | top-right | bottom-left | bottom-right\n\t\t\t\t\t\tlayer.masksToBounds = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t// combine to order by zIndex and add to transition context\n\t\t\t\t\tconst snapshotData = transition.sharedElements.presenting.concat(transition.sharedElements.independent);\n\t\t\t\t\tsnapshotData.sort((a, b) => (a.zIndex || 0) - (b.zIndex || 0));\n\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\tconsole.log(\n\t\t\t\t\t\t\t`zIndex settings:`,\n\t\t\t\t\t\t\tsnapshotData.map((s) => {\n\t\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\t\tsharedTransitionTag: s.view.sharedTransitionTag,\n\t\t\t\t\t\t\t\t\tzIndex: s.zIndex,\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\t// first loop through all the shared elements and fire the callback\n\t\t\t\t\tfor (const data of snapshotData) {\n\t\t\t\t\t\tconst pageEndProps = pageEndTags[data.view.sharedTransitionTag];\n\t\t\t\t\t\tif (pageEndProps?.callback) {\n\t\t\t\t\t\t\tawait pageEndProps?.callback(data.view, 'dismiss');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// now that all the callbacks had their chance to run, we can take the snapshots\n\t\t\t\t\tfor (const data of snapshotData) {\n\t\t\t\t\t\tif ((data as any).rebuilt) {\n\t\t\t\t\t\t\t// snapshot of the popped view already taken and positioned\n\t\t\t\t\t\t\ttransitionContext.containerView.addSubview(data.snapshot);\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst view = data.view.ios;\n\t\t\t\t\t\tconst currentAlpha = view.alpha;\n\t\t\t\t\t\tif (pageReturn?.useStartOpacity) {\n\t\t\t\t\t\t\t// when desired, reset the alpha to the start value so the view is visible in the snapshot\n\t\t\t\t\t\t\tview.alpha = data.startOpacity;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// take a new snapshot\n\t\t\t\t\t\tdata.snapshot.image = iOSUtils.snapshotView(view, Screen.mainScreen.scale);\n\n\t\t\t\t\t\t// find the currently visible view with the same sharedTransitionTag\n\t\t\t\t\t\tconst fromView = transition.sharedElements.presented.find((p) => p.view.sharedTransitionTag === data.view.sharedTransitionTag)?.view;\n\t\t\t\t\t\tif (fromView) {\n\t\t\t\t\t\t\t// match the snapshot frame to the current frame of the fromView\n\t\t\t\t\t\t\tdata.snapshot.frame = fromView.ios.convertRectToView(fromView.ios.bounds, transitionContext.containerView);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// snapshot has been taken, we can restore the alpha\n\t\t\t\t\t\tview.alpha = currentAlpha;\n\n\t\t\t\t\t\t// we recalculate the startFrame because the view might have changed its position in the background\n\t\t\t\t\t\tdata.startFrame = view.convertRectToView(view.bounds, transitionContext.containerView);\n\n\t\t\t\t\t\t// add snapshot to animate\n\t\t\t\t\t\ttransitionContext.containerView.addSubview(data.snapshot);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Hide every source-side shared element now that snapshots have been\n\t\t\t\t\t// captured. The animating snapshot covers them; without this, the user\n\t\t\t\t\t// sees a \"double image\" — the real source element AND the snapshot\n\t\t\t\t\t// animating over it back to its position. Use the full list (not just\n\t\t\t\t\t// the deduped `presenting`) so duplicates from sister lists are hidden\n\t\t\t\t\t// too. Restored in cleanupDismiss below.\n\t\t\t\t\tfor (const sourceView of (transition.sharedElements as any)._allPresentingViews || []) {\n\t\t\t\t\t\tif (sourceView?.ios) {\n\t\t\t\t\t\t\tsourceView.ios.alpha = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tconst cleanupDismiss = () => {\n\t\t\t\t\t\t// Restore alpha on every source view we hid — including duplicate\n\t\t\t\t\t\t// sources with the same sharedTransitionTag — using NS opacity as\n\t\t\t\t\t\t// the source of truth.\n\t\t\t\t\t\tfor (const sourceView of (transition.sharedElements as any)._allPresentingViews || []) {\n\t\t\t\t\t\t\tif (sourceView?.ios) {\n\t\t\t\t\t\t\t\tsourceView.ios.alpha = sourceView.opacity;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const presenting of transition.sharedElements.presenting) {\n\t\t\t\t\t\t\tpresenting.snapshot.removeFromSuperview();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const presented of transition.sharedElements.presented) {\n\t\t\t\t\t\t\t// Detach the imageSourceChange listener and restore alpha. Even though\n\t\t\t\t\t\t\t// the destination page is being torn down, NS Views can outlive their\n\t\t\t\t\t\t\t// nativeView and we shouldn't leak observers.\n\t\t\t\t\t\t\tif (presented.imageSourceChangeListener) {\n\t\t\t\t\t\t\t\tpresented.view.off('imageSourceChange', presented.imageSourceChangeListener);\n\t\t\t\t\t\t\t\tpresented.imageSourceChangeListener = null;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (presented.view.ios) {\n\t\t\t\t\t\t\t\tpresented.view.ios.alpha = presented.view.opacity;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (const independent of transition.sharedElements.independent) {\n\t\t\t\t\t\t\tindependent.view.ios.alpha = independent.view.opacity;\n\t\t\t\t\t\t\tindependent.snapshot.removeFromSuperview();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSharedTransition.finishState(transition.id);\n\t\t\t\t\t\ttransition.sharedElements = null;\n\t\t\t\t\t\ttransitionContext.completeTransition(true);\n\t\t\t\t\t\tSharedTransition.notifyEvent(SharedTransition.finishedEvent, {\n\t\t\t\t\t\t\tid: transition.id,\n\t\t\t\t\t\t\ttype,\n\t\t\t\t\t\t\taction: 'dismiss',\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\n\t\t\t\t\tconst animateProperties = () => {\n\t\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\t\tconsole.log('3. Dismissing shared elements:');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ttransition.presented.view.alpha = isNumber(pageReturn?.opacity) ? pageReturn?.opacity : 0;\n\n\t\t\t\t\t\tconst endFrame = getRectFromProps(pageReturn, getPageStartDefaultsForType(type));\n\t\t\t\t\t\ttransition.presented.view.frame = CGRectMake(endFrame.x, endFrame.y, endFrame.width, endFrame.height);\n\t\t\t\t\t\t// Animate cornerRadius back toward the start value (e.g. a sheet\n\t\t\t\t\t\t// re-rounds as it slides offscreen).\n\t\t\t\t\t\tif (isNumber((pageReturn as any)?.cornerRadius)) {\n\t\t\t\t\t\t\ttransition.presented.view.layer.cornerRadius = (pageReturn as any).cornerRadius;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (pageOut) {\n\t\t\t\t\t\t\t// always return to defaults if pageOut had been used\n\t\t\t\t\t\t\ttransition.presenting.view.alpha = 1;\n\n\t\t\t\t\t\t\tconst outFrame = getRectFromProps(null);\n\t\t\t\t\t\t\ttransition.presenting.view.frame = CGRectMake(0, 0, outFrame.width, outFrame.height);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tfor (const presenting of transition.sharedElements.presenting) {\n\t\t\t\t\t\t\tiOSUtils.copyLayerProperties(presenting.snapshot, presenting.view.ios, presenting.propertiesToMatch as any);\n\t\t\t\t\t\t\tpresenting.snapshot.frame = presenting.startFrame;\n\t\t\t\t\t\t\tpresenting.snapshot.alpha = presenting.startOpacity;\n\n\t\t\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\t\t\tconsole.log(`---> ${presenting.view.sharedTransitionTag} animate to: `, iOSUtils.printCGRect(presenting.snapshot.frame));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tfor (const independent of transition.sharedElements.independent) {\n\t\t\t\t\t\t\tindependent.snapshot.alpha = independent.startOpacity;\n\t\t\t\t\t\t\tif (independent.scale) {\n\t\t\t\t\t\t\t\tindependent.snapshot.transform = independent.startTransform;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tindependent.snapshot.frame = independent.startFrame;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\t\t\t\t\tconsole.log(`---> ${independent.view.sharedTransitionTag} animate to: `, iOSUtils.printCGRect(independent.snapshot.frame));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\tif (isNumber(pageReturn?.duration)) {\n\t\t\t\t\t\t// override spring and use only linear animation\n\t\t\t\t\t\tUIView.animateWithDurationDelayOptionsAnimationsCompletion(\n\t\t\t\t\t\t\tpageReturn?.duration / 1000,\n\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\tUIViewAnimationOptions.CurveEaseInOut,\n\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\tanimateProperties();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\tcleanupDismiss();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tiOSUtils.animateWithSpring({\n\t\t\t\t\t\t\t...getSpringFromProps(pageReturn?.spring),\n\t\t\t\t\t\t\tanimations: () => {\n\t\t\t\t\t\t\t\tanimateProperties();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcompletion: () => {\n\t\t\t\t\t\t\t\tcleanupDismiss();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Called when the animation setup threw: put everything back in a sane state and always complete the transition,\n\t * otherwise UIKit stays in the middle of the navigation transition.\n\t */\n\tprivate static recover(state: SharedTransitionState, transitionContext: UIViewControllerContextTransitioning, type: TransitionNavigationType, error: any) {\n\t\tconst transition = state.instance;\n\t\tconsole.error(`SharedTransition (${state.activeType === SharedTransitionAnimationType.present ? 'present' : 'dismiss'}) failed, completing the transition without animation:`, error);\n\t\tconst isPresent = state.activeType === SharedTransitionAnimationType.present;\n\t\ttry {\n\t\t\tconst elements = transition?.sharedElements;\n\t\t\tif (elements) {\n\t\t\t\tfor (const p of elements.presented || []) {\n\t\t\t\t\tp.view.opacity = isNumber(p.startOpacity) ? p.startOpacity : 1;\n\t\t\t\t}\n\t\t\t\tfor (const p of elements.presenting || []) {\n\t\t\t\t\tp.view.opacity = isNumber(p.startOpacity) ? p.startOpacity : 1;\n\t\t\t\t\tp.snapshot?.removeFromSuperview();\n\t\t\t\t}\n\t\t\t\tfor (const p of elements.independent || []) {\n\t\t\t\t\tp.view.opacity = isNumber(p.startOpacity) ? p.startOpacity : 1;\n\t\t\t\t\tp.snapshot?.removeFromSuperview();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (type === 'page') {\n\t\t\t\tconst shown = isPresent ? transition.presented : transition.presenting;\n\t\t\t\tif (shown?.view) {\n\t\t\t\t\tshown.view.alpha = 1;\n\t\t\t\t\tconst frame = getRectFromProps(isPresent ? state.pageEnd : null);\n\t\t\t\t\tshown.view.frame = CGRectMake(frame.x, frame.y, frame.width, frame.height);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (err) {\n\t\t\tif (Trace.isEnabled()) {\n\t\t\t\tTrace.write(`SharedTransition recover failed: ${err}`, Trace.categories.Transition, Trace.messageType.error);\n\t\t\t}\n\t\t}\n\t\tif (isPresent) {\n\t\t\tSharedTransition.updateState(transition.id, { activeType: SharedTransitionAnimationType.dismiss });\n\t\t} else {\n\t\t\tSharedTransition.finishState(transition.id);\n\t\t\ttransition.sharedElements = null;\n\t\t}\n\t\t// when the user cancelled (interactive pop) we must report it, otherwise the navigation controller is left inconsistent\n\t\ttransitionContext.completeTransition(!transitionContext.transitionWasCancelled);\n\t\tSharedTransition.notifyEvent(SharedTransition.finishedEvent, {\n\t\t\tid: transition.id,\n\t\t\ttype,\n\t\t\taction: isPresent ? 'present' : 'dismiss',\n\t\t});\n\t}\n\n\t/**\n\t * Rebuilds the shared elements to animate on the way back from the pages that are currently shown.\n\t * The elements recorded on the way in can not be reused: the popped page might now show another photo (same tag\n\t * pattern, other value) or its views might have been recycled, and the transition passed to goBack can be a new instance.\n\t */\n\tprivate static rebuildDismissElements(state: SharedTransitionState, transitionContext: UIViewControllerContextTransitioning) {\n\t\tconst transition = state.instance;\n\t\t// roles are set from the navigation operation (see PageTransition.iosNavigatedController)\n\t\tconst poppedPage = getControllerPage(transition.presented);\n\t\tconst returnPage = state.page ?? getControllerPage(transition.presenting);\n\t\tconst previous = transition.sharedElements;\n\t\tconst presenting: typeof transition.sharedElements.presenting = [];\n\t\tconst presented: typeof transition.sharedElements.presented = [];\n\t\tconst pageEndTags = state.pageEnd?.sharedTransitionTags || {};\n\t\tconst containerView = transitionContext.containerView;\n\n\t\t// the page we go back to was removed from the container during the present\n\t\ttransition.presenting?.view?.layoutIfNeeded();\n\n\t\tif (SharedTransition.DEBUG) {\n\t\t\tconsole.log(`Dismiss: popped page ${poppedPage}, return page ${returnPage}`);\n\t\t}\n\t\tif (poppedPage && returnPage) {\n\t\t\tconst { sharedElements, presented: poppedViews } = SharedTransition.getSharedElements(returnPage, poppedPage);\n\t\t\tif (SharedTransition.DEBUG) {\n\t\t\t\tconsole.log(`Dismiss: tags on return page ${sharedElements.map((v) => v.sharedTransitionTag)}, on popped page ${poppedViews.map((v) => v.sharedTransitionTag)}`);\n\t\t\t}\n\t\t\tconst tagFilter = state.pageStart?.sharedTransitionTags ? Object.keys(state.pageStart.sharedTransitionTags) : null;\n\t\t\tfor (const returnView of sharedElements) {\n\t\t\t\tconst tag = returnView.sharedTransitionTag;\n\t\t\t\tif (tagFilter?.length && tagFilter.indexOf(tag) === -1) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tconst poppedView = poppedViews.find((v) => v.sharedTransitionTag === tag);\n\t\t\t\tconst returnNative = returnView.ios as UIView;\n\t\t\t\tconst poppedNative = poppedView?.ios as UIView;\n\t\t\t\tif (!returnNative || !poppedNative || !poppedNative.window) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tconst pageEndProps = pageEndTags[tag];\n\t\t\t\tconst recorded = previous?.presenting?.find((p) => p.view === returnView);\n\t\t\t\t// the view was hidden on the way in\n\t\t\t\tconst startOpacity = recorded ? recorded.startOpacity : returnView.opacity > 0 ? returnView.opacity : 1;\n\t\t\t\tconst poppedFrame = getDisplayedFrame(poppedNative, containerView);\n\t\t\t\tconst returnFrame = getDisplayedFrame(returnNative, containerView);\n\n\t\t\t\tconst snapshot = UIImageView.alloc().init();\n\t\t\t\tif (poppedNative instanceof UIImageView) {\n\t\t\t\t\tsnapshot.tintColor = poppedNative.tintColor;\n\t\t\t\t\tsnapshot.contentMode = getSnapshotContentMode(returnNative, poppedNative);\n\t\t\t\t}\n\t\t\t\tsnapshot.image = iOSUtils.snapshotView(poppedNative, Screen.mainScreen.scale);\n\t\t\t\tiOSUtils.copyLayerProperties(snapshot, poppedNative, pageEndProps?.propertiesToMatch as any);\n\t\t\t\tsnapshot.clipsToBounds = true;\n\t\t\t\tsnapshot.frame = poppedFrame;\n\t\t\t\tsnapshot.alpha = poppedView.opacity;\n\n\t\t\t\tpresenting.push({\n\t\t\t\t\tview: returnView,\n\t\t\t\t\tstartFrame: returnFrame,\n\t\t\t\t\tendFrame: poppedFrame,\n\t\t\t\t\tsnapshot,\n\t\t\t\t\tstartOpacity,\n\t\t\t\t\tendOpacity: poppedView.opacity,\n\t\t\t\t\tpropertiesToMatch: pageEndProps?.propertiesToMatch,\n\t\t\t\t\tzIndex: isNumber(pageEndProps?.zIndex) ? pageEndProps.zIndex : 0,\n\t\t\t\t\trebuilt: true,\n\t\t\t\t} as any);\n\t\t\t\tpresented.push({\n\t\t\t\t\tview: poppedView,\n\t\t\t\t\tstartFrame: poppedFrame,\n\t\t\t\t\tendFrame: returnFrame,\n\t\t\t\t\tstartOpacity: poppedView.opacity,\n\t\t\t\t\tendOpacity: startOpacity,\n\t\t\t\t\tpropertiesToMatch: pageEndProps?.propertiesToMatch,\n\t\t\t\t});\n\t\t\t\t// hide both while animating within the transition context\n\t\t\t\treturnView.opacity = 0;\n\t\t\t\tpoppedView.opacity = 0;\n\t\t\t}\n\t\t}\n\t\t// independent elements are only recorded on the way in\n\t\ttransition.sharedElements = {\n\t\t\tpresented,\n\t\t\tpresenting,\n\t\t\tindependent: previous?.independent || [],\n\t\t};\n\t\tfor (const independent of transition.sharedElements.independent) {\n\t\t\tindependent.view.opacity = 0;\n\t\t}\n\t}\n\n\tstatic interactiveStart(state: SharedTransitionState, interactiveState: PlatformTransitionInteractiveState, type: TransitionNavigationType) {\n\t\tSharedTransition.notifyEvent(SharedTransition.startedEvent, {\n\t\t\tid: state.instance.id,\n\t\t\ttype,\n\t\t\taction: 'interactiveStart',\n\t\t});\n\t\tswitch (type) {\n\t\t\tcase 'page':\n\t\t\t\tinteractiveState.transitionContext.containerView.insertSubviewBelowSubview(state.instance.presenting.view, state.instance.presented.view);\n\t\t\t\t// Pin the source view to its fullscreen frame so it doesn't slide\n\t\t\t\t// in from off-left as the user drags. The default UIKit pop expects\n\t\t\t\t// to animate the source from off-left; for shared-element / morph\n\t\t\t\t// transitions we want the source to stay put underneath the\n\t\t\t\t// animating destination so the visuals feel connected.\n\t\t\t\t{\n\t\t\t\t\tconst sourceDefaults = getRectFromProps(null);\n\t\t\t\t\tstate.instance.presenting.view.frame = CGRectMake(0, 0, sourceDefaults.width, sourceDefaults.height);\n\t\t\t\t}\n\t\t\t\tSharedTransitionHelper.rebuildDismissElements(state, interactiveState.transitionContext);\n\t\t\t\tbreak;\n\t\t}\n\t\t// Apply the dismiss shadow here, not from the gesture handler. UIKit\n\t\t// reparents the presented view into the transition containerView as\n\t\t// part of starting the interactive transition; applying earlier would\n\t\t// attach the shadow to the now-orphaned old superlayer.\n\t\tif (state.interactive?.dismiss?.shadow && state.instance?.presented?.view) {\n\t\t\tapplyInteractiveDismissShadow(state.instance.presented.view, state.interactive.dismiss.shadow);\n\t\t}\n\t}\n\n\tstatic interactiveUpdate(state: SharedTransitionState, interactiveState: PlatformTransitionInteractiveState, type: TransitionNavigationType, percent: number) {\n\t\tif (interactiveState) {\n\t\t\tif (state.interactive?.dismiss?.morph) {\n\t\t\t\t// Morph mode: the gesture handler drives the destination view's\n\t\t\t\t// transform directly. We only forward the event so observers can\n\t\t\t\t// react to the gesture's percentage.\n\t\t\t\tSharedTransition.notifyEvent(SharedTransition.interactiveUpdateEvent, {\n\t\t\t\t\tid: state?.instance?.id,\n\t\t\t\t\ttype,\n\t\t\t\t\tpercent,\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!interactiveState.added) {\n\t\t\t\t// Defer setup until the gesture has clearly committed to a horizontal\n\t\t\t\t// dismiss motion. A vertical scroll on a descendant scroll view also\n\t\t\t\t// triggers the page-level pan gesture (NS pan recognizers don't yield\n\t\t\t\t// to scroll-view pans by default), producing near-zero percent values.\n\t\t\t\t// Without this guard we'd mount the dismiss snapshots and hide the\n\t\t\t\t// destination during a scroll, making the image look \"stuck\" until the\n\t\t\t\t// cancel animation runs.\n\t\t\t\tif (Math.abs(percent) < 0.05) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tinteractiveState.added = true;\n\t\t\t\tfor (const p of state.instance.sharedElements.presented) {\n\t\t\t\t\t// Native alpha (not NS opacity) for the same reason as the dismiss path:\n\t\t\t\t\t// if the user lets go without crossing the threshold, cancel uses NS\n\t\t\t\t\t// opacity as source of truth to restore.\n\t\t\t\t\tp.view.ios.alpha = 0;\n\t\t\t\t}\n\t\t\t\tfor (const p of state.instance.sharedElements.presenting) {\n\t\t\t\t\tp.snapshot.alpha = p.endOpacity;\n\t\t\t\t\tinteractiveState.transitionContext.containerView.addSubview(p.snapshot);\n\t\t\t\t}\n\t\t\t\t// Re-mount independent (orphan) snapshots so they're available to\n\t\t\t\t// animate alongside the gesture. They were removed in present cleanup\n\t\t\t\t// but the records (including their snapshots) live on transition.sharedElements.\n\t\t\t\t// Source-only orphans were left at alpha 0 since present; their snapshots\n\t\t\t\t// pick up where the present animation left off (endOpacity).\n\t\t\t\tfor (const ind of state.instance.sharedElements.independent) {\n\t\t\t\t\tind.snapshot.alpha = ind.endOpacity;\n\t\t\t\t\tinteractiveState.transitionContext.containerView.addSubview(ind.snapshot);\n\t\t\t\t}\n\t\t\t\t// Hide every source-side shared element (including duplicates that share\n\t\t\t\t// a sharedTransitionTag in sister lists) so the user only sees the\n\t\t\t\t// animating snapshot — not the snapshot AND the real source element\n\t\t\t\t// simultaneously (\"double image\" during interactive dismissal).\n\t\t\t\tfor (const sourceView of (state.instance.sharedElements as any)._allPresentingViews || []) {\n\t\t\t\t\tif (sourceView?.ios) {\n\t\t\t\t\t\tsourceView.ios.alpha = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst pageStart = state.pageStart;\n\n\t\t\t\tconst startFrame = getRectFromProps(pageStart, getPageStartDefaultsForType(type));\n\t\t\t\tinteractiveState.propertyAnimator = UIViewPropertyAnimator.alloc().initWithDurationDampingRatioAnimations(1, 1, () => {\n\t\t\t\t\tfor (const p of state.instance.sharedElements.presenting) {\n\t\t\t\t\t\tp.snapshot.frame = p.startFrame;\n\t\t\t\t\t\tiOSUtils.copyLayerProperties(p.snapshot, p.view.ios, p.propertiesToMatch as any);\n\n\t\t\t\t\t\tp.snapshot.alpha = 1;\n\t\t\t\t\t}\n\t\t\t\t\t// Animate orphan snapshots back toward their start state alongside\n\t\t\t\t\t// the rest of the dismiss. For source-only orphans this is the\n\t\t\t\t\t// fade-back-in that mirrors the fade-out of present.\n\t\t\t\t\tfor (const ind of state.instance.sharedElements.independent) {\n\t\t\t\t\t\tind.snapshot.alpha = ind.startOpacity;\n\t\t\t\t\t\tif (ind.scale) {\n\t\t\t\t\t\t\tind.snapshot.transform = ind.startTransform;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tind.snapshot.frame = ind.startFrame;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tstate.instance.presented.view.alpha = isNumber(state.pageReturn?.opacity) ? state.pageReturn?.opacity : 0;\n\t\t\t\t\tstate.instance.presented.view.frame = CGRectMake(startFrame.x, startFrame.y, state.instance.presented.view.bounds.size.width, state.instance.presented.view.bounds.size.height);\n\t\t\t\t\t// Drive cornerRadius via the same percent the user controls — round\n\t\t\t\t\t// the page back up as they pan it offscreen.\n\t\t\t\t\tif (isNumber((state.pageReturn as any)?.cornerRadius)) {\n\t\t\t\t\t\tstate.instance.presented.view.layer.cornerRadius = (state.pageReturn as any).cornerRadius;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tinteractiveState.propertyAnimator.fractionComplete = percent;\n\t\t\tSharedTransition.notifyEvent(SharedTransition.interactiveUpdateEvent, {\n\t\t\t\tid: state?.instance?.id,\n\t\t\t\ttype,\n\t\t\t\tpercent,\n\t\t\t});\n\t\t}\n\t}\n\n\tstatic interactiveCancel(state: SharedTransitionState, interactiveState: PlatformTransitionInteractiveState, type: TransitionNavigationType) {\n\t\tif (state?.instance && interactiveState && state.interactive?.dismiss?.morph) {\n\t\t\t// Morph mode cancel — spring the destination view back to identity.\n\t\t\tconst view = state.instance.presented?.view;\n\t\t\tlet didFinalize = false;\n\t\t\tconst finalize = () => {\n\t\t\t\tif (didFinalize) return;\n\t\t\t\tdidFinalize = true;\n\t\t\t\tif (view) view.transform = CGAffineTransformIdentity;\n\t\t\t\t// Restore the source-side element alphas that the gesture hid on\n\t\t\t\t// engagement so the source page is correct when shown again.\n\t\t\t\tfor (const v of (state.instance.sharedElements as any)?._allPresentingViews || []) {\n\t\t\t\t\tif (v?.ios) v.ios.alpha = v.opacity;\n\t\t\t\t}\n\t\t\t\tif (interactiveState.transitionContext) {\n\t\t\t\t\tinteractiveState.transitionContext.cancelInteractiveTransition();\n\t\t\t\t\tinteractiveState.transitionContext.completeTransition(false);\n\t\t\t\t}\n\t\t\t\tSharedTransition.updateState(state?.instance?.id, {\n\t\t\t\t\tinteractiveBegan: false,\n\t\t\t\t\tinteractiveCancelled: true,\n\t\t\t\t});\n\t\t\t\tSharedTransition.notifyEvent(SharedTransition.interactiveCancelledEvent, {\n\t\t\t\t\tid: state?.instance?.id,\n\t\t\t\t\ttype,\n\t\t\t\t});\n\t\t\t};\n\t\t\tif (view) {\n\t\t\t\tiOSUtils.animateWithSpring({\n\t\t\t\t\tanimations: () => {\n\t\t\t\t\t\tview.transform = CGAffineTransformIdentity;\n\t\t\t\t\t\t// Cross-fade sources back IN PARALLEL with the spring so\n\t\t\t\t\t\t// they're visible from frame one of the snap-back. This\n\t\t\t\t\t\t// also makes the source restoration robust to a new\n\t\t\t\t\t\t// gesture interrupting our completion callback.\n\t\t\t\t\t\tfor (const v of (state.instance.sharedElements as any)?._allPresentingViews || []) {\n\t\t\t\t\t\t\tif (v?.ios) v.ios.alpha = v.opacity;\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tcompletion: () => finalize(),\n\t\t\t\t});\n\t\t\t\t// Safety: ensure finalize runs even if the animation completion\n\t\t\t\t// is dropped (e.g. interrupted by another gesture).\n\t\t\t\tsetTimeout(finalize, 800);\n\t\t\t} else {\n\t\t\t\tfinalize();\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tif (state?.instance && interactiveState && !interactiveState.added) {\n\t\t\t// The gesture engaged the interactive transition but never crossed the\n\t\t\t// motion threshold in interactiveUpdate (e.g., the user was scrolling\n\t\t\t// vertically). Nothing was visually set up — just tell UIKit we're\n\t\t\t// cancelling and clear the flags.\n\t\t\tif (interactiveState.transitionContext) {\n\t\t\t\tinteractiveState.transitionContext.cancelInteractiveTransition();\n\t\t\t\tinteractiveState.transitionContext.completeTransition(false);\n\t\t\t}\n\t\t\tSharedTransition.updateState(state?.instance?.id, {\n\t\t\t\tinteractiveBegan: false,\n\t\t\t\tinteractiveCancelled: true,\n\t\t\t});\n\t\t\tSharedTransition.notifyEvent(SharedTransition.interactiveCancelledEvent, {\n\t\t\t\tid: state?.instance?.id,\n\t\t\t\ttype,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tif (state?.instance && interactiveState?.added && interactiveState?.propertyAnimator) {\n\t\t\tinteractiveState.propertyAnimator.reversed = true;\n\t\t\tconst duration = isNumber(state.pageEnd?.duration) ? state.pageEnd?.duration / 1000 : CORE_ANIMATION_DEFAULTS.duration;\n\t\t\tinteractiveState.propertyAnimator.continueAnimationWithTimingParametersDurationFactor(null, duration);\n\t\t\tsetTimeout(() => {\n\t\t\t\tfor (const p of state.instance.sharedElements.presented) {\n\t\t\t\t\t// Restore native alpha from NS opacity (the user-intended value).\n\t\t\t\t\tp.view.ios.alpha = p.view.opacity;\n\t\t\t\t}\n\t\t\t\t// Restore alpha on every source view we hid during interactiveUpdate\n\t\t\t\t// (including duplicates from sister lists).\n\t\t\t\tfor (const sourceView of (state.instance.sharedElements as any)._allPresentingViews || []) {\n\t\t\t\t\tif (sourceView?.ios) {\n\t\t\t\t\t\tsourceView.ios.alpha = sourceView.opacity;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (const p of state.instance.sharedElements.presenting) {\n\t\t\t\t\tp.snapshot.removeFromSuperview();\n\t\t\t\t}\n\t\t\t\t// Tear down orphan snapshots that interactiveUpdate re-mounted. The\n\t\t\t\t// source-only orphans' view.alpha stays at 0 — we're returning to the\n\t\t\t\t// presented (modal-on-top) state, so they should remain hidden until\n\t\t\t\t// a real dismiss completes. Cancel/finish for the next dismiss owns\n\t\t\t\t// the eventual restore.\n\t\t\t\tfor (const ind of state.instance.sharedElements.independent) {\n\t\t\t\t\tind.snapshot.removeFromSuperview();\n\t\t\t\t\t// Reset snapshot alpha to its post-present end state so a subsequent\n\t\t\t\t\t// interactiveUpdate picks up from the right place.\n\t\t\t\t\tind.snapshot.alpha = ind.endOpacity;\n\t\t\t\t}\n\t\t\t\tstate.instance.presented.view.alpha = 1;\n\t\t\t\tinteractiveState.propertyAnimator = null;\n\t\t\t\tinteractiveState.added = false;\n\t\t\t\tinteractiveState.transitionContext.cancelInteractiveTransition();\n\t\t\t\tinteractiveState.transitionContext.completeTransition(false);\n\t\t\t\tSharedTransition.updateState(state?.instance?.id, {\n\t\t\t\t\tinteractiveBegan: false,\n\t\t\t\t\tinteractiveCancelled: true,\n\t\t\t\t});\n\t\t\t\tSharedTransition.notifyEvent(SharedTransition.interactiveCancelledEvent, {\n\t\t\t\t\tid: state?.instance?.id,\n\t\t\t\t\ttype,\n\t\t\t\t});\n\t\t\t}, duration * 1000);\n\t\t}\n\t}\n\n\tstatic interactiveFinish(state: SharedTransitionState, interactiveState: PlatformTransitionInteractiveState, type: TransitionNavigationType) {\n\t\tif (state?.instance && interactiveState && state.interactive?.dismiss?.morph) {\n\t\t\t// Morph mode finish — animate the destination view to the matching\n\t\t\t// source element's frame and fade it out, then complete.\n\t\t\tconst view = state.instance.presented?.view;\n\t\t\tconst destPresented = state.instance.sharedElements?.presented?.[0];\n\t\t\tconst destTag = destPresented?.view?.sharedTransitionTag;\n\t\t\tconst matchingSource = state.instance.sharedElements?.presenting?.find?.((p) => p.view.sharedTransitionTag === destTag);\n\t\t\tconst srcIos = matchingSource?.view?.ios;\n\t\t\tconst destSharedIos = destPresented?.view?.ios as UIView | undefined;\n\t\t\tconst containerView = interactiveState.transitionContext?.containerView;\n\t\t\tlet targetTransform: any = null;\n\t\t\tif (view && srcIos && containerView) {\n\t\t\t\tconst sourceFrame = srcIos.convertRectToView(srcIos.bounds, containerView);\n\t\t\t\tconst bounds = view.bounds;\n\t\t\t\tif (bounds.size.width > 0 && bounds.size.height > 0 && sourceFrame.size.width > 0 && sourceFrame.size.height > 0) {\n\t\t\t\t\t// Anchor the modal's transform on the *internal* matched\n\t\t\t\t\t// element (e.g. the album art inside the modal) so that the\n\t\t\t\t\t// modal and the matched element converge along the same\n\t\t\t\t\t// trajectory to the source thumbnail. Without this, the modal\n\t\t\t\t\t// scales around its own center while the matched-element\n\t\t\t\t\t// snapshot flies separately to source — making the two visibly\n\t\t\t\t\t// drift apart mid-spring.\n\t\t\t\t\t//\n\t\t\t\t\t// Pick a uniform scale that takes the modal's matched element\n\t\t\t\t\t// to the source's size. For square album art (both sides) this\n\t\t\t\t\t// is exact; for slightly off-square sources (e.g. 360×380) we\n\t\t\t\t\t// match width and let the small remainder be hidden by the\n\t\t\t\t\t// fade-out.\n\t\t\t\t\tconst destSharedFrameInModal = destSharedIos ? destSharedIos.convertRectToView(destSharedIos.bounds, view) : null;\n\t\t\t\t\tconst sx = sourceFrame.size.width / bounds.size.width;\n\t\t\t\t\tconst sy = sourceFrame.size.height / bounds.size.height;\n\t\t\t\t\tconst targetCx = sourceFrame.origin.x + sourceFrame.size.width / 2;\n\t\t\t\t\tconst targetCy = sourceFrame.origin.y + sourceFrame.size.height / 2;\n\t\t\t\t\tconst modalCx = bounds.size.width / 2;\n\t\t\t\t\tconst modalCy = bounds.size.height / 2;\n\t\t\t\t\tlet tx: number;\n\t\t\t\t\tlet ty: number;\n\t\t\t\t\tif (destSharedFrameInModal && destSharedFrameInModal.size.width > 0 && destSharedFrameInModal.size.height > 0) {\n\t\t\t\t\t\t// Place the internal album art's center on the source's\n\t\t\t\t\t\t// center. After scaling around modal center, internal art's\n\t\t\t\t\t\t// visual center = modalCenter + (internalArtCenter - modalCenter) * scale + translation.\n\t\t\t\t\t\tconst internalCx = destSharedFrameInModal.origin.x + destSharedFrameInModal.size.width / 2;\n\t\t\t\t\t\tconst internalCy = destSharedFrameInModal.origin.y + destSharedFrameInModal.size.height / 2;\n\t\t\t\t\t\ttx = targetCx - modalCx - (internalCx - modalCx) * sx;\n\t\t\t\t\t\tty = targetCy - modalCy - (internalCy - modalCy) * sy;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Fallback: align modal center on source center.\n\t\t\t\t\t\ttx = targetCx - modalCx;\n\t\t\t\t\t\tty = targetCy - modalCy;\n\t\t\t\t\t}\n\t\t\t\t\ttargetTransform = CGAffineTransformConcat(CGAffineTransformMakeTranslation(tx, ty), CGAffineTransformMakeScale(sx, sy));\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Build a snapshot fly-back for each shared element so the album\n\t\t\t// art (etc.) does a real shared-element transition to its source\n\t\t\t// frame in parallel with the destination view's shrink+fade.\n\t\t\t// Without this, the image rides along with the morphing view and\n\t\t\t// lands at a visually offset position rather than precisely back\n\t\t\t// at the source thumbnail.\n\t\t\tconst sharedSnapshots: Array<{ snap: UIImageView; endFrame: CGRect; endCornerRadius: number }> = [];\n\t\t\tif (containerView) {\n\t\t\t\tfor (const presented of state.instance.sharedElements?.presented || []) {\n\t\t\t\t\tconst destSharedView = presented.view?.ios as UIView | undefined;\n\t\t\t\t\tconst tag = presented.view?.sharedTransitionTag;\n\t\t\t\t\tif (!destSharedView || !tag) continue;\n\t\t\t\t\tconst sourceShared = state.instance.sharedElements?.presenting?.find?.((p) => p.view.sharedTransitionTag === tag);\n\t\t\t\t\tconst srcSharedView = sourceShared?.view?.ios as UIView | undefined;\n\t\t\t\t\tif (!srcSharedView) continue;\n\t\t\t\t\tconst startFrame = destSharedView.convertRectToView(destSharedView.bounds, containerView);\n\t\t\t\t\tconst endFrame = srcSharedView.convertRectToView(srcSharedView.bounds, containerView);\n\t\t\t\t\tif (startFrame.size.width <= 0 || endFrame.size.width <= 0) continue;\n\t\t\t\t\tconst snap = UIImageView.alloc().init();\n\t\t\t\t\tif (destSharedView instanceof UIImageView && destSharedView.image) {\n\t\t\t\t\t\tsnap.image = destSharedView.image;\n\t\t\t\t\t\tsnap.contentMode = destSharedView.contentMode;\n\t\t\t\t\t\tsnap.tintColor = destSharedView.tintColor;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tsnap.image = iOSUtils.snapshotView(presented.view.ios, Screen.mainScreen.scale);\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tsnap.clipsToBounds = true;\n\t\t\t\t\tsnap.layer.cornerRadius = destSharedView.layer?.cornerRadius || 0;\n\t\t\t\t\tsnap.frame = startFrame;\n\t\t\t\t\tcontainerView.addSubview(snap);\n\t\t\t\t\t// Hide the destination shared element so we don't see it\n\t\t\t\t\t// shrinking inside the morphing view at the same time the\n\t\t\t\t\t// snapshot is flying back to source — that would double up.\n\t\t\t\t\tdestSharedView.alpha = 0;\n\t\t\t\t\tsharedSnapshots.push({\n\t\t\t\t\t\tsnap,\n\t\t\t\t\t\tendFrame,\n\t\t\t\t\t\tendCornerRadius: srcSharedView.layer?.cornerRadius || 0,\n\t\t\t\t\t\tsrcSharedView,\n\t\t\t\t\t} as any);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Identify which source NS views have a matching fly-back snapshot.\n\t\t\t// Those sources stay at alpha 0 through the spring and are restored\n\t\t\t// inside finalize(), so the snapshot doesn't overlay an already-\n\t\t\t// visible source mid-flight (which looks like two images for a beat).\n\t\t\tconst snapshottedSources = new Set<UIView>();\n\t\t\tfor (const entry of sharedSnapshots as any[]) {\n\t\t\t\tif (entry.srcSharedView) snapshottedSources.add(entry.srcSharedView);\n\t\t\t}\n\t\t\t// Source-only orphan views (album thumbnails, badges, etc.) were\n\t\t\t// already restored to their opacity by the gesture handler at morph\n\t\t\t// engagement, so we don't need fade-in snapshots here — they're\n\t\t\t// already visible behind the morphing modal.\n\t\t\tlet didFinalize = false;\n\t\t\tconst finalize = () => {\n\t\t\t\tif (didFinalize) return;\n\t\t\t\tdidFinalize = true;\n\t\t\t\t// Detach the imageSourceChange listeners that were attached during\n\t\t\t\t// PRESENT — the destination View is about to be torn down.\n\t\t\t\tfor (const presented of state.instance.sharedElements?.presented || []) {\n\t\t\t\t\tif ((presented as any).imageSourceChangeListener) {\n\t\t\t\t\t\tpresented.view.off('imageSourceChange', (presented as any).imageSourceChangeListener);\n\t\t\t\t\t\t(presented as any).imageSourceChangeListener = null;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// Restore the snapshotted sources (held at alpha 0 through the\n\t\t\t\t// spring) immediately before removing the snapshot, so the\n\t\t\t\t// snapshot's last frame and the source's first visible frame\n\t\t\t\t// coincide exactly — no double-image, no gap.\n\t\t\t\tfor (const entry of sharedSnapshots as any[]) {\n\t\t\t\t\tconst srcSharedView: UIView | undefined = entry.srcSharedView;\n\t\t\t\t\tif (srcSharedView) {\n\t\t\t\t\t\tconst nsView = state.instance.sharedElements?.presenting?.find?.((p) => p.view?.ios === srcSharedView)?.view;\n\t\t\t\t\t\tsrcSharedView.alpha = nsView ? nsView.opacity : 1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (const { snap } of sharedSnapshots) {\n\t\t\t\t\tsnap.removeFromSuperview();\n\t\t\t\t}\n\t\t\t\t// Independent (orphan) views were restored at gesture engagement,\n\t\t\t\t// so they're already visible. Just tear down any leftover present-\n\t\t\t\t// phase snapshots that weren't removed in present cleanup, and\n\t\t\t\t// ensure alpha is set from NS opacity for safety in case the\n\t\t\t\t// engagement code path was bypassed.\n\t\t\t\tfor (const independent of state.instance?.sharedElements?.independent || []) {\n\t\t\t\t\tif (independent.view?.ios) {\n\t\t\t\t\t\tindependent.view.ios.alpha = independent.view.opacity;\n\t\t\t\t\t}\n\t\t\t\t\tindependent.snapshot?.removeFromSuperview();\n\t\t\t\t}\n\t\t\t\tif (view) {\n\t\t\t\t\tview.transform = CGAffineTransformIdentity;\n\t\t\t\t\tview.alpha = 1;\n\t\t\t\t}\n\t\t\t\t// Remove the sibling shadow view if interactive engagement added one.\n\t\t\t\tremoveInteractiveDismissShadow(view);\n\t\t\t\tSharedTransition.finishState(state.instance.id);\n\t\t\t\tif (interactiveState.transitionContext) {\n\t\t\t\t\tinteractiveState.transitionContext.finishInteractiveTransition();\n\t\t\t\t\tinteractiveState.transitionContext.completeTransition(true);\n\t\t\t\t}\n\t\t\t\tSharedTransition.notifyEvent(SharedTransition.finishedEvent, {\n\t\t\t\t\tid: state?.instance?.id,\n\t\t\t\t\ttype,\n\t\t\t\t\taction: 'interactiveFinish',\n\t\t\t\t});\n\t\t\t};\n\t\t\tif (view && targetTransform) {\n\t\t\t\tconst shadowViewToAnimate: any = (view as any).__sharedTransitionShadowView;\n\t\t\t\tiOSUtils.animateWithSpring({\n\t\t\t\t\tanimations: () => {\n\t\t\t\t\t\tview.transform = targetTransform;\n\t\t\t\t\t\tview.alpha = 0;\n\t\t\t\t\t\t// Drive the sibling shadow view through the same spring so it\n\t\t\t\t\t\t// shrinks + translates with the modal as it morphs to the\n\t\t\t\t\t\t// source. Also fade it out so it doesn't linger behind the\n\t\t\t\t\t\t// finalizing snapshot.\n\t\t\t\t\t\tif (shadowViewToAnimate) {\n\t\t\t\t\t\t\tshadowViewToAnimate.transform = targetTransform;\n\t\t\t\t\t\t\tshadowViewToAnimate.alpha = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Restore source-side element alphas IN PARALLEL with the\n\t\t\t\t\t\t// destination's morph + fade — but skip sources that have\n\t\t\t\t\t\t// a flying snapshot. Those are held at alpha 0 and\n\t\t\t\t\t\t// revealed by finalize() right before the snapshot is\n\t\t\t\t\t\t// removed, so the user never sees both the snapshot AND\n\t\t\t\t\t\t// the source visible at the same time.\n\t\t\t\t\t\tfor (const v of (state.instance.sharedElements as any)?._allPresentingViews || []) {\n\t\t\t\t\t\t\tif (v?.ios && !snapshottedSources.has(v.ios)) {\n\t\t\t\t\t\t\t\tv.ios.alpha = v.opacity;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Source-only orphan views were already restored at\n\t\t\t\t\t\t// engagement; nothing more to do for them here.\n\t\t\t\t\t\t// Fly each shared-element snapshot to its source frame.\n\t\t\t\t\t\t// Rides the same spring so the image lands precisely back\n\t\t\t\t\t\t// at the source position as the destination view fades.\n\t\t\t\t\t\tfor (const { snap, endFrame, endCornerRadius } of sharedSnapshots) {\n\t\t\t\t\t\t\tsnap.frame = endFrame;\n\t\t\t\t\t\t\tsnap.layer.cornerRadius = endCornerRadius;\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tcompletion: () => finalize(),\n\t\t\t\t});\n\t\t\t\t// Safety: ensure finalize runs even if the animation completion\n\t\t\t\t// is dropped (e.g. interrupted by another gesture).\n\t\t\t\tsetTimeout(finalize, 800);\n\t\t\t} else {\n\t\t\t\t// No target transform; ensure sources are still restored.\n\t\t\t\tfor (const v of (state.instance.sharedElements as any)?._allPresentingViews || []) {\n\t\t\t\t\tif (v?.ios) v.ios.alpha = v.opacity;\n\t\t\t\t}\n\t\t\t\tfinalize();\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tif (state?.instance && interactiveState?.added && interactiveState?.propertyAnimator) {\n\t\t\tinteractiveState.propertyAnimator.reversed = false;\n\n\t\t\tconst duration = isNumber(state.pageReturn?.duration) ? state.pageReturn?.duration / 1000 : CORE_ANIMATION_DEFAULTS.duration;\n\t\t\tinteractiveState.propertyAnimator.continueAnimationWithTimingParametersDurationFactor(null, duration);\n\t\t\tsetTimeout(() => {\n\t\t\t\t// Restore alpha on every source view we hid (including duplicates) so\n\t\t\t\t// the source page is visible if shown again.\n\t\t\t\tfor (const sourceView of (state.instance.sharedElements as any)._allPresentingViews || []) {\n\t\t\t\t\tif (sourceView?.ios) {\n\t\t\t\t\t\tsourceView.ios.alpha = sourceView.opacity;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (const presenting of state.instance.sharedElements.presenting) {\n\t\t\t\t\tpresenting.snapshot.removeFromSuperview();\n\t\t\t\t}\n\t\t\t\tfor (const presented of state.instance.sharedElements.presented) {\n\t\t\t\t\tif ((presented as any).imageSourceChangeListener) {\n\t\t\t\t\t\tpresented.view.off('imageSourceChange', (presented as any).imageSourceChangeListener);\n\t\t\t\t\t\t(presented as any).imageSourceChangeListener = null;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// Restore alpha on independent (orphan) source views and tear down\n\t\t\t\t// their snapshots. Without this, source-only orphans (any non-matched\n\t\t\t\t// sharedTransitionTag on the source page) stay at alpha 0 forever,\n\t\t\t\t// leaving the page visibly blank where they used to be. The non-morph\n\t\t\t\t// interactive path drives a propertyAnimator instead of running the\n\t\t\t\t// dismiss snapshot/animation rig, so the standard cleanup doesn't run.\n\t\t\t\tfor (const ind of state.instance.sharedElements.independent) {\n\t\t\t\t\tif (ind.view?.ios) {\n\t\t\t\t\t\tind.view.ios.alpha = ind.view.opacity;\n\t\t\t\t\t}\n\t\t\t\t\tind.snapshot?.removeFromSuperview();\n\t\t\t\t}\n\n\t\t\t\tSharedTransition.finishState(state.instance.id);\n\t\t\t\tinteractiveState.propertyAnimator = null;\n\t\t\t\tinteractiveState.added = false;\n\t\t\t\tinteractiveState.transitionContext.finishInteractiveTransition();\n\t\t\t\tinteractiveState.transitionContext.completeTransition(true);\n\t\t\t\tSharedTransition.notifyEvent(SharedTransition.finishedEvent, {\n\t\t\t\t\tid: state?.instance?.id,\n\t\t\t\t\ttype,\n\t\t\t\t\taction: 'interactiveFinish',\n\t\t\t\t});\n\t\t\t}, duration * 1000);\n\t\t}\n\t}\n}\n"]}
|
|
@@ -30,6 +30,13 @@ export type SharedProperties = SharedRect & {
|
|
|
30
30
|
x?: number;
|
|
31
31
|
y?: number;
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* (iOS only) Page-level corner radius to animate alongside the transition.
|
|
35
|
+
* Useful for sheet-style modals where the top corners are rounded at the
|
|
36
|
+
* starting offscreen position and flatten as the page reaches fullscreen
|
|
37
|
+
* (and vice versa for dismiss). Top-left + top-right corners are masked.
|
|
38
|
+
*/
|
|
39
|
+
cornerRadius?: number;
|
|
33
40
|
};
|
|
34
41
|
/**
|
|
35
42
|
* Properties which can be set on individual Shared Elements
|
|
@@ -82,6 +89,12 @@ type SharedTransitionPageWithDurationProperties = SharedTransitionPageProperties
|
|
|
82
89
|
* Note: When this is defined, it will override spring options and use only linear animation.
|
|
83
90
|
*/
|
|
84
91
|
duration?: number | undefined | null;
|
|
92
|
+
/**
|
|
93
|
+
* (Android only) Easing used for the transition: 'linear', 'ease', 'easeIn', 'easeOut', 'easeInOut',
|
|
94
|
+
* a CubicBezierAnimationCurve or an android Interpolator.
|
|
95
|
+
* Defaults to the curve of the PageTransition (FastOutSlowIn when none is given).
|
|
96
|
+
*/
|
|
97
|
+
curve?: any;
|
|
85
98
|
};
|
|
86
99
|
export interface SharedTransitionInteractiveOptions {
|
|
87
100
|
/**
|
|
@@ -97,6 +110,49 @@ export interface SharedTransitionInteractiveOptions {
|
|
|
97
110
|
* @returns The percentage value to be used as the finish/cancel threshold
|
|
98
111
|
*/
|
|
99
112
|
percentFormula?: (eventData: PanGestureEventData) => number;
|
|
113
|
+
/**
|
|
114
|
+
* (iOS only) Apple Music–style "morph" interactive dismiss.
|
|
115
|
+
*
|
|
116
|
+
* Instead of fading the destination and animating shared snapshots, the
|
|
117
|
+
* entire destination view scales + translates with the user's finger.
|
|
118
|
+
* - If released past `finishThreshold`, the view morphs into the matching
|
|
119
|
+
* source element's frame and the transition completes.
|
|
120
|
+
* - If released before the threshold, the view springs back to its
|
|
121
|
+
* fullscreen position.
|
|
122
|
+
*
|
|
123
|
+
* Set to `true` for the default tuning. Pass an object to customize.
|
|
124
|
+
*/
|
|
125
|
+
morph?: boolean | {
|
|
126
|
+
/** Smallest scale applied at maximum drag distance. Default 0.5. */
|
|
127
|
+
minScale?: number;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* (iOS only) Drop shadow rendered behind the destination view during the
|
|
131
|
+
* interactive dismiss — gives the view a sense of depth/elevation as it
|
|
132
|
+
* morphs back toward the source (Apple Music–style).
|
|
133
|
+
* Note: This feature will be brought to Android in a future release.
|
|
134
|
+
*
|
|
135
|
+
* - `true` applies sensible defaults
|
|
136
|
+
* (color black, opacity 0.3, radius 30, offset (0, 8)).
|
|
137
|
+
* - Pass an object to customize any field.
|
|
138
|
+
* - Omit / `false` to skip.
|
|
139
|
+
*/
|
|
140
|
+
shadow?: boolean | SharedTransitionInteractiveDismissShadow;
|
|
141
|
+
}
|
|
142
|
+
export interface SharedTransitionInteractiveDismissShadow {
|
|
143
|
+
/** Hex / named color string or `Color` instance. Default `'#000'`. */
|
|
144
|
+
color?: string | {
|
|
145
|
+
ios?: any;
|
|
146
|
+
};
|
|
147
|
+
/** 0–1. Default `0.3`. */
|
|
148
|
+
opacity?: number;
|
|
149
|
+
/** Blur radius in points. Default `30`. */
|
|
150
|
+
radius?: number;
|
|
151
|
+
/** Offset in points. Default `{ x: 0, y: 8 }`. */
|
|
152
|
+
offset?: {
|
|
153
|
+
x?: number;
|
|
154
|
+
y?: number;
|
|
155
|
+
};
|
|
100
156
|
}
|
|
101
157
|
export interface SharedTransitionConfig {
|
|
102
158
|
/**
|
|
@@ -156,6 +212,51 @@ export interface SharedTransitionState extends SharedTransitionConfig {
|
|
|
156
212
|
declare class SharedTransitionObservable extends Observable {
|
|
157
213
|
on(eventNames: string, callback: (data: SharedTransitionEventData) => void, thisArg?: any): void;
|
|
158
214
|
}
|
|
215
|
+
/**
|
|
216
|
+
* Passed to a {@link SharedElementHandler} when a shared element is about to be transitioned.
|
|
217
|
+
*/
|
|
218
|
+
export interface SharedElementTransitionContext {
|
|
219
|
+
/**
|
|
220
|
+
* The view of the page we leave: where the shared element starts from.
|
|
221
|
+
*/
|
|
222
|
+
from: View;
|
|
223
|
+
/**
|
|
224
|
+
* The view of the page we enter: the one the transition moves/resizes from the bounds of `from` to its own bounds.
|
|
225
|
+
*/
|
|
226
|
+
to: View;
|
|
227
|
+
/**
|
|
228
|
+
* Whether the shared element goes back to the page we came from.
|
|
229
|
+
*/
|
|
230
|
+
isBack: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Progress of the shared element: 0 at the bounds of `from`, 1 at the own bounds of `to`. It can go out of [0, 1] with springs.
|
|
233
|
+
* It is deduced from the current native size of `to` (in native pixels), so whatever is driven by it stays in sync with the transition
|
|
234
|
+
* (duration, interpolator, spring...) without any animator of its own.
|
|
235
|
+
* Call it from native draw/layout callbacks with the current native width/height of the view.
|
|
236
|
+
*/
|
|
237
|
+
progress(width: number, height: number): number;
|
|
238
|
+
/**
|
|
239
|
+
* Register something to run when the transition ends (or is replaced), to restore anything changed on the views.
|
|
240
|
+
*/
|
|
241
|
+
onEnd(restore: () => void): void;
|
|
242
|
+
/**
|
|
243
|
+
* Android: stop the platform from animating the image matrix of `to` (androidx ChangeImageTransform). Needed when the view
|
|
244
|
+
* draws its image itself (eg through its own scale type) and animates it from the handler: both would stack up otherwise.
|
|
245
|
+
*/
|
|
246
|
+
skipImageTransform(): void;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Lets a plugin teach the shared element transitions how to animate its custom views (eg an image view which keeps its scale type
|
|
250
|
+
* in its own native hierarchy, so that the platform image transforms don't apply).
|
|
251
|
+
* Currently used on Android only.
|
|
252
|
+
*/
|
|
253
|
+
export interface SharedElementHandler {
|
|
254
|
+
/**
|
|
255
|
+
* Called for each shared element pair, before the transition starts, when the views are laid out.
|
|
256
|
+
* @returns true when the pair was handled: the default animation of the scale type is then skipped.
|
|
257
|
+
*/
|
|
258
|
+
handle(context: SharedElementTransitionContext): boolean | void;
|
|
259
|
+
}
|
|
159
260
|
/**
|
|
160
261
|
* Shared Element Transitions (preview)
|
|
161
262
|
* Allows you to auto animate between shared elements on two different screesn to create smooth navigational experiences.
|
|
@@ -171,6 +272,22 @@ export declare class SharedTransition {
|
|
|
171
272
|
static custom(transition: Transition, options?: SharedTransitionConfig): {
|
|
172
273
|
instance: Transition;
|
|
173
274
|
};
|
|
275
|
+
private static elementHandlers;
|
|
276
|
+
/**
|
|
277
|
+
* Register a handler which animates shared elements made of custom views.
|
|
278
|
+
* Plugins supporting several versions of core should feature detect it:
|
|
279
|
+
* `SharedTransition['registerElementHandler']?.(handler)`
|
|
280
|
+
* @returns a function to unregister the handler
|
|
281
|
+
*/
|
|
282
|
+
static registerElementHandler(handler: SharedElementHandler): () => void;
|
|
283
|
+
/**
|
|
284
|
+
* Unregister a handler previously registered with {@link registerElementHandler}.
|
|
285
|
+
*/
|
|
286
|
+
static unregisterElementHandler(handler: SharedElementHandler): void;
|
|
287
|
+
/**
|
|
288
|
+
* The registered element handlers, in registration order.
|
|
289
|
+
*/
|
|
290
|
+
static getElementHandlers(): readonly SharedElementHandler[];
|
|
174
291
|
/**
|
|
175
292
|
* Whether a transition is in progress or not.
|
|
176
293
|
* Note: used internally however exposed in case custom state ordering is needed.
|
|
@@ -226,6 +343,23 @@ export declare class SharedTransition {
|
|
|
226
343
|
* @param id Transition instance id
|
|
227
344
|
*/
|
|
228
345
|
static finishState(id: number): void;
|
|
346
|
+
/**
|
|
347
|
+
* Register an NS view subtree that should be searched for sharedTransitionTag
|
|
348
|
+
* elements in addition to the source page. Use this for views that are attached
|
|
349
|
+
* to the native UI but aren't reachable from the page via the NS view tree —
|
|
350
|
+
* for example, a TabView's `iosBottomAccessory`. The root and any of its
|
|
351
|
+
* descendants with a `sharedTransitionTag` will then participate in transitions
|
|
352
|
+
* originating from any page.
|
|
353
|
+
*
|
|
354
|
+
* Registration is idempotent. Pair with `unregisterExternalRoot` on teardown
|
|
355
|
+
* to avoid leaking detached views into future transitions.
|
|
356
|
+
*/
|
|
357
|
+
static registerExternalRoot(root: ViewBase): void;
|
|
358
|
+
/**
|
|
359
|
+
* Remove a previously registered external root. No-op if the root wasn't
|
|
360
|
+
* registered.
|
|
361
|
+
*/
|
|
362
|
+
static unregisterExternalRoot(root: ViewBase): void;
|
|
229
363
|
/**
|
|
230
364
|
* Gather view collections based on sharedTransitionTag details.
|
|
231
365
|
* @param fromPage Page moving away from
|