@buoy-gg/storage 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/preset.js +8 -22
- package/lib/commonjs/storage/components/DiffViewer/DiffOptionsPanel.js +10 -10
- package/lib/commonjs/storage/components/DiffViewer/components/DiffSummary.js +4 -3
- package/lib/commonjs/storage/components/GameUIStorageBrowser.js +5 -5
- package/lib/commonjs/storage/components/MMKVInstanceInfoPanel.js +1 -1
- package/lib/commonjs/storage/components/MMKVInstanceSelector.js +2 -2
- package/lib/commonjs/storage/components/SelectionActionBar.js +1 -1
- package/lib/commonjs/storage/components/StorageActionButtons.js +1 -1
- package/lib/commonjs/storage/components/StorageEventActionButton.js +1 -1
- package/lib/commonjs/storage/components/StorageEventDetailContent.js +2 -2
- package/lib/commonjs/storage/components/StorageFilterCards.js +1 -1
- package/lib/commonjs/storage/components/StorageKeyCard.js +4 -4
- package/lib/commonjs/storage/components/StorageKeyDetailScreen.js +8 -8
- package/lib/commonjs/storage/components/StorageKeyEditorScreen.js +3 -3
- package/lib/commonjs/storage/components/StorageKeyRow.js +6 -6
- package/lib/commonjs/storage/components/StorageModalWithTabs.js +45 -147
- package/lib/commonjs/storage/components/StorageTypeFilterBar.js +1 -1
- package/lib/commonjs/storage/hooks/useStorageEvents.js +15 -52
- package/lib/commonjs/storage/utils/snapshotProvider.js +37 -100
- package/lib/module/preset.js +7 -20
- package/lib/module/storage/components/DiffViewer/DiffOptionsPanel.js +11 -11
- package/lib/module/storage/components/DiffViewer/components/DiffSummary.js +4 -3
- package/lib/module/storage/components/GameUIStorageBrowser.js +6 -6
- package/lib/module/storage/components/MMKVInstanceInfoPanel.js +2 -2
- package/lib/module/storage/components/MMKVInstanceSelector.js +3 -3
- package/lib/module/storage/components/SelectionActionBar.js +2 -2
- package/lib/module/storage/components/StorageActionButtons.js +2 -2
- package/lib/module/storage/components/StorageEventActionButton.js +2 -2
- package/lib/module/storage/components/StorageEventDetailContent.js +3 -3
- package/lib/module/storage/components/StorageFilterCards.js +2 -2
- package/lib/module/storage/components/StorageKeyCard.js +5 -5
- package/lib/module/storage/components/StorageKeyDetailScreen.js +9 -9
- package/lib/module/storage/components/StorageKeyEditorScreen.js +4 -4
- package/lib/module/storage/components/StorageKeyRow.js +7 -7
- package/lib/module/storage/components/StorageModalWithTabs.js +46 -148
- package/lib/module/storage/components/StorageTypeFilterBar.js +2 -2
- package/lib/module/storage/hooks/useStorageEvents.js +16 -53
- package/lib/module/storage/utils/snapshotProvider.js +38 -101
- package/lib/typescript/preset.d.ts +2 -8
- package/lib/typescript/preset.d.ts.map +1 -1
- package/lib/typescript/storage/components/DiffViewer/DiffOptionsPanel.d.ts.map +1 -1
- package/lib/typescript/storage/components/DiffViewer/components/DiffSummary.d.ts.map +1 -1
- package/lib/typescript/storage/components/StorageEventDetailContent.d.ts.map +1 -1
- package/lib/typescript/storage/components/StorageKeyCard.d.ts.map +1 -1
- package/lib/typescript/storage/components/StorageKeyDetailScreen.d.ts.map +1 -1
- package/lib/typescript/storage/components/StorageKeyEditorScreen.d.ts.map +1 -1
- package/lib/typescript/storage/components/StorageModalWithTabs.d.ts.map +1 -1
- package/lib/typescript/storage/hooks/useStorageEvents.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { View, Text, StyleSheet, TouchableOpacity, Switch } from "react-native";
|
|
4
|
-
import { night, Settings, Hash, FileText, Filter } from "@buoy-gg/shared-ui";
|
|
4
|
+
import { night, Settings, Hash, FileText, Filter, monoFont } from "@buoy-gg/shared-ui";
|
|
5
5
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
const COMPARE_METHODS = [{
|
|
7
7
|
id: "chars",
|
|
@@ -208,13 +208,13 @@ const styles = StyleSheet.create({
|
|
|
208
208
|
fontSize: 10,
|
|
209
209
|
fontWeight: "600",
|
|
210
210
|
color: night.color.accent,
|
|
211
|
-
fontFamily:
|
|
211
|
+
fontFamily: monoFont,
|
|
212
212
|
flex: 1
|
|
213
213
|
},
|
|
214
214
|
toggleIndicator: {
|
|
215
215
|
fontSize: 8,
|
|
216
216
|
color: night.color.textTertiary,
|
|
217
|
-
fontFamily:
|
|
217
|
+
fontFamily: monoFont
|
|
218
218
|
},
|
|
219
219
|
optionsContent: {
|
|
220
220
|
marginTop: 8,
|
|
@@ -230,7 +230,7 @@ const styles = StyleSheet.create({
|
|
|
230
230
|
fontSize: 9,
|
|
231
231
|
fontWeight: "700",
|
|
232
232
|
color: night.color.accent,
|
|
233
|
-
fontFamily:
|
|
233
|
+
fontFamily: monoFont,
|
|
234
234
|
letterSpacing: 0.5,
|
|
235
235
|
marginBottom: 4
|
|
236
236
|
},
|
|
@@ -251,12 +251,12 @@ const styles = StyleSheet.create({
|
|
|
251
251
|
optionLabel: {
|
|
252
252
|
fontSize: 11,
|
|
253
253
|
color: night.color.text,
|
|
254
|
-
fontFamily:
|
|
254
|
+
fontFamily: monoFont
|
|
255
255
|
},
|
|
256
256
|
optionDescription: {
|
|
257
257
|
fontSize: 9,
|
|
258
258
|
color: night.color.textTertiary,
|
|
259
|
-
fontFamily:
|
|
259
|
+
fontFamily: monoFont,
|
|
260
260
|
marginTop: 4,
|
|
261
261
|
marginLeft: 19,
|
|
262
262
|
lineHeight: 12
|
|
@@ -287,7 +287,7 @@ const styles = StyleSheet.create({
|
|
|
287
287
|
},
|
|
288
288
|
methodButtonText: {
|
|
289
289
|
fontSize: 9,
|
|
290
|
-
fontFamily:
|
|
290
|
+
fontFamily: monoFont,
|
|
291
291
|
color: night.color.textTertiary,
|
|
292
292
|
fontWeight: "600"
|
|
293
293
|
},
|
|
@@ -297,7 +297,7 @@ const styles = StyleSheet.create({
|
|
|
297
297
|
methodDescription: {
|
|
298
298
|
fontSize: 9,
|
|
299
299
|
color: night.color.textTertiary,
|
|
300
|
-
fontFamily:
|
|
300
|
+
fontFamily: monoFont,
|
|
301
301
|
marginTop: 8,
|
|
302
302
|
lineHeight: 12
|
|
303
303
|
},
|
|
@@ -321,7 +321,7 @@ const styles = StyleSheet.create({
|
|
|
321
321
|
},
|
|
322
322
|
contextButtonText: {
|
|
323
323
|
fontSize: 10,
|
|
324
|
-
fontFamily:
|
|
324
|
+
fontFamily: monoFont,
|
|
325
325
|
color: night.color.textTertiary,
|
|
326
326
|
fontWeight: "600"
|
|
327
327
|
},
|
|
@@ -331,7 +331,7 @@ const styles = StyleSheet.create({
|
|
|
331
331
|
contextDescription: {
|
|
332
332
|
fontSize: 9,
|
|
333
333
|
color: night.color.textTertiary,
|
|
334
|
-
fontFamily:
|
|
334
|
+
fontFamily: monoFont,
|
|
335
335
|
marginTop: 8,
|
|
336
336
|
lineHeight: 12
|
|
337
337
|
},
|
|
@@ -345,7 +345,7 @@ const styles = StyleSheet.create({
|
|
|
345
345
|
},
|
|
346
346
|
activeIndicatorText: {
|
|
347
347
|
fontSize: 8,
|
|
348
|
-
fontFamily:
|
|
348
|
+
fontFamily: monoFont,
|
|
349
349
|
color: night.color.warning,
|
|
350
350
|
fontWeight: "600"
|
|
351
351
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { View, Text, StyleSheet } from "react-native";
|
|
4
|
+
import { monoFont } from "@buoy-gg/shared-ui";
|
|
4
5
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
6
|
export function DiffSummary({
|
|
6
7
|
added,
|
|
@@ -101,17 +102,17 @@ const styles = StyleSheet.create({
|
|
|
101
102
|
},
|
|
102
103
|
icon: {
|
|
103
104
|
fontSize: 11,
|
|
104
|
-
fontFamily:
|
|
105
|
+
fontFamily: monoFont,
|
|
105
106
|
fontWeight: "700"
|
|
106
107
|
},
|
|
107
108
|
count: {
|
|
108
109
|
fontSize: 10,
|
|
109
|
-
fontFamily:
|
|
110
|
+
fontFamily: monoFont,
|
|
110
111
|
fontWeight: "600"
|
|
111
112
|
},
|
|
112
113
|
label: {
|
|
113
114
|
fontSize: 9,
|
|
114
|
-
fontFamily:
|
|
115
|
+
fontFamily: monoFont,
|
|
115
116
|
opacity: 0.9
|
|
116
117
|
}
|
|
117
118
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { useMemo, useCallback, useState, useEffect, useRef } from "react";
|
|
4
4
|
import { StyleSheet, Text, View, TouchableOpacity, ScrollView, Alert } from "react-native";
|
|
5
|
-
import { absoluteFill, useLimit, TIER_LIMITS } from "@buoy-gg/shared-ui";
|
|
5
|
+
import { absoluteFill, useLimit, TIER_LIMITS, monoFont } from "@buoy-gg/shared-ui";
|
|
6
6
|
import { Database, Zap, ProBadge, ProUpgradeModal, ToolEmptyState, resolveListEmptyState } from "@buoy-gg/shared-ui";
|
|
7
7
|
import { isDevToolsStorageKey } from "@buoy-gg/shared-ui";
|
|
8
8
|
import { StorageKeySection, storageRowId } from "./StorageKeySection";
|
|
@@ -1028,7 +1028,7 @@ const styles = StyleSheet.create({
|
|
|
1028
1028
|
techFooter: {
|
|
1029
1029
|
fontSize: 8,
|
|
1030
1030
|
color: night.color.textTertiary,
|
|
1031
|
-
fontFamily:
|
|
1031
|
+
fontFamily: monoFont,
|
|
1032
1032
|
textAlign: "center",
|
|
1033
1033
|
marginTop: 20,
|
|
1034
1034
|
letterSpacing: 1,
|
|
@@ -1076,7 +1076,7 @@ const styles = StyleSheet.create({
|
|
|
1076
1076
|
fontSize: 11,
|
|
1077
1077
|
fontWeight: "600",
|
|
1078
1078
|
color: night.color.text,
|
|
1079
|
-
fontFamily:
|
|
1079
|
+
fontFamily: monoFont
|
|
1080
1080
|
},
|
|
1081
1081
|
// Empty state
|
|
1082
1082
|
emptyState: {
|
|
@@ -1120,7 +1120,7 @@ const styles = StyleSheet.create({
|
|
|
1120
1120
|
},
|
|
1121
1121
|
emptyMMKVCode: {
|
|
1122
1122
|
fontSize: 10,
|
|
1123
|
-
fontFamily:
|
|
1123
|
+
fontFamily: monoFont,
|
|
1124
1124
|
color: night.color.accent,
|
|
1125
1125
|
backgroundColor: night.color.bg,
|
|
1126
1126
|
padding: 12,
|
|
@@ -1190,7 +1190,7 @@ const styles = StyleSheet.create({
|
|
|
1190
1190
|
fontSize: 11,
|
|
1191
1191
|
fontWeight: '600',
|
|
1192
1192
|
color: night.color.textSecondary,
|
|
1193
|
-
fontFamily:
|
|
1193
|
+
fontFamily: monoFont,
|
|
1194
1194
|
flex: 1
|
|
1195
1195
|
},
|
|
1196
1196
|
instanceNavbarButtonTextActive: {
|
|
@@ -1209,7 +1209,7 @@ const styles = StyleSheet.create({
|
|
|
1209
1209
|
fontSize: 10,
|
|
1210
1210
|
fontWeight: '700',
|
|
1211
1211
|
color: night.color.textSecondary,
|
|
1212
|
-
fontFamily:
|
|
1212
|
+
fontFamily: monoFont
|
|
1213
1213
|
},
|
|
1214
1214
|
clearSearchButton: {
|
|
1215
1215
|
marginTop: 16,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { View, Text, StyleSheet } from 'react-native';
|
|
17
|
-
import { macOSColors, night } from '@buoy-gg/shared-ui';
|
|
17
|
+
import { macOSColors, night, monoFont } from '@buoy-gg/shared-ui';
|
|
18
18
|
import { useMMKVInstance } from '../hooks/useMMKVInstances';
|
|
19
19
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
20
20
|
/**
|
|
@@ -219,7 +219,7 @@ const styles = StyleSheet.create({
|
|
|
219
219
|
color: night.color.accent
|
|
220
220
|
},
|
|
221
221
|
monoValue: {
|
|
222
|
-
fontFamily:
|
|
222
|
+
fontFamily: monoFont
|
|
223
223
|
},
|
|
224
224
|
// Notices
|
|
225
225
|
notice: {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
import { useState } from 'react';
|
|
13
13
|
import { View, Text, StyleSheet, TouchableOpacity, ScrollView, Modal } from 'react-native';
|
|
14
|
-
import { macOSColors, night } from '@buoy-gg/shared-ui';
|
|
14
|
+
import { macOSColors, night, monoFont } from '@buoy-gg/shared-ui';
|
|
15
15
|
import { useMMKVInstances } from '../hooks/useMMKVInstances';
|
|
16
16
|
import { isMMKVAvailable, getMMKVUnavailableMessage } from '../utils/mmkvAvailability';
|
|
17
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -366,7 +366,7 @@ const styles = StyleSheet.create({
|
|
|
366
366
|
fontSize: 13,
|
|
367
367
|
fontWeight: '500',
|
|
368
368
|
color: night.color.text,
|
|
369
|
-
fontFamily:
|
|
369
|
+
fontFamily: monoFont
|
|
370
370
|
},
|
|
371
371
|
instanceIdSelected: {
|
|
372
372
|
fontWeight: '600',
|
|
@@ -403,7 +403,7 @@ const styles = StyleSheet.create({
|
|
|
403
403
|
fontSize: 16,
|
|
404
404
|
fontWeight: '600',
|
|
405
405
|
color: night.color.text,
|
|
406
|
-
fontFamily:
|
|
406
|
+
fontFamily: monoFont
|
|
407
407
|
},
|
|
408
408
|
keyCountLabel: {
|
|
409
409
|
fontSize: 9,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
import { View, Text, StyleSheet, TouchableOpacity, Alert } from "react-native";
|
|
5
|
-
import { Trash2, CopyButton, CheckSquare, EyeOff, ProUpgradeModal } from "@buoy-gg/shared-ui";
|
|
5
|
+
import { Trash2, CopyButton, CheckSquare, EyeOff, ProUpgradeModal, monoFont } from "@buoy-gg/shared-ui";
|
|
6
6
|
import { macOSColors, night } from "@buoy-gg/shared-ui";
|
|
7
7
|
import { useIsPro } from "@buoy-gg/license";
|
|
8
8
|
import { deleteStorageKeys } from "../utils/deleteStorageKeys";
|
|
@@ -184,7 +184,7 @@ const styles = StyleSheet.create({
|
|
|
184
184
|
fontSize: 11,
|
|
185
185
|
fontWeight: "700",
|
|
186
186
|
color: night.color.accent,
|
|
187
|
-
fontFamily:
|
|
187
|
+
fontFamily: monoFont
|
|
188
188
|
},
|
|
189
189
|
actionsSection: {
|
|
190
190
|
flexDirection: "row",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
import { View, Text, StyleSheet, TouchableOpacity, Alert } from "react-native";
|
|
5
|
-
import { Trash2, CopyButton, SquareDashed, X, ProUpgradeModal } from "@buoy-gg/shared-ui";
|
|
5
|
+
import { Trash2, CopyButton, SquareDashed, X, ProUpgradeModal, monoFont } from "@buoy-gg/shared-ui";
|
|
6
6
|
import { macOSColors, night } from "@buoy-gg/shared-ui";
|
|
7
7
|
import { useIsPro } from "@buoy-gg/license";
|
|
8
8
|
import AsyncStorage from "@react-native-async-storage/async-storage";
|
|
@@ -232,6 +232,6 @@ const styles = StyleSheet.create({
|
|
|
232
232
|
fontSize: 10,
|
|
233
233
|
fontWeight: "700",
|
|
234
234
|
color: night.color.accent,
|
|
235
|
-
fontFamily:
|
|
235
|
+
fontFamily: monoFont
|
|
236
236
|
}
|
|
237
237
|
});
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { TouchableOpacity, Text, View, StyleSheet } from "react-native";
|
|
11
|
-
import { night, Lock } from "@buoy-gg/shared-ui";
|
|
11
|
+
import { night, Lock, monoFont } from "@buoy-gg/shared-ui";
|
|
12
12
|
|
|
13
13
|
// Button color configurations matching Redux/React Query pattern
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -112,7 +112,7 @@ const styles = StyleSheet.create({
|
|
|
112
112
|
fontWeight: "600",
|
|
113
113
|
letterSpacing: 0.5,
|
|
114
114
|
textTransform: "uppercase",
|
|
115
|
-
fontFamily:
|
|
115
|
+
fontFamily: monoFont,
|
|
116
116
|
height: 12
|
|
117
117
|
}
|
|
118
118
|
});
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { View, Text, StyleSheet } from "react-native";
|
|
10
10
|
import { useState, useCallback, useMemo, useEffect, useRef } from "react";
|
|
11
11
|
import AsyncStorage from "@react-native-async-storage/async-storage";
|
|
12
|
-
import { formatRelativeTime, macOSColors, night, parseValue, devToolsStorageKeys, GitBranch, EventStepperFooter, EventHistoryViewer, copyToClipboard, ProUpgradeModal } from "@buoy-gg/shared-ui";
|
|
12
|
+
import { formatRelativeTime, macOSColors, night, parseValue, devToolsStorageKeys, GitBranch, EventStepperFooter, EventHistoryViewer, copyToClipboard, ProUpgradeModal, monoFont } from "@buoy-gg/shared-ui";
|
|
13
13
|
import { useIsPro } from "@buoy-gg/license";
|
|
14
14
|
import { ABSENT_VALUE } from "../utils/lineDiff";
|
|
15
15
|
import { ThemedSplitView } from "./DiffViewer/modes/ThemedSplitView";
|
|
@@ -473,7 +473,7 @@ const styles = StyleSheet.create({
|
|
|
473
473
|
valueText: {
|
|
474
474
|
fontSize: 12,
|
|
475
475
|
color: night.color.text,
|
|
476
|
-
fontFamily:
|
|
476
|
+
fontFamily: monoFont,
|
|
477
477
|
lineHeight: 18
|
|
478
478
|
},
|
|
479
479
|
// Action badges for compare bar
|
|
@@ -485,6 +485,6 @@ const styles = StyleSheet.create({
|
|
|
485
485
|
actionTextSmall: {
|
|
486
486
|
fontSize: 8,
|
|
487
487
|
fontWeight: "700",
|
|
488
|
-
fontFamily:
|
|
488
|
+
fontFamily: monoFont
|
|
489
489
|
}
|
|
490
490
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { View, Text, StyleSheet, TouchableOpacity } from "react-native";
|
|
4
4
|
import { StorageTypeFilterBar } from "./StorageTypeFilterBar";
|
|
5
|
-
import { macOSColors, night } from "@buoy-gg/shared-ui";
|
|
5
|
+
import { macOSColors, night, monoFont } from "@buoy-gg/shared-ui";
|
|
6
6
|
import { isMMKVAvailable } from "../utils/mmkvAvailability";
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
// Feature flags - set to true when implemented
|
|
@@ -221,7 +221,7 @@ const styles = StyleSheet.create({
|
|
|
221
221
|
filterValue: {
|
|
222
222
|
fontSize: 18,
|
|
223
223
|
fontWeight: "600",
|
|
224
|
-
fontFamily:
|
|
224
|
+
fontFamily: monoFont,
|
|
225
225
|
lineHeight: 20
|
|
226
226
|
}
|
|
227
227
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { View, Text, StyleSheet, TouchableOpacity } from "react-native";
|
|
4
|
-
import { AlertCircle, CheckCircle2, Eye, XCircle, HardDrive, Database, Shield, gameUIColors, macOSColors, night } from "@buoy-gg/shared-ui";
|
|
4
|
+
import { AlertCircle, CheckCircle2, Eye, XCircle, HardDrive, Database, Shield, gameUIColors, macOSColors, night, monoFont } from "@buoy-gg/shared-ui";
|
|
5
5
|
import { getStorageTypeLabel, getStorageTypeHexColor } from "../utils/storageQueryUtils";
|
|
6
6
|
import { getValueTypeLabel } from "../utils/valueType";
|
|
7
7
|
import { DataViewer } from "@buoy-gg/shared-ui/dataViewer";
|
|
@@ -396,7 +396,7 @@ const styles = StyleSheet.create({
|
|
|
396
396
|
instanceText: {
|
|
397
397
|
fontSize: 9,
|
|
398
398
|
fontWeight: "700",
|
|
399
|
-
fontFamily:
|
|
399
|
+
fontFamily: monoFont,
|
|
400
400
|
letterSpacing: 0.3
|
|
401
401
|
},
|
|
402
402
|
valueBadge: {
|
|
@@ -447,7 +447,7 @@ const styles = StyleSheet.create({
|
|
|
447
447
|
simpleValueContent: {
|
|
448
448
|
color: gameUIColors.success,
|
|
449
449
|
fontSize: 12,
|
|
450
|
-
fontFamily:
|
|
450
|
+
fontFamily: monoFont,
|
|
451
451
|
lineHeight: 16
|
|
452
452
|
},
|
|
453
453
|
valueTypeText: {
|
|
@@ -475,7 +475,7 @@ const styles = StyleSheet.create({
|
|
|
475
475
|
valueContent: {
|
|
476
476
|
color: night.color.text,
|
|
477
477
|
fontSize: 10,
|
|
478
|
-
fontFamily:
|
|
478
|
+
fontFamily: monoFont,
|
|
479
479
|
lineHeight: 14
|
|
480
480
|
},
|
|
481
481
|
expectedValueBox: {
|
|
@@ -488,7 +488,7 @@ const styles = StyleSheet.create({
|
|
|
488
488
|
expectedValueContent: {
|
|
489
489
|
color: night.color.text,
|
|
490
490
|
fontSize: 10,
|
|
491
|
-
fontFamily:
|
|
491
|
+
fontFamily: monoFont,
|
|
492
492
|
lineHeight: 14
|
|
493
493
|
},
|
|
494
494
|
emptyValueContainer: {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
import { useCallback, useMemo, useRef, useState } from "react";
|
|
31
31
|
import { Alert, ScrollView, StyleSheet, Text, TouchableOpacity, View } from "react-native";
|
|
32
|
-
import { EyeOff, FileJson, HardDrive, night, macOSColors, Pin, PillBadge, Trash2, TypeBadge, useSafeAreaInsets } from "@buoy-gg/shared-ui";
|
|
32
|
+
import { EyeOff, FileJson, HardDrive, night, macOSColors, Pin, PillBadge, Trash2, TypeBadge, useSafeAreaInsets, monoFont } from "@buoy-gg/shared-ui";
|
|
33
33
|
import { DataViewer, LiveExplorer, ValueEditModal, updateNestedDataByPath, deleteNestedDataByPath } from "@buoy-gg/shared-ui/dataViewer";
|
|
34
34
|
import { getStorageTypeLabel } from "../utils/storageQueryUtils";
|
|
35
35
|
import { getValueTypeLabel, parseStorageValue } from "../utils/valueType";
|
|
@@ -436,7 +436,7 @@ const styles = StyleSheet.create({
|
|
|
436
436
|
color: night.color.accent,
|
|
437
437
|
letterSpacing: 0.5,
|
|
438
438
|
textTransform: "uppercase",
|
|
439
|
-
fontFamily:
|
|
439
|
+
fontFamily: monoFont
|
|
440
440
|
},
|
|
441
441
|
rawButton: {
|
|
442
442
|
flexDirection: "row",
|
|
@@ -483,7 +483,7 @@ const styles = StyleSheet.create({
|
|
|
483
483
|
borderBottomColor: night.color.border,
|
|
484
484
|
letterSpacing: 0.5,
|
|
485
485
|
textTransform: "uppercase",
|
|
486
|
-
fontFamily:
|
|
486
|
+
fontFamily: monoFont
|
|
487
487
|
},
|
|
488
488
|
infoBody: {
|
|
489
489
|
padding: 12,
|
|
@@ -499,17 +499,17 @@ const styles = StyleSheet.create({
|
|
|
499
499
|
color: night.color.textTertiary,
|
|
500
500
|
fontWeight: "600",
|
|
501
501
|
minWidth: 64,
|
|
502
|
-
fontFamily:
|
|
502
|
+
fontFamily: monoFont
|
|
503
503
|
},
|
|
504
504
|
infoDim: {
|
|
505
505
|
color: night.color.textTertiary,
|
|
506
506
|
fontSize: 10,
|
|
507
|
-
fontFamily:
|
|
507
|
+
fontFamily: monoFont
|
|
508
508
|
},
|
|
509
509
|
infoExpected: {
|
|
510
510
|
fontSize: 11,
|
|
511
511
|
color: macOSColors.semantic.warning,
|
|
512
|
-
fontFamily:
|
|
512
|
+
fontFamily: monoFont,
|
|
513
513
|
flex: 1
|
|
514
514
|
},
|
|
515
515
|
infoDescription: {
|
|
@@ -520,7 +520,7 @@ const styles = StyleSheet.create({
|
|
|
520
520
|
rawValueText: {
|
|
521
521
|
color: night.color.textSecondary,
|
|
522
522
|
fontSize: 11,
|
|
523
|
-
fontFamily:
|
|
523
|
+
fontFamily: monoFont,
|
|
524
524
|
lineHeight: 16,
|
|
525
525
|
padding: 12
|
|
526
526
|
},
|
|
@@ -534,7 +534,7 @@ const styles = StyleSheet.create({
|
|
|
534
534
|
inlineLinkText: {
|
|
535
535
|
fontSize: 10,
|
|
536
536
|
fontWeight: "600",
|
|
537
|
-
fontFamily:
|
|
537
|
+
fontFamily: monoFont,
|
|
538
538
|
color: night.color.accent
|
|
539
539
|
},
|
|
540
540
|
actionRow: {
|
|
@@ -565,6 +565,6 @@ const styles = StyleSheet.create({
|
|
|
565
565
|
actionChipText: {
|
|
566
566
|
fontSize: 11,
|
|
567
567
|
fontWeight: "600",
|
|
568
|
-
fontFamily:
|
|
568
|
+
fontFamily: monoFont
|
|
569
569
|
}
|
|
570
570
|
});
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import { useMemo } from "react";
|
|
21
21
|
import { Alert, ScrollView, StyleSheet, Text, TouchableOpacity, View } from "react-native";
|
|
22
|
-
import { macOSColors, night, FileJson, PillBadge, ToolBackground, useSafeAreaInsets, X } from "@buoy-gg/shared-ui";
|
|
22
|
+
import { macOSColors, night, FileJson, PillBadge, ToolBackground, useSafeAreaInsets, X, monoFont } from "@buoy-gg/shared-ui";
|
|
23
23
|
import { DataViewer, DataTreeActionDock, getAtPath } from "@buoy-gg/shared-ui/dataViewer";
|
|
24
24
|
import { useKeyEditor } from "../hooks/useKeyEditor";
|
|
25
25
|
import { StorageValueEditModal } from "./StorageValueEditModal";
|
|
@@ -319,7 +319,7 @@ const styles = StyleSheet.create({
|
|
|
319
319
|
color: night.color.text,
|
|
320
320
|
fontSize: 13,
|
|
321
321
|
fontWeight: "600",
|
|
322
|
-
fontFamily:
|
|
322
|
+
fontFamily: monoFont
|
|
323
323
|
},
|
|
324
324
|
headerState: {
|
|
325
325
|
color: night.color.textTertiary,
|
|
@@ -338,7 +338,7 @@ const styles = StyleSheet.create({
|
|
|
338
338
|
metaText: {
|
|
339
339
|
color: night.color.textTertiary,
|
|
340
340
|
fontSize: 11,
|
|
341
|
-
fontFamily:
|
|
341
|
+
fontFamily: monoFont
|
|
342
342
|
},
|
|
343
343
|
treeScroll: {
|
|
344
344
|
flex: 1
|
|
@@ -363,7 +363,7 @@ const styles = StyleSheet.create({
|
|
|
363
363
|
error: {
|
|
364
364
|
color: night.color.danger,
|
|
365
365
|
fontSize: 11,
|
|
366
|
-
fontFamily:
|
|
366
|
+
fontFamily: monoFont,
|
|
367
367
|
paddingHorizontal: 12,
|
|
368
368
|
paddingBottom: 6
|
|
369
369
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { memo } from "react";
|
|
4
4
|
import { View, Text, StyleSheet, TouchableOpacity } from "react-native";
|
|
5
|
-
import { macOSColors, night, CompactRow, TypeBadge, HardDrive, Square, CheckSquare, Edit3, EyeOff, Pin, Trash2, ExpandedInfoRow, PillBadge } from "@buoy-gg/shared-ui";
|
|
5
|
+
import { macOSColors, night, CompactRow, TypeBadge, HardDrive, Square, CheckSquare, Edit3, EyeOff, Pin, Trash2, ExpandedInfoRow, PillBadge, monoFont } from "@buoy-gg/shared-ui";
|
|
6
6
|
import { getStorageTypeLabel } from "../utils/storageQueryUtils";
|
|
7
7
|
import { getValueTypeLabel, getValueTypeWithPreview, parseStorageValue } from "../utils/valueType";
|
|
8
8
|
import { DataViewer } from "@buoy-gg/shared-ui/dataViewer";
|
|
@@ -432,18 +432,18 @@ const styles = StyleSheet.create({
|
|
|
432
432
|
color: night.color.textTertiary,
|
|
433
433
|
fontWeight: "600",
|
|
434
434
|
minWidth: 70,
|
|
435
|
-
fontFamily:
|
|
435
|
+
fontFamily: monoFont
|
|
436
436
|
},
|
|
437
437
|
expandedValue: {
|
|
438
438
|
fontSize: 11,
|
|
439
439
|
color: night.color.textSecondary,
|
|
440
|
-
fontFamily:
|
|
440
|
+
fontFamily: monoFont,
|
|
441
441
|
flex: 1
|
|
442
442
|
},
|
|
443
443
|
expandedExpected: {
|
|
444
444
|
fontSize: 11,
|
|
445
445
|
color: macOSColors.semantic.warning,
|
|
446
|
-
fontFamily:
|
|
446
|
+
fontFamily: monoFont,
|
|
447
447
|
flex: 1
|
|
448
448
|
},
|
|
449
449
|
expandedDescription: {
|
|
@@ -495,7 +495,7 @@ const styles = StyleSheet.create({
|
|
|
495
495
|
absCountText: {
|
|
496
496
|
fontSize: 9,
|
|
497
497
|
fontWeight: "700",
|
|
498
|
-
fontFamily:
|
|
498
|
+
fontFamily: monoFont
|
|
499
499
|
},
|
|
500
500
|
actionRow: {
|
|
501
501
|
flexDirection: "row",
|
|
@@ -540,7 +540,7 @@ const styles = StyleSheet.create({
|
|
|
540
540
|
actionChipText: {
|
|
541
541
|
fontSize: 11,
|
|
542
542
|
fontWeight: "600",
|
|
543
|
-
fontFamily:
|
|
543
|
+
fontFamily: monoFont
|
|
544
544
|
},
|
|
545
545
|
viewHistoryButton: {
|
|
546
546
|
marginLeft: 4
|
|
@@ -548,7 +548,7 @@ const styles = StyleSheet.create({
|
|
|
548
548
|
viewHistoryText: {
|
|
549
549
|
fontSize: 10,
|
|
550
550
|
fontWeight: "600",
|
|
551
|
-
fontFamily:
|
|
551
|
+
fontFamily: monoFont,
|
|
552
552
|
color: night.color.accent
|
|
553
553
|
}
|
|
554
554
|
});
|