@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
|
@@ -42,15 +42,15 @@ function StorageFilterCards({
|
|
|
42
42
|
style: styles.filtersRow,
|
|
43
43
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
44
44
|
style: [styles.filterChip, activeFilter === "all" && [styles.filterChipActive, {
|
|
45
|
-
backgroundColor: _sharedUi.
|
|
46
|
-
borderColor: _sharedUi.
|
|
47
|
-
shadowColor: _sharedUi.
|
|
45
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
46
|
+
borderColor: _sharedUi.night.color.accentBorderStrong,
|
|
47
|
+
shadowColor: _sharedUi.night.color.accent
|
|
48
48
|
}]],
|
|
49
49
|
onPress: () => onFilterChange?.("all"),
|
|
50
50
|
activeOpacity: 0.8,
|
|
51
51
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
52
52
|
style: [styles.filterValue, {
|
|
53
|
-
color: _sharedUi.
|
|
53
|
+
color: _sharedUi.night.color.text
|
|
54
54
|
}],
|
|
55
55
|
children: displayStats.validCount
|
|
56
56
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -67,7 +67,7 @@ function StorageFilterCards({
|
|
|
67
67
|
activeOpacity: 0.8,
|
|
68
68
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
69
69
|
style: [styles.filterValue, {
|
|
70
|
-
color: displayStats.missingCount > 0 ? _sharedUi.macOSColors.semantic.error : _sharedUi.
|
|
70
|
+
color: displayStats.missingCount > 0 ? _sharedUi.macOSColors.semantic.error : _sharedUi.night.color.textTertiary
|
|
71
71
|
}],
|
|
72
72
|
children: displayStats.missingCount
|
|
73
73
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -84,7 +84,7 @@ function StorageFilterCards({
|
|
|
84
84
|
activeOpacity: 0.8,
|
|
85
85
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
86
86
|
style: [styles.filterValue, {
|
|
87
|
-
color: displayStats.issuesCount > 0 ? _sharedUi.macOSColors.semantic.warning : _sharedUi.
|
|
87
|
+
color: displayStats.issuesCount > 0 ? _sharedUi.macOSColors.semantic.warning : _sharedUi.night.color.textTertiary
|
|
88
88
|
}],
|
|
89
89
|
children: displayStats.issuesCount
|
|
90
90
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -106,11 +106,11 @@ function StorageFilterCards({
|
|
|
106
106
|
}
|
|
107
107
|
const styles = _reactNative.StyleSheet.create({
|
|
108
108
|
container: {
|
|
109
|
-
backgroundColor: _sharedUi.
|
|
109
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
110
110
|
borderRadius: 12,
|
|
111
111
|
padding: 16,
|
|
112
112
|
borderWidth: 1,
|
|
113
|
-
borderColor: _sharedUi.
|
|
113
|
+
borderColor: _sharedUi.night.color.border,
|
|
114
114
|
gap: 14,
|
|
115
115
|
shadowColor: "#000000",
|
|
116
116
|
shadowOpacity: 0.03,
|
|
@@ -139,18 +139,18 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
139
139
|
titleText: {
|
|
140
140
|
fontSize: 12,
|
|
141
141
|
fontWeight: "600",
|
|
142
|
-
color: _sharedUi.
|
|
142
|
+
color: _sharedUi.night.color.text,
|
|
143
143
|
letterSpacing: 0.5,
|
|
144
144
|
textTransform: "uppercase"
|
|
145
145
|
},
|
|
146
146
|
titleDivider: {
|
|
147
147
|
width: 4,
|
|
148
148
|
height: 1,
|
|
149
|
-
backgroundColor: _sharedUi.
|
|
149
|
+
backgroundColor: _sharedUi.night.color.border,
|
|
150
150
|
marginHorizontal: 4
|
|
151
151
|
},
|
|
152
152
|
subtitleText: {
|
|
153
|
-
color: _sharedUi.
|
|
153
|
+
color: _sharedUi.night.color.textTertiary,
|
|
154
154
|
fontSize: 11
|
|
155
155
|
},
|
|
156
156
|
healthBadge: {
|
|
@@ -168,7 +168,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
168
168
|
healthProgressBar: {
|
|
169
169
|
height: 3,
|
|
170
170
|
borderRadius: 1.5,
|
|
171
|
-
backgroundColor: _sharedUi.
|
|
171
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
172
172
|
overflow: "hidden"
|
|
173
173
|
},
|
|
174
174
|
healthProgressFill: {
|
|
@@ -182,10 +182,10 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
182
182
|
},
|
|
183
183
|
filterChip: {
|
|
184
184
|
flex: 1,
|
|
185
|
-
backgroundColor: _sharedUi.
|
|
185
|
+
backgroundColor: _sharedUi.night.color.buttonSurface,
|
|
186
186
|
borderRadius: 8,
|
|
187
187
|
borderWidth: 1,
|
|
188
|
-
borderColor: _sharedUi.
|
|
188
|
+
borderColor: _sharedUi.night.color.border,
|
|
189
189
|
paddingVertical: 10,
|
|
190
190
|
paddingHorizontal: 12,
|
|
191
191
|
alignItems: "center",
|
|
@@ -207,7 +207,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
207
207
|
},
|
|
208
208
|
filterLabel: {
|
|
209
209
|
fontSize: 9,
|
|
210
|
-
color: _sharedUi.
|
|
210
|
+
color: _sharedUi.night.color.textTertiary,
|
|
211
211
|
textTransform: "uppercase",
|
|
212
212
|
letterSpacing: 0.5,
|
|
213
213
|
fontWeight: "500",
|
|
@@ -213,7 +213,7 @@ function StorageKeyCard({
|
|
|
213
213
|
hitSlop: HIT_SLOP,
|
|
214
214
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Eye, {
|
|
215
215
|
size: 12,
|
|
216
|
-
color: _sharedUi.
|
|
216
|
+
color: _sharedUi.night.color.textSecondary
|
|
217
217
|
})
|
|
218
218
|
})
|
|
219
219
|
})]
|
|
@@ -319,7 +319,7 @@ function StorageKeyCard({
|
|
|
319
319
|
}
|
|
320
320
|
const styles = _reactNative.StyleSheet.create({
|
|
321
321
|
storageKeyCard: {
|
|
322
|
-
backgroundColor: _sharedUi.
|
|
322
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
323
323
|
borderRadius: 8,
|
|
324
324
|
borderWidth: 1,
|
|
325
325
|
overflow: "hidden"
|
|
@@ -347,14 +347,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
347
347
|
gap: 4
|
|
348
348
|
},
|
|
349
349
|
storageKeyText: {
|
|
350
|
-
color: _sharedUi.
|
|
350
|
+
color: _sharedUi.night.color.text,
|
|
351
351
|
fontWeight: "500",
|
|
352
352
|
fontSize: 12,
|
|
353
353
|
flexWrap: "wrap",
|
|
354
354
|
flex: 1
|
|
355
355
|
},
|
|
356
356
|
descriptionText: {
|
|
357
|
-
color: _sharedUi.
|
|
357
|
+
color: _sharedUi.night.color.textSecondary,
|
|
358
358
|
fontSize: 10,
|
|
359
359
|
marginTop: 2,
|
|
360
360
|
flexWrap: "wrap"
|
|
@@ -405,12 +405,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
405
405
|
valueBadge: {
|
|
406
406
|
paddingHorizontal: 4,
|
|
407
407
|
paddingVertical: 2,
|
|
408
|
-
backgroundColor: _sharedUi.
|
|
408
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
409
409
|
borderRadius: 3
|
|
410
410
|
},
|
|
411
411
|
valueText: {
|
|
412
412
|
fontSize: 8,
|
|
413
|
-
color: _sharedUi.
|
|
413
|
+
color: _sharedUi.night.color.textSecondary,
|
|
414
414
|
fontWeight: "500"
|
|
415
415
|
},
|
|
416
416
|
cardHeaderRight: {
|
|
@@ -419,11 +419,11 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
419
419
|
actionButton: {
|
|
420
420
|
padding: 4,
|
|
421
421
|
borderRadius: 4,
|
|
422
|
-
backgroundColor: _sharedUi.
|
|
422
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated
|
|
423
423
|
},
|
|
424
424
|
cardBody: {
|
|
425
425
|
borderTopWidth: 1,
|
|
426
|
-
borderTopColor: _sharedUi.
|
|
426
|
+
borderTopColor: _sharedUi.night.color.separator,
|
|
427
427
|
padding: 12,
|
|
428
428
|
gap: 12
|
|
429
429
|
},
|
|
@@ -434,18 +434,18 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
434
434
|
gap: 8
|
|
435
435
|
},
|
|
436
436
|
simpleValueLabel: {
|
|
437
|
-
color: _sharedUi.
|
|
437
|
+
color: _sharedUi.night.color.textSecondary,
|
|
438
438
|
fontSize: 10,
|
|
439
439
|
fontWeight: "500",
|
|
440
440
|
textTransform: "uppercase",
|
|
441
441
|
letterSpacing: 0.5
|
|
442
442
|
},
|
|
443
443
|
simpleValueBox: {
|
|
444
|
-
backgroundColor: _sharedUi.
|
|
444
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
445
445
|
borderRadius: 4,
|
|
446
446
|
padding: 10,
|
|
447
447
|
borderWidth: 1,
|
|
448
|
-
borderColor: _sharedUi.
|
|
448
|
+
borderColor: _sharedUi.night.color.border
|
|
449
449
|
},
|
|
450
450
|
simpleValueContent: {
|
|
451
451
|
color: _sharedUi.gameUIColors.success,
|
|
@@ -454,7 +454,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
454
454
|
lineHeight: 16
|
|
455
455
|
},
|
|
456
456
|
valueTypeText: {
|
|
457
|
-
color: _sharedUi.
|
|
457
|
+
color: _sharedUi.night.color.textTertiary,
|
|
458
458
|
fontSize: 9,
|
|
459
459
|
fontStyle: "italic"
|
|
460
460
|
},
|
|
@@ -462,34 +462,34 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
462
462
|
gap: 6
|
|
463
463
|
},
|
|
464
464
|
valueLabel: {
|
|
465
|
-
color: _sharedUi.
|
|
465
|
+
color: _sharedUi.night.color.textSecondary,
|
|
466
466
|
fontSize: 10,
|
|
467
467
|
fontWeight: "500",
|
|
468
468
|
textTransform: "uppercase",
|
|
469
469
|
letterSpacing: 0.5
|
|
470
470
|
},
|
|
471
471
|
valueBox: {
|
|
472
|
-
backgroundColor: _sharedUi.
|
|
472
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
473
473
|
borderRadius: 4,
|
|
474
474
|
padding: 8,
|
|
475
475
|
borderWidth: 1,
|
|
476
|
-
borderColor: _sharedUi.
|
|
476
|
+
borderColor: _sharedUi.night.color.border
|
|
477
477
|
},
|
|
478
478
|
valueContent: {
|
|
479
|
-
color: _sharedUi.
|
|
479
|
+
color: _sharedUi.night.color.text,
|
|
480
480
|
fontSize: 10,
|
|
481
481
|
fontFamily: "monospace",
|
|
482
482
|
lineHeight: 14
|
|
483
483
|
},
|
|
484
484
|
expectedValueBox: {
|
|
485
|
-
backgroundColor: _sharedUi.
|
|
485
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
486
486
|
borderRadius: 4,
|
|
487
487
|
padding: 8,
|
|
488
488
|
borderWidth: 1,
|
|
489
|
-
borderColor: _sharedUi.
|
|
489
|
+
borderColor: _sharedUi.night.color.border
|
|
490
490
|
},
|
|
491
491
|
expectedValueContent: {
|
|
492
|
-
color: _sharedUi.
|
|
492
|
+
color: _sharedUi.night.color.text,
|
|
493
493
|
fontSize: 10,
|
|
494
494
|
fontFamily: "monospace",
|
|
495
495
|
lineHeight: 14
|
|
@@ -510,7 +510,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
510
510
|
fontStyle: "italic"
|
|
511
511
|
},
|
|
512
512
|
typeHelperText: {
|
|
513
|
-
color: _sharedUi.
|
|
513
|
+
color: _sharedUi.night.color.textSecondary,
|
|
514
514
|
fontSize: 9,
|
|
515
515
|
marginTop: 4,
|
|
516
516
|
textAlign: "center"
|
|
@@ -519,7 +519,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
519
519
|
marginTop: 8
|
|
520
520
|
},
|
|
521
521
|
metaLabel: {
|
|
522
|
-
color: _sharedUi.
|
|
522
|
+
color: _sharedUi.night.color.textTertiary,
|
|
523
523
|
fontSize: 9,
|
|
524
524
|
fontStyle: "italic"
|
|
525
525
|
}
|
|
@@ -210,7 +210,7 @@ function EditorHeader({
|
|
|
210
210
|
},
|
|
211
211
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
|
|
212
212
|
size: 16,
|
|
213
|
-
color: _sharedUi.
|
|
213
|
+
color: _sharedUi.night.color.textSecondary
|
|
214
214
|
})
|
|
215
215
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
216
216
|
style: styles.headerTitle,
|
|
@@ -234,7 +234,7 @@ function EditorHeader({
|
|
|
234
234
|
},
|
|
235
235
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.FileJson, {
|
|
236
236
|
size: 16,
|
|
237
|
-
color: _sharedUi.
|
|
237
|
+
color: _sharedUi.night.color.accent
|
|
238
238
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
239
239
|
style: styles.headerRawText,
|
|
240
240
|
children: "Raw"
|
|
@@ -269,7 +269,8 @@ function storageTypeColor(storageType) {
|
|
|
269
269
|
const styles = _reactNative.StyleSheet.create({
|
|
270
270
|
screen: {
|
|
271
271
|
flex: 1,
|
|
272
|
-
|
|
272
|
+
// Transparent so the night sheet's star field shows through.
|
|
273
|
+
backgroundColor: "transparent"
|
|
273
274
|
},
|
|
274
275
|
header: {
|
|
275
276
|
flexDirection: "row",
|
|
@@ -278,7 +279,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
278
279
|
paddingHorizontal: 10,
|
|
279
280
|
paddingVertical: 8,
|
|
280
281
|
borderBottomWidth: 1,
|
|
281
|
-
borderBottomColor: _sharedUi.
|
|
282
|
+
borderBottomColor: _sharedUi.night.color.border
|
|
282
283
|
},
|
|
283
284
|
headerButton: {
|
|
284
285
|
flexDirection: "row",
|
|
@@ -288,7 +289,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
288
289
|
paddingHorizontal: 4
|
|
289
290
|
},
|
|
290
291
|
headerRawText: {
|
|
291
|
-
color: _sharedUi.
|
|
292
|
+
color: _sharedUi.night.color.accent,
|
|
292
293
|
fontSize: 12,
|
|
293
294
|
fontWeight: "700"
|
|
294
295
|
},
|
|
@@ -298,17 +299,17 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
298
299
|
gap: 2
|
|
299
300
|
},
|
|
300
301
|
headerKey: {
|
|
301
|
-
color: _sharedUi.
|
|
302
|
+
color: _sharedUi.night.color.text,
|
|
302
303
|
fontSize: 13,
|
|
303
304
|
fontWeight: "600",
|
|
304
305
|
fontFamily: "monospace"
|
|
305
306
|
},
|
|
306
307
|
headerState: {
|
|
307
|
-
color: _sharedUi.
|
|
308
|
+
color: _sharedUi.night.color.textTertiary,
|
|
308
309
|
fontSize: 10
|
|
309
310
|
},
|
|
310
311
|
headerDirty: {
|
|
311
|
-
color: _sharedUi.
|
|
312
|
+
color: _sharedUi.night.color.warning
|
|
312
313
|
},
|
|
313
314
|
metaRow: {
|
|
314
315
|
flexDirection: "row",
|
|
@@ -318,7 +319,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
318
319
|
paddingVertical: 8
|
|
319
320
|
},
|
|
320
321
|
metaText: {
|
|
321
|
-
color: _sharedUi.
|
|
322
|
+
color: _sharedUi.night.color.textTertiary,
|
|
322
323
|
fontSize: 11,
|
|
323
324
|
fontFamily: "monospace"
|
|
324
325
|
},
|
|
@@ -330,27 +331,27 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
330
331
|
paddingBottom: 16
|
|
331
332
|
},
|
|
332
333
|
treeCard: {
|
|
333
|
-
backgroundColor: _sharedUi.
|
|
334
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
334
335
|
borderRadius: 10,
|
|
335
336
|
borderWidth: 1,
|
|
336
|
-
borderColor: _sharedUi.
|
|
337
|
+
borderColor: _sharedUi.night.color.border,
|
|
337
338
|
padding: 6
|
|
338
339
|
},
|
|
339
340
|
treeHint: {
|
|
340
|
-
color: _sharedUi.
|
|
341
|
+
color: _sharedUi.night.color.textTertiary,
|
|
341
342
|
fontSize: 10,
|
|
342
343
|
paddingTop: 8,
|
|
343
344
|
paddingHorizontal: 4
|
|
344
345
|
},
|
|
345
346
|
error: {
|
|
346
|
-
color: _sharedUi.
|
|
347
|
+
color: _sharedUi.night.color.danger,
|
|
347
348
|
fontSize: 11,
|
|
348
349
|
fontFamily: "monospace",
|
|
349
350
|
paddingHorizontal: 12,
|
|
350
351
|
paddingBottom: 6
|
|
351
352
|
},
|
|
352
353
|
footer: {
|
|
353
|
-
backgroundColor: _sharedUi.
|
|
354
|
+
backgroundColor: _sharedUi.night.color.surface
|
|
354
355
|
},
|
|
355
356
|
commitRow: {
|
|
356
357
|
flexDirection: "row",
|
|
@@ -366,10 +367,10 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
366
367
|
justifyContent: "center",
|
|
367
368
|
borderRadius: 12,
|
|
368
369
|
borderWidth: 1,
|
|
369
|
-
borderColor: _sharedUi.
|
|
370
|
+
borderColor: _sharedUi.night.color.border
|
|
370
371
|
},
|
|
371
372
|
discardText: {
|
|
372
|
-
color: _sharedUi.
|
|
373
|
+
color: _sharedUi.night.color.textSecondary,
|
|
373
374
|
fontSize: 14,
|
|
374
375
|
fontWeight: "600"
|
|
375
376
|
},
|
|
@@ -379,13 +380,13 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
379
380
|
alignItems: "center",
|
|
380
381
|
justifyContent: "center",
|
|
381
382
|
borderRadius: 12,
|
|
382
|
-
backgroundColor: _sharedUi.
|
|
383
|
+
backgroundColor: _sharedUi.night.color.accent
|
|
383
384
|
},
|
|
384
385
|
saveDisabled: {
|
|
385
386
|
opacity: 0.5
|
|
386
387
|
},
|
|
387
388
|
saveText: {
|
|
388
|
-
color: _sharedUi.
|
|
389
|
+
color: _sharedUi.night.color.onAccent,
|
|
389
390
|
fontSize: 15,
|
|
390
391
|
fontWeight: "700"
|
|
391
392
|
}
|
|
@@ -230,7 +230,7 @@ const StorageKeyRow = exports.StorageKeyRow = /*#__PURE__*/(0, _react.memo)(func
|
|
|
230
230
|
},
|
|
231
231
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Edit3, {
|
|
232
232
|
size: 13,
|
|
233
|
-
color: _sharedUi.
|
|
233
|
+
color: _sharedUi.night.color.onAccent
|
|
234
234
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
235
235
|
style: styles.editButtonText,
|
|
236
236
|
children: isBoolean && onToggleKey ? "Toggle" : "Edit"
|
|
@@ -246,10 +246,11 @@ const StorageKeyRow = exports.StorageKeyRow = /*#__PURE__*/(0, _react.memo)(func
|
|
|
246
246
|
},
|
|
247
247
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Pin, {
|
|
248
248
|
size: 12,
|
|
249
|
-
|
|
249
|
+
active: isPinned,
|
|
250
|
+
color: _sharedUi.night.color.accent
|
|
250
251
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
251
252
|
style: [styles.actionChipText, {
|
|
252
|
-
color: _sharedUi.
|
|
253
|
+
color: _sharedUi.night.color.accent
|
|
253
254
|
}],
|
|
254
255
|
children: isPinned ? "Unpin" : "Pin to top"
|
|
255
256
|
})]
|
|
@@ -264,10 +265,10 @@ const StorageKeyRow = exports.StorageKeyRow = /*#__PURE__*/(0, _react.memo)(func
|
|
|
264
265
|
},
|
|
265
266
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.EyeOff, {
|
|
266
267
|
size: 12,
|
|
267
|
-
color: _sharedUi.
|
|
268
|
+
color: _sharedUi.night.color.warning
|
|
268
269
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
269
270
|
style: [styles.actionChipText, {
|
|
270
|
-
color: _sharedUi.
|
|
271
|
+
color: _sharedUi.night.color.warning
|
|
271
272
|
}],
|
|
272
273
|
children: "Hide from list"
|
|
273
274
|
})]
|
|
@@ -292,10 +293,10 @@ const StorageKeyRow = exports.StorageKeyRow = /*#__PURE__*/(0, _react.memo)(func
|
|
|
292
293
|
},
|
|
293
294
|
children: isSelected ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.CheckSquare, {
|
|
294
295
|
size: 18,
|
|
295
|
-
color: _sharedUi.
|
|
296
|
+
color: _sharedUi.night.color.accent
|
|
296
297
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Square, {
|
|
297
298
|
size: 18,
|
|
298
|
-
color: _sharedUi.
|
|
299
|
+
color: _sharedUi.night.color.textTertiary
|
|
299
300
|
})
|
|
300
301
|
}) : null;
|
|
301
302
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
@@ -320,7 +321,8 @@ const StorageKeyRow = exports.StorageKeyRow = /*#__PURE__*/(0, _react.memo)(func
|
|
|
320
321
|
style: styles.badgeRow,
|
|
321
322
|
children: [isPinned && /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Pin, {
|
|
322
323
|
size: 12,
|
|
323
|
-
|
|
324
|
+
active: true,
|
|
325
|
+
color: _sharedUi.night.color.accent
|
|
324
326
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.PillBadge, {
|
|
325
327
|
color: getStorageTypeColor(storageKey.storageType),
|
|
326
328
|
children: storageTypeLabel
|
|
@@ -372,14 +374,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
372
374
|
},
|
|
373
375
|
expandedLabel: {
|
|
374
376
|
fontSize: 10,
|
|
375
|
-
color: _sharedUi.
|
|
377
|
+
color: _sharedUi.night.color.textTertiary,
|
|
376
378
|
fontWeight: "600",
|
|
377
379
|
minWidth: 70,
|
|
378
380
|
fontFamily: "monospace"
|
|
379
381
|
},
|
|
380
382
|
expandedValue: {
|
|
381
383
|
fontSize: 11,
|
|
382
|
-
color: _sharedUi.
|
|
384
|
+
color: _sharedUi.night.color.textSecondary,
|
|
383
385
|
fontFamily: "monospace",
|
|
384
386
|
flex: 1
|
|
385
387
|
},
|
|
@@ -391,16 +393,16 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
391
393
|
},
|
|
392
394
|
expandedDescription: {
|
|
393
395
|
fontSize: 11,
|
|
394
|
-
color: _sharedUi.
|
|
396
|
+
color: _sharedUi.night.color.textSecondary,
|
|
395
397
|
flex: 1
|
|
396
398
|
},
|
|
397
399
|
dataViewerContainer: {
|
|
398
400
|
marginTop: 6,
|
|
399
401
|
marginBottom: 6,
|
|
400
|
-
backgroundColor: _sharedUi.
|
|
402
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
401
403
|
borderRadius: 6,
|
|
402
404
|
borderWidth: 1,
|
|
403
|
-
borderColor: _sharedUi.
|
|
405
|
+
borderColor: _sharedUi.night.color.border,
|
|
404
406
|
padding: 6
|
|
405
407
|
},
|
|
406
408
|
rowContainer: {
|
|
@@ -408,7 +410,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
408
410
|
alignItems: "flex-start"
|
|
409
411
|
},
|
|
410
412
|
rowContainerSelected: {
|
|
411
|
-
backgroundColor: _sharedUi.
|
|
413
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
412
414
|
borderRadius: 8
|
|
413
415
|
},
|
|
414
416
|
checkboxContainer: {
|
|
@@ -449,13 +451,13 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
449
451
|
paddingVertical: 6,
|
|
450
452
|
paddingHorizontal: 10,
|
|
451
453
|
borderRadius: 6,
|
|
452
|
-
backgroundColor: _sharedUi.
|
|
454
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
453
455
|
borderWidth: 1,
|
|
454
|
-
borderColor: _sharedUi.
|
|
456
|
+
borderColor: _sharedUi.night.color.border
|
|
455
457
|
},
|
|
456
458
|
actionChipActive: {
|
|
457
|
-
backgroundColor: _sharedUi.
|
|
458
|
-
borderColor: _sharedUi.
|
|
459
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
460
|
+
borderColor: _sharedUi.night.color.accentBorderStrong
|
|
459
461
|
},
|
|
460
462
|
/** Filled, and first — the one action in this row that changes anything. */
|
|
461
463
|
editButton: {
|
|
@@ -465,10 +467,10 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
465
467
|
paddingVertical: 8,
|
|
466
468
|
paddingHorizontal: 14,
|
|
467
469
|
borderRadius: 8,
|
|
468
|
-
backgroundColor: _sharedUi.
|
|
470
|
+
backgroundColor: _sharedUi.night.color.accent
|
|
469
471
|
},
|
|
470
472
|
editButtonText: {
|
|
471
|
-
color: _sharedUi.
|
|
473
|
+
color: _sharedUi.night.color.onAccent,
|
|
472
474
|
fontSize: 12,
|
|
473
475
|
fontWeight: "700"
|
|
474
476
|
},
|
|
@@ -484,6 +486,6 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
484
486
|
fontSize: 10,
|
|
485
487
|
fontWeight: "600",
|
|
486
488
|
fontFamily: "monospace",
|
|
487
|
-
color: _sharedUi.
|
|
489
|
+
color: _sharedUi.night.color.accent
|
|
488
490
|
}
|
|
489
491
|
});
|
|
@@ -106,15 +106,15 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
106
106
|
// No gap needed, StorageKeyRow has its own margins
|
|
107
107
|
},
|
|
108
108
|
emptySection: {
|
|
109
|
-
backgroundColor:
|
|
109
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
110
110
|
borderRadius: 6,
|
|
111
111
|
padding: 16,
|
|
112
112
|
borderWidth: 1,
|
|
113
|
-
borderColor:
|
|
113
|
+
borderColor: _sharedUi.night.color.border,
|
|
114
114
|
alignItems: "center"
|
|
115
115
|
},
|
|
116
116
|
emptySectionText: {
|
|
117
|
-
color: _sharedUi.
|
|
117
|
+
color: _sharedUi.night.color.textTertiary,
|
|
118
118
|
fontSize: 11,
|
|
119
119
|
textAlign: "center"
|
|
120
120
|
}
|
|
@@ -259,15 +259,15 @@ function StorageKeyStatsSection({
|
|
|
259
259
|
const styles = _reactNative.StyleSheet.create({
|
|
260
260
|
statsContainer: {
|
|
261
261
|
marginBottom: 24,
|
|
262
|
-
backgroundColor:
|
|
262
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
263
263
|
borderRadius: 8,
|
|
264
264
|
padding: 16,
|
|
265
265
|
borderWidth: 1,
|
|
266
|
-
borderColor:
|
|
266
|
+
borderColor: _sharedUi.night.color.border
|
|
267
267
|
},
|
|
268
268
|
// Section titles
|
|
269
269
|
sectionTitle: {
|
|
270
|
-
color: _sharedUi.
|
|
270
|
+
color: _sharedUi.night.color.textSecondary,
|
|
271
271
|
fontSize: 12,
|
|
272
272
|
fontWeight: "500",
|
|
273
273
|
marginBottom: 16,
|
|
@@ -283,11 +283,11 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
283
283
|
gap: 12
|
|
284
284
|
},
|
|
285
285
|
breakdownItem: {
|
|
286
|
-
backgroundColor:
|
|
286
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
287
287
|
padding: 12,
|
|
288
288
|
borderRadius: 8,
|
|
289
289
|
borderWidth: 1,
|
|
290
|
-
borderColor:
|
|
290
|
+
borderColor: _sharedUi.night.color.border
|
|
291
291
|
},
|
|
292
292
|
breakdownItemRow: {
|
|
293
293
|
flexDirection: "row",
|
|
@@ -310,12 +310,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
310
310
|
minWidth: 0
|
|
311
311
|
},
|
|
312
312
|
breakdownItemLabel: {
|
|
313
|
-
color: _sharedUi.
|
|
313
|
+
color: _sharedUi.night.color.text,
|
|
314
314
|
fontSize: 14,
|
|
315
315
|
fontWeight: "500"
|
|
316
316
|
},
|
|
317
317
|
breakdownItemDesc: {
|
|
318
|
-
color: _sharedUi.
|
|
318
|
+
color: _sharedUi.night.color.textSecondary,
|
|
319
319
|
fontSize: 12
|
|
320
320
|
},
|
|
321
321
|
breakdownItemRight: {
|
|
@@ -326,18 +326,18 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
326
326
|
fontWeight: "600"
|
|
327
327
|
},
|
|
328
328
|
breakdownPercentage: {
|
|
329
|
-
color: _sharedUi.
|
|
329
|
+
color: _sharedUi.night.color.textTertiary,
|
|
330
330
|
fontSize: 10
|
|
331
331
|
},
|
|
332
332
|
// Empty state
|
|
333
333
|
emptyState: {
|
|
334
334
|
padding: 16,
|
|
335
|
-
backgroundColor:
|
|
335
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
336
336
|
borderRadius: 6,
|
|
337
337
|
alignItems: "center"
|
|
338
338
|
},
|
|
339
339
|
emptyStateText: {
|
|
340
|
-
color: _sharedUi.
|
|
340
|
+
color: _sharedUi.night.color.textTertiary,
|
|
341
341
|
fontSize: 11,
|
|
342
342
|
textAlign: "center"
|
|
343
343
|
}
|