react-native-screen-transitions 4.0.0-alpha.9 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -10
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +53 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +43 -8
- package/lib/commonjs/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +2 -3
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/commonjs/components/boundary/utils/source-signals.js +6 -4
- package/lib/commonjs/components/boundary/utils/source-signals.js.map +1 -1
- package/lib/commonjs/components/overlay/helpers/get-active-overlay.js +3 -24
- package/lib/commonjs/components/overlay/helpers/get-active-overlay.js.map +1 -1
- package/lib/commonjs/components/overlay/helpers/retain-ready-overlay-resources.js +4 -3
- package/lib/commonjs/components/overlay/helpers/retain-ready-overlay-resources.js.map +1 -1
- package/lib/commonjs/components/overlay/hooks/use-overlay-slot.js +1 -2
- package/lib/commonjs/components/overlay/hooks/use-overlay-slot.js.map +1 -1
- package/lib/commonjs/components/overlay/variations/float-overlay.js +0 -2
- package/lib/commonjs/components/overlay/variations/float-overlay.js.map +1 -1
- package/lib/commonjs/components/overlay/variations/overlay-host.js +18 -15
- package/lib/commonjs/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/commonjs/components/screen-container/layers/content.js +10 -5
- package/lib/commonjs/components/screen-container/layers/content.js.map +1 -1
- package/lib/commonjs/components/screen-container/layers/surface.js +50 -0
- package/lib/commonjs/components/screen-container/layers/surface.js.map +1 -0
- package/lib/commonjs/components/stack-view.js +7 -29
- package/lib/commonjs/components/stack-view.js.map +1 -1
- package/lib/commonjs/configs/index.js +1 -4
- package/lib/commonjs/configs/index.js.map +1 -1
- package/lib/commonjs/configs/presets.js +1 -384
- package/lib/commonjs/configs/presets.js.map +1 -1
- package/lib/commonjs/navigators/create-blank-stack-navigator.js +7 -67
- package/lib/commonjs/navigators/create-blank-stack-navigator.js.map +1 -1
- package/lib/commonjs/navigators/expo-router/index.js +1 -18
- package/lib/commonjs/navigators/expo-router/index.js.map +1 -1
- package/lib/commonjs/navigators/react-navigation/index.js +1 -3
- package/lib/commonjs/navigators/react-navigation/index.js.map +1 -1
- package/lib/commonjs/providers/screen/animation/animation.provider.js +6 -1
- package/lib/commonjs/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/commonjs/providers/screen/animation/use-screen-animation.js +1 -8
- package/lib/commonjs/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/commonjs/providers/screen/styles/constants.js +4 -0
- package/lib/commonjs/providers/screen/styles/constants.js.map +1 -1
- package/lib/commonjs/providers/screen/styles/hooks/slot-resolvers.js +1 -9
- package/lib/commonjs/providers/screen/styles/hooks/slot-resolvers.js.map +1 -1
- package/lib/commonjs/providers/screen/styles/slot.provider.js +3 -1
- package/lib/commonjs/providers/screen/styles/slot.provider.js.map +1 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/build-blank-stack-state.js +10 -4
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/build-blank-stack-state.js.map +1 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.js +4 -3
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.js.map +1 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.js.map +1 -1
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/state-equality.js +9 -2
- package/lib/commonjs/providers/stack/blank-stack-state/helpers/state-equality.js.map +1 -1
- package/lib/commonjs/utils/create-provider.js +14 -3
- package/lib/commonjs/utils/create-provider.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js +50 -0
- package/lib/module/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js +44 -9
- package/lib/module/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +2 -3
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/module/components/boundary/utils/source-signals.js +6 -4
- package/lib/module/components/boundary/utils/source-signals.js.map +1 -1
- package/lib/module/components/overlay/helpers/get-active-overlay.js +3 -24
- package/lib/module/components/overlay/helpers/get-active-overlay.js.map +1 -1
- package/lib/module/components/overlay/helpers/retain-ready-overlay-resources.js +4 -3
- package/lib/module/components/overlay/helpers/retain-ready-overlay-resources.js.map +1 -1
- package/lib/module/components/overlay/hooks/use-overlay-slot.js +1 -2
- package/lib/module/components/overlay/hooks/use-overlay-slot.js.map +1 -1
- package/lib/module/components/overlay/variations/float-overlay.js +0 -2
- package/lib/module/components/overlay/variations/float-overlay.js.map +1 -1
- package/lib/module/components/overlay/variations/overlay-host.js +19 -16
- package/lib/module/components/overlay/variations/overlay-host.js.map +1 -1
- package/lib/module/components/screen-container/layers/content.js +10 -5
- package/lib/module/components/screen-container/layers/content.js.map +1 -1
- package/lib/module/components/screen-container/layers/surface.js +45 -0
- package/lib/module/components/screen-container/layers/surface.js.map +1 -0
- package/lib/module/components/stack-view.js +7 -29
- package/lib/module/components/stack-view.js.map +1 -1
- package/lib/module/configs/index.js +2 -5
- package/lib/module/configs/index.js.map +1 -1
- package/lib/module/configs/presets.js +0 -380
- package/lib/module/configs/presets.js.map +1 -1
- package/lib/module/navigators/create-blank-stack-navigator.js +7 -66
- package/lib/module/navigators/create-blank-stack-navigator.js.map +1 -1
- package/lib/module/navigators/expo-router/index.js +1 -18
- package/lib/module/navigators/expo-router/index.js.map +1 -1
- package/lib/module/navigators/react-navigation/index.js +1 -3
- package/lib/module/navigators/react-navigation/index.js.map +1 -1
- package/lib/module/providers/screen/animation/animation.provider.js +4 -0
- package/lib/module/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/module/providers/screen/animation/use-screen-animation.js +2 -9
- package/lib/module/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/module/providers/screen/styles/constants.js +4 -0
- package/lib/module/providers/screen/styles/constants.js.map +1 -1
- package/lib/module/providers/screen/styles/hooks/slot-resolvers.js +2 -10
- package/lib/module/providers/screen/styles/hooks/slot-resolvers.js.map +1 -1
- package/lib/module/providers/screen/styles/slot.provider.js +1 -0
- package/lib/module/providers/screen/styles/slot.provider.js.map +1 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/build-blank-stack-state.js +11 -5
- package/lib/module/providers/stack/blank-stack-state/helpers/build-blank-stack-state.js.map +1 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.js +5 -4
- package/lib/module/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.js.map +1 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.js.map +1 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/state-equality.js +7 -1
- package/lib/module/providers/stack/blank-stack-state/helpers/state-equality.js.map +1 -1
- package/lib/module/types/animation.types.js +10 -0
- package/lib/module/types/animation.types.js.map +1 -1
- package/lib/module/utils/create-provider.js +14 -3
- package/lib/module/utils/create-provider.js.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts +20 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/components/boundary/utils/source-signals.d.ts.map +1 -1
- package/lib/typescript/components/overlay/helpers/get-active-overlay.d.ts +2 -8
- package/lib/typescript/components/overlay/helpers/get-active-overlay.d.ts.map +1 -1
- package/lib/typescript/components/overlay/helpers/retain-ready-overlay-resources.d.ts +2 -1
- package/lib/typescript/components/overlay/helpers/retain-ready-overlay-resources.d.ts.map +1 -1
- package/lib/typescript/components/overlay/hooks/use-overlay-slot.d.ts.map +1 -1
- package/lib/typescript/components/overlay/variations/float-overlay.d.ts.map +1 -1
- package/lib/typescript/components/overlay/variations/overlay-host.d.ts +2 -3
- package/lib/typescript/components/overlay/variations/overlay-host.d.ts.map +1 -1
- package/lib/typescript/components/screen-container/layers/content.d.ts.map +1 -1
- package/lib/typescript/components/screen-container/layers/surface.d.ts +7 -0
- package/lib/typescript/components/screen-container/layers/surface.d.ts.map +1 -0
- package/lib/typescript/components/stack-view.d.ts +1 -1
- package/lib/typescript/components/stack-view.d.ts.map +1 -1
- package/lib/typescript/configs/index.d.ts +0 -9
- package/lib/typescript/configs/index.d.ts.map +1 -1
- package/lib/typescript/configs/presets.d.ts +0 -9
- package/lib/typescript/configs/presets.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -10
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/navigators/create-blank-stack-navigator.d.ts +2 -4
- package/lib/typescript/navigators/create-blank-stack-navigator.d.ts.map +1 -1
- package/lib/typescript/navigators/expo-router/index.d.ts +3 -3
- package/lib/typescript/navigators/expo-router/index.d.ts.map +1 -1
- package/lib/typescript/navigators/react-navigation/index.d.ts +1 -1
- package/lib/typescript/navigators/react-navigation/index.d.ts.map +1 -1
- package/lib/typescript/providers/screen/animation/animation.provider.d.ts +10 -1
- package/lib/typescript/providers/screen/animation/animation.provider.d.ts.map +1 -1
- package/lib/typescript/providers/screen/animation/use-screen-animation.d.ts.map +1 -1
- package/lib/typescript/providers/screen/styles/constants.d.ts.map +1 -1
- package/lib/typescript/providers/screen/styles/hooks/slot-resolvers.d.ts.map +1 -1
- package/lib/typescript/providers/screen/styles/slot.provider.d.ts +11 -2
- package/lib/typescript/providers/screen/styles/slot.provider.d.ts.map +1 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/build-blank-stack-state.d.ts +3 -3
- package/lib/typescript/providers/stack/blank-stack-state/helpers/build-blank-stack-state.d.ts.map +1 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.d.ts.map +1 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.d.ts +3 -2
- package/lib/typescript/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.d.ts.map +1 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/state-equality.d.ts +4 -4
- package/lib/typescript/providers/stack/blank-stack-state/helpers/state-equality.d.ts.map +1 -1
- package/lib/typescript/providers/stack/blank-stack-state/helpers/types.d.ts +6 -5
- package/lib/typescript/providers/stack/blank-stack-state/helpers/types.d.ts.map +1 -1
- package/lib/typescript/providers/stack/blank-stack.provider.d.ts +3 -1
- package/lib/typescript/providers/stack/blank-stack.provider.d.ts.map +1 -1
- package/lib/typescript/types/animation.types.d.ts +15 -7
- package/lib/typescript/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/types/blank-stack.types.d.ts +2 -23
- package/lib/typescript/types/blank-stack.types.d.ts.map +1 -1
- package/lib/typescript/types/index.d.ts +2 -2
- package/lib/typescript/types/index.d.ts.map +1 -1
- package/lib/typescript/types/providers/blank-stack-provider.types.d.ts +8 -6
- package/lib/typescript/types/providers/blank-stack-provider.types.d.ts.map +1 -1
- package/lib/typescript/types/screen.types.d.ts +31 -0
- package/lib/typescript/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/utils/create-provider.d.ts +4 -1
- package/lib/typescript/utils/create-provider.d.ts.map +1 -1
- package/package.json +3 -8
- package/src/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.ts +89 -0
- package/src/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts +97 -14
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +2 -6
- package/src/components/boundary/utils/source-signals.ts +6 -4
- package/src/components/overlay/helpers/get-active-overlay.ts +4 -36
- package/src/components/overlay/helpers/retain-ready-overlay-resources.ts +10 -1
- package/src/components/overlay/hooks/use-overlay-slot.ts +1 -5
- package/src/components/overlay/variations/float-overlay.tsx +9 -12
- package/src/components/overlay/variations/overlay-host.tsx +24 -22
- package/src/components/screen-container/layers/content.tsx +12 -7
- package/src/components/screen-container/layers/surface.tsx +65 -0
- package/src/components/stack-view.tsx +8 -39
- package/src/configs/index.ts +0 -6
- package/src/configs/presets.ts +0 -447
- package/src/index.ts +3 -1
- package/src/navigators/create-blank-stack-navigator.tsx +16 -124
- package/src/navigators/expo-router/index.tsx +0 -23
- package/src/navigators/react-navigation/index.tsx +0 -3
- package/src/providers/screen/animation/animation.provider.tsx +60 -54
- package/src/providers/screen/animation/use-screen-animation.tsx +2 -14
- package/src/providers/screen/styles/constants.ts +2 -0
- package/src/providers/screen/styles/hooks/slot-resolvers.tsx +2 -17
- package/src/providers/screen/styles/slot.provider.tsx +2 -0
- package/src/providers/stack/blank-stack-state/helpers/build-blank-stack-state.ts +30 -12
- package/src/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.ts +11 -3
- package/src/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.ts +2 -2
- package/src/providers/stack/blank-stack-state/helpers/state-equality.ts +27 -16
- package/src/providers/stack/blank-stack-state/helpers/types.ts +9 -4
- package/src/types/animation.types.ts +15 -9
- package/src/types/blank-stack.types.ts +1 -29
- package/src/types/index.ts +3 -1
- package/src/types/providers/blank-stack-provider.types.ts +14 -11
- package/src/types/screen.types.ts +36 -0
- package/src/utils/create-provider.tsx +22 -4
- package/lib/commonjs/components/boundary/portal/utils/teleport-control.js +0 -16
- package/lib/commonjs/components/boundary/portal/utils/teleport-control.js.map +0 -1
- package/lib/commonjs/providers/navigation/navigation-host.provider.js +0 -56
- package/lib/commonjs/providers/navigation/navigation-host.provider.js.map +0 -1
- package/lib/commonjs/providers/navigation/react-navigation-host.js +0 -23
- package/lib/commonjs/providers/navigation/react-navigation-host.js.map +0 -1
- package/lib/module/components/boundary/portal/utils/teleport-control.js +0 -11
- package/lib/module/components/boundary/portal/utils/teleport-control.js.map +0 -1
- package/lib/module/providers/navigation/navigation-host.provider.js +0 -50
- package/lib/module/providers/navigation/navigation-host.provider.js.map +0 -1
- package/lib/module/providers/navigation/react-navigation-host.js +0 -19
- package/lib/module/providers/navigation/react-navigation-host.js.map +0 -1
- package/lib/typescript/components/boundary/portal/utils/teleport-control.d.ts +0 -3
- package/lib/typescript/components/boundary/portal/utils/teleport-control.d.ts.map +0 -1
- package/lib/typescript/providers/navigation/navigation-host.provider.d.ts +0 -21
- package/lib/typescript/providers/navigation/navigation-host.provider.d.ts.map +0 -1
- package/lib/typescript/providers/navigation/react-navigation-host.d.ts +0 -3
- package/lib/typescript/providers/navigation/react-navigation-host.d.ts.map +0 -1
- package/src/components/boundary/portal/utils/teleport-control.ts +0 -13
- package/src/providers/navigation/navigation-host.provider.tsx +0 -75
- package/src/providers/navigation/react-navigation-host.tsx +0 -24
|
@@ -22,6 +22,16 @@ import { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID }
|
|
|
22
22
|
* (which has `[key: string]: any`) so TypeScript can provide autocomplete and catch typos.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Selects which matched boundary owns handoff content during a transition.
|
|
27
|
+
*
|
|
28
|
+
* `"auto"` follows the navigator's default ownership lifecycle. Use an
|
|
29
|
+
* explicit target when ownership needs to change at a precise interpolator
|
|
30
|
+
* frame, such as returning content to its source as soon as dismissal begins.
|
|
31
|
+
*
|
|
32
|
+
* @default "auto"
|
|
33
|
+
*/
|
|
34
|
+
|
|
25
35
|
/**
|
|
26
36
|
* A slot in the interpolated style map.
|
|
27
37
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID"],"sourceRoot":"../../../src","sources":["types/animation.types.ts"],"mappings":";;AAGA,SACCA,kCAAkC,EAClCC,gCAAgC,QAC1B,cAAc;;AAOrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAsPA;AACA;AACA;AACA;;AAKA;AACA;AACA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID"],"sourceRoot":"../../../src","sources":["types/animation.types.ts"],"mappings":";;AAGA,SACCA,kCAAkC,EAClCC,gCAAgC,QAC1B,cAAc;;AAOrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAsPA;AACA;AACA;AACA;;AAKA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAoBA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;;AAOA;AACA;AACA;AACA;;AAcA;AACA;AACA;;AA4BA;AACA;AACA;;AAGA;AACA;AACA","ignoreList":[]}
|
|
@@ -154,24 +154,33 @@ export default function createProvider(name, options) {
|
|
|
154
154
|
const useStoreSelector = (selectorOrKey, globalSelector) => useStoreSelection(true, selectorOrKey, globalSelector);
|
|
155
155
|
const StoreProvider = ({
|
|
156
156
|
children,
|
|
157
|
+
registerGlobally = true,
|
|
157
158
|
storeKey,
|
|
159
|
+
unregisterOnCleanup = true,
|
|
158
160
|
value
|
|
159
161
|
}) => {
|
|
160
162
|
const storeRef = useRef(null);
|
|
161
163
|
const pendingNotifyRef = useRef(false);
|
|
164
|
+
const unregisterOnCleanupRef = useRef(unregisterOnCleanup);
|
|
165
|
+
unregisterOnCleanupRef.current = unregisterOnCleanup;
|
|
162
166
|
if (storeRef.current === null) {
|
|
163
167
|
storeRef.current = createProviderStore(value);
|
|
164
168
|
}
|
|
165
169
|
const store = storeRef.current;
|
|
166
170
|
useLayoutEffect(() => {
|
|
167
|
-
if (!globalRegistry) {
|
|
171
|
+
if (!globalRegistry || !registerGlobally) {
|
|
168
172
|
return;
|
|
169
173
|
}
|
|
170
174
|
if (typeof storeKey !== "string") {
|
|
171
175
|
throw new Error(`${name}StoreProvider requires a storeKey when global mode is enabled`);
|
|
172
176
|
}
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
const unregister = globalRegistry.register(storeKey, store);
|
|
178
|
+
return () => {
|
|
179
|
+
if (unregisterOnCleanupRef.current) {
|
|
180
|
+
unregister();
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
}, [registerGlobally, storeKey, store]);
|
|
175
184
|
pendingNotifyRef.current = store.setSnapshot(value) || pendingNotifyRef.current;
|
|
176
185
|
useLayoutEffect(() => {
|
|
177
186
|
if (!pendingNotifyRef.current) {
|
|
@@ -190,10 +199,12 @@ export default function createProvider(name, options) {
|
|
|
190
199
|
const {
|
|
191
200
|
children = props.children,
|
|
192
201
|
key,
|
|
202
|
+
unregisterOnCleanup,
|
|
193
203
|
value
|
|
194
204
|
} = factory(props);
|
|
195
205
|
return /*#__PURE__*/_jsx(StoreProvider, {
|
|
196
206
|
storeKey: key,
|
|
207
|
+
unregisterOnCleanup: unregisterOnCleanup,
|
|
197
208
|
value: value,
|
|
198
209
|
children: children
|
|
199
210
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","useCallback","useContext","useLayoutEffect","useRef","useSyncExternalStore","jsx","_jsx","NullProviderStore","getSnapshot","subscribe","shallowEqual","a","b","Object","is","aKeys","keys","bKeys","length","key","createProviderStore","initialSnapshot","snapshot","listeners","Set","notify","listener","setSnapshot","nextSnapshot","add","delete","createProviderStoreRegistry","listenersByKey","Map","storesByKey","get","getStore","register","store","set","size","createProvider","name","options","factory","global","providerDisplayName","globalRegistry","StoreContext","displayName","useStoreSelection","required","selectorOrKey","globalSelector","isGlobalLookup","selector","contextStore","selectorRef","current","unsubscribeStore","unsubscribeRegistry","getSelectedSnapshot","Error","useOptionalStoreSelector","useStoreSelector","StoreProvider","children","storeKey","value","storeRef","pendingNotifyRef","Provider","props"],"sourceRoot":"../../../src","sources":["utils/create-provider.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SACCA,aAAa,EAEbC,WAAW,EACXC,UAAU,EACVC,eAAe,EACfC,MAAM,EACNC,oBAAoB,QACd,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;
|
|
1
|
+
{"version":3,"names":["createContext","useCallback","useContext","useLayoutEffect","useRef","useSyncExternalStore","jsx","_jsx","NullProviderStore","getSnapshot","subscribe","shallowEqual","a","b","Object","is","aKeys","keys","bKeys","length","key","createProviderStore","initialSnapshot","snapshot","listeners","Set","notify","listener","setSnapshot","nextSnapshot","add","delete","createProviderStoreRegistry","listenersByKey","Map","storesByKey","get","getStore","register","store","set","size","createProvider","name","options","factory","global","providerDisplayName","globalRegistry","StoreContext","displayName","useStoreSelection","required","selectorOrKey","globalSelector","isGlobalLookup","selector","contextStore","selectorRef","current","unsubscribeStore","unsubscribeRegistry","getSelectedSnapshot","Error","useOptionalStoreSelector","useStoreSelector","StoreProvider","children","registerGlobally","storeKey","unregisterOnCleanup","value","storeRef","pendingNotifyRef","unregisterOnCleanupRef","unregister","Provider","props"],"sourceRoot":"../../../src","sources":["utils/create-provider.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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AAGvB,IAAI,UAAU,GAAGiC,QAAQ;MAC7B,CAAC,cAAcjC,IAAI,OAAO,GAAGqB,wBAAwB;MACrD,CAAC,MAAMrB,IAAI,OAAO,GAAGsB;IACtB,CAAC;EAaF,CAAC;AACF","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { ScreenPairKey } from "../../../../../../stores/bounds/types";
|
|
2
|
+
import type { BoundaryHandoffTarget } from "../../../../../../types/animation.types";
|
|
1
3
|
type ReceiverRoute = {
|
|
2
4
|
key: string;
|
|
3
5
|
};
|
|
@@ -12,7 +14,7 @@ type ResolveActiveHandoffReceiverParams = {
|
|
|
12
14
|
};
|
|
13
15
|
export declare const resolveActiveHandoffReceiver: ({ focusedIndex, routes, scenes, }: ResolveActiveHandoffReceiverParams) => string | null;
|
|
14
16
|
export declare const resolvePreviousHandoffReceiver: ({ focusedIndex, routes, scenes, }: ResolveActiveHandoffReceiverParams) => string | null;
|
|
15
|
-
export declare const resolveHandoffAttachmentCandidate: ({ activeReceiverClosing, activeReceiverScreenKey, attachedReceiverScreenKey, hasActiveCloseFinished, interpolatorReady, pairChangedDuringClose, pairDestinationScreenKey, previousReceiverScreenKey, }: {
|
|
17
|
+
export declare const resolveHandoffAttachmentCandidate: ({ activeReceiverClosing, activeReceiverScreenKey, attachedReceiverScreenKey, hasActiveCloseFinished, interpolatorReady, pairChangedDuringClose, pairDestinationScreenKey, pairHasBoundaryLink, previousReceiverScreenKey, }: {
|
|
16
18
|
activeReceiverClosing: boolean;
|
|
17
19
|
activeReceiverScreenKey: string | null;
|
|
18
20
|
attachedReceiverScreenKey: string;
|
|
@@ -20,7 +22,24 @@ export declare const resolveHandoffAttachmentCandidate: ({ activeReceiverClosing
|
|
|
20
22
|
interpolatorReady: boolean;
|
|
21
23
|
pairChangedDuringClose?: boolean;
|
|
22
24
|
pairDestinationScreenKey: string | null;
|
|
25
|
+
pairHasBoundaryLink?: boolean;
|
|
23
26
|
previousReceiverScreenKey: string | null;
|
|
24
27
|
}) => string | null;
|
|
28
|
+
export declare const resolveRequestedHandoffReceiver: ({ automaticScreenKey, destinationReady, destinationScreenKey, handoffTarget, sourceScreenKey, }: {
|
|
29
|
+
automaticScreenKey: string | null;
|
|
30
|
+
destinationReady?: boolean;
|
|
31
|
+
destinationScreenKey: string | null;
|
|
32
|
+
handoffTarget: BoundaryHandoffTarget | undefined;
|
|
33
|
+
sourceScreenKey: string | null;
|
|
34
|
+
}) => string | null;
|
|
35
|
+
export declare const resolveRequestedHandoffPairKey: ({ destinationPairHasCompleteLink, destinationPairKey, handoffTarget, retainedSourcePairHasCompleteLink, retainedSourcePairKey, sourcePairHasCompleteLink, sourcePairKey, }: {
|
|
36
|
+
destinationPairHasCompleteLink: boolean;
|
|
37
|
+
destinationPairKey: ScreenPairKey | undefined;
|
|
38
|
+
handoffTarget: BoundaryHandoffTarget | undefined;
|
|
39
|
+
retainedSourcePairHasCompleteLink: boolean;
|
|
40
|
+
retainedSourcePairKey: ScreenPairKey | undefined;
|
|
41
|
+
sourcePairHasCompleteLink: boolean;
|
|
42
|
+
sourcePairKey: ScreenPairKey | undefined;
|
|
43
|
+
}) => string | undefined;
|
|
25
44
|
export {};
|
|
26
45
|
//# sourceMappingURL=active-handoff-receiver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"active-handoff-receiver.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.ts"],"names":[],"mappings":"AAAA,KAAK,aAAa,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,aAAa,GAAG;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,KAAK,kCAAkC,GAAG;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,MAAM,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,mCAI1C,kCAAkC,KAAG,MAAM,GAAG,IAShD,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,mCAI5C,kCAAkC,KAAG,MAAM,GAAG,IAehD,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAAI,
|
|
1
|
+
{"version":3,"file":"active-handoff-receiver.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-content-portal/helpers/active-handoff-receiver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAErF,KAAK,aAAa,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,aAAa,GAAG;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,KAAK,kCAAkC,GAAG;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,MAAM,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,mCAI1C,kCAAkC,KAAG,MAAM,GAAG,IAShD,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,mCAI5C,kCAAkC,KAAG,MAAM,GAAG,IAehD,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAAI,6NAU/C;IACF,qBAAqB,EAAE,OAAO,CAAC;IAC/B,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,yBAAyB,EAAE,MAAM,CAAC;IAClC,sBAAsB,EAAE,OAAO,CAAC;IAChC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,yBAAyB,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC,kBAqDA,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAI,iGAM7C;IACF,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,aAAa,EAAE,qBAAqB,GAAG,SAAS,CAAC;IACjD,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,kBAYA,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,4KAQ5C;IACF,8BAA8B,EAAE,OAAO,CAAC;IACxC,kBAAkB,EAAE,aAAa,GAAG,SAAS,CAAC;IAC9C,aAAa,EAAE,qBAAqB,GAAG,SAAS,CAAC;IACjD,iCAAiC,EAAE,OAAO,CAAC;IAC3C,qBAAqB,EAAE,aAAa,GAAG,SAAS,CAAC;IACjD,yBAAyB,EAAE,OAAO,CAAC;IACnC,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;CACzC,uBAoBA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-content-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-boundary-content-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-content-portal/hooks/use-boundary-content-portal-attachment.ts"],"names":[],"mappings":"AA+BA,UAAU,wCAAwC;IACjD,UAAU,EAAE,MAAM,CAAC;CACnB;AAeD,eAAO,MAAM,kCAAkC,GAAI,iBAEhD,wCAAwC;;;;CA0L1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"AAQA,UAAU,iCAAiC;IAC1C,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,2BAA2B,GAAI,iBAEzC,iCAAiC;;;;CAiDnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-signals.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/utils/source-signals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"source-signals.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/utils/source-signals.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AAItC,KAAK,mBAAmB,GAAG;IAC1B,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,QAAQ;IACrD,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,mBAAmB,GAAG,IAiCzB,CAAC"}
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import type { BaseStackScene } from "../../../types/stack.types";
|
|
2
2
|
type StackScene = BaseStackScene;
|
|
3
|
-
export type FloatOverlayActivity = "active" | "inert" | "inactive" | "closing";
|
|
4
3
|
export type FloatOverlayEntry = {
|
|
5
4
|
scene: StackScene;
|
|
6
5
|
overlayIndex: number;
|
|
7
|
-
activity: FloatOverlayActivity;
|
|
8
6
|
};
|
|
9
7
|
export type FloatOverlayTransitionEntry = FloatOverlayEntry & {
|
|
10
8
|
driverScene: StackScene;
|
|
11
9
|
};
|
|
12
10
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* The newest checkpoint owns the active overlay. Its immediate predecessor
|
|
16
|
-
* remains visible and inert; all older checkpoints are retained but inactive.
|
|
17
|
-
* This mirrors the screen activity window without making plain screens create
|
|
18
|
-
* a new overlay checkpoint.
|
|
11
|
+
* Overlay ordering and transition coordination are library-owned. Visibility,
|
|
12
|
+
* interaction, and presentation are user-owned.
|
|
19
13
|
*/
|
|
20
14
|
export declare function getFloatOverlayStack(scenes: StackScene[], transitionsAlwaysOn: boolean): FloatOverlayEntry[];
|
|
21
15
|
export declare function getFloatOverlayTransitions(overlayStack: FloatOverlayEntry[], scenes: StackScene[]): FloatOverlayTransitionEntry[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-active-overlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlay/helpers/get-active-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,KAAK,UAAU,GAAG,cAAc,CAAC;AAIjC,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"get-active-overlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlay/helpers/get-active-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,KAAK,UAAU,GAAG,cAAc,CAAC;AAIjC,MAAM,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE,UAAU,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,GAAG;IAC7D,WAAW,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,CACnC,MAAM,EAAE,UAAU,EAAE,EACpB,mBAAmB,EAAE,OAAO,GAC1B,iBAAiB,EAAE,CAiBrB;AAED,wBAAgB,0BAA0B,CACzC,YAAY,EAAE,iBAAiB,EAAE,EACjC,MAAM,EAAE,UAAU,EAAE,GAClB,2BAA2B,EAAE,CAgC/B"}
|
|
@@ -3,9 +3,10 @@ import type { ScreenSlotContextValue } from "../../../providers/screen/styles/sl
|
|
|
3
3
|
import type { FloatOverlayEntry } from "./get-active-overlay";
|
|
4
4
|
export type ReadyOverlayResources = {
|
|
5
5
|
overlayAnimationStore: ScreenAnimationContextValue;
|
|
6
|
+
overlaySlots: ScreenSlotContextValue;
|
|
6
7
|
driverScene: FloatOverlayEntry["scene"];
|
|
7
8
|
driverAnimationStore: ScreenAnimationContextValue;
|
|
8
9
|
driverSlots: ScreenSlotContextValue;
|
|
9
10
|
};
|
|
10
|
-
export declare function retainReadyOverlayResources(previous: ReadyOverlayResources | null, overlayAnimationStore: ScreenAnimationContextValue | null, driverScene: FloatOverlayEntry["scene"], driverAnimationStore: ScreenAnimationContextValue | null, driverSlots: ScreenSlotContextValue | null): ReadyOverlayResources | null;
|
|
11
|
+
export declare function retainReadyOverlayResources(previous: ReadyOverlayResources | null, overlayAnimationStore: ScreenAnimationContextValue | null, overlaySlots: ScreenSlotContextValue | null, driverScene: FloatOverlayEntry["scene"], driverAnimationStore: ScreenAnimationContextValue | null, driverSlots: ScreenSlotContextValue | null): ReadyOverlayResources | null;
|
|
11
12
|
//# sourceMappingURL=retain-ready-overlay-resources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retain-ready-overlay-resources.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlay/helpers/retain-ready-overlay-resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAC1G,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,MAAM,MAAM,qBAAqB,GAAG;IACnC,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,WAAW,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACxC,oBAAoB,EAAE,2BAA2B,CAAC;IAClD,WAAW,EAAE,sBAAsB,CAAC;CACpC,CAAC;AAEF,wBAAgB,2BAA2B,CAC1C,QAAQ,EAAE,qBAAqB,GAAG,IAAI,EACtC,qBAAqB,EAAE,2BAA2B,GAAG,IAAI,EACzD,WAAW,EAAE,iBAAiB,CAAC,OAAO,CAAC,EACvC,oBAAoB,EAAE,2BAA2B,GAAG,IAAI,EACxD,WAAW,EAAE,sBAAsB,GAAG,IAAI,GACxC,qBAAqB,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"retain-ready-overlay-resources.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlay/helpers/retain-ready-overlay-resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAC1G,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,MAAM,MAAM,qBAAqB,GAAG;IACnC,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,YAAY,EAAE,sBAAsB,CAAC;IACrC,WAAW,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACxC,oBAAoB,EAAE,2BAA2B,CAAC;IAClD,WAAW,EAAE,sBAAsB,CAAC;CACpC,CAAC;AAEF,wBAAgB,2BAA2B,CAC1C,QAAQ,EAAE,qBAAqB,GAAG,IAAI,EACtC,qBAAqB,EAAE,2BAA2B,GAAG,IAAI,EACzD,YAAY,EAAE,sBAAsB,GAAG,IAAI,EAC3C,WAAW,EAAE,iBAAiB,CAAC,OAAO,CAAC,EACvC,oBAAoB,EAAE,2BAA2B,GAAG,IAAI,EACxD,WAAW,EAAE,sBAAsB,GAAG,IAAI,GACxC,qBAAqB,GAAG,IAAI,CA2B9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-overlay-slot.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlay/hooks/use-overlay-slot.ts"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,WAAW,EAIhB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAG1G,OAAO,KAAK,EAEX,uBAAuB,EACvB,MAAM,gCAAgC,CAAC;AAQxC,eAAO,MAAM,cAAc,GAAI,yJAQ5B;IACF,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,mBAAmB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACzD,oBAAoB,EAAE,2BAA2B,CAAC;IAClD,6BAA6B,CAAC,EAAE,2BAA2B,CAAC;IAC5D,kBAAkB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACxD,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC,UAAU,EAAE,OAAO,CAAC;CACpB;;;
|
|
1
|
+
{"version":3,"file":"use-overlay-slot.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlay/hooks/use-overlay-slot.ts"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,WAAW,EAIhB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAG1G,OAAO,KAAK,EAEX,uBAAuB,EACvB,MAAM,gCAAgC,CAAC;AAQxC,eAAO,MAAM,cAAc,GAAI,yJAQ5B;IACF,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,mBAAmB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACzD,oBAAoB,EAAE,2BAA2B,CAAC;IAClD,6BAA6B,CAAC,EAAE,2BAA2B,CAAC;IAC5D,kBAAkB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACxD,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC,UAAU,EAAE,OAAO,CAAC;CACpB;;;CA6EA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"float-overlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlay/variations/float-overlay.tsx"],"names":[],"mappings":"AASA;;;GAGG;AACH,wBAAgB,YAAY,
|
|
1
|
+
{"version":3,"file":"float-overlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlay/variations/float-overlay.tsx"],"names":[],"mappings":"AASA;;;GAGG;AACH,wBAAgB,YAAY,yCAsB3B"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FloatOverlayEntry } from "../helpers/get-active-overlay";
|
|
2
2
|
type OverlayHostProps = {
|
|
3
3
|
scene: FloatOverlayEntry["scene"];
|
|
4
4
|
driverScene: FloatOverlayEntry["scene"];
|
|
5
5
|
previousOverlayScene?: FloatOverlayEntry["scene"];
|
|
6
|
-
activity: FloatOverlayActivity;
|
|
7
6
|
layerIndex: number;
|
|
8
7
|
};
|
|
9
|
-
export declare const OverlayHost: import("react").MemoExoticComponent<({ scene, driverScene, previousOverlayScene,
|
|
8
|
+
export declare const OverlayHost: import("react").MemoExoticComponent<({ scene, driverScene, previousOverlayScene, layerIndex, }: OverlayHostProps) => import("react").JSX.Element | null>;
|
|
10
9
|
export {};
|
|
11
10
|
//# sourceMappingURL=overlay-host.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"overlay-host.d.ts","sourceRoot":"","sources":["../../../../../src/components/overlay/variations/overlay-host.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAOvE,KAAK,gBAAgB,GAAG;IACvB,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAClC,WAAW,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACxC,oBAAoB,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAClD,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,WAAW,kGAKrB,gBAAgB,wCA4CjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../src/components/screen-container/layers/content.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../src/components/screen-container/layers/content.tsx"],"names":[],"mappings":"AAcA,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,UAAU,GAAG,SAAS,CAAC;IACtC,gBAAgB,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,YAAY,sFACwB,KAAK,iCAkFrD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
pointerEvents: "box-none" | undefined;
|
|
4
|
+
};
|
|
5
|
+
export declare const SurfaceLayer: import("react").MemoExoticComponent<({ children, pointerEvents }: Props) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=surface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../../../src/components/screen-container/layers/surface.tsx"],"names":[],"mappings":"AAQA,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,UAAU,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,YAAY,oEAAsC,KAAK,iWA6ClE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type StackCoreConfig } from "../providers/stack/core.provider";
|
|
2
2
|
import type { BlankStackProviderProps } from "../types/providers/blank-stack-provider.types";
|
|
3
3
|
type StackViewProps = BlankStackProviderProps & StackCoreConfig;
|
|
4
|
-
export declare const StackView: import("react").MemoExoticComponent<({ TRANSITIONS_ALWAYS_ON, state, navigation, descriptors,
|
|
4
|
+
export declare const StackView: import("react").MemoExoticComponent<({ TRANSITIONS_ALWAYS_ON, state, navigation, descriptors, }: StackViewProps) => import("react").JSX.Element>;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=stack-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-view.d.ts","sourceRoot":"","sources":["../../../src/components/stack-view.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stack-view.d.ts","sourceRoot":"","sources":["../../../src/components/stack-view.tsx"],"names":[],"mappings":"AAMA,OAAO,EACN,KAAK,eAAe,EAEpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AA6C7F,KAAK,cAAc,GAAG,uBAAuB,GAAG,eAAe,CAAC;AAEhE,eAAO,MAAM,SAAS,mGAKnB,cAAc,iCAgBf,CAAC"}
|
|
@@ -27,14 +27,5 @@ export declare const Presets: {
|
|
|
27
27
|
ElasticCard: (config?: Partial<import("..").ScreenTransitionConfig> & {
|
|
28
28
|
elasticFactor?: number;
|
|
29
29
|
}) => import("..").ScreenTransitionConfig;
|
|
30
|
-
SharedIGImage: ({ id, ...config }: Partial<import("..").ScreenTransitionConfig> & {
|
|
31
|
-
id: string;
|
|
32
|
-
}) => import("..").ScreenTransitionConfig;
|
|
33
|
-
SharedAppleMusic: ({ id, ...config }: Partial<import("..").ScreenTransitionConfig> & {
|
|
34
|
-
id: string;
|
|
35
|
-
}) => import("..").ScreenTransitionConfig;
|
|
36
|
-
SharedXImage: ({ id, ...config }: Partial<import("..").ScreenTransitionConfig> & {
|
|
37
|
-
id: string;
|
|
38
|
-
}) => import("..").ScreenTransitionConfig;
|
|
39
30
|
};
|
|
40
31
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/configs/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/configs/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;CAKjB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;qBAO43F,CAAC;;CADh5F,CAAC"}
|
|
@@ -6,13 +6,4 @@ export declare const DraggableCard: (config?: Partial<ScreenTransitionConfig>) =
|
|
|
6
6
|
export declare const ElasticCard: (config?: Partial<ScreenTransitionConfig> & {
|
|
7
7
|
elasticFactor?: number;
|
|
8
8
|
}) => ScreenTransitionConfig;
|
|
9
|
-
export declare const SharedIGImage: ({ id, ...config }: Partial<ScreenTransitionConfig> & {
|
|
10
|
-
id: string;
|
|
11
|
-
}) => ScreenTransitionConfig;
|
|
12
|
-
export declare const SharedAppleMusic: ({ id, ...config }: Partial<ScreenTransitionConfig> & {
|
|
13
|
-
id: string;
|
|
14
|
-
}) => ScreenTransitionConfig;
|
|
15
|
-
export declare const SharedXImage: ({ id, ...config }: Partial<ScreenTransitionConfig> & {
|
|
16
|
-
id: string;
|
|
17
|
-
}) => ScreenTransitionConfig;
|
|
18
9
|
//# sourceMappingURL=presets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../src/configs/presets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../src/configs/presets.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAGpE,eAAO,MAAM,YAAY,GACxB,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC1C,sBA+BF,CAAC;AAEF,eAAO,MAAM,MAAM,GAClB,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC1C,sBAqCF,CAAC;AAEF,eAAO,MAAM,eAAe,GAC3B,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC1C,sBA8BF,CAAC;AAEF,eAAO,MAAM,aAAa,GACzB,SAAQ,OAAO,CAAC,sBAAsB,CAAM,KAC1C,sBAwCF,CAAC;AAEF,eAAO,MAAM,WAAW,GACvB,SAAQ,OAAO,CAAC,sBAAsB,CAAC,GAAG;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;CACE,KACxB,sBA8DF,CAAC"}
|
|
@@ -1257,15 +1257,6 @@ declare const _default: {
|
|
|
1257
1257
|
ElasticCard: (config?: Partial<import("./types").ScreenTransitionConfig> & {
|
|
1258
1258
|
elasticFactor?: number;
|
|
1259
1259
|
}) => import("./types").ScreenTransitionConfig;
|
|
1260
|
-
SharedIGImage: ({ id, ...config }: Partial<import("./types").ScreenTransitionConfig> & {
|
|
1261
|
-
id: string;
|
|
1262
|
-
}) => import("./types").ScreenTransitionConfig;
|
|
1263
|
-
SharedAppleMusic: ({ id, ...config }: Partial<import("./types").ScreenTransitionConfig> & {
|
|
1264
|
-
id: string;
|
|
1265
|
-
}) => import("./types").ScreenTransitionConfig;
|
|
1266
|
-
SharedXImage: ({ id, ...config }: Partial<import("./types").ScreenTransitionConfig> & {
|
|
1267
|
-
id: string;
|
|
1268
|
-
}) => import("./types").ScreenTransitionConfig;
|
|
1269
1260
|
};
|
|
1270
1261
|
Specs: {
|
|
1271
1262
|
DefaultSpec: import("react-native-reanimated/lib/typescript/animation/spring").SpringConfig;
|
|
@@ -1299,5 +1290,5 @@ export { useHistory } from "./hooks/navigation/use-history";
|
|
|
1299
1290
|
export { type ScreenState, useScreenState, } from "./hooks/navigation/use-screen-state";
|
|
1300
1291
|
export { type ScreenAnimationTarget, useScreenAnimation, } from "./providers/screen/animation";
|
|
1301
1292
|
export { type ScreenGestureTarget, useScreenGesture, } from "./providers/screen/gestures/hooks/use-screen-gesture";
|
|
1302
|
-
export type { AnimatedViewStyle, AnimationConfig,
|
|
1293
|
+
export type { AnimatedViewStyle, AnimationConfig, BoundaryHandoffTarget, BoundsMotion, BoundsMotionFrame, BoundsMotionTransform, BoundsNavigationAccessor, BoundsNavigationRevealOptions, BoundsNavigationRevealStyle, BoundsNavigationZoomAxisResponse, BoundsNavigationZoomDragOptions, BoundsNavigationZoomOptions, BoundsNavigationZoomStyle, GestureHandoffValues, InactiveBehavior, OverlayComponent, OverlayProps, RawGestureValues, ScreenBackdropComponent, ScreenBackdropComponentProps, ScreenContentComponent, ScreenContentComponentProps, ScreenInterpolationProps, ScreenLayerComponentProps, ScreenStyleInterpolator, ScreenSurfaceComponent, ScreenSurfaceComponentProps, ScreenTransitionAccessor, ScreenTransitionConfig, ScreenTransitionDepthTarget, ScreenTransitionTarget, ScrollGestureAxis, ScrollGestureAxisState, ScrollGestureState, ScrollMetadataState, SheetSnapBehavior, TransitionInterpolatedStyle, TransitionSlotProps, TransitionSlotStyle, TransitionSpec, } from "./types";
|
|
1303
1294
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAY,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,8B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A4B,EAC5B,sBAAsB,EACtB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,wBAAwB,EACxB,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACd,MAAM,SAAS,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { BlankStackFactoryOptions, BlankStackNavigationOptions } from "../types/blank-stack.types";
|
|
1
|
+
import type { BlankStackNavigationOptions } from "../types/blank-stack.types";
|
|
3
2
|
import type { BaseStackNavigation, BaseStackRoute, BaseStackState } from "../types/stack.types";
|
|
4
3
|
export type BlankStackStandardEventMap = {};
|
|
5
|
-
export type BlankStackStandardNavigatorProps =
|
|
4
|
+
export type BlankStackStandardNavigatorProps = {
|
|
6
5
|
navigationState?: BaseStackState<BaseStackRoute>;
|
|
7
6
|
navigation?: BaseStackNavigation;
|
|
8
|
-
navigationHost?: NavigationHostContextValue;
|
|
9
7
|
};
|
|
10
8
|
export declare const BlankStackNavigator: import("standard-navigation").StandardNavigator<BlankStackNavigationOptions, BlankStackStandardEventMap, BlankStackStandardNavigatorProps>;
|
|
11
9
|
//# sourceMappingURL=create-blank-stack-navigator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-blank-stack-navigator.d.ts","sourceRoot":"","sources":["../../../src/navigators/create-blank-stack-navigator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-blank-stack-navigator.d.ts","sourceRoot":"","sources":["../../../src/navigators/create-blank-stack-navigator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,KAAK,EACX,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAE5C,MAAM,MAAM,gCAAgC,GAAG;IAC9C,eAAe,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IACjD,UAAU,CAAC,EAAE,mBAAmB,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,4IAkB9B,CAAC"}
|
|
@@ -3,9 +3,9 @@ import type { BlankStackNavigationOptions } from "../../types/blank-stack.types"
|
|
|
3
3
|
import { type BlankStackStandardEventMap, type BlankStackStandardNavigatorProps } from "../create-blank-stack-navigator";
|
|
4
4
|
type BlankStackExpoRouterParamList = Record<string, object | undefined>;
|
|
5
5
|
export declare const BlankStack: import("react").ForwardRefExoticComponent<Omit<import("expo-router/build/standard-navigation/types").StandardRouterNavigatorProps<StackNavigationState<BlankStackExpoRouterParamList>, BlankStackNavigationOptions, BlankStackStandardEventMap, BlankStackStandardNavigatorProps, StackRouterOptions>, "children"> & Partial<Pick<import("expo-router/build/standard-navigation/types").StandardRouterNavigatorProps<StackNavigationState<BlankStackExpoRouterParamList>, BlankStackNavigationOptions, BlankStackStandardEventMap, BlankStackStandardNavigatorProps, StackRouterOptions>, "children">> & import("react").RefAttributes<unknown>> & {
|
|
6
|
-
Screen: (props: import("expo-router").ScreenProps<BlankStackNavigationOptions, StackNavigationState<BlankStackExpoRouterParamList>, import("expo-router/react-navigation").EventMapBase>) => null;
|
|
6
|
+
Screen: (props: import("expo-router").ScreenProps<BlankStackNavigationOptions, StackNavigationState<BlankStackExpoRouterParamList>, import("expo-router/build/react-navigation").EventMapBase>) => null;
|
|
7
7
|
Protected: typeof import("expo-router/build/views/Protected").Protected;
|
|
8
8
|
};
|
|
9
|
-
export declare const BlankStackScreen: (props: import("expo-router").ScreenProps<BlankStackNavigationOptions, StackNavigationState<BlankStackExpoRouterParamList>, import("expo-router/react-navigation").EventMapBase>) => null;
|
|
10
|
-
export type {
|
|
9
|
+
export declare const BlankStackScreen: (props: import("expo-router").ScreenProps<BlankStackNavigationOptions, StackNavigationState<BlankStackExpoRouterParamList>, import("expo-router/build/react-navigation").EventMapBase>) => null;
|
|
10
|
+
export type { BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps, BlankStackOptionsArgs, BlankStackOverlayProps, BlankStackScreenProps, InactiveBehavior, } from "../../types/blank-stack.types";
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/navigators/expo-router/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,oBAAoB,EAEzB,KAAK,kBAAkB,EAEvB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/navigators/expo-router/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,oBAAoB,EAEzB,KAAK,kBAAkB,EAEvB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAEN,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,MAAM,iCAAiC,CAAC;AAEzC,KAAK,6BAA6B,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAExE,eAAO,MAAM,UAAU;;;CAWrB,CAAC;AAEH,eAAO,MAAM,gBAAgB,iMAAoB,CAAC;AAElD,YAAY,EACX,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,GAChB,MAAM,+BAA+B,CAAC"}
|
|
@@ -13,5 +13,5 @@ export declare const createBlankStackNavigator: import("@react-navigation/native
|
|
|
13
13
|
NavigatorID: string | undefined;
|
|
14
14
|
Navigator: import("react").ComponentType<BlankStackStandardNavigatorProps>;
|
|
15
15
|
}>;
|
|
16
|
-
export type {
|
|
16
|
+
export type { BlankStackNavigationEventMap, BlankStackNavigationOptions, BlankStackNavigationProp, BlankStackNavigatorProps, BlankStackOptionsArgs, BlankStackOverlayProps, BlankStackScreenProps, InactiveBehavior, } from "../../types/blank-stack.types";
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/navigators/react-navigation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EAEzB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/navigators/react-navigation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EAEzB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACX,4BAA4B,EAC5B,2BAA2B,EAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEN,KAAK,gCAAgC,EACrC,MAAM,iCAAiC,CAAC;AAEzC,UAAU,yBAA0B,SAAQ,6BAA6B;IACxE,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC/C,aAAa,EAAE,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IACrD,aAAa,EAAE,2BAA2B,CAAC;IAC3C,QAAQ,EAAE,4BAA4B,CAAC;IACvC,aAAa,EAAE,kBAAkB,CAAC;CAClC;AAED,eAAO,MACW,yBAAyB,qIAC5B,sBAAsB;;;;EAOlC,CAAC;AAEJ,YAAY,EACX,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,GAChB,MAAM,+BAA+B,CAAC"}
|
|
@@ -10,7 +10,16 @@ export type ScreenAnimationContextValue = ReturnType<typeof useScreenAnimationPi
|
|
|
10
10
|
transitionSourcesThroughSelf: readonly ScreenAnimationTransitionSource[];
|
|
11
11
|
transitionSourcesFromSelf: readonly ScreenAnimationTransitionSource[];
|
|
12
12
|
};
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const ScreenAnimationStoreProvider: {
|
|
14
|
+
({ children, registerGlobally, storeKey, unregisterOnCleanup, value, }: {
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
registerGlobally?: boolean;
|
|
17
|
+
storeKey?: string;
|
|
18
|
+
unregisterOnCleanup?: boolean;
|
|
19
|
+
value: ScreenAnimationContextValue;
|
|
20
|
+
}): import("react").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
}, ScreenAnimationProvider: import("react").FC<Props>, useOptionalScreenAnimationStore: {
|
|
14
23
|
(): ScreenAnimationContextValue | null;
|
|
15
24
|
<Selected>(selector: (value: ScreenAnimationContextValue | null) => Selected): Selected;
|
|
16
25
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.provider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/animation/animation.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"animation.provider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/animation/animation.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAMhD,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAE/D,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,UAAU,CACnD,OAAO,0BAA0B,CACjC,GAAG;IACH,iBAAiB,EAAE,SAAS,+BAA+B,EAAE,CAAC;IAC9D,qBAAqB,EAAE,MAAM,CAAC;IAC9B,4BAA4B,EAAE,SAAS,+BAA+B,EAAE,CAAC;IACzE,yBAAyB,EAAE,SAAS,+BAA+B,EAAE,CAAC;CACtE,CAAC;AAQF,eAAO,MACS,4BAA4B;;;;;;;;;GAC3C,uBAAuB,6BACvB,+BAA+B;;;;;;GAC/B,uBAAuB;;;;;;CA6DtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-screen-animation.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/animation/use-screen-animation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EACX,wBAAwB,EACxB,sBAAsB,EACtB,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-screen-animation.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/animation/use-screen-animation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EACX,wBAAwB,EACxB,sBAAsB,EACtB,MAAM,gCAAgC,CAAC;AAMxC,YAAY,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,wBAAgB,kBAAkB,IAAI,YAAY,CAAC,wBAAwB,CAAC,CAAC;AAC7E,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAC1C,KAAK,EAAE,CAAC,CAAC;CACT,GAAG,YAAY,CAAC,wBAAwB,CAAC,CAAC;AAC3C,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,sBAAsB,GAC5B,YAAY,CAAC,wBAAwB,GAAG,IAAI,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/styles/constants.ts"],"names":[],"mappings":"AAcA;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/styles/constants.ts"],"names":[],"mappings":"AAcA;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAqCtD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAGrD,CAAC;AAWF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,YAIjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,YAG/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot-resolvers.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/hooks/slot-resolvers.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slot-resolvers.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/hooks/slot-resolvers.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,GAAG,SAAS,wIAavD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GACjC,QAAQ,MAAM,GAAG,SAAS,EAC1B,OAAO,OAAO,wIAkBd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,QAAQ,MAAM,GAAG,SAAS,wGAc/D,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,GAAG,SAAS,wGAmC7D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,GAAG,SAAS,WAMtD,CAAC"}
|
|
@@ -5,13 +5,22 @@ import type { NormalizedTransitionInterpolatedStyle } from "../../../types/anima
|
|
|
5
5
|
type Props = {
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
};
|
|
8
|
-
export type ScreenSlotName = "overlay" | "content" | "backdrop" | typeof NAVIGATION_MASK_CONTAINER_STYLE_ID | typeof NAVIGATION_MASK_ELEMENT_STYLE_ID;
|
|
8
|
+
export type ScreenSlotName = "overlay" | "content" | "surface" | "backdrop" | typeof NAVIGATION_MASK_CONTAINER_STYLE_ID | typeof NAVIGATION_MASK_ELEMENT_STYLE_ID;
|
|
9
9
|
export type ScreenSlotContextValue = {
|
|
10
10
|
interpolatorReady: SharedValue<number>;
|
|
11
11
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
12
12
|
visibilityBlocked: SharedValue<boolean>;
|
|
13
13
|
};
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const ScreenSlotStoreProvider: {
|
|
15
|
+
({ children, registerGlobally, storeKey, unregisterOnCleanup, value, }: {
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
registerGlobally?: boolean;
|
|
18
|
+
storeKey?: string;
|
|
19
|
+
unregisterOnCleanup?: boolean;
|
|
20
|
+
value: ScreenSlotContextValue;
|
|
21
|
+
}): import("react").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
}, ScreenSlotProvider: import("react").FC<Props>, useOptionalScreenSlotStore: {
|
|
15
24
|
(): ScreenSlotContextValue | null;
|
|
16
25
|
<Selected>(selector: (value: ScreenSlotContextValue | null) => Selected): Selected;
|
|
17
26
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot.provider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/styles/slot.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAEhD,OAAiB,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EACX,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAQ5F,KAAK,KAAK,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAErC,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,SAAS,GACT,UAAU,GACV,OAAO,kCAAkC,GACzC,OAAO,gCAAgC,CAAC;AAE3C,MAAM,MAAM,sBAAsB,GAAG;IACpC,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;IAC7D,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACxC,CAAC;AAMF,eAAO,
|
|
1
|
+
{"version":3,"file":"slot.provider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/styles/slot.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAEhD,OAAiB,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EACX,kCAAkC,EAClC,gCAAgC,EAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAQ5F,KAAK,KAAK,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAErC,MAAM,MAAM,cAAc,GACvB,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,OAAO,kCAAkC,GACzC,OAAO,gCAAgC,CAAC;AAE3C,MAAM,MAAM,sBAAsB,GAAG;IACpC,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACvC,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;IAC7D,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACxC,CAAC;AAMF,eAAO,MACS,uBAAuB;;;;;;;;;GACtC,kBAAkB,6BAClB,0BAA0B;;;;;;GAC1B,kBAAkB;;;;;;CA6ClB,CAAC"}
|
package/lib/typescript/providers/stack/blank-stack-state/helpers/build-blank-stack-state.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { BlankStackProviderProps } from "../../../../types/providers/blank-stack-provider.types";
|
|
2
|
-
import type {
|
|
1
|
+
import type { BlankStackDescriptorSources, BlankStackProviderProps } from "../../../../types/providers/blank-stack-provider.types";
|
|
2
|
+
import type { BlankStackRoutes, LocalRoutesState } from "./types";
|
|
3
3
|
type BuildBlankStackStateParams = {
|
|
4
4
|
props: BlankStackProviderProps;
|
|
5
5
|
routes: BlankStackRoutes;
|
|
6
|
-
descriptors:
|
|
6
|
+
descriptors: BlankStackDescriptorSources;
|
|
7
7
|
closingRouteKeys: ReadonlySet<string>;
|
|
8
8
|
previousState?: LocalRoutesState;
|
|
9
9
|
};
|
package/lib/typescript/providers/stack/blank-stack-state/helpers/build-blank-stack-state.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-blank-stack-state.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/stack/blank-stack-state/helpers/build-blank-stack-state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"build-blank-stack-state.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/stack/blank-stack-state/helpers/build-blank-stack-state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEX,2BAA2B,EAC3B,uBAAuB,EACvB,MAAM,wDAAwD,CAAC;AAgBhE,OAAO,KAAK,EAEX,gBAAgB,EAChB,gBAAgB,EAEhB,MAAM,SAAS,CAAC;AAEjB,KAAK,0BAA0B,GAAG;IACjC,KAAK,EAAE,uBAAuB,CAAC;IAC/B,MAAM,EAAE,gBAAgB,CAAC;IACzB,WAAW,EAAE,2BAA2B,CAAC;IACzC,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC,aAAa,CAAC,EAAE,gBAAgB,CAAC;CACjC,CAAC;AAqQF,eAAO,MAAM,oBAAoB,GAChC,QAAQ,0BAA0B,KAChC,gBAkEF,CAAC"}
|
package/lib/typescript/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derive-blank-stack-state.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AAYtG,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElE,KAAK,2BAA2B,GAAG;IAClC,KAAK,EAAE,uBAAuB,CAAC;IAC/B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,sBAAsB,EAAE,gBAAgB,CAAC;IACzC,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAYF,eAAO,MAAM,qBAAqB,GAAI,+DAKnC,2BAA2B,KAAG,
|
|
1
|
+
{"version":3,"file":"derive-blank-stack-state.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/stack/blank-stack-state/helpers/derive-blank-stack-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AAYtG,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElE,KAAK,2BAA2B,GAAG;IAClC,KAAK,EAAE,uBAAuB,CAAC;IAC/B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,sBAAsB,EAAE,gBAAgB,CAAC;IACzC,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAYF,eAAO,MAAM,qBAAqB,GAAI,+DAKnC,2BAA2B,KAAG,gBA+EhC,CAAC"}
|
package/lib/typescript/providers/stack/blank-stack-state/helpers/reconcile-blank-stack-routes.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BlankStackDescriptorSources } from "../../../../types/providers/blank-stack-provider.types";
|
|
2
|
+
import type { BlankStackRoutes, LocalRoutesState, ReconciledRoutes } from "./types";
|
|
2
3
|
type ReconcileBlankStackRoutesParams = {
|
|
3
4
|
current: LocalRoutesState;
|
|
4
5
|
previousRoutesSnapshot: BlankStackRoutes;
|
|
5
6
|
nextRoutesSnapshot: BlankStackRoutes;
|
|
6
|
-
nextDescriptors:
|
|
7
|
+
nextDescriptors: BlankStackDescriptorSources;
|
|
7
8
|
closingRouteKeys: Set<string>;
|
|
8
9
|
};
|
|
9
10
|
export declare const reconcileBlankStackRoutes: (params: ReconcileBlankStackRoutesParams) => ReconciledRoutes;
|