@buoy-gg/storage 7.0.26 → 7.0.27
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/storage/components/DiffViewer/DiffOptionsPanel.js +36 -36
- package/lib/commonjs/storage/components/DiffViewer/TreeDiffViewer.js +2 -2
- package/lib/commonjs/storage/components/DiffViewer/themes/diffThemes.js +19 -108
- package/lib/commonjs/storage/components/GameUIStorageBrowser.js +45 -42
- package/lib/commonjs/storage/components/MMKVInstanceInfoPanel.js +9 -9
- package/lib/commonjs/storage/components/MMKVInstanceSelector.js +24 -24
- package/lib/commonjs/storage/components/SelectionActionBar.js +13 -13
- package/lib/commonjs/storage/components/StorageActionButtons.js +12 -12
- package/lib/commonjs/storage/components/StorageEventActionButton.js +18 -18
- package/lib/commonjs/storage/components/StorageEventDetailContent.js +7 -7
- package/lib/commonjs/storage/components/StorageEventFilterView.js +9 -9
- package/lib/commonjs/storage/components/StorageFilterCards.js +15 -15
- package/lib/commonjs/storage/components/StorageKeyCard.js +21 -21
- package/lib/commonjs/storage/components/StorageKeyEditorScreen.js +19 -18
- package/lib/commonjs/storage/components/StorageKeyRow.js +23 -21
- package/lib/commonjs/storage/components/StorageKeySection.js +3 -3
- package/lib/commonjs/storage/components/StorageKeyStats.js +10 -10
- package/lib/commonjs/storage/components/StorageModalWithTabs.js +19 -14
- package/lib/commonjs/storage/components/StorageTypeFilterBar.js +8 -8
- package/lib/commonjs/storage/components/StorageValueEditModal.js +19 -19
- package/lib/module/storage/components/DiffViewer/DiffOptionsPanel.js +37 -37
- package/lib/module/storage/components/DiffViewer/TreeDiffViewer.js +3 -3
- package/lib/module/storage/components/DiffViewer/themes/diffThemes.js +6 -105
- package/lib/module/storage/components/GameUIStorageBrowser.js +46 -43
- package/lib/module/storage/components/MMKVInstanceInfoPanel.js +10 -10
- package/lib/module/storage/components/MMKVInstanceSelector.js +25 -25
- package/lib/module/storage/components/SelectionActionBar.js +14 -14
- package/lib/module/storage/components/StorageActionButtons.js +13 -13
- package/lib/module/storage/components/StorageEventActionButton.js +19 -19
- package/lib/module/storage/components/StorageEventDetailContent.js +8 -8
- package/lib/module/storage/components/StorageEventFilterView.js +10 -10
- package/lib/module/storage/components/StorageFilterCards.js +16 -16
- package/lib/module/storage/components/StorageKeyCard.js +22 -22
- package/lib/module/storage/components/StorageKeyEditorScreen.js +20 -19
- package/lib/module/storage/components/StorageKeyRow.js +24 -22
- package/lib/module/storage/components/StorageKeySection.js +4 -4
- package/lib/module/storage/components/StorageKeyStats.js +11 -11
- package/lib/module/storage/components/StorageModalWithTabs.js +20 -15
- package/lib/module/storage/components/StorageTypeFilterBar.js +9 -9
- package/lib/module/storage/components/StorageValueEditModal.js +20 -20
- package/lib/typescript/storage/components/DiffViewer/DiffOptionsPanel.d.ts.map +1 -1
- package/lib/typescript/storage/components/DiffViewer/themes/diffThemes.d.ts +6 -61
- package/lib/typescript/storage/components/DiffViewer/themes/diffThemes.d.ts.map +1 -1
- package/lib/typescript/storage/components/StorageEventActionButton.d.ts +8 -8
- package/lib/typescript/storage/components/StorageEventFilterView.d.ts.map +1 -1
- package/lib/typescript/storage/components/StorageKeyCard.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/package.json +5 -5
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
import { View, Text, StyleSheet, TouchableOpacity, Alert } from "react-native";
|
|
5
5
|
import { Trash2, CopyButton, SquareDashed, X, ProUpgradeModal } from "@buoy-gg/shared-ui";
|
|
6
|
-
import { macOSColors } from "@buoy-gg/shared-ui";
|
|
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";
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -134,21 +134,21 @@ export function StorageActionButtons({
|
|
|
134
134
|
style: styles.selectModeActiveContainer,
|
|
135
135
|
children: [/*#__PURE__*/_jsx(X, {
|
|
136
136
|
size: 14,
|
|
137
|
-
color:
|
|
137
|
+
color: night.color.accent
|
|
138
138
|
}), selectedCount > 0 && /*#__PURE__*/_jsx(Text, {
|
|
139
139
|
style: styles.selectedCountText,
|
|
140
140
|
children: selectedCount
|
|
141
141
|
})]
|
|
142
142
|
}) : /*#__PURE__*/_jsx(SquareDashed, {
|
|
143
143
|
size: 16,
|
|
144
|
-
color:
|
|
144
|
+
color: night.color.textSecondary
|
|
145
145
|
})
|
|
146
146
|
}), !isSelectMode && /*#__PURE__*/_jsx(CopyButton, {
|
|
147
147
|
value: copyValue,
|
|
148
148
|
size: 16,
|
|
149
149
|
buttonStyle: styles.actionButton,
|
|
150
150
|
colors: {
|
|
151
|
-
idle:
|
|
151
|
+
idle: night.color.textSecondary,
|
|
152
152
|
success: macOSColors.semantic.success,
|
|
153
153
|
error: macOSColors.semantic.error
|
|
154
154
|
}
|
|
@@ -157,28 +157,28 @@ export function StorageActionButtons({
|
|
|
157
157
|
style: styles.actionButton,
|
|
158
158
|
children: /*#__PURE__*/_jsx(Trash2, {
|
|
159
159
|
size: 16,
|
|
160
|
-
color:
|
|
160
|
+
color: night.color.danger
|
|
161
161
|
})
|
|
162
162
|
}), !isSelectMode && showClearAsync && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
163
163
|
onPress: handleClearAsyncStorage,
|
|
164
164
|
style: styles.actionButton,
|
|
165
165
|
children: /*#__PURE__*/_jsx(Trash2, {
|
|
166
166
|
size: 16,
|
|
167
|
-
color:
|
|
167
|
+
color: night.color.danger
|
|
168
168
|
})
|
|
169
169
|
}), !isSelectMode && showClearAllMMKV && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
170
170
|
onPress: handleClearAllMMKV,
|
|
171
171
|
style: styles.actionButton,
|
|
172
172
|
children: /*#__PURE__*/_jsx(Trash2, {
|
|
173
173
|
size: 16,
|
|
174
|
-
color:
|
|
174
|
+
color: night.color.danger
|
|
175
175
|
})
|
|
176
176
|
}), !isSelectMode && showClearMMKVIndividual && mmkvInstances.length === 1 && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
177
177
|
onPress: () => handleClearMMKV(mmkvInstances[0].id, mmkvInstances[0].id),
|
|
178
178
|
style: styles.actionButton,
|
|
179
179
|
children: /*#__PURE__*/_jsx(Trash2, {
|
|
180
180
|
size: 16,
|
|
181
|
-
color:
|
|
181
|
+
color: night.color.danger
|
|
182
182
|
})
|
|
183
183
|
}), /*#__PURE__*/_jsx(ProUpgradeModal, {
|
|
184
184
|
visible: showUpgradeModal,
|
|
@@ -199,13 +199,13 @@ const styles = StyleSheet.create({
|
|
|
199
199
|
alignItems: "center",
|
|
200
200
|
justifyContent: "center",
|
|
201
201
|
borderRadius: 6,
|
|
202
|
-
backgroundColor:
|
|
202
|
+
backgroundColor: night.color.buttonSurface,
|
|
203
203
|
borderWidth: 1,
|
|
204
|
-
borderColor:
|
|
204
|
+
borderColor: night.color.border
|
|
205
205
|
},
|
|
206
206
|
actionButtonActive: {
|
|
207
|
-
backgroundColor:
|
|
208
|
-
borderColor:
|
|
207
|
+
backgroundColor: night.color.accentSoft,
|
|
208
|
+
borderColor: night.color.accentBorderStrong
|
|
209
209
|
},
|
|
210
210
|
selectModeActiveContainer: {
|
|
211
211
|
flexDirection: "row",
|
|
@@ -215,7 +215,7 @@ const styles = StyleSheet.create({
|
|
|
215
215
|
selectedCountText: {
|
|
216
216
|
fontSize: 10,
|
|
217
217
|
fontWeight: "700",
|
|
218
|
-
color:
|
|
218
|
+
color: night.color.accent,
|
|
219
219
|
fontFamily: "monospace"
|
|
220
220
|
}
|
|
221
221
|
});
|
|
@@ -8,28 +8,28 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { TouchableOpacity, Text, View, StyleSheet } from "react-native";
|
|
11
|
-
import {
|
|
11
|
+
import { night, Lock } 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";
|
|
15
15
|
const buttonConfigs = {
|
|
16
16
|
copy: {
|
|
17
|
-
color:
|
|
18
|
-
backgroundColor:
|
|
19
|
-
borderColor:
|
|
20
|
-
textColor:
|
|
17
|
+
color: night.color.accent,
|
|
18
|
+
backgroundColor: night.color.accentSoft,
|
|
19
|
+
borderColor: night.color.accentBorderStrong,
|
|
20
|
+
textColor: night.color.accent
|
|
21
21
|
},
|
|
22
22
|
jump: {
|
|
23
|
-
color:
|
|
24
|
-
backgroundColor:
|
|
25
|
-
borderColor:
|
|
26
|
-
textColor:
|
|
23
|
+
color: night.color.warning,
|
|
24
|
+
backgroundColor: night.color.warningSoft,
|
|
25
|
+
borderColor: night.color.warning + "40",
|
|
26
|
+
textColor: night.color.warning
|
|
27
27
|
},
|
|
28
28
|
undo: {
|
|
29
|
-
color:
|
|
30
|
-
backgroundColor:
|
|
31
|
-
borderColor:
|
|
32
|
-
textColor:
|
|
29
|
+
color: night.color.info,
|
|
30
|
+
backgroundColor: night.color.infoSoft,
|
|
31
|
+
borderColor: night.color.info + "40",
|
|
32
|
+
textColor: night.color.info
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
export function StorageEventActionButton({
|
|
@@ -45,8 +45,8 @@ export function StorageEventActionButton({
|
|
|
45
45
|
disabled: isDisabledOrLocked,
|
|
46
46
|
onPress: onPress,
|
|
47
47
|
style: [styles.button, {
|
|
48
|
-
backgroundColor: isDisabledOrLocked ?
|
|
49
|
-
borderColor: isDisabledOrLocked ?
|
|
48
|
+
backgroundColor: isDisabledOrLocked ? night.color.fill : config.backgroundColor,
|
|
49
|
+
borderColor: isDisabledOrLocked ? night.color.fillTertiary : config.borderColor,
|
|
50
50
|
opacity: disabled ? 0.5 : 1
|
|
51
51
|
}],
|
|
52
52
|
activeOpacity: 0.7,
|
|
@@ -57,15 +57,15 @@ export function StorageEventActionButton({
|
|
|
57
57
|
},
|
|
58
58
|
children: [locked ? /*#__PURE__*/_jsx(Lock, {
|
|
59
59
|
size: 10,
|
|
60
|
-
color:
|
|
60
|
+
color: night.color.textTertiary,
|
|
61
61
|
style: styles.lockIcon
|
|
62
62
|
}) : /*#__PURE__*/_jsx(View, {
|
|
63
63
|
style: [styles.dot, {
|
|
64
|
-
backgroundColor: isDisabledOrLocked ?
|
|
64
|
+
backgroundColor: isDisabledOrLocked ? night.color.textTertiary : config.color
|
|
65
65
|
}]
|
|
66
66
|
}), /*#__PURE__*/_jsx(Text, {
|
|
67
67
|
style: [styles.text, {
|
|
68
|
-
color: isDisabledOrLocked ?
|
|
68
|
+
color: isDisabledOrLocked ? night.color.textTertiary : config.textColor
|
|
69
69
|
}],
|
|
70
70
|
children: text
|
|
71
71
|
})]
|
|
@@ -95,7 +95,7 @@ const styles = StyleSheet.create({
|
|
|
95
95
|
height: 5,
|
|
96
96
|
borderRadius: 3,
|
|
97
97
|
marginRight: 6,
|
|
98
|
-
shadowColor:
|
|
98
|
+
shadowColor: night.color.text,
|
|
99
99
|
shadowOffset: {
|
|
100
100
|
width: 0,
|
|
101
101
|
height: 0
|
|
@@ -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,
|
|
12
|
+
import { formatRelativeTime, macOSColors, night, parseValue, devToolsStorageKeys, GitBranch, EventStepperFooter, EventHistoryViewer, copyToClipboard, ProUpgradeModal } 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";
|
|
@@ -206,11 +206,11 @@ export function StorageEventDetailContent({
|
|
|
206
206
|
relativeTime: ORIGIN_LABELS[originKind].relativeTime,
|
|
207
207
|
badge: /*#__PURE__*/_jsx(View, {
|
|
208
208
|
style: [styles.actionBadgeSmall, {
|
|
209
|
-
backgroundColor: `${
|
|
209
|
+
backgroundColor: `${night.color.textTertiary}20`
|
|
210
210
|
}],
|
|
211
211
|
children: /*#__PURE__*/_jsx(Text, {
|
|
212
212
|
style: [styles.actionTextSmall, {
|
|
213
|
-
color:
|
|
213
|
+
color: night.color.textTertiary
|
|
214
214
|
}],
|
|
215
215
|
children: ORIGIN_LABELS[originKind].badge
|
|
216
216
|
})
|
|
@@ -458,21 +458,21 @@ const styles = StyleSheet.create({
|
|
|
458
458
|
gap: 8,
|
|
459
459
|
paddingHorizontal: 12,
|
|
460
460
|
paddingVertical: 10,
|
|
461
|
-
backgroundColor:
|
|
461
|
+
backgroundColor: night.color.surface,
|
|
462
462
|
borderBottomWidth: 1,
|
|
463
|
-
borderBottomColor:
|
|
463
|
+
borderBottomColor: night.color.border
|
|
464
464
|
},
|
|
465
465
|
// Content Card
|
|
466
466
|
valueBox: {
|
|
467
|
-
backgroundColor:
|
|
467
|
+
backgroundColor: night.color.bg,
|
|
468
468
|
borderRadius: 6,
|
|
469
469
|
borderWidth: 1,
|
|
470
|
-
borderColor:
|
|
470
|
+
borderColor: night.color.border,
|
|
471
471
|
padding: 8
|
|
472
472
|
},
|
|
473
473
|
valueText: {
|
|
474
474
|
fontSize: 12,
|
|
475
|
-
color:
|
|
475
|
+
color: night.color.text,
|
|
476
476
|
fontFamily: "monospace",
|
|
477
477
|
lineHeight: 18
|
|
478
478
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { View, Text, StyleSheet, TouchableOpacity } from "react-native";
|
|
4
|
-
import { Filter, DynamicFilterView, Database, HardDrive, Shield, macOSColors } from "@buoy-gg/shared-ui";
|
|
4
|
+
import { Filter, DynamicFilterView, Database, HardDrive, Shield, macOSColors, night } from "@buoy-gg/shared-ui";
|
|
5
5
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
export function StorageEventFilterView({
|
|
7
7
|
ignoredPatterns,
|
|
@@ -51,7 +51,7 @@ export function StorageEventFilterView({
|
|
|
51
51
|
onPress: () => onToggleStorageType('async'),
|
|
52
52
|
children: [/*#__PURE__*/_jsx(Database, {
|
|
53
53
|
size: 16,
|
|
54
|
-
color: enabledStorageTypes.has('async') ? macOSColors.semantic.warning :
|
|
54
|
+
color: enabledStorageTypes.has('async') ? macOSColors.semantic.warning : night.color.textTertiary
|
|
55
55
|
}), /*#__PURE__*/_jsx(Text, {
|
|
56
56
|
style: [styles.storageTypeButtonText, enabledStorageTypes.has('async') && {
|
|
57
57
|
color: macOSColors.semantic.warning
|
|
@@ -65,7 +65,7 @@ export function StorageEventFilterView({
|
|
|
65
65
|
onPress: () => onToggleStorageType('mmkv'),
|
|
66
66
|
children: [/*#__PURE__*/_jsx(HardDrive, {
|
|
67
67
|
size: 16,
|
|
68
|
-
color: enabledStorageTypes.has('mmkv') ? macOSColors.semantic.info :
|
|
68
|
+
color: enabledStorageTypes.has('mmkv') ? macOSColors.semantic.info : night.color.textTertiary
|
|
69
69
|
}), /*#__PURE__*/_jsx(Text, {
|
|
70
70
|
style: [styles.storageTypeButtonText, enabledStorageTypes.has('mmkv') && {
|
|
71
71
|
color: macOSColors.semantic.info
|
|
@@ -79,7 +79,7 @@ export function StorageEventFilterView({
|
|
|
79
79
|
onPress: () => onToggleStorageType('secure'),
|
|
80
80
|
children: [/*#__PURE__*/_jsx(Shield, {
|
|
81
81
|
size: 16,
|
|
82
|
-
color: enabledStorageTypes.has('secure') ? macOSColors.semantic.success :
|
|
82
|
+
color: enabledStorageTypes.has('secure') ? macOSColors.semantic.success : night.color.textTertiary
|
|
83
83
|
}), /*#__PURE__*/_jsx(Text, {
|
|
84
84
|
style: [styles.storageTypeButtonText, enabledStorageTypes.has('secure') && {
|
|
85
85
|
color: macOSColors.semantic.success
|
|
@@ -100,12 +100,12 @@ const styles = StyleSheet.create({
|
|
|
100
100
|
storageTypeSection: {
|
|
101
101
|
padding: 16,
|
|
102
102
|
borderBottomWidth: 1,
|
|
103
|
-
borderBottomColor:
|
|
103
|
+
borderBottomColor: night.color.border
|
|
104
104
|
},
|
|
105
105
|
sectionTitle: {
|
|
106
106
|
fontSize: 11,
|
|
107
107
|
fontWeight: '700',
|
|
108
|
-
color:
|
|
108
|
+
color: night.color.textSecondary,
|
|
109
109
|
letterSpacing: 0.8,
|
|
110
110
|
marginBottom: 12
|
|
111
111
|
},
|
|
@@ -121,17 +121,17 @@ const styles = StyleSheet.create({
|
|
|
121
121
|
gap: 6,
|
|
122
122
|
paddingVertical: 10,
|
|
123
123
|
paddingHorizontal: 12,
|
|
124
|
-
backgroundColor:
|
|
124
|
+
backgroundColor: night.color.surfaceElevated,
|
|
125
125
|
borderRadius: 8,
|
|
126
126
|
borderWidth: 1,
|
|
127
|
-
borderColor:
|
|
127
|
+
borderColor: night.color.border
|
|
128
128
|
},
|
|
129
129
|
storageTypeButtonActive: {
|
|
130
|
-
backgroundColor:
|
|
130
|
+
backgroundColor: night.color.surface
|
|
131
131
|
},
|
|
132
132
|
storageTypeButtonText: {
|
|
133
133
|
fontSize: 11,
|
|
134
134
|
fontWeight: '600',
|
|
135
|
-
color:
|
|
135
|
+
color: night.color.textTertiary
|
|
136
136
|
}
|
|
137
137
|
});
|
|
@@ -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 } from "@buoy-gg/shared-ui";
|
|
5
|
+
import { macOSColors, night } 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
|
|
@@ -38,15 +38,15 @@ export function StorageFilterCards({
|
|
|
38
38
|
style: styles.filtersRow,
|
|
39
39
|
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
40
40
|
style: [styles.filterChip, activeFilter === "all" && [styles.filterChipActive, {
|
|
41
|
-
backgroundColor:
|
|
42
|
-
borderColor:
|
|
43
|
-
shadowColor:
|
|
41
|
+
backgroundColor: night.color.accentSoft,
|
|
42
|
+
borderColor: night.color.accentBorderStrong,
|
|
43
|
+
shadowColor: night.color.accent
|
|
44
44
|
}]],
|
|
45
45
|
onPress: () => onFilterChange?.("all"),
|
|
46
46
|
activeOpacity: 0.8,
|
|
47
47
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
48
48
|
style: [styles.filterValue, {
|
|
49
|
-
color:
|
|
49
|
+
color: night.color.text
|
|
50
50
|
}],
|
|
51
51
|
children: displayStats.validCount
|
|
52
52
|
}), /*#__PURE__*/_jsx(Text, {
|
|
@@ -63,7 +63,7 @@ export function StorageFilterCards({
|
|
|
63
63
|
activeOpacity: 0.8,
|
|
64
64
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
65
65
|
style: [styles.filterValue, {
|
|
66
|
-
color: displayStats.missingCount > 0 ? macOSColors.semantic.error :
|
|
66
|
+
color: displayStats.missingCount > 0 ? macOSColors.semantic.error : night.color.textTertiary
|
|
67
67
|
}],
|
|
68
68
|
children: displayStats.missingCount
|
|
69
69
|
}), /*#__PURE__*/_jsx(Text, {
|
|
@@ -80,7 +80,7 @@ export function StorageFilterCards({
|
|
|
80
80
|
activeOpacity: 0.8,
|
|
81
81
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
82
82
|
style: [styles.filterValue, {
|
|
83
|
-
color: displayStats.issuesCount > 0 ? macOSColors.semantic.warning :
|
|
83
|
+
color: displayStats.issuesCount > 0 ? macOSColors.semantic.warning : night.color.textTertiary
|
|
84
84
|
}],
|
|
85
85
|
children: displayStats.issuesCount
|
|
86
86
|
}), /*#__PURE__*/_jsx(Text, {
|
|
@@ -102,11 +102,11 @@ export function StorageFilterCards({
|
|
|
102
102
|
}
|
|
103
103
|
const styles = StyleSheet.create({
|
|
104
104
|
container: {
|
|
105
|
-
backgroundColor:
|
|
105
|
+
backgroundColor: night.color.surface,
|
|
106
106
|
borderRadius: 12,
|
|
107
107
|
padding: 16,
|
|
108
108
|
borderWidth: 1,
|
|
109
|
-
borderColor:
|
|
109
|
+
borderColor: night.color.border,
|
|
110
110
|
gap: 14,
|
|
111
111
|
shadowColor: "#000000",
|
|
112
112
|
shadowOpacity: 0.03,
|
|
@@ -135,18 +135,18 @@ const styles = StyleSheet.create({
|
|
|
135
135
|
titleText: {
|
|
136
136
|
fontSize: 12,
|
|
137
137
|
fontWeight: "600",
|
|
138
|
-
color:
|
|
138
|
+
color: night.color.text,
|
|
139
139
|
letterSpacing: 0.5,
|
|
140
140
|
textTransform: "uppercase"
|
|
141
141
|
},
|
|
142
142
|
titleDivider: {
|
|
143
143
|
width: 4,
|
|
144
144
|
height: 1,
|
|
145
|
-
backgroundColor:
|
|
145
|
+
backgroundColor: night.color.border,
|
|
146
146
|
marginHorizontal: 4
|
|
147
147
|
},
|
|
148
148
|
subtitleText: {
|
|
149
|
-
color:
|
|
149
|
+
color: night.color.textTertiary,
|
|
150
150
|
fontSize: 11
|
|
151
151
|
},
|
|
152
152
|
healthBadge: {
|
|
@@ -164,7 +164,7 @@ const styles = StyleSheet.create({
|
|
|
164
164
|
healthProgressBar: {
|
|
165
165
|
height: 3,
|
|
166
166
|
borderRadius: 1.5,
|
|
167
|
-
backgroundColor:
|
|
167
|
+
backgroundColor: night.color.bg,
|
|
168
168
|
overflow: "hidden"
|
|
169
169
|
},
|
|
170
170
|
healthProgressFill: {
|
|
@@ -178,10 +178,10 @@ const styles = StyleSheet.create({
|
|
|
178
178
|
},
|
|
179
179
|
filterChip: {
|
|
180
180
|
flex: 1,
|
|
181
|
-
backgroundColor:
|
|
181
|
+
backgroundColor: night.color.buttonSurface,
|
|
182
182
|
borderRadius: 8,
|
|
183
183
|
borderWidth: 1,
|
|
184
|
-
borderColor:
|
|
184
|
+
borderColor: night.color.border,
|
|
185
185
|
paddingVertical: 10,
|
|
186
186
|
paddingHorizontal: 12,
|
|
187
187
|
alignItems: "center",
|
|
@@ -203,7 +203,7 @@ const styles = StyleSheet.create({
|
|
|
203
203
|
},
|
|
204
204
|
filterLabel: {
|
|
205
205
|
fontSize: 9,
|
|
206
|
-
color:
|
|
206
|
+
color: night.color.textTertiary,
|
|
207
207
|
textTransform: "uppercase",
|
|
208
208
|
letterSpacing: 0.5,
|
|
209
209
|
fontWeight: "500",
|
|
@@ -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 } from "@buoy-gg/shared-ui";
|
|
4
|
+
import { AlertCircle, CheckCircle2, Eye, XCircle, HardDrive, Database, Shield, gameUIColors, macOSColors, night } 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";
|
|
@@ -210,7 +210,7 @@ export function StorageKeyCard({
|
|
|
210
210
|
hitSlop: HIT_SLOP,
|
|
211
211
|
children: /*#__PURE__*/_jsx(Eye, {
|
|
212
212
|
size: 12,
|
|
213
|
-
color:
|
|
213
|
+
color: night.color.textSecondary
|
|
214
214
|
})
|
|
215
215
|
})
|
|
216
216
|
})]
|
|
@@ -316,7 +316,7 @@ export function StorageKeyCard({
|
|
|
316
316
|
}
|
|
317
317
|
const styles = StyleSheet.create({
|
|
318
318
|
storageKeyCard: {
|
|
319
|
-
backgroundColor:
|
|
319
|
+
backgroundColor: night.color.surface,
|
|
320
320
|
borderRadius: 8,
|
|
321
321
|
borderWidth: 1,
|
|
322
322
|
overflow: "hidden"
|
|
@@ -344,14 +344,14 @@ const styles = StyleSheet.create({
|
|
|
344
344
|
gap: 4
|
|
345
345
|
},
|
|
346
346
|
storageKeyText: {
|
|
347
|
-
color:
|
|
347
|
+
color: night.color.text,
|
|
348
348
|
fontWeight: "500",
|
|
349
349
|
fontSize: 12,
|
|
350
350
|
flexWrap: "wrap",
|
|
351
351
|
flex: 1
|
|
352
352
|
},
|
|
353
353
|
descriptionText: {
|
|
354
|
-
color:
|
|
354
|
+
color: night.color.textSecondary,
|
|
355
355
|
fontSize: 10,
|
|
356
356
|
marginTop: 2,
|
|
357
357
|
flexWrap: "wrap"
|
|
@@ -402,12 +402,12 @@ const styles = StyleSheet.create({
|
|
|
402
402
|
valueBadge: {
|
|
403
403
|
paddingHorizontal: 4,
|
|
404
404
|
paddingVertical: 2,
|
|
405
|
-
backgroundColor:
|
|
405
|
+
backgroundColor: night.color.surfaceElevated,
|
|
406
406
|
borderRadius: 3
|
|
407
407
|
},
|
|
408
408
|
valueText: {
|
|
409
409
|
fontSize: 8,
|
|
410
|
-
color:
|
|
410
|
+
color: night.color.textSecondary,
|
|
411
411
|
fontWeight: "500"
|
|
412
412
|
},
|
|
413
413
|
cardHeaderRight: {
|
|
@@ -416,11 +416,11 @@ const styles = StyleSheet.create({
|
|
|
416
416
|
actionButton: {
|
|
417
417
|
padding: 4,
|
|
418
418
|
borderRadius: 4,
|
|
419
|
-
backgroundColor:
|
|
419
|
+
backgroundColor: night.color.surfaceElevated
|
|
420
420
|
},
|
|
421
421
|
cardBody: {
|
|
422
422
|
borderTopWidth: 1,
|
|
423
|
-
borderTopColor:
|
|
423
|
+
borderTopColor: night.color.separator,
|
|
424
424
|
padding: 12,
|
|
425
425
|
gap: 12
|
|
426
426
|
},
|
|
@@ -431,18 +431,18 @@ const styles = StyleSheet.create({
|
|
|
431
431
|
gap: 8
|
|
432
432
|
},
|
|
433
433
|
simpleValueLabel: {
|
|
434
|
-
color:
|
|
434
|
+
color: night.color.textSecondary,
|
|
435
435
|
fontSize: 10,
|
|
436
436
|
fontWeight: "500",
|
|
437
437
|
textTransform: "uppercase",
|
|
438
438
|
letterSpacing: 0.5
|
|
439
439
|
},
|
|
440
440
|
simpleValueBox: {
|
|
441
|
-
backgroundColor:
|
|
441
|
+
backgroundColor: night.color.bg,
|
|
442
442
|
borderRadius: 4,
|
|
443
443
|
padding: 10,
|
|
444
444
|
borderWidth: 1,
|
|
445
|
-
borderColor:
|
|
445
|
+
borderColor: night.color.border
|
|
446
446
|
},
|
|
447
447
|
simpleValueContent: {
|
|
448
448
|
color: gameUIColors.success,
|
|
@@ -451,7 +451,7 @@ const styles = StyleSheet.create({
|
|
|
451
451
|
lineHeight: 16
|
|
452
452
|
},
|
|
453
453
|
valueTypeText: {
|
|
454
|
-
color:
|
|
454
|
+
color: night.color.textTertiary,
|
|
455
455
|
fontSize: 9,
|
|
456
456
|
fontStyle: "italic"
|
|
457
457
|
},
|
|
@@ -459,34 +459,34 @@ const styles = StyleSheet.create({
|
|
|
459
459
|
gap: 6
|
|
460
460
|
},
|
|
461
461
|
valueLabel: {
|
|
462
|
-
color:
|
|
462
|
+
color: night.color.textSecondary,
|
|
463
463
|
fontSize: 10,
|
|
464
464
|
fontWeight: "500",
|
|
465
465
|
textTransform: "uppercase",
|
|
466
466
|
letterSpacing: 0.5
|
|
467
467
|
},
|
|
468
468
|
valueBox: {
|
|
469
|
-
backgroundColor:
|
|
469
|
+
backgroundColor: night.color.bg,
|
|
470
470
|
borderRadius: 4,
|
|
471
471
|
padding: 8,
|
|
472
472
|
borderWidth: 1,
|
|
473
|
-
borderColor:
|
|
473
|
+
borderColor: night.color.border
|
|
474
474
|
},
|
|
475
475
|
valueContent: {
|
|
476
|
-
color:
|
|
476
|
+
color: night.color.text,
|
|
477
477
|
fontSize: 10,
|
|
478
478
|
fontFamily: "monospace",
|
|
479
479
|
lineHeight: 14
|
|
480
480
|
},
|
|
481
481
|
expectedValueBox: {
|
|
482
|
-
backgroundColor:
|
|
482
|
+
backgroundColor: night.color.bg,
|
|
483
483
|
borderRadius: 4,
|
|
484
484
|
padding: 8,
|
|
485
485
|
borderWidth: 1,
|
|
486
|
-
borderColor:
|
|
486
|
+
borderColor: night.color.border
|
|
487
487
|
},
|
|
488
488
|
expectedValueContent: {
|
|
489
|
-
color:
|
|
489
|
+
color: night.color.text,
|
|
490
490
|
fontSize: 10,
|
|
491
491
|
fontFamily: "monospace",
|
|
492
492
|
lineHeight: 14
|
|
@@ -507,7 +507,7 @@ const styles = StyleSheet.create({
|
|
|
507
507
|
fontStyle: "italic"
|
|
508
508
|
},
|
|
509
509
|
typeHelperText: {
|
|
510
|
-
color:
|
|
510
|
+
color: night.color.textSecondary,
|
|
511
511
|
fontSize: 9,
|
|
512
512
|
marginTop: 4,
|
|
513
513
|
textAlign: "center"
|
|
@@ -516,7 +516,7 @@ const styles = StyleSheet.create({
|
|
|
516
516
|
marginTop: 8
|
|
517
517
|
},
|
|
518
518
|
metaLabel: {
|
|
519
|
-
color:
|
|
519
|
+
color: night.color.textTertiary,
|
|
520
520
|
fontSize: 9,
|
|
521
521
|
fontStyle: "italic"
|
|
522
522
|
}
|