@buoy-gg/react-query 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.
Files changed (49) hide show
  1. package/lib/commonjs/react-query/components/DataEditorMode.js +2 -2
  2. package/lib/commonjs/react-query/components/FilterStatusBadge.js +1 -1
  3. package/lib/commonjs/react-query/components/MutationEditorMode.js +2 -2
  4. package/lib/commonjs/react-query/components/modals/MutationBrowserFooter.js +7 -19
  5. package/lib/commonjs/react-query/components/modals/QueryBrowserFooter.js +7 -19
  6. package/lib/commonjs/react-query/components/modals/ReactQueryModalHeader.js +23 -71
  7. package/lib/commonjs/react-query/components/query-browser/MutationButton.js +2 -2
  8. package/lib/commonjs/react-query/components/query-browser/MutationDetails.js +4 -4
  9. package/lib/commonjs/react-query/components/query-browser/MutationDetailsChips.js +1 -1
  10. package/lib/commonjs/react-query/components/query-browser/MutationInformation.js +1 -1
  11. package/lib/commonjs/react-query/components/query-browser/MutationStatusCount.js +51 -87
  12. package/lib/commonjs/react-query/components/query-browser/MutationsList.js +1 -1
  13. package/lib/commonjs/react-query/components/query-browser/QueryBrowser.js +3 -12
  14. package/lib/commonjs/react-query/components/query-browser/QueryDetails.js +4 -4
  15. package/lib/commonjs/react-query/components/query-browser/QueryDetailsChip.js +1 -1
  16. package/lib/commonjs/react-query/components/query-browser/QueryStatusCount.js +66 -112
  17. package/lib/commonjs/react-query/components/query-browser/StorageStatusCount.js +22 -67
  18. package/lib/commonjs/react-query/stores/reactQueryEventStore.js +13 -22
  19. package/lib/commonjs/react-query/sync/snapshotProvider.js +17 -62
  20. package/lib/module/react-query/components/DataEditorMode.js +3 -3
  21. package/lib/module/react-query/components/FilterStatusBadge.js +2 -2
  22. package/lib/module/react-query/components/MutationEditorMode.js +3 -3
  23. package/lib/module/react-query/components/modals/MutationBrowserFooter.js +8 -20
  24. package/lib/module/react-query/components/modals/QueryBrowserFooter.js +8 -20
  25. package/lib/module/react-query/components/modals/ReactQueryModalHeader.js +25 -73
  26. package/lib/module/react-query/components/query-browser/MutationButton.js +3 -3
  27. package/lib/module/react-query/components/query-browser/MutationDetails.js +5 -5
  28. package/lib/module/react-query/components/query-browser/MutationDetailsChips.js +2 -2
  29. package/lib/module/react-query/components/query-browser/MutationInformation.js +2 -2
  30. package/lib/module/react-query/components/query-browser/MutationStatusCount.js +51 -87
  31. package/lib/module/react-query/components/query-browser/MutationsList.js +2 -2
  32. package/lib/module/react-query/components/query-browser/QueryBrowser.js +4 -13
  33. package/lib/module/react-query/components/query-browser/QueryDetails.js +5 -5
  34. package/lib/module/react-query/components/query-browser/QueryDetailsChip.js +2 -2
  35. package/lib/module/react-query/components/query-browser/QueryStatusCount.js +66 -112
  36. package/lib/module/react-query/components/query-browser/StorageStatusCount.js +22 -67
  37. package/lib/module/react-query/stores/reactQueryEventStore.js +13 -22
  38. package/lib/module/react-query/sync/snapshotProvider.js +18 -63
  39. package/lib/typescript/react-query/components/modals/MutationBrowserFooter.d.ts.map +1 -1
  40. package/lib/typescript/react-query/components/modals/QueryBrowserFooter.d.ts.map +1 -1
  41. package/lib/typescript/react-query/components/modals/ReactQueryModalHeader.d.ts.map +1 -1
  42. package/lib/typescript/react-query/components/query-browser/MutationStatusCount.d.ts.map +1 -1
  43. package/lib/typescript/react-query/components/query-browser/QueryBrowser.d.ts.map +1 -1
  44. package/lib/typescript/react-query/components/query-browser/QueryStatusCount.d.ts.map +1 -1
  45. package/lib/typescript/react-query/components/query-browser/StorageStatusCount.d.ts.map +1 -1
  46. package/lib/typescript/react-query/stores/reactQueryEventStore.d.ts +3 -8
  47. package/lib/typescript/react-query/stores/reactQueryEventStore.d.ts.map +1 -1
  48. package/lib/typescript/react-query/sync/snapshotProvider.d.ts.map +1 -1
  49. package/package.json +3 -3
