@buoy-gg/storage 7.0.25 → 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
|
@@ -48,7 +48,7 @@ function DiffOptionsPanel({
|
|
|
48
48
|
activeOpacity: 0.7,
|
|
49
49
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Settings, {
|
|
50
50
|
size: 12,
|
|
51
|
-
color: _sharedUi.
|
|
51
|
+
color: _sharedUi.night.color.accent
|
|
52
52
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
53
53
|
style: styles.toggleText,
|
|
54
54
|
children: "Options"
|
|
@@ -77,7 +77,7 @@ function DiffOptionsPanel({
|
|
|
77
77
|
style: styles.optionLeft,
|
|
78
78
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Hash, {
|
|
79
79
|
size: 11,
|
|
80
|
-
color: _sharedUi.
|
|
80
|
+
color: _sharedUi.night.color.textSecondary
|
|
81
81
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
82
82
|
style: styles.optionLabel,
|
|
83
83
|
children: "Line Numbers"
|
|
@@ -86,10 +86,10 @@ function DiffOptionsPanel({
|
|
|
86
86
|
value: !options.hideLineNumbers,
|
|
87
87
|
onValueChange: value => updateOption("hideLineNumbers", !value),
|
|
88
88
|
trackColor: {
|
|
89
|
-
false: _sharedUi.
|
|
90
|
-
true: _sharedUi.
|
|
89
|
+
false: _sharedUi.night.color.surfaceElevated,
|
|
90
|
+
true: _sharedUi.night.color.accent
|
|
91
91
|
},
|
|
92
|
-
thumbColor:
|
|
92
|
+
thumbColor: _sharedUi.night.color.knob,
|
|
93
93
|
style: styles.switch
|
|
94
94
|
})]
|
|
95
95
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -104,7 +104,7 @@ function DiffOptionsPanel({
|
|
|
104
104
|
style: styles.optionLeft,
|
|
105
105
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.FileText, {
|
|
106
106
|
size: 11,
|
|
107
|
-
color: _sharedUi.
|
|
107
|
+
color: _sharedUi.night.color.textSecondary
|
|
108
108
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
109
109
|
style: styles.optionLabel,
|
|
110
110
|
children: "Word Diff"
|
|
@@ -113,10 +113,10 @@ function DiffOptionsPanel({
|
|
|
113
113
|
value: !options.disableWordDiff,
|
|
114
114
|
onValueChange: value => updateOption("disableWordDiff", !value),
|
|
115
115
|
trackColor: {
|
|
116
|
-
false: _sharedUi.
|
|
117
|
-
true: _sharedUi.
|
|
116
|
+
false: _sharedUi.night.color.surfaceElevated,
|
|
117
|
+
true: _sharedUi.night.color.accent
|
|
118
118
|
},
|
|
119
|
-
thumbColor:
|
|
119
|
+
thumbColor: _sharedUi.night.color.knob,
|
|
120
120
|
style: styles.switch
|
|
121
121
|
})]
|
|
122
122
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -131,7 +131,7 @@ function DiffOptionsPanel({
|
|
|
131
131
|
style: styles.optionLeft,
|
|
132
132
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Filter, {
|
|
133
133
|
size: 11,
|
|
134
|
-
color: _sharedUi.
|
|
134
|
+
color: _sharedUi.night.color.textSecondary
|
|
135
135
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
136
136
|
style: styles.optionLabel,
|
|
137
137
|
children: "Diff Only"
|
|
@@ -140,10 +140,10 @@ function DiffOptionsPanel({
|
|
|
140
140
|
value: options.showDiffOnly,
|
|
141
141
|
onValueChange: value => updateOption("showDiffOnly", value),
|
|
142
142
|
trackColor: {
|
|
143
|
-
false: _sharedUi.
|
|
144
|
-
true: _sharedUi.
|
|
143
|
+
false: _sharedUi.night.color.surfaceElevated,
|
|
144
|
+
true: _sharedUi.night.color.accent
|
|
145
145
|
},
|
|
146
|
-
thumbColor:
|
|
146
|
+
thumbColor: _sharedUi.night.color.knob,
|
|
147
147
|
style: styles.switch
|
|
148
148
|
})]
|
|
149
149
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -202,7 +202,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
202
202
|
toggleButton: {
|
|
203
203
|
flexDirection: "row",
|
|
204
204
|
alignItems: "center",
|
|
205
|
-
backgroundColor: _sharedUi.
|
|
205
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
206
206
|
paddingVertical: 6,
|
|
207
207
|
paddingHorizontal: 10,
|
|
208
208
|
borderRadius: 4,
|
|
@@ -211,18 +211,18 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
211
211
|
toggleText: {
|
|
212
212
|
fontSize: 10,
|
|
213
213
|
fontWeight: "600",
|
|
214
|
-
color: _sharedUi.
|
|
214
|
+
color: _sharedUi.night.color.accent,
|
|
215
215
|
fontFamily: "monospace",
|
|
216
216
|
flex: 1
|
|
217
217
|
},
|
|
218
218
|
toggleIndicator: {
|
|
219
219
|
fontSize: 8,
|
|
220
|
-
color: _sharedUi.
|
|
220
|
+
color: _sharedUi.night.color.textTertiary,
|
|
221
221
|
fontFamily: "monospace"
|
|
222
222
|
},
|
|
223
223
|
optionsContent: {
|
|
224
224
|
marginTop: 8,
|
|
225
|
-
backgroundColor: _sharedUi.
|
|
225
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
226
226
|
borderRadius: 6,
|
|
227
227
|
padding: 12,
|
|
228
228
|
gap: 16
|
|
@@ -233,7 +233,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
233
233
|
sectionTitle: {
|
|
234
234
|
fontSize: 9,
|
|
235
235
|
fontWeight: "700",
|
|
236
|
-
color: _sharedUi.
|
|
236
|
+
color: _sharedUi.night.color.accent,
|
|
237
237
|
fontFamily: "monospace",
|
|
238
238
|
letterSpacing: 0.5,
|
|
239
239
|
marginBottom: 4
|
|
@@ -254,12 +254,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
254
254
|
},
|
|
255
255
|
optionLabel: {
|
|
256
256
|
fontSize: 11,
|
|
257
|
-
color: _sharedUi.
|
|
257
|
+
color: _sharedUi.night.color.text,
|
|
258
258
|
fontFamily: "monospace"
|
|
259
259
|
},
|
|
260
260
|
optionDescription: {
|
|
261
261
|
fontSize: 9,
|
|
262
|
-
color: _sharedUi.
|
|
262
|
+
color: _sharedUi.night.color.textTertiary,
|
|
263
263
|
fontFamily: "monospace",
|
|
264
264
|
marginTop: 4,
|
|
265
265
|
marginLeft: 19,
|
|
@@ -280,27 +280,27 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
280
280
|
methodButton: {
|
|
281
281
|
paddingVertical: 6,
|
|
282
282
|
paddingHorizontal: 10,
|
|
283
|
-
backgroundColor: _sharedUi.
|
|
283
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
284
284
|
borderRadius: 4,
|
|
285
285
|
borderWidth: 1,
|
|
286
|
-
borderColor: _sharedUi.
|
|
286
|
+
borderColor: _sharedUi.night.color.border
|
|
287
287
|
},
|
|
288
288
|
methodButtonActive: {
|
|
289
|
-
backgroundColor: _sharedUi.
|
|
290
|
-
borderColor: _sharedUi.
|
|
289
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
290
|
+
borderColor: _sharedUi.night.color.accentBorderStrong
|
|
291
291
|
},
|
|
292
292
|
methodButtonText: {
|
|
293
293
|
fontSize: 9,
|
|
294
294
|
fontFamily: "monospace",
|
|
295
|
-
color: _sharedUi.
|
|
295
|
+
color: _sharedUi.night.color.textTertiary,
|
|
296
296
|
fontWeight: "600"
|
|
297
297
|
},
|
|
298
298
|
methodButtonTextActive: {
|
|
299
|
-
color: _sharedUi.
|
|
299
|
+
color: _sharedUi.night.color.accent
|
|
300
300
|
},
|
|
301
301
|
methodDescription: {
|
|
302
302
|
fontSize: 9,
|
|
303
|
-
color: _sharedUi.
|
|
303
|
+
color: _sharedUi.night.color.textTertiary,
|
|
304
304
|
fontFamily: "monospace",
|
|
305
305
|
marginTop: 8,
|
|
306
306
|
lineHeight: 12
|
|
@@ -314,33 +314,33 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
314
314
|
height: 28,
|
|
315
315
|
justifyContent: "center",
|
|
316
316
|
alignItems: "center",
|
|
317
|
-
backgroundColor: _sharedUi.
|
|
317
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
318
318
|
borderRadius: 4,
|
|
319
319
|
borderWidth: 1,
|
|
320
|
-
borderColor: _sharedUi.
|
|
320
|
+
borderColor: _sharedUi.night.color.border
|
|
321
321
|
},
|
|
322
322
|
contextButtonActive: {
|
|
323
|
-
backgroundColor: _sharedUi.
|
|
324
|
-
borderColor: _sharedUi.
|
|
323
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
324
|
+
borderColor: _sharedUi.night.color.accentBorderStrong
|
|
325
325
|
},
|
|
326
326
|
contextButtonText: {
|
|
327
327
|
fontSize: 10,
|
|
328
328
|
fontFamily: "monospace",
|
|
329
|
-
color: _sharedUi.
|
|
329
|
+
color: _sharedUi.night.color.textTertiary,
|
|
330
330
|
fontWeight: "600"
|
|
331
331
|
},
|
|
332
332
|
contextButtonTextActive: {
|
|
333
|
-
color: _sharedUi.
|
|
333
|
+
color: _sharedUi.night.color.accent
|
|
334
334
|
},
|
|
335
335
|
contextDescription: {
|
|
336
336
|
fontSize: 9,
|
|
337
|
-
color: _sharedUi.
|
|
337
|
+
color: _sharedUi.night.color.textTertiary,
|
|
338
338
|
fontFamily: "monospace",
|
|
339
339
|
marginTop: 8,
|
|
340
340
|
lineHeight: 12
|
|
341
341
|
},
|
|
342
342
|
activeIndicator: {
|
|
343
|
-
backgroundColor: _sharedUi.
|
|
343
|
+
backgroundColor: _sharedUi.night.color.warningSoft,
|
|
344
344
|
paddingHorizontal: 6,
|
|
345
345
|
paddingVertical: 2,
|
|
346
346
|
borderRadius: 3,
|
|
@@ -350,7 +350,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
350
350
|
activeIndicatorText: {
|
|
351
351
|
fontSize: 8,
|
|
352
352
|
fontFamily: "monospace",
|
|
353
|
-
color: _sharedUi.
|
|
353
|
+
color: _sharedUi.night.color.warning,
|
|
354
354
|
fontWeight: "600"
|
|
355
355
|
}
|
|
356
356
|
});
|
|
@@ -26,11 +26,11 @@ function TreeDiffViewer({
|
|
|
26
26
|
const styles = _reactNative.StyleSheet.create({
|
|
27
27
|
container: {
|
|
28
28
|
flex: 1,
|
|
29
|
-
backgroundColor: _sharedUi.
|
|
29
|
+
backgroundColor: _sharedUi.night.color.bg
|
|
30
30
|
},
|
|
31
31
|
// Inline: size to the tree so the page scroll reveals it, rather than
|
|
32
32
|
// stretching to the pane and clipping the rows.
|
|
33
33
|
containerInline: {
|
|
34
|
-
backgroundColor: _sharedUi.
|
|
34
|
+
backgroundColor: _sharedUi.night.color.bg
|
|
35
35
|
}
|
|
36
36
|
});
|
|
@@ -3,111 +3,22 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
headerBackground: "#F0F0F0",
|
|
26
|
-
addedBackground: "#E6FFED",
|
|
27
|
-
removedBackground: "#FFEEF0",
|
|
28
|
-
modifiedBackground: "#FFF5DD",
|
|
29
|
-
unchangedBackground: "transparent",
|
|
30
|
-
contextBackground: "#FAFAFA",
|
|
31
|
-
addedText: "#22863A",
|
|
32
|
-
removedText: "#CB2431",
|
|
33
|
-
modifiedText: "#B08800",
|
|
34
|
-
unchangedText: "#24292E",
|
|
35
|
-
addedWordHighlight: "#ACF2BD",
|
|
36
|
-
removedWordHighlight: "#FDB8C0",
|
|
37
|
-
lineNumberBackground: "#F6F8FA",
|
|
38
|
-
lineNumberText: "#959DA5",
|
|
39
|
-
lineNumberBorder: "#E1E4E8",
|
|
40
|
-
markerAddedBackground: "#CDFFD8",
|
|
41
|
-
markerRemovedBackground: "#FFDCE0",
|
|
42
|
-
markerModifiedBackground: "#FFF5B1",
|
|
43
|
-
markerText: "#666666",
|
|
44
|
-
borderColor: "#E1E4E8",
|
|
45
|
-
dividerColor: "#E1E4E8",
|
|
46
|
-
summaryBackground: "#F6F8FA",
|
|
47
|
-
summaryAddedText: "#28A745",
|
|
48
|
-
summaryRemovedText: "#D73A49",
|
|
49
|
-
summaryModifiedText: "#0366D6",
|
|
50
|
-
emptyStateText: "#586069",
|
|
51
|
-
separatorBackground: "#F6F8FA",
|
|
52
|
-
separatorText: "#586069"
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Dev Tools Default Theme
|
|
57
|
-
* Clean dark theme matching Buoy website brand colors
|
|
58
|
-
*/
|
|
59
|
-
const devToolsDefaultTheme = exports.devToolsDefaultTheme = {
|
|
60
|
-
name: "Dev Tools Default",
|
|
61
|
-
description: "Clean dark theme with Buoy brand colors",
|
|
62
|
-
// Surface colors (matching website dark theme)
|
|
63
|
-
background: "#121212",
|
|
64
|
-
panelBackground: "#1A1A1A",
|
|
65
|
-
headerBackground: "#1A1A1A",
|
|
66
|
-
// Diff colors using website's semantic colors
|
|
67
|
-
// Added: Primary teal (#20C997)
|
|
68
|
-
// Removed: Error red (#EF4444)
|
|
69
|
-
// Modified: Secondary purple (#9B70E0)
|
|
70
|
-
addedBackground: "rgba(32, 201, 151, 0.12)",
|
|
71
|
-
removedBackground: "rgba(239, 68, 68, 0.12)",
|
|
72
|
-
modifiedBackground: "rgba(155, 112, 224, 0.12)",
|
|
73
|
-
unchangedBackground: "transparent",
|
|
74
|
-
contextBackground: "rgba(255, 255, 255, 0.02)",
|
|
75
|
-
// Text colors
|
|
76
|
-
addedText: "#20C997",
|
|
77
|
-
removedText: "#EF4444",
|
|
78
|
-
modifiedText: "#9B70E0",
|
|
79
|
-
unchangedText: "#E0E0E0",
|
|
80
|
-
// Word-level highlights
|
|
81
|
-
addedWordHighlight: "rgba(32, 201, 151, 0.3)",
|
|
82
|
-
removedWordHighlight: "rgba(239, 68, 68, 0.3)",
|
|
83
|
-
// UI elements
|
|
84
|
-
lineNumberBackground: "#121212",
|
|
85
|
-
lineNumberText: "#A0A0A0",
|
|
86
|
-
lineNumberBorder: "#333333",
|
|
87
|
-
// Markers
|
|
88
|
-
markerAddedBackground: "rgba(32, 201, 151, 0.2)",
|
|
89
|
-
markerRemovedBackground: "rgba(239, 68, 68, 0.2)",
|
|
90
|
-
markerModifiedBackground: "rgba(155, 112, 224, 0.2)",
|
|
91
|
-
markerText: "#A0A0A0",
|
|
92
|
-
// Borders and dividers
|
|
93
|
-
borderColor: "#333333",
|
|
94
|
-
dividerColor: "#333333",
|
|
95
|
-
// Summary bar
|
|
96
|
-
summaryBackground: "#1A1A1A",
|
|
97
|
-
summaryAddedText: "#20C997",
|
|
98
|
-
summaryRemovedText: "#EF4444",
|
|
99
|
-
summaryModifiedText: "#9B70E0",
|
|
100
|
-
// Empty state
|
|
101
|
-
emptyStateText: "#888888",
|
|
102
|
-
// Separator
|
|
103
|
-
separatorBackground: "#1A1A1A",
|
|
104
|
-
separatorText: "#A0A0A0"
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Theme collection
|
|
109
|
-
*/
|
|
110
|
-
const diffThemes = exports.diffThemes = {
|
|
111
|
-
gitClassic: gitClassicTheme,
|
|
112
|
-
devToolsDefault: devToolsDefaultTheme
|
|
113
|
-
};
|
|
6
|
+
Object.defineProperty(exports, "devToolsDefaultTheme", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _dataViewer.devToolsDefaultTheme;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "diffThemes", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _dataViewer.diffThemes;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "gitClassicTheme", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _dataViewer.gitClassicTheme;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
var _dataViewer = require("@buoy-gg/shared-ui/dataViewer");
|
|
@@ -578,7 +578,7 @@ function GameUIStorageBrowser({
|
|
|
578
578
|
style: styles.emptyState,
|
|
579
579
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Database, {
|
|
580
580
|
size: 48,
|
|
581
|
-
color: _sharedUi.
|
|
581
|
+
color: _sharedUi.night.color.textTertiary
|
|
582
582
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
583
583
|
style: styles.emptyTitle,
|
|
584
584
|
children: "Loading storage keys..."
|
|
@@ -647,7 +647,7 @@ function GameUIStorageBrowser({
|
|
|
647
647
|
style: [styles.instanceNavbarButton, selectedMMKVInstance === null && styles.instanceNavbarButtonActive],
|
|
648
648
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.HardDrive, {
|
|
649
649
|
size: 12,
|
|
650
|
-
color: selectedMMKVInstance === null ? _sharedUi.
|
|
650
|
+
color: selectedMMKVInstance === null ? _sharedUi.night.color.text : _sharedUi.night.color.textSecondary
|
|
651
651
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
652
652
|
style: [styles.instanceNavbarButtonText, selectedMMKVInstance === null && styles.instanceNavbarButtonTextActive],
|
|
653
653
|
children: "All"
|
|
@@ -669,13 +669,13 @@ function GameUIStorageBrowser({
|
|
|
669
669
|
}
|
|
670
670
|
},
|
|
671
671
|
style: [styles.instanceNavbarButton, inst.id === selectedMMKVInstance && styles.instanceNavbarButtonActive, {
|
|
672
|
-
borderColor: isLocked ? _sharedUi.
|
|
673
|
-
backgroundColor: inst.id === selectedMMKVInstance ? getInstanceColor(inst.id) + '20' : _sharedUi.
|
|
672
|
+
borderColor: isLocked ? _sharedUi.night.color.border : getInstanceColor(inst.id) + '40',
|
|
673
|
+
backgroundColor: inst.id === selectedMMKVInstance ? getInstanceColor(inst.id) + '20' : _sharedUi.night.color.surfaceElevated,
|
|
674
674
|
opacity: isLocked ? 0.5 : 1
|
|
675
675
|
}],
|
|
676
676
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.HardDrive, {
|
|
677
677
|
size: 12,
|
|
678
|
-
color: inst.id === selectedMMKVInstance ? getInstanceColor(inst.id) : _sharedUi.
|
|
678
|
+
color: inst.id === selectedMMKVInstance ? getInstanceColor(inst.id) : _sharedUi.night.color.textSecondary
|
|
679
679
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
680
680
|
style: [styles.instanceNavbarButtonText, inst.id === selectedMMKVInstance && {
|
|
681
681
|
color: getInstanceColor(inst.id),
|
|
@@ -734,7 +734,7 @@ function GameUIStorageBrowser({
|
|
|
734
734
|
style: styles.limitBannerLeft,
|
|
735
735
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Zap, {
|
|
736
736
|
size: 16,
|
|
737
|
-
color: _sharedUi.
|
|
737
|
+
color: _sharedUi.night.color.accent
|
|
738
738
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
739
739
|
style: styles.limitBannerText,
|
|
740
740
|
children: searchQuery ? `${lockedKeyCount} matching ${lockedKeyCount === 1 ? 'key' : 'keys'} in locked storage` : `${lockedKeyCount} keys locked`
|
|
@@ -749,7 +749,7 @@ function GameUIStorageBrowser({
|
|
|
749
749
|
style: styles.emptyState,
|
|
750
750
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Database, {
|
|
751
751
|
size: 32,
|
|
752
|
-
color: _sharedUi.
|
|
752
|
+
color: _sharedUi.night.color.textTertiary
|
|
753
753
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
754
754
|
style: styles.emptyTitle,
|
|
755
755
|
children: searchQuery ? "No results found" : activeFilter === "all" ? "No valid keys found" : activeFilter === "missing" ? "No missing keys" : "No issues found"
|
|
@@ -851,11 +851,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
851
851
|
},
|
|
852
852
|
scrollContainer: {
|
|
853
853
|
flex: 1,
|
|
854
|
-
|
|
854
|
+
// Transparent so JsModal's ToolBackground shows through (the modal paints opaque base beneath it).
|
|
855
|
+
backgroundColor: "transparent"
|
|
855
856
|
},
|
|
856
857
|
container: {
|
|
857
858
|
padding: 12,
|
|
858
|
-
|
|
859
|
+
// Generous so a key card expanded at the bottom of the list can scroll
|
|
860
|
+
// its full detail block above the modal edge.
|
|
861
|
+
paddingBottom: 120
|
|
859
862
|
},
|
|
860
863
|
backgroundGrid: {
|
|
861
864
|
..._sharedUi.absoluteFill,
|
|
@@ -864,7 +867,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
864
867
|
},
|
|
865
868
|
techFooter: {
|
|
866
869
|
fontSize: 8,
|
|
867
|
-
color: _sharedUi.
|
|
870
|
+
color: _sharedUi.night.color.textTertiary,
|
|
868
871
|
fontFamily: "monospace",
|
|
869
872
|
textAlign: "center",
|
|
870
873
|
marginTop: 20,
|
|
@@ -874,11 +877,11 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
874
877
|
// Keys section
|
|
875
878
|
keysSection: {
|
|
876
879
|
marginTop: 8,
|
|
877
|
-
backgroundColor: _sharedUi.
|
|
880
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
878
881
|
borderRadius: 12,
|
|
879
882
|
padding: 12,
|
|
880
883
|
borderWidth: 1,
|
|
881
|
-
borderColor: _sharedUi.
|
|
884
|
+
borderColor: _sharedUi.night.color.border
|
|
882
885
|
},
|
|
883
886
|
sectionHeader: {
|
|
884
887
|
flexDirection: "row",
|
|
@@ -887,7 +890,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
887
890
|
marginBottom: 10,
|
|
888
891
|
paddingBottom: 6,
|
|
889
892
|
borderBottomWidth: 1,
|
|
890
|
-
borderBottomColor: _sharedUi.
|
|
893
|
+
borderBottomColor: _sharedUi.night.color.separator
|
|
891
894
|
},
|
|
892
895
|
sectionHeaderLeft: {
|
|
893
896
|
flexDirection: "row",
|
|
@@ -897,22 +900,22 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
897
900
|
sectionTitle: {
|
|
898
901
|
fontSize: 12,
|
|
899
902
|
fontWeight: "600",
|
|
900
|
-
color: _sharedUi.
|
|
903
|
+
color: _sharedUi.night.color.textSecondary,
|
|
901
904
|
letterSpacing: 0.4,
|
|
902
905
|
textTransform: "uppercase"
|
|
903
906
|
},
|
|
904
907
|
countBadge: {
|
|
905
|
-
backgroundColor: _sharedUi.
|
|
908
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
906
909
|
paddingHorizontal: 8,
|
|
907
910
|
paddingVertical: 3,
|
|
908
911
|
borderRadius: 6,
|
|
909
912
|
borderWidth: 1,
|
|
910
|
-
borderColor: _sharedUi.
|
|
913
|
+
borderColor: _sharedUi.night.color.border
|
|
911
914
|
},
|
|
912
915
|
countText: {
|
|
913
916
|
fontSize: 11,
|
|
914
917
|
fontWeight: "600",
|
|
915
|
-
color: _sharedUi.
|
|
918
|
+
color: _sharedUi.night.color.text,
|
|
916
919
|
fontFamily: "monospace"
|
|
917
920
|
},
|
|
918
921
|
// Empty state
|
|
@@ -924,56 +927,56 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
924
927
|
emptyTitle: {
|
|
925
928
|
fontSize: 16,
|
|
926
929
|
fontWeight: "600",
|
|
927
|
-
color: _sharedUi.
|
|
930
|
+
color: _sharedUi.night.color.text,
|
|
928
931
|
marginTop: 12,
|
|
929
932
|
marginBottom: 8
|
|
930
933
|
},
|
|
931
934
|
emptySubtitle: {
|
|
932
935
|
fontSize: 13,
|
|
933
|
-
color: _sharedUi.
|
|
936
|
+
color: _sharedUi.night.color.textSecondary,
|
|
934
937
|
textAlign: "center"
|
|
935
938
|
},
|
|
936
939
|
// Empty MMKV state
|
|
937
940
|
emptyMMKVState: {
|
|
938
|
-
backgroundColor: _sharedUi.
|
|
941
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
939
942
|
borderRadius: 12,
|
|
940
943
|
padding: 20,
|
|
941
944
|
borderWidth: 1,
|
|
942
|
-
borderColor: _sharedUi.
|
|
945
|
+
borderColor: _sharedUi.night.color.border,
|
|
943
946
|
marginTop: 8,
|
|
944
947
|
alignItems: "center"
|
|
945
948
|
},
|
|
946
949
|
emptyMMKVTitle: {
|
|
947
950
|
fontSize: 14,
|
|
948
951
|
fontWeight: "600",
|
|
949
|
-
color: _sharedUi.
|
|
952
|
+
color: _sharedUi.night.color.text,
|
|
950
953
|
marginBottom: 6
|
|
951
954
|
},
|
|
952
955
|
emptyMMKVSubtitle: {
|
|
953
956
|
fontSize: 12,
|
|
954
|
-
color: _sharedUi.
|
|
957
|
+
color: _sharedUi.night.color.textSecondary,
|
|
955
958
|
textAlign: "center",
|
|
956
959
|
marginBottom: 12
|
|
957
960
|
},
|
|
958
961
|
emptyMMKVCode: {
|
|
959
962
|
fontSize: 10,
|
|
960
963
|
fontFamily: "monospace",
|
|
961
|
-
color: _sharedUi.
|
|
962
|
-
backgroundColor: _sharedUi.
|
|
964
|
+
color: _sharedUi.night.color.accent,
|
|
965
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
963
966
|
padding: 12,
|
|
964
967
|
borderRadius: 8,
|
|
965
968
|
borderWidth: 1,
|
|
966
|
-
borderColor: _sharedUi.
|
|
969
|
+
borderColor: _sharedUi.night.color.border,
|
|
967
970
|
alignSelf: "stretch"
|
|
968
971
|
},
|
|
969
972
|
// Instance Navbar styles
|
|
970
973
|
instanceNavbar: {
|
|
971
974
|
marginTop: 12,
|
|
972
975
|
marginBottom: 8,
|
|
973
|
-
backgroundColor: _sharedUi.
|
|
976
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
974
977
|
borderRadius: 10,
|
|
975
978
|
borderWidth: 1,
|
|
976
|
-
borderColor: _sharedUi.
|
|
979
|
+
borderColor: _sharedUi.night.color.border,
|
|
977
980
|
padding: 10,
|
|
978
981
|
shadowColor: '#000',
|
|
979
982
|
shadowOpacity: 0.08,
|
|
@@ -993,7 +996,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
993
996
|
instanceNavbarLabel: {
|
|
994
997
|
fontSize: 9,
|
|
995
998
|
fontWeight: '700',
|
|
996
|
-
color: _sharedUi.
|
|
999
|
+
color: _sharedUi.night.color.textTertiary,
|
|
997
1000
|
textTransform: "uppercase",
|
|
998
1001
|
letterSpacing: 1
|
|
999
1002
|
},
|
|
@@ -1007,10 +1010,10 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
1007
1010
|
gap: 6,
|
|
1008
1011
|
paddingHorizontal: 12,
|
|
1009
1012
|
paddingVertical: 8,
|
|
1010
|
-
backgroundColor: _sharedUi.
|
|
1013
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
1011
1014
|
borderRadius: 8,
|
|
1012
1015
|
borderWidth: 1,
|
|
1013
|
-
borderColor: _sharedUi.
|
|
1016
|
+
borderColor: _sharedUi.night.color.border,
|
|
1014
1017
|
minWidth: 90
|
|
1015
1018
|
},
|
|
1016
1019
|
instanceNavbarButtonActive: {
|
|
@@ -1026,16 +1029,16 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
1026
1029
|
instanceNavbarButtonText: {
|
|
1027
1030
|
fontSize: 11,
|
|
1028
1031
|
fontWeight: '600',
|
|
1029
|
-
color: _sharedUi.
|
|
1032
|
+
color: _sharedUi.night.color.textSecondary,
|
|
1030
1033
|
fontFamily: 'monospace',
|
|
1031
1034
|
flex: 1
|
|
1032
1035
|
},
|
|
1033
1036
|
instanceNavbarButtonTextActive: {
|
|
1034
1037
|
fontWeight: '700',
|
|
1035
|
-
color: _sharedUi.
|
|
1038
|
+
color: _sharedUi.night.color.text
|
|
1036
1039
|
},
|
|
1037
1040
|
instanceNavbarBadge: {
|
|
1038
|
-
backgroundColor: _sharedUi.
|
|
1041
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
1039
1042
|
paddingHorizontal: 6,
|
|
1040
1043
|
paddingVertical: 2,
|
|
1041
1044
|
borderRadius: 6,
|
|
@@ -1045,29 +1048,29 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
1045
1048
|
instanceNavbarBadgeText: {
|
|
1046
1049
|
fontSize: 10,
|
|
1047
1050
|
fontWeight: '700',
|
|
1048
|
-
color: _sharedUi.
|
|
1051
|
+
color: _sharedUi.night.color.textSecondary,
|
|
1049
1052
|
fontFamily: 'monospace'
|
|
1050
1053
|
},
|
|
1051
1054
|
clearSearchButton: {
|
|
1052
1055
|
marginTop: 16,
|
|
1053
1056
|
paddingHorizontal: 16,
|
|
1054
1057
|
paddingVertical: 8,
|
|
1055
|
-
backgroundColor: _sharedUi.
|
|
1058
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
1056
1059
|
borderRadius: 6,
|
|
1057
1060
|
borderWidth: 1,
|
|
1058
|
-
borderColor: _sharedUi.
|
|
1061
|
+
borderColor: _sharedUi.night.color.border
|
|
1059
1062
|
},
|
|
1060
1063
|
clearSearchText: {
|
|
1061
1064
|
fontSize: 13,
|
|
1062
|
-
color: _sharedUi.
|
|
1065
|
+
color: _sharedUi.night.color.text,
|
|
1063
1066
|
fontWeight: "500"
|
|
1064
1067
|
},
|
|
1065
1068
|
// Free tier limit banner
|
|
1066
1069
|
limitBanner: {
|
|
1067
|
-
backgroundColor: _sharedUi.
|
|
1070
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
1068
1071
|
borderRadius: 10,
|
|
1069
1072
|
borderWidth: 1,
|
|
1070
|
-
borderColor: _sharedUi.
|
|
1073
|
+
borderColor: _sharedUi.night.color.accentBorderStrong,
|
|
1071
1074
|
padding: 12,
|
|
1072
1075
|
marginTop: 12
|
|
1073
1076
|
},
|
|
@@ -1083,12 +1086,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
1083
1086
|
gap: 8
|
|
1084
1087
|
},
|
|
1085
1088
|
limitBannerText: {
|
|
1086
|
-
color: _sharedUi.
|
|
1089
|
+
color: _sharedUi.night.color.text,
|
|
1087
1090
|
fontSize: 13,
|
|
1088
1091
|
fontWeight: "600"
|
|
1089
1092
|
},
|
|
1090
1093
|
limitBannerSubtext: {
|
|
1091
|
-
color: _sharedUi.
|
|
1094
|
+
color: _sharedUi.night.color.textTertiary,
|
|
1092
1095
|
fontSize: 11
|
|
1093
1096
|
}
|
|
1094
1097
|
});
|