@buoy-gg/route-events 7.0.33 → 7.0.35
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/lib/commonjs/components/NavigationStack.js +11 -11
- package/lib/commonjs/components/ReactNavigationRoutes.js +15 -15
- package/lib/commonjs/components/RouteEventDetail.js +1 -1
- package/lib/commonjs/components/RouteEventExpandedContent.js +3 -3
- package/lib/commonjs/components/RouteEventItemCompact.js +2 -2
- package/lib/commonjs/components/RouteEventsModalWithTabs.js +24 -107
- package/lib/commonjs/components/RouteEventsTimeline.js +4 -13
- package/lib/commonjs/components/RoutesSitemap.js +16 -16
- package/lib/commonjs/hooks/useRouteEvents.js +12 -43
- package/lib/commonjs/preset.js +7 -21
- package/lib/module/components/NavigationStack.js +12 -12
- package/lib/module/components/ReactNavigationRoutes.js +16 -16
- package/lib/module/components/RouteEventDetail.js +2 -2
- package/lib/module/components/RouteEventExpandedContent.js +4 -4
- package/lib/module/components/RouteEventItemCompact.js +3 -3
- package/lib/module/components/RouteEventsModalWithTabs.js +26 -109
- package/lib/module/components/RouteEventsTimeline.js +5 -14
- package/lib/module/components/RoutesSitemap.js +17 -17
- package/lib/module/hooks/useRouteEvents.js +12 -43
- package/lib/module/preset.js +6 -19
- package/lib/typescript/components/NavigationStack.d.ts.map +1 -1
- package/lib/typescript/components/ReactNavigationRoutes.d.ts.map +1 -1
- package/lib/typescript/components/RouteEventsModalWithTabs.d.ts.map +1 -1
- package/lib/typescript/components/RouteEventsTimeline.d.ts.map +1 -1
- package/lib/typescript/components/RoutesSitemap.d.ts.map +1 -1
- package/lib/typescript/hooks/useRouteEvents.d.ts.map +1 -1
- package/lib/typescript/preset.d.ts +2 -8
- package/lib/typescript/preset.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { useCallback } from "react";
|
|
14
14
|
import { View, Text, FlatList, StyleSheet } from "react-native";
|
|
15
|
-
import { Navigation, night } from "@buoy-gg/shared-ui";
|
|
15
|
+
import { Navigation, night, EVENT_LIST_PRESET, monoFont } from "@buoy-gg/shared-ui";
|
|
16
16
|
import { RouteEventItemCompact } from "./RouteEventItemCompact";
|
|
17
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
18
|
export function RouteEventsTimeline({
|
|
@@ -69,17 +69,8 @@ export function RouteEventsTimeline({
|
|
|
69
69
|
onPress: handleItemPress,
|
|
70
70
|
onNavigate: onNavigate
|
|
71
71
|
}),
|
|
72
|
-
showsVerticalScrollIndicator: true
|
|
73
|
-
|
|
74
|
-
// screen, so the e2e bundle keeps every mounted row targetable. The
|
|
75
|
-
// env var is inlined at bundle time; guarded so a non-inlining bundler
|
|
76
|
-
// keeps production behaviour.
|
|
77
|
-
,
|
|
78
|
-
removeClippedSubviews: !(typeof process !== "undefined" && process.env?.EXPO_PUBLIC_E2E),
|
|
79
|
-
initialNumToRender: 12,
|
|
80
|
-
maxToRenderPerBatch: 8,
|
|
81
|
-
windowSize: 5,
|
|
82
|
-
updateCellsBatchingPeriod: 50
|
|
72
|
+
showsVerticalScrollIndicator: true,
|
|
73
|
+
...EVENT_LIST_PRESET
|
|
83
74
|
})
|
|
84
75
|
);
|
|
85
76
|
}
|
|
@@ -99,7 +90,7 @@ const styles = StyleSheet.create({
|
|
|
99
90
|
fontWeight: "600",
|
|
100
91
|
marginTop: 16,
|
|
101
92
|
marginBottom: 8,
|
|
102
|
-
fontFamily:
|
|
93
|
+
fontFamily: monoFont,
|
|
103
94
|
letterSpacing: 0.5,
|
|
104
95
|
textTransform: "uppercase"
|
|
105
96
|
},
|
|
@@ -107,6 +98,6 @@ const styles = StyleSheet.create({
|
|
|
107
98
|
color: night.color.textSecondary,
|
|
108
99
|
fontSize: 14,
|
|
109
100
|
textAlign: "center",
|
|
110
|
-
fontFamily:
|
|
101
|
+
fontFamily: monoFont
|
|
111
102
|
}
|
|
112
103
|
});
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
import { useState, useCallback, useMemo, useEffect } from "react";
|
|
15
|
-
import { night, ToolEmptyState } from "@buoy-gg/shared-ui";
|
|
15
|
+
import { night, ToolEmptyState, monoFont } from "@buoy-gg/shared-ui";
|
|
16
16
|
import { View, Text, TextInput, TouchableOpacity, ScrollView, StyleSheet, Alert, Platform } from "react-native";
|
|
17
17
|
import { useSafeRouter } from "@buoy-gg/shared-ui";
|
|
18
18
|
import { Search, ChevronDown, ChevronRight, Home, InlineCopyButton, CopyButton, RefreshCw, formatRelativeTime, ProUpgradeModal } from "@buoy-gg/shared-ui";
|
|
@@ -685,7 +685,7 @@ const styles = StyleSheet.create({
|
|
|
685
685
|
loadingText: {
|
|
686
686
|
color: night.color.textSecondary,
|
|
687
687
|
fontSize: 14,
|
|
688
|
-
fontFamily:
|
|
688
|
+
fontFamily: monoFont,
|
|
689
689
|
textAlign: "center",
|
|
690
690
|
lineHeight: 20,
|
|
691
691
|
paddingHorizontal: 32,
|
|
@@ -726,13 +726,13 @@ const styles = StyleSheet.create({
|
|
|
726
726
|
fontSize: 18,
|
|
727
727
|
fontWeight: "800",
|
|
728
728
|
color: night.color.text,
|
|
729
|
-
fontFamily:
|
|
729
|
+
fontFamily: monoFont
|
|
730
730
|
},
|
|
731
731
|
statLabel: {
|
|
732
732
|
fontSize: 10,
|
|
733
733
|
color: night.color.textTertiary,
|
|
734
734
|
marginTop: 4,
|
|
735
|
-
fontFamily:
|
|
735
|
+
fontFamily: monoFont,
|
|
736
736
|
textTransform: "uppercase",
|
|
737
737
|
letterSpacing: 0.5
|
|
738
738
|
},
|
|
@@ -771,7 +771,7 @@ const styles = StyleSheet.create({
|
|
|
771
771
|
actionLabel: {
|
|
772
772
|
fontSize: 8,
|
|
773
773
|
color: night.color.textTertiary,
|
|
774
|
-
fontFamily:
|
|
774
|
+
fontFamily: monoFont,
|
|
775
775
|
textTransform: "uppercase",
|
|
776
776
|
letterSpacing: 0.5
|
|
777
777
|
},
|
|
@@ -795,7 +795,7 @@ const styles = StyleSheet.create({
|
|
|
795
795
|
metaText: {
|
|
796
796
|
fontSize: 12,
|
|
797
797
|
color: night.color.textSecondary,
|
|
798
|
-
fontFamily:
|
|
798
|
+
fontFamily: monoFont
|
|
799
799
|
},
|
|
800
800
|
sourceBadge: {
|
|
801
801
|
paddingHorizontal: 8,
|
|
@@ -809,7 +809,7 @@ const styles = StyleSheet.create({
|
|
|
809
809
|
fontSize: 11,
|
|
810
810
|
color: night.color.textSecondary,
|
|
811
811
|
textTransform: "capitalize",
|
|
812
|
-
fontFamily:
|
|
812
|
+
fontFamily: monoFont
|
|
813
813
|
},
|
|
814
814
|
searchContainer: {
|
|
815
815
|
flexDirection: "row",
|
|
@@ -823,7 +823,7 @@ const styles = StyleSheet.create({
|
|
|
823
823
|
flex: 1,
|
|
824
824
|
color: night.color.text,
|
|
825
825
|
fontSize: 14,
|
|
826
|
-
fontFamily:
|
|
826
|
+
fontFamily: monoFont
|
|
827
827
|
},
|
|
828
828
|
clearButton: {
|
|
829
829
|
padding: 4
|
|
@@ -840,7 +840,7 @@ const styles = StyleSheet.create({
|
|
|
840
840
|
color: night.color.accent,
|
|
841
841
|
fontSize: 14,
|
|
842
842
|
fontWeight: "600",
|
|
843
|
-
fontFamily:
|
|
843
|
+
fontFamily: monoFont
|
|
844
844
|
},
|
|
845
845
|
scrollView: {
|
|
846
846
|
flex: 1
|
|
@@ -855,7 +855,7 @@ const styles = StyleSheet.create({
|
|
|
855
855
|
emptyText: {
|
|
856
856
|
color: night.color.textSecondary,
|
|
857
857
|
fontSize: 14,
|
|
858
|
-
fontFamily:
|
|
858
|
+
fontFamily: monoFont
|
|
859
859
|
},
|
|
860
860
|
groupContainer: {
|
|
861
861
|
marginVertical: 4
|
|
@@ -880,7 +880,7 @@ const styles = StyleSheet.create({
|
|
|
880
880
|
fontSize: 12,
|
|
881
881
|
fontWeight: "700",
|
|
882
882
|
color: night.color.text,
|
|
883
|
-
fontFamily:
|
|
883
|
+
fontFamily: monoFont,
|
|
884
884
|
textTransform: "uppercase",
|
|
885
885
|
letterSpacing: 0.8
|
|
886
886
|
},
|
|
@@ -899,7 +899,7 @@ const styles = StyleSheet.create({
|
|
|
899
899
|
fontSize: 11,
|
|
900
900
|
fontWeight: "600",
|
|
901
901
|
color: "#3B82F6",
|
|
902
|
-
fontFamily:
|
|
902
|
+
fontFamily: monoFont
|
|
903
903
|
},
|
|
904
904
|
routesList: {
|
|
905
905
|
// Transparent so the night sheet's star field shows through.
|
|
@@ -916,7 +916,7 @@ const styles = StyleSheet.create({
|
|
|
916
916
|
groupDescriptionText: {
|
|
917
917
|
fontSize: 11,
|
|
918
918
|
color: night.color.textSecondary,
|
|
919
|
-
fontFamily:
|
|
919
|
+
fontFamily: monoFont,
|
|
920
920
|
lineHeight: 16
|
|
921
921
|
},
|
|
922
922
|
routeItem: {
|
|
@@ -959,7 +959,7 @@ const styles = StyleSheet.create({
|
|
|
959
959
|
fontSize: 13,
|
|
960
960
|
fontWeight: "600",
|
|
961
961
|
color: night.color.text,
|
|
962
|
-
fontFamily:
|
|
962
|
+
fontFamily: monoFont,
|
|
963
963
|
flex: 1
|
|
964
964
|
},
|
|
965
965
|
routeHeaderActions: {
|
|
@@ -982,7 +982,7 @@ const styles = StyleSheet.create({
|
|
|
982
982
|
fontSize: 11,
|
|
983
983
|
fontWeight: "600",
|
|
984
984
|
color: night.color.textSecondary,
|
|
985
|
-
fontFamily:
|
|
985
|
+
fontFamily: monoFont
|
|
986
986
|
},
|
|
987
987
|
typeTag: {
|
|
988
988
|
borderRadius: 4,
|
|
@@ -993,7 +993,7 @@ const styles = StyleSheet.create({
|
|
|
993
993
|
typeText: {
|
|
994
994
|
fontSize: 10,
|
|
995
995
|
fontWeight: "600",
|
|
996
|
-
fontFamily:
|
|
996
|
+
fontFamily: monoFont
|
|
997
997
|
},
|
|
998
998
|
// Compact icon-sized Copy button in the header action cluster.
|
|
999
999
|
iconAction: {
|
|
@@ -1020,7 +1020,7 @@ const styles = StyleSheet.create({
|
|
|
1020
1020
|
goButtonText: {
|
|
1021
1021
|
fontSize: 12,
|
|
1022
1022
|
color: night.color.accent,
|
|
1023
|
-
fontFamily:
|
|
1023
|
+
fontFamily: monoFont,
|
|
1024
1024
|
fontWeight: "600"
|
|
1025
1025
|
},
|
|
1026
1026
|
childrenContainer: {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
28
|
|
|
29
|
-
import {
|
|
29
|
+
import { useEventStoreEvents } from "@buoy-gg/shared-ui";
|
|
30
30
|
import { routeEventStore } from "../stores/routeEventStore";
|
|
31
31
|
|
|
32
32
|
// Re-export RouteChangeEvent for convenience
|
|
@@ -36,50 +36,19 @@ export function useRouteEvents(options = {}) {
|
|
|
36
36
|
maxEvents = 500,
|
|
37
37
|
enabled = true
|
|
38
38
|
} = options;
|
|
39
|
-
|
|
40
|
-
//
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// Frame-coalesced (see network's useNetworkEventList): navigation
|
|
53
|
-
// bursts land as one commit per frame instead of one per emission.
|
|
54
|
-
let rafId = null;
|
|
55
|
-
let pending = null;
|
|
56
|
-
const unsubscribe = routeEventStore.subscribeToEvents(allEvents => {
|
|
57
|
-
pending = allEvents;
|
|
58
|
-
if (rafId != null) return;
|
|
59
|
-
rafId = requestAnimationFrame(() => {
|
|
60
|
-
rafId = null;
|
|
61
|
-
if (!pending) return;
|
|
62
|
-
const latest = pending;
|
|
63
|
-
pending = null;
|
|
64
|
-
setEvents(latest.length > maxEvents ? latest.slice(0, maxEvents) : latest);
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
// Mark as listening after successful subscription
|
|
69
|
-
setIsListening(true);
|
|
70
|
-
return () => {
|
|
71
|
-
unsubscribe();
|
|
72
|
-
if (rafId != null) cancelAnimationFrame(rafId);
|
|
73
|
-
// Note: Don't set isListening=false here because we might be
|
|
74
|
-
// re-subscribing due to dependency change, not actually stopping
|
|
75
|
-
};
|
|
76
|
-
}, [maxEvents, enabled]);
|
|
77
|
-
const clearEvents = useCallback(() => {
|
|
78
|
-
routeEventStore.clearEvents();
|
|
79
|
-
}, []);
|
|
39
|
+
// Subscribing auto-starts the route observer (Subscribable pattern), and
|
|
40
|
+
// the shared hook frame-coalesces navigation bursts into one commit.
|
|
41
|
+
const {
|
|
42
|
+
events,
|
|
43
|
+
clearEvents,
|
|
44
|
+
isActive
|
|
45
|
+
} = useEventStoreEvents(routeEventStore, {
|
|
46
|
+
maxEvents,
|
|
47
|
+
enabled
|
|
48
|
+
});
|
|
80
49
|
return {
|
|
81
50
|
events,
|
|
82
51
|
clearEvents,
|
|
83
|
-
isListening
|
|
52
|
+
isListening: isActive
|
|
84
53
|
};
|
|
85
54
|
}
|
package/lib/module/preset.js
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import { RoutesIcon } from "@buoy-gg/floating-tools-core";
|
|
21
21
|
import { RouteEventsModalWithTabs } from "./components/RouteEventsModalWithTabs";
|
|
22
|
+
import { createToolFactory, defineToolPreset } from "@buoy-gg/shared-ui";
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
* Pre-configured route events tool for FloatingDevTools.
|
|
@@ -29,7 +30,7 @@ import { RouteEventsModalWithTabs } from "./components/RouteEventsModalWithTabs"
|
|
|
29
30
|
* - Automatic route tracking (no setup needed)
|
|
30
31
|
*/
|
|
31
32
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
32
|
-
export const routeEventsToolPreset = {
|
|
33
|
+
export const routeEventsToolPreset = defineToolPreset({
|
|
33
34
|
id: "route-events",
|
|
34
35
|
name: "ROUTES",
|
|
35
36
|
description: "Route tracking & navigation inspector",
|
|
@@ -43,7 +44,7 @@ export const routeEventsToolPreset = {
|
|
|
43
44
|
props: {
|
|
44
45
|
enableSharedModalDimensions: false
|
|
45
46
|
}
|
|
46
|
-
};
|
|
47
|
+
});
|
|
47
48
|
|
|
48
49
|
/**
|
|
49
50
|
* Create a custom route events tool configuration.
|
|
@@ -60,20 +61,6 @@ export const routeEventsToolPreset = {
|
|
|
60
61
|
* });
|
|
61
62
|
* ```
|
|
62
63
|
*/
|
|
63
|
-
export
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
name: options?.name || "ROUTES",
|
|
67
|
-
description: options?.description || "Route tracking & navigation inspector",
|
|
68
|
-
slot: "both",
|
|
69
|
-
icon: ({
|
|
70
|
-
size
|
|
71
|
-
}) => /*#__PURE__*/_jsx(RoutesIcon, {
|
|
72
|
-
size: size
|
|
73
|
-
}),
|
|
74
|
-
component: RouteEventsModalWithTabs,
|
|
75
|
-
props: {
|
|
76
|
-
enableSharedModalDimensions: options?.enableSharedModalDimensions !== undefined ? options.enableSharedModalDimensions : false
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
}
|
|
64
|
+
export const createRouteEventsTool = createToolFactory(routeEventsToolPreset, options => ({
|
|
65
|
+
enableSharedModalDimensions: options.enableSharedModalDimensions ?? false
|
|
66
|
+
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationStack.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationStack.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"NavigationStack.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationStack.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAyBH,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,uBAAuB,CAAC;AAO/B,uEAAuE;AACvE,MAAM,MAAM,yBAAyB,GACjC,iBAAiB,GACjB,YAAY,GACZ,QAAQ,GACR,UAAU,CAAC;AAEf,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,GAAG,CAAC;IAEZ;;;;OAIG;IACH,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAEnC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CACT,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,KACzB,IAAI,CAAC;IAEV;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C;AAMD,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,aAAa,EACb,QAAQ,EACR,iBAAiB,GAClB,EAAE,oBAAoB,+BA2dtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactNavigationRoutes.d.ts","sourceRoot":"","sources":["../../../src/components/ReactNavigationRoutes.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"ReactNavigationRoutes.d.ts","sourceRoot":"","sources":["../../../src/components/ReactNavigationRoutes.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAuCH,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAkHD,wBAAgB,qBAAqB,CAAC,EAAE,KAAK,EAAE,EAAE,0BAA0B,+BAsS1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouteEventsModalWithTabs.d.ts","sourceRoot":"","sources":["../../../src/components/RouteEventsModalWithTabs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RouteEventsModalWithTabs.d.ts","sourceRoot":"","sources":["../../../src/components/RouteEventsModalWithTabs.tsx"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAGnE,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE;QACP,OAAO,CAAC,EAAE;YACR,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;YACrB,MAAM,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,IAAI,CAAC;YAChC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;SAC/B,CAAC;QACF,KAAK,CAAC,EAAE,gBAAgB,EAAE,CAAC;QAC3B;;;;WAIG;QACH,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;QAC7C;;;;;WAKG;QACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;QAC5C,2EAA2E;QAC3E,aAAa,CAAC,EAAE,CACd,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,KACzB,IAAI,CAAC;KACX,CAAC;CACH;AAgED,wBAAgB,wBAAwB,CAAC,EACvC,OAAO,EACP,OAAO,EACP,MAAM,EACN,UAAU,EACV,2BAAmC,EACnC,MAAc,EACd,MAAM,GACP,EAAE,6BAA6B,sCAqmB/B;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,KAAK,GAAE,IAAI,CAAC,6BAA6B,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAM,+BAKlF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouteEventsTimeline.d.ts","sourceRoot":"","sources":["../../../src/components/RouteEventsTimeline.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"RouteEventsTimeline.d.ts","sourceRoot":"","sources":["../../../src/components/RouteEventsTimeline.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAeH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,UAAU,wBAAwB;IAChC,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B;wEACoE;IACpE,WAAW,EAAE,GAAG,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;IAC3C,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,EAAE,CAAC,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CACvE;AAED,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,WAAW,EACX,UAAU,EACV,aAAa,GACd,EAAE,wBAAwB,+BAoD1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutesSitemap.d.ts","sourceRoot":"","sources":["../../../src/components/RoutesSitemap.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"RoutesSitemap.d.ts","sourceRoot":"","sources":["../../../src/components/RoutesSitemap.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAiCH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,gBAAgB,CAAC;AAM5D,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,GAAG,CAAC;IAEZ;;;;OAIG;IACH,cAAc,CAAC,EAAE,SAAS,EAAE,CAAC;IAE7B,oDAAoD;IACpD,cAAc,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,IAAI,CAAC;IAExC,8DAA8D;IAC9D,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtC;;;;;OAKG;IACH,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CAC9C;AAsCD,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,cAAc,EACd,cAAc,EACd,qBAAqB,EACrB,eAAe,GAChB,EAAE,kBAAkB,+BAibpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRouteEvents.d.ts","sourceRoot":"","sources":["../../../src/hooks/useRouteEvents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAGH,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,2BAA2B,CAAC;AAGnC,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,MAAM,WAAW,qBAAqB;IACpC,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,uBAAuB;IACvB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,6DAA6D;IAC7D,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,cAAc,CAC5B,OAAO,GAAE,qBAA0B,GAClC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"useRouteEvents.d.ts","sourceRoot":"","sources":["../../../src/hooks/useRouteEvents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAGH,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,2BAA2B,CAAC;AAGnC,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,MAAM,WAAW,qBAAqB;IACpC,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,uBAAuB;IACvB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,6DAA6D;IAC7D,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,cAAc,CAC5B,OAAO,GAAE,qBAA0B,GAClC,oBAAoB,CAStB"}
|
|
@@ -51,16 +51,10 @@ export declare const routeEventsToolPreset: {
|
|
|
51
51
|
* });
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
54
|
-
export declare
|
|
55
|
-
/** Tool name (default: "ROUTES") */
|
|
56
|
-
name?: string;
|
|
57
|
-
/** Tool description */
|
|
58
|
-
description?: string;
|
|
59
|
-
/** Custom tool ID (default: "route-events") */
|
|
60
|
-
id?: string;
|
|
54
|
+
export declare const createRouteEventsTool: (options?: ({
|
|
61
55
|
/** Enable shared modal dimensions */
|
|
62
56
|
enableSharedModalDimensions?: boolean;
|
|
63
|
-
})
|
|
57
|
+
} & import("@buoy-gg/shared-ui").ToolPresetOverrides) | undefined) => {
|
|
64
58
|
id: string;
|
|
65
59
|
name: string;
|
|
66
60
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../src/preset.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../src/preset.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAGjF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB;;;;;qBAKf;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;;;CAKjC,CAAC;AAEH;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB;IAG9B,qCAAqC;kCACP,OAAO;;;;;;qBA1BtB;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;;;CA8BlC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/route-events",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.35",
|
|
4
4
|
"description": "Navigation devtool for React Native — live stack, full sitemap, jump to any screen. Expo Router & React Navigation. Part of Buoy devtools.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
],
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@buoy-gg/floating-tools-core": "^7.0.
|
|
30
|
-
"@buoy-gg/shared-ui": "^7.0.
|
|
29
|
+
"@buoy-gg/floating-tools-core": "^7.0.35",
|
|
30
|
+
"@buoy-gg/shared-ui": "^7.0.35"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@buoy-gg/license": "7.0.
|
|
33
|
+
"@buoy-gg/license": "7.0.35",
|
|
34
34
|
"@react-native-async-storage/async-storage": "^2.0.0 || ^3.1.0",
|
|
35
35
|
"@react-navigation/native": "*",
|
|
36
36
|
"expo-router": "*",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@types/react-native": "^0.73.0",
|
|
53
53
|
"expo-router": "~5.0.7",
|
|
54
54
|
"typescript": "~5.8.3",
|
|
55
|
-
"@buoy-gg/license": "^7.0.
|
|
55
|
+
"@buoy-gg/license": "^7.0.35"
|
|
56
56
|
},
|
|
57
57
|
"react-native-builder-bob": {
|
|
58
58
|
"source": "src",
|