@@ -276,7 +276,7 @@ const styles = _reactNative.StyleSheet.create({
276
276
  borderBottomColor: _sharedUi.night.color.accent + "33",
277
277
  letterSpacing: 0.5,
278
278
  textTransform: "uppercase",
279
- fontFamily: "monospace"
279
+ fontFamily: _sharedUi.monoFont
280
280
  },
281
281
  queryExplorerContent: {
282
282
  padding: 8
@@ -309,7 +309,7 @@ const styles = _reactNative.StyleSheet.create({
309
309
  borderBottomColor: _sharedUi.night.color.accent + "33",
310
310
  letterSpacing: 0.5,
311
311
  textTransform: "uppercase",
312
- fontFamily: "monospace"
312
+ fontFamily: _sharedUi.monoFont
313
313
  },
314
314
  dataContent: {
315
315
  padding: 8
@@ -50,6 +50,6 @@ const styles = _reactNative.StyleSheet.create({
50
50
  text: {
51
51
  fontSize: 9,
52
52
  color: _sharedUi.night.color.textTertiary,
53
- fontFamily: "monospace"
53
+ fontFamily: _sharedUi.monoFont
54
54
  }
55
55
  });
@@ -236,7 +236,7 @@ const styles = _reactNative.StyleSheet.create({
236
236
  borderBottomColor: _sharedUi.night.color.accent + "33",
237
237
  letterSpacing: 0.5,
238
238
  textTransform: "uppercase",
239
- fontFamily: "monospace"
239
+ fontFamily: _sharedUi.monoFont
240
240
  },
241
241
  mutationExplorerContent: {
242
242
  padding: 8
@@ -268,7 +268,7 @@ const styles = _reactNative.StyleSheet.create({
268
268
  borderBottomColor: _sharedUi.night.color.accent + "33",
269
269
  letterSpacing: 0.5,
270
270
  textTransform: "uppercase",
271
- fontFamily: "monospace"
271
+ fontFamily: _sharedUi.monoFont
272
272
  },
273
273
  dataContent: {
274
274
  padding: 8
@@ -33,13 +33,12 @@ function MutationBrowserFooter({
33
33
  const paddingBottom = (0, _react.useMemo)(() => {
34
34
  return !isFloatingMode ? insets.bottom : 0;
35
35
  }, [isFloatingMode, insets.bottom]);
36
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
36
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ToolFooter, {
37
37
  // Force re-render with key change
38
- style: [styles.filterFooter, {
39
- paddingBottom
40
- },
41
- // Remove border radius when docked to bottom
42
- !isFloatingMode && styles.dockedFooter],
38
+ floating: isFloatingMode,
39
+ safeArea: false,
40
+ paddingBottom: paddingBottom,
41
+ style: styles.filterFooter,
43
42
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
44
43
  style: styles.filterContainer,
45
44
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MutationStatusCount.default, {
@@ -52,19 +51,8 @@ function MutationBrowserFooter({
52
51
  }
53
52
  const styles = _reactNative.StyleSheet.create({
54
53
  filterFooter: {
55
- borderTopWidth: 1,
56
- borderTopColor: _sharedUi.night.color.border,
57
- paddingVertical: 8,
58
- paddingHorizontal: 0,
59
- // Transparent so the night sheet's star field shows through.
60
- // Night glass bar — matches the shared EventStepperFooter backing.
61
- backgroundColor: "rgba(5, 5, 5, 0.92)",
62
- borderBottomLeftRadius: 14,
63
- borderBottomRightRadius: 14
64
- },
65
- dockedFooter: {
66
- borderBottomLeftRadius: 0,
67
- borderBottomRightRadius: 0
54
+ paddingTop: 8,
55
+ paddingHorizontal: 0
68
56
  },
69
57
  filterContainer: {
70
58
  minHeight: 32,
@@ -29,12 +29,11 @@ function QueryBrowserFooter({
29
29
  const insets = (0, _sharedUi.useSafeAreaInsets)({
30
30
  minBottom: 16
31
31
  });
32
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
33
- style: [styles.filterFooter, {
34
- paddingBottom: !isFloatingMode ? insets.bottom : 0
35
- },
36
- // Remove border radius when docked to bottom
37
- !isFloatingMode && styles.dockedFooter],
32
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ToolFooter, {
33
+ floating: isFloatingMode,
34
+ safeArea: false,
35
+ paddingBottom: !isFloatingMode ? insets.bottom : 0,
36
+ style: styles.filterFooter,
38
37
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
39
38
  style: styles.filterContainer,
40
39
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_QueryStatusCount.default, {
@@ -47,19 +46,8 @@ function QueryBrowserFooter({
47
46
  }
48
47
  const styles = _reactNative.StyleSheet.create({
49
48
  filterFooter: {
50
- borderTopWidth: 1,
51
- borderTopColor: _sharedUi.night.color.border,
52
- paddingVertical: 8,
53
- paddingHorizontal: 0,
54
- // Transparent so the night sheet's star field shows through.
55
- // Night glass bar — matches the shared EventStepperFooter backing.
56
- backgroundColor: "rgba(5, 5, 5, 0.92)",
57
- borderBottomLeftRadius: 14,
58
- borderBottomRightRadius: 14
59
- },
60
- dockedFooter: {
61
- borderBottomLeftRadius: 0,
62
- borderBottomRightRadius: 0
49
+ paddingTop: 8,
50
+ paddingHorizontal: 0
63
51
  },
64
52
  filterContainer: {
65
53
  minHeight: 32,
@@ -90,54 +90,29 @@ function ReactQueryModalHeader({
90
90
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ModalHeader.Content, {
91
91
  title: "",
92
92
  noMargin: true,
93
- children: isSearchActive ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
94
- style: styles.headerSearchContainer,
95
- testID: "buoy-rq-search-field",
96
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Search, {
97
- size: 14,
98
- color: _sharedUi.night.color.textSecondary
99
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
100
- ref: searchInputRef,
101
- testID: "buoy-rq-search",
102
- style: styles.headerSearchInput,
103
- placeholder: "Search query keys...",
104
- placeholderTextColor: _sharedUi.night.color.textTertiary,
105
- value: searchText,
106
- onChangeText: handleSearch,
107
- onSubmitEditing: () => setIsSearchActive(false),
108
- onBlur: () => {
109
- if (!clearPressRef.current) setIsSearchActive(false);
110
- },
111
- "sentry-label": "ignore react query search header",
112
- accessibilityLabel: "Search queries and mutations",
113
- autoCapitalize: "none",
114
- autoCorrect: false,
115
- returnKeyType: "search"
116
- }), searchText.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity
117
- // react-native-web delays press-in ~50ms by default (native
118
- // fires it immediately), which would put it AFTER the blur.
119
- , {
120
- delayPressIn: 0,
121
- onPressIn: () => {
122
- clearPressRef.current = true;
123
- },
124
- onPressOut: () => {
125
- clearPressRef.current = false;
126
- },
127
- onPress: () => {
128
- handleSearch("");
129
- setIsSearchActive(false);
130
- },
131
- "sentry-label": "ignore clear search header",
132
- testID: "buoy-rq-search-clear",
133
- accessibilityRole: "button",
134
- accessibilityLabel: "Clear search",
135
- style: styles.headerSearchClear,
136
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
137
- size: 14,
138
- color: _sharedUi.night.color.textSecondary
139
- })
140
- }) : null]
93
+ children: isSearchActive ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ModalHeader.Search, {
94
+ value: searchText,
95
+ onChangeText: handleSearch,
96
+ onCancel: () => {
97
+ handleSearch("");
98
+ setIsSearchActive(false);
99
+ },
100
+ onDismiss: () => setIsSearchActive(false),
101
+ dismissOnBlur: true,
102
+ clearOnlyWhenText: true,
103
+ placeholder: "Search query keys...",
104
+ accessibilityLabel: "Search queries and mutations",
105
+ iconSize: 14
106
+ // These handles predate the shared field and are the reverse of
107
+ // its convention (container = "-field", input = bare); kept as-is
108
+ // so the e2e suite keeps its targets.
109
+ ,
110
+ testID: "buoy-rq-search",
111
+ containerTestID: "buoy-rq-search-field",
112
+ clearTestID: "buoy-rq-search-clear",
113
+ inputProps: {
114
+ "sentry-label": "ignore react query search header"
115
+ }
141
116
  }) : showWifiToggle ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
142
117
  style: styles.tabRow,
143
118
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
@@ -206,29 +181,6 @@ const styles = _reactNative.StyleSheet.create({
206
181
  tabSelectorWrap: {
207
182
  flex: 1
208
183
  },
209
- headerSearchContainer: {
210
- flexDirection: "row",
211
- alignItems: "center",
212
- backgroundColor: _sharedUi.night.color.surfaceElevated,
213
- borderRadius: 6,
214
- paddingHorizontal: 8,
215
- paddingVertical: 4,
216
- gap: 6,
217
- marginHorizontal: 12,
218
- marginVertical: 8
219
- },
220
- headerSearchInput: {
221
- flex: 1,
222
- color: _sharedUi.night.color.text,
223
- fontSize: 13,
224
- fontFamily: "monospace",
225
- padding: 0,
226
- margin: 0,
227
- minHeight: 18
228
- },
229
- headerSearchClear: {
230
- padding: 2
231
- },
232
184
  headerActionButton: {
233
185
  padding: 6,
234
186
  borderRadius: 4
@@ -172,7 +172,7 @@ const styles = _reactNative.StyleSheet.create({
172
172
  paddingHorizontal: 12
173
173
  },
174
174
  mutationKey: {
175
- fontFamily: "monospace",
175
+ fontFamily: _sharedUi.monoFont,
176
176
  fontSize: 12,
177
177
  color: _sharedUi.night.color.text,
178
178
  lineHeight: 16
@@ -185,6 +185,6 @@ const styles = _reactNative.StyleSheet.create({
185
185
  bottomRightText: {
186
186
  fontSize: 9,
187
187
  color: _sharedUi.night.color.textTertiary,
188
- fontFamily: "monospace"
188
+ fontFamily: _sharedUi.monoFont
189
189
  }
190
190
  });
@@ -78,7 +78,7 @@ const styles = _reactNative.StyleSheet.create({
78
78
  borderBottomColor: _sharedUi.night.color.accent + "33",
79
79
  letterSpacing: 0.5,
80
80
  textTransform: "uppercase",
81
- fontFamily: "monospace"
81
+ fontFamily: _sharedUi.monoFont
82
82
  },
83
83
  row: {
84
84
  flexDirection: "row",
@@ -96,7 +96,7 @@ const styles = _reactNative.StyleSheet.create({
96
96
  flexWrap: {
97
97
  fontSize: 12,
98
98
  color: _sharedUi.night.color.text,
99
- fontFamily: "monospace",
99
+ fontFamily: _sharedUi.monoFont,
100
100
  lineHeight: 18,
101
101
  flexShrink: 1,
102
102
  backgroundColor: _sharedUi.night.color.accent + "15",
@@ -112,13 +112,13 @@ const styles = _reactNative.StyleSheet.create({
112
112
  fontWeight: "600",
113
113
  letterSpacing: 0.5,
114
114
  textTransform: "uppercase",
115
- fontFamily: "monospace"
115
+ fontFamily: _sharedUi.monoFont
116
116
  },
117
117
  valueText: {
118
118
  fontSize: 12,
119
119
  color: _sharedUi.night.color.text,
120
120
  fontWeight: "500",
121
121
  fontVariant: ["tabular-nums"],
122
- fontFamily: "monospace"
122
+ fontFamily: _sharedUi.monoFont
123
123
  }
124
124
  });
@@ -63,6 +63,6 @@ const styles = _reactNative.StyleSheet.create({
63
63
  fontWeight: "600",
64
64
  textTransform: "uppercase",
65
65
  letterSpacing: 0.5,
66
- fontFamily: "monospace"
66
+ fontFamily: _sharedUi.monoFont
67
67
  }
68
68
  });
@@ -102,7 +102,7 @@ const styles = _reactNative.StyleSheet.create({
102
102
  borderTopRightRadius: 8,
103
103
  borderBottomWidth: 1,
104
104
  borderBottomColor: _sharedUi.night.color.accent + "33",
105
- fontFamily: "monospace",
105
+ fontFamily: _sharedUi.monoFont,
106
106
  letterSpacing: 1,
107
107
  textTransform: "uppercase"
108
108
  },
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _reactNative = require("react-native");
7
+ var _sharedUi = require("@buoy-gg/shared-ui");
8
8
  var _QueryStatus = _interopRequireDefault(require("./QueryStatus"));
9
9
  var _useQueryStatusCounts = require("../../hooks/useQueryStatusCounts");
10
- var _react = require("react");
11
10
  var _jsxRuntime = require("react/jsx-runtime");
12
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
12
  /**
@@ -25,96 +24,61 @@ const MutationStatusCount = ({
25
24
  error,
26
25
  paused
27
26
  } = (0, _useQueryStatusCounts.useMutationStatusCounts)();
28
- const [isScrolling, setIsScrolling] = (0, _react.useState)(false);
29
- const touchStartX = (0, _react.useRef)(0);
30
- const touchStartY = (0, _react.useRef)(0);
27
+ const {
28
+ scrollProps,
29
+ onTouchStart: handleTouchStart,
30
+ isTap
31
+ } = (0, _sharedUi.useChipTap)();
31
32
  const handleFilterClick = (filter, event) => {
32
- if (event) {
33
- const dx = Math.abs(event.nativeEvent.pageX - touchStartX.current);
34
- const dy = Math.abs(event.nativeEvent.pageY - touchStartY.current);
35
- if (dx > 5 || dy > 5 || isScrolling) {
36
- return;
37
- }
38
- }
33
+ if (!isTap(event)) return;
39
34
  if (onFilterChange) {
40
35
  onFilterChange(activeFilter === filter ? null : filter);
41
36
  }
42
37
  };
43
- const handleTouchStart = event => {
44
- touchStartX.current = event.nativeEvent.pageX;
45
- touchStartY.current = event.nativeEvent.pageY;
46
- };
47
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
48
- style: styles.mutationStatusContainer,
49
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
50
- "sentry-label": "ignore devtools mutation status count scroll",
51
- horizontal: true,
52
- showsHorizontalScrollIndicator: false,
53
- style: styles.scrollView,
54
- contentContainerStyle: styles.scrollContent,
55
- onScrollBeginDrag: () => setIsScrolling(true),
56
- onScrollEndDrag: () => setTimeout(() => setIsScrolling(false), 300),
57
- onMomentumScrollBegin: () => setIsScrolling(true),
58
- onMomentumScrollEnd: () => setTimeout(() => setIsScrolling(false), 300),
59
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_QueryStatus.default, {
60
- label: "Pending",
61
- color: "blue",
62
- count: pending,
63
- isActive: activeFilter === "pending",
64
- onPress: event => handleFilterClick("pending", event),
65
- onTouchStart: handleTouchStart,
66
- testID: "buoy-rq-mstatus-pending",
67
- showLabel: true,
68
- size: size
69
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_QueryStatus.default, {
70
- label: "Success",
71
- color: "green",
72
- count: success,
73
- isActive: activeFilter === "success",
74
- onPress: event => handleFilterClick("success", event),
75
- onTouchStart: handleTouchStart,
76
- testID: "buoy-rq-mstatus-success",
77
- showLabel: true,
78
- size: size
79
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_QueryStatus.default, {
80
- label: "Error",
81
- color: "red",
82
- count: error,
83
- isActive: activeFilter === "error",
84
- onPress: event => handleFilterClick("error", event),
85
- onTouchStart: handleTouchStart,
86
- testID: "buoy-rq-mstatus-error",
87
- showLabel: true,
88
- size: size
89
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_QueryStatus.default, {
90
- label: "Paused",
91
- color: "purple",
92
- count: paused,
93
- isActive: activeFilter === "paused",
94
- onPress: event => handleFilterClick("paused", event),
95
- onTouchStart: handleTouchStart,
96
- testID: "buoy-rq-mstatus-paused",
97
- showLabel: true,
98
- size: size
99
- })]
100
- })
38
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_sharedUi.ChipStrip, {
39
+ scrollProps: scrollProps,
40
+ sentryLabel: "ignore devtools mutation status count scroll",
41
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_QueryStatus.default, {
42
+ label: "Pending",
43
+ color: "blue",
44
+ count: pending,
45
+ isActive: activeFilter === "pending",
46
+ onPress: event => handleFilterClick("pending", event),
47
+ onTouchStart: handleTouchStart,
48
+ testID: "buoy-rq-mstatus-pending",
49
+ showLabel: true,
50
+ size: size
51
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_QueryStatus.default, {
52
+ label: "Success",
53
+ color: "green",
54
+ count: success,
55
+ isActive: activeFilter === "success",
56
+ onPress: event => handleFilterClick("success", event),
57
+ onTouchStart: handleTouchStart,
58
+ testID: "buoy-rq-mstatus-success",
59
+ showLabel: true,
60
+ size: size
61
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_QueryStatus.default, {
62
+ label: "Error",
63
+ color: "red",
64
+ count: error,
65
+ isActive: activeFilter === "error",
66
+ onPress: event => handleFilterClick("error", event),
67
+ onTouchStart: handleTouchStart,
68
+ testID: "buoy-rq-mstatus-error",
69
+ showLabel: true,
70
+ size: size
71
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_QueryStatus.default, {
72
+ label: "Paused",
73
+ color: "purple",
74
+ count: paused,
75
+ isActive: activeFilter === "paused",
76
+ onPress: event => handleFilterClick("paused", event),
77
+ onTouchStart: handleTouchStart,
78
+ testID: "buoy-rq-mstatus-paused",
79
+ showLabel: true,
80
+ size: size
81
+ })]
101
82
  });
102
83
  };
103
- const styles = _reactNative.StyleSheet.create({
104
- mutationStatusContainer: {
105
- flex: 1,
106
- minWidth: 0
107
- },
108
- scrollView: {
109
- flex: 1
110
- },
111
- scrollContent: {
112
- flexDirection: "row",
113
- alignItems: "center",
114
- gap: 8,
115
- paddingHorizontal: 4,
116
- paddingVertical: 4,
117
- flexGrow: 1
118
- }
119
- });
120
84
  var _default = exports.default = MutationStatusCount;
@@ -214,7 +214,7 @@ const styles = _reactNative.StyleSheet.create({
214
214
  color: _sharedUi.night.color.textTertiary,
215
215
  fontSize: 14,
216
216
  textAlign: "center",
217
- fontFamily: "monospace",
217
+ fontFamily: _sharedUi.monoFont,
218
218
  letterSpacing: 0.5
219
219
  }
220
220
  });
@@ -131,17 +131,8 @@ function QueryBrowser({
131
131
  isSelected: selectedQuery?.queryHash === query.queryHash,
132
132
  onSelect: handleQuerySelect
133
133
  }),
134
- showsVerticalScrollIndicator: true
135
- // Clipped cells fail Detox's hittability check even when they are on
136
- // screen, so e2e bundles (Metro with EXPO_PUBLIC_E2E=1) turn clipping
137
- // off. Inlined at bundle time; a non-inlining bundler keeps prod
138
- // behavior.
139
- ,
140
- removeClippedSubviews: !(typeof process !== "undefined" && process.env?.EXPO_PUBLIC_E2E),
141
- initialNumToRender: 12,
142
- maxToRenderPerBatch: 8,
143
- windowSize: 5,
144
- updateCellsBatchingPeriod: 50
134
+ showsVerticalScrollIndicator: true,
135
+ ..._sharedUi.EVENT_LIST_PRESET
145
136
  })
146
137
  );
147
138
  }
@@ -184,7 +175,7 @@ const styles = _reactNative.StyleSheet.create({
184
175
  color: _sharedUi.night.color.textTertiary,
185
176
  fontSize: 14,
186
177
  textAlign: "center",
187
- fontFamily: "monospace",
178
+ fontFamily: _sharedUi.monoFont,
188
179
  letterSpacing: 0.5
189
180
  }
190
181
  });
@@ -95,7 +95,7 @@ const styles = _reactNative.StyleSheet.create({
95
95
  borderBottomColor: _sharedUi.night.color.accent + "33",
96
96
  letterSpacing: 0.5,
97
97
  textTransform: "uppercase",
98
- fontFamily: "monospace"
98
+ fontFamily: _sharedUi.monoFont
99
99
  },
100
100
  row: {
101
101
  flexDirection: "row",
@@ -113,7 +113,7 @@ const styles = _reactNative.StyleSheet.create({
113
113
  queryKeyText: {
114
114
  fontSize: 12,
115
115
  color: _sharedUi.night.color.text,
116
- fontFamily: "monospace",
116
+ fontFamily: _sharedUi.monoFont,
117
117
  lineHeight: 18,
118
118
  flexShrink: 1,
119
119
  backgroundColor: _sharedUi.night.color.accent + "15",
@@ -129,13 +129,13 @@ const styles = _reactNative.StyleSheet.create({
129
129
  fontWeight: "600",
130
130
  letterSpacing: 0.5,
131
131
  textTransform: "uppercase",
132
- fontFamily: "monospace"
132
+ fontFamily: _sharedUi.monoFont
133
133
  },
134
134
  valueText: {
135
135
  fontSize: 12,
136
136
  color: _sharedUi.night.color.text,
137
137
  fontWeight: "500",
138
138
  fontVariant: ["tabular-nums"],
139
- fontFamily: "monospace"
139
+ fontFamily: _sharedUi.monoFont
140
140
  }
141
141
  });
@@ -73,6 +73,6 @@ const styles = _reactNative.StyleSheet.create({
73
73
  fontWeight: "600",
74
74
  textTransform: "uppercase",
75
75
  letterSpacing: 0.5,
76
- fontFamily: "monospace"
76
+ fontFamily: _sharedUi.monoFont
77
77
  }
78
78
  });