@buoy-gg/redux 7.0.26 → 7.0.28
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/redux/components/ReduxActionButton.js +29 -29
- package/lib/commonjs/redux/components/ReduxActionDetailContent.js +11 -9
- package/lib/commonjs/redux/components/ReduxActionDetailView.js +12 -12
- package/lib/commonjs/redux/components/ReduxActionInfoView.js +37 -36
- package/lib/commonjs/redux/components/ReduxDetailViewToggle.js +18 -15
- package/lib/commonjs/redux/components/ReduxModal.js +42 -37
- package/lib/module/redux/components/ReduxActionButton.js +30 -30
- package/lib/module/redux/components/ReduxActionDetailContent.js +12 -10
- package/lib/module/redux/components/ReduxActionDetailView.js +13 -13
- package/lib/module/redux/components/ReduxActionInfoView.js +38 -37
- package/lib/module/redux/components/ReduxDetailViewToggle.js +19 -16
- package/lib/module/redux/components/ReduxModal.js +43 -38
- package/lib/typescript/redux/components/ReduxActionButton.d.ts +8 -8
- package/lib/typescript/redux/components/ReduxActionDetailContent.d.ts.map +1 -1
- package/lib/typescript/redux/components/ReduxActionDetailView.d.ts.map +1 -1
- package/lib/typescript/redux/components/ReduxActionInfoView.d.ts.map +1 -1
- package/lib/typescript/redux/components/ReduxDetailViewToggle.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -36,7 +36,7 @@ function EmptyState({
|
|
|
36
36
|
style: styles.emptyState,
|
|
37
37
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Zap, {
|
|
38
38
|
size: 32,
|
|
39
|
-
color: _sharedUi.
|
|
39
|
+
color: _sharedUi.night.color.textTertiary
|
|
40
40
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
41
41
|
style: styles.emptyTitle,
|
|
42
42
|
children: "No Redux actions"
|
|
@@ -197,12 +197,12 @@ function ReduxModal({
|
|
|
197
197
|
style: styles.headerSearchContainer,
|
|
198
198
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Search, {
|
|
199
199
|
size: 14,
|
|
200
|
-
color: _sharedUi.
|
|
200
|
+
color: _sharedUi.night.color.textSecondary
|
|
201
201
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
202
202
|
ref: searchInputRef,
|
|
203
203
|
style: styles.headerSearchInput,
|
|
204
204
|
placeholder: "Search action types...",
|
|
205
|
-
placeholderTextColor: _sharedUi.
|
|
205
|
+
placeholderTextColor: _sharedUi.night.color.textTertiary,
|
|
206
206
|
value: searchText,
|
|
207
207
|
onChangeText: handleSearch,
|
|
208
208
|
onSubmitEditing: () => setIsSearchActive(false),
|
|
@@ -218,7 +218,7 @@ function ReduxModal({
|
|
|
218
218
|
style: styles.headerSearchClear,
|
|
219
219
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
|
|
220
220
|
size: 14,
|
|
221
|
-
color: _sharedUi.
|
|
221
|
+
color: _sharedUi.night.color.textSecondary
|
|
222
222
|
})
|
|
223
223
|
})]
|
|
224
224
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
@@ -234,7 +234,7 @@ function ReduxModal({
|
|
|
234
234
|
children: "ALL"
|
|
235
235
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
236
236
|
style: [styles.headerChipValue, {
|
|
237
|
-
color: _sharedUi.
|
|
237
|
+
color: _sharedUi.night.color.text
|
|
238
238
|
}],
|
|
239
239
|
children: stats.totalActions
|
|
240
240
|
})]
|
|
@@ -272,7 +272,7 @@ function ReduxModal({
|
|
|
272
272
|
style: styles.headerActionButton,
|
|
273
273
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Search, {
|
|
274
274
|
size: 14,
|
|
275
|
-
color: _sharedUi.
|
|
275
|
+
color: _sharedUi.night.color.textSecondary
|
|
276
276
|
})
|
|
277
277
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
278
278
|
onPress: handleCopyAll,
|
|
@@ -280,7 +280,7 @@ function ReduxModal({
|
|
|
280
280
|
disabled: filteredActions.length === 0,
|
|
281
281
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Copy, {
|
|
282
282
|
size: 14,
|
|
283
|
-
color: filteredActions.length > 0 ? _sharedUi.
|
|
283
|
+
color: filteredActions.length > 0 ? _sharedUi.night.color.textSecondary : _sharedUi.night.color.textTertiary
|
|
284
284
|
})
|
|
285
285
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.PowerToggleButton, {
|
|
286
286
|
isEnabled: isEnabled,
|
|
@@ -292,7 +292,7 @@ function ReduxModal({
|
|
|
292
292
|
disabled: filteredActions.length === 0,
|
|
293
293
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Trash2, {
|
|
294
294
|
size: 14,
|
|
295
|
-
color: filteredActions.length > 0 ? _sharedUi.
|
|
295
|
+
color: filteredActions.length > 0 ? _sharedUi.night.color.textTertiary : _sharedUi.night.color.textTertiary
|
|
296
296
|
})
|
|
297
297
|
})]
|
|
298
298
|
})]
|
|
@@ -327,7 +327,7 @@ function ReduxModal({
|
|
|
327
327
|
style: styles.errorBanner,
|
|
328
328
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.AlertTriangle, {
|
|
329
329
|
size: 14,
|
|
330
|
-
color: _sharedUi.
|
|
330
|
+
color: _sharedUi.night.color.danger
|
|
331
331
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
332
332
|
style: styles.errorText,
|
|
333
333
|
children: isReactReduxAvailable ? "Not inside a Redux Provider. Wrap your app with <Provider store={store}>." : "react-redux not installed. Run: npm install react-redux"
|
|
@@ -336,7 +336,7 @@ function ReduxModal({
|
|
|
336
336
|
style: styles.disabledBanner,
|
|
337
337
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Power, {
|
|
338
338
|
size: 14,
|
|
339
|
-
color: _sharedUi.
|
|
339
|
+
color: _sharedUi.night.color.warning
|
|
340
340
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
341
341
|
style: styles.disabledText,
|
|
342
342
|
children: "Action capture is disabled"
|
|
@@ -345,7 +345,7 @@ function ReduxModal({
|
|
|
345
345
|
style: styles.disabledBanner,
|
|
346
346
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.AlertTriangle, {
|
|
347
347
|
size: 14,
|
|
348
|
-
color: _sharedUi.
|
|
348
|
+
color: _sharedUi.night.color.warning
|
|
349
349
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
350
350
|
style: styles.disabledText,
|
|
351
351
|
children: "Top-level capture only \u2014 thunk/RTK Query internals aren't visible. Put import '@buoy-gg/redux' first in your app entry (or add buoyReduxMiddleware) for full capture."
|
|
@@ -356,7 +356,7 @@ function ReduxModal({
|
|
|
356
356
|
activeOpacity: 0.8,
|
|
357
357
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Lock, {
|
|
358
358
|
size: 14,
|
|
359
|
-
color: _sharedUi.
|
|
359
|
+
color: _sharedUi.night.color.accent
|
|
360
360
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
361
361
|
style: styles.lockedText,
|
|
362
362
|
children: [lockedActionCount, " older ", lockedActionCount === 1 ? "action" : "actions", " locked"]
|
|
@@ -444,7 +444,9 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
444
444
|
inlineRoot: {
|
|
445
445
|
flex: 1,
|
|
446
446
|
minHeight: 0,
|
|
447
|
-
|
|
447
|
+
// Transparent so the desktop workbench's hoisted sky (one field spanning
|
|
448
|
+
// sidebar + panel) shows through — the shell paints its base beneath it.
|
|
449
|
+
backgroundColor: "transparent"
|
|
448
450
|
},
|
|
449
451
|
inlineHeader: {
|
|
450
452
|
paddingHorizontal: 12,
|
|
@@ -455,21 +457,22 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
455
457
|
},
|
|
456
458
|
container: {
|
|
457
459
|
flex: 1,
|
|
458
|
-
|
|
460
|
+
// Transparent so JsModal's ToolBackground shows through (the modal paints opaque base beneath it).
|
|
461
|
+
backgroundColor: "transparent"
|
|
459
462
|
},
|
|
460
463
|
headerSearchContainer: {
|
|
461
464
|
flexDirection: "row",
|
|
462
465
|
alignItems: "center",
|
|
463
|
-
backgroundColor: _sharedUi.
|
|
466
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
464
467
|
borderRadius: 10,
|
|
465
468
|
borderWidth: 1,
|
|
466
|
-
borderColor: _sharedUi.
|
|
469
|
+
borderColor: _sharedUi.night.color.border,
|
|
467
470
|
paddingHorizontal: 12,
|
|
468
471
|
paddingVertical: 5
|
|
469
472
|
},
|
|
470
473
|
headerSearchInput: {
|
|
471
474
|
flex: 1,
|
|
472
|
-
color: _sharedUi.
|
|
475
|
+
color: _sharedUi.night.color.text,
|
|
473
476
|
fontSize: 13,
|
|
474
477
|
marginLeft: 6,
|
|
475
478
|
paddingVertical: 2
|
|
@@ -487,21 +490,22 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
487
490
|
flexDirection: "row",
|
|
488
491
|
alignItems: "center",
|
|
489
492
|
gap: 4,
|
|
490
|
-
backgroundColor: _sharedUi.
|
|
493
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
491
494
|
paddingHorizontal: 10,
|
|
492
495
|
paddingVertical: 5,
|
|
493
496
|
borderRadius: 12,
|
|
494
497
|
borderWidth: 1,
|
|
495
|
-
borderColor: _sharedUi.
|
|
498
|
+
borderColor: _sharedUi.night.color.border
|
|
496
499
|
},
|
|
497
500
|
headerChipActive: {
|
|
498
|
-
|
|
499
|
-
|
|
501
|
+
// Active chip chrome takes the night accent, not info-cyan.
|
|
502
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
503
|
+
borderColor: _sharedUi.night.color.accentBorderStrong
|
|
500
504
|
},
|
|
501
505
|
headerChipLabel: {
|
|
502
506
|
fontSize: 10,
|
|
503
507
|
fontWeight: "700",
|
|
504
|
-
color: _sharedUi.
|
|
508
|
+
color: _sharedUi.night.color.textTertiary
|
|
505
509
|
},
|
|
506
510
|
headerChipValue: {
|
|
507
511
|
fontSize: 12,
|
|
@@ -512,9 +516,9 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
512
516
|
width: 32,
|
|
513
517
|
height: 32,
|
|
514
518
|
borderRadius: 8,
|
|
515
|
-
backgroundColor: _sharedUi.
|
|
519
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
516
520
|
borderWidth: 1,
|
|
517
|
-
borderColor: _sharedUi.
|
|
521
|
+
borderColor: _sharedUi.night.color.border,
|
|
518
522
|
alignItems: "center",
|
|
519
523
|
justifyContent: "center"
|
|
520
524
|
},
|
|
@@ -536,13 +540,13 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
536
540
|
padding: 10,
|
|
537
541
|
marginHorizontal: 12,
|
|
538
542
|
marginTop: 8,
|
|
539
|
-
backgroundColor: _sharedUi.
|
|
543
|
+
backgroundColor: _sharedUi.night.color.dangerSoft,
|
|
540
544
|
borderRadius: 8,
|
|
541
545
|
borderWidth: 1,
|
|
542
|
-
borderColor: _sharedUi.
|
|
546
|
+
borderColor: _sharedUi.night.color.danger + "20"
|
|
543
547
|
},
|
|
544
548
|
errorText: {
|
|
545
|
-
color: _sharedUi.
|
|
549
|
+
color: _sharedUi.night.color.danger,
|
|
546
550
|
fontSize: 11,
|
|
547
551
|
flex: 1
|
|
548
552
|
},
|
|
@@ -553,13 +557,13 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
553
557
|
padding: 10,
|
|
554
558
|
marginHorizontal: 12,
|
|
555
559
|
marginTop: 8,
|
|
556
|
-
backgroundColor: _sharedUi.
|
|
560
|
+
backgroundColor: _sharedUi.night.color.warningSoft,
|
|
557
561
|
borderRadius: 8,
|
|
558
562
|
borderWidth: 1,
|
|
559
|
-
borderColor: _sharedUi.
|
|
563
|
+
borderColor: _sharedUi.night.color.warning + "20"
|
|
560
564
|
},
|
|
561
565
|
disabledText: {
|
|
562
|
-
color: _sharedUi.
|
|
566
|
+
color: _sharedUi.night.color.warning,
|
|
563
567
|
fontSize: 11,
|
|
564
568
|
flex: 1
|
|
565
569
|
},
|
|
@@ -572,14 +576,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
572
576
|
paddingVertical: 40
|
|
573
577
|
},
|
|
574
578
|
emptyTitle: {
|
|
575
|
-
color: _sharedUi.
|
|
579
|
+
color: _sharedUi.night.color.text,
|
|
576
580
|
fontSize: 14,
|
|
577
581
|
fontWeight: "600",
|
|
578
582
|
marginTop: 12,
|
|
579
583
|
marginBottom: 6
|
|
580
584
|
},
|
|
581
585
|
emptyText: {
|
|
582
|
-
color: _sharedUi.
|
|
586
|
+
color: _sharedUi.night.color.textTertiary,
|
|
583
587
|
fontSize: 12,
|
|
584
588
|
textAlign: "center"
|
|
585
589
|
},
|
|
@@ -591,25 +595,26 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
591
595
|
padding: 10,
|
|
592
596
|
marginHorizontal: 12,
|
|
593
597
|
marginTop: 8,
|
|
594
|
-
backgroundColor: _sharedUi.
|
|
598
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
595
599
|
borderRadius: 8,
|
|
596
600
|
borderWidth: 1,
|
|
597
|
-
borderColor: _sharedUi.
|
|
601
|
+
borderColor: _sharedUi.night.color.accentBorder
|
|
598
602
|
},
|
|
599
603
|
lockedText: {
|
|
600
|
-
color: _sharedUi.
|
|
604
|
+
color: _sharedUi.night.color.accent,
|
|
601
605
|
fontSize: 11,
|
|
602
606
|
fontWeight: "500",
|
|
603
607
|
flex: 1
|
|
604
608
|
},
|
|
605
609
|
upgradeBadge: {
|
|
606
|
-
backgroundColor: _sharedUi.
|
|
610
|
+
backgroundColor: _sharedUi.night.color.accent,
|
|
607
611
|
paddingHorizontal: 8,
|
|
608
612
|
paddingVertical: 3,
|
|
609
613
|
borderRadius: 4
|
|
610
614
|
},
|
|
611
615
|
upgradeBadgeText: {
|
|
612
|
-
|
|
616
|
+
// The night accent takes dark ink.
|
|
617
|
+
color: _sharedUi.night.color.onAccent,
|
|
613
618
|
fontSize: 9,
|
|
614
619
|
fontWeight: "700",
|
|
615
620
|
letterSpacing: 0.5
|
|
@@ -8,46 +8,46 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { TouchableOpacity, Text, View, StyleSheet } from "react-native";
|
|
11
|
-
import {
|
|
11
|
+
import { night } from "@buoy-gg/shared-ui";
|
|
12
12
|
|
|
13
13
|
// Button color configurations matching React Query pattern
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
const buttonConfigs = {
|
|
16
16
|
replay: {
|
|
17
|
-
color:
|
|
18
|
-
backgroundColor:
|
|
19
|
-
borderColor:
|
|
20
|
-
textColor:
|
|
17
|
+
color: night.color.accent,
|
|
18
|
+
backgroundColor: night.color.accent + "15",
|
|
19
|
+
borderColor: night.color.accent + "40",
|
|
20
|
+
textColor: night.color.accent
|
|
21
21
|
},
|
|
22
22
|
copy: {
|
|
23
|
-
color:
|
|
24
|
-
backgroundColor:
|
|
25
|
-
borderColor:
|
|
26
|
-
textColor:
|
|
23
|
+
color: night.color.accent,
|
|
24
|
+
backgroundColor: night.color.accent + "15",
|
|
25
|
+
borderColor: night.color.accent + "40",
|
|
26
|
+
textColor: night.color.accent
|
|
27
27
|
},
|
|
28
28
|
jump: {
|
|
29
|
-
color:
|
|
30
|
-
backgroundColor:
|
|
31
|
-
borderColor:
|
|
32
|
-
textColor:
|
|
29
|
+
color: night.color.warning,
|
|
30
|
+
backgroundColor: night.color.warning + "15",
|
|
31
|
+
borderColor: night.color.warning + "40",
|
|
32
|
+
textColor: night.color.warning
|
|
33
33
|
},
|
|
34
34
|
skip: {
|
|
35
|
-
color:
|
|
36
|
-
backgroundColor:
|
|
37
|
-
borderColor:
|
|
38
|
-
textColor:
|
|
35
|
+
color: night.color.textSecondary,
|
|
36
|
+
backgroundColor: night.color.textSecondary + "26",
|
|
37
|
+
borderColor: night.color.textSecondary + "59",
|
|
38
|
+
textColor: night.color.textSecondary
|
|
39
39
|
},
|
|
40
40
|
clear: {
|
|
41
|
-
color:
|
|
42
|
-
backgroundColor:
|
|
43
|
-
borderColor:
|
|
44
|
-
textColor:
|
|
41
|
+
color: night.color.danger,
|
|
42
|
+
backgroundColor: night.color.danger + "15",
|
|
43
|
+
borderColor: night.color.danger + "40",
|
|
44
|
+
textColor: night.color.danger
|
|
45
45
|
},
|
|
46
46
|
diff: {
|
|
47
|
-
color:
|
|
48
|
-
backgroundColor:
|
|
49
|
-
borderColor:
|
|
50
|
-
textColor:
|
|
47
|
+
color: night.color.info,
|
|
48
|
+
backgroundColor: night.color.info + "15",
|
|
49
|
+
borderColor: night.color.info + "40",
|
|
50
|
+
textColor: night.color.info
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
export function ReduxActionButton({
|
|
@@ -61,8 +61,8 @@ export function ReduxActionButton({
|
|
|
61
61
|
disabled: disabled,
|
|
62
62
|
onPress: onPress,
|
|
63
63
|
style: [styles.button, {
|
|
64
|
-
backgroundColor: disabled ?
|
|
65
|
-
borderColor: disabled ?
|
|
64
|
+
backgroundColor: disabled ? night.color.textTertiary + "1A" : config.backgroundColor,
|
|
65
|
+
borderColor: disabled ? night.color.textTertiary + "33" : config.borderColor,
|
|
66
66
|
opacity: disabled ? 0.5 : 1
|
|
67
67
|
}],
|
|
68
68
|
activeOpacity: 0.7,
|
|
@@ -73,11 +73,11 @@ export function ReduxActionButton({
|
|
|
73
73
|
},
|
|
74
74
|
children: [/*#__PURE__*/_jsx(View, {
|
|
75
75
|
style: [styles.dot, {
|
|
76
|
-
backgroundColor: disabled ?
|
|
76
|
+
backgroundColor: disabled ? night.color.textTertiary : config.color
|
|
77
77
|
}]
|
|
78
78
|
}), /*#__PURE__*/_jsx(Text, {
|
|
79
79
|
style: [styles.text, {
|
|
80
|
-
color: disabled ?
|
|
80
|
+
color: disabled ? night.color.textTertiary : config.textColor
|
|
81
81
|
}],
|
|
82
82
|
children: text
|
|
83
83
|
})]
|
|
@@ -107,7 +107,7 @@ const styles = StyleSheet.create({
|
|
|
107
107
|
height: 5,
|
|
108
108
|
borderRadius: 3,
|
|
109
109
|
marginRight: 6,
|
|
110
|
-
shadowColor:
|
|
110
|
+
shadowColor: night.color.text,
|
|
111
111
|
shadowOffset: {
|
|
112
112
|
width: 0,
|
|
113
113
|
height: 0
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
import { View, Text, StyleSheet, ScrollView } from "react-native";
|
|
13
13
|
import { useState, useCallback, useMemo } from "react";
|
|
14
|
-
import { macOSColors, EventStepperFooter, formatRelativeTime, parseValue } from "@buoy-gg/shared-ui";
|
|
14
|
+
import { macOSColors, night, EventStepperFooter, formatRelativeTime, parseValue } from "@buoy-gg/shared-ui";
|
|
15
15
|
import { DataViewer, SplitDiffViewer, TreeDiffViewer, diffThemes } from "@buoy-gg/shared-ui/dataViewer";
|
|
16
16
|
import { ReduxDetailViewToggle } from "./ReduxDetailViewToggle";
|
|
17
17
|
import { ReduxActionInfoView } from "./ReduxActionInfoView";
|
|
@@ -278,7 +278,8 @@ export function ReduxActionDetailFooter({
|
|
|
278
278
|
const styles = StyleSheet.create({
|
|
279
279
|
container: {
|
|
280
280
|
flex: 1,
|
|
281
|
-
|
|
281
|
+
// Transparent so the night sheet's star field shows through.
|
|
282
|
+
backgroundColor: "transparent"
|
|
282
283
|
},
|
|
283
284
|
contentArea: {
|
|
284
285
|
flex: 1,
|
|
@@ -290,11 +291,11 @@ const styles = StyleSheet.create({
|
|
|
290
291
|
padding: 14
|
|
291
292
|
},
|
|
292
293
|
contentCard: {
|
|
293
|
-
backgroundColor:
|
|
294
|
+
backgroundColor: night.color.surface,
|
|
294
295
|
borderRadius: 14,
|
|
295
296
|
padding: 14,
|
|
296
297
|
borderWidth: 1,
|
|
297
|
-
borderColor:
|
|
298
|
+
borderColor: night.color.border
|
|
298
299
|
},
|
|
299
300
|
valueHeader: {
|
|
300
301
|
flexDirection: "row",
|
|
@@ -304,7 +305,7 @@ const styles = StyleSheet.create({
|
|
|
304
305
|
},
|
|
305
306
|
valueLabel: {
|
|
306
307
|
fontSize: 10,
|
|
307
|
-
color:
|
|
308
|
+
color: night.color.textSecondary,
|
|
308
309
|
fontFamily: "monospace",
|
|
309
310
|
letterSpacing: 0.5,
|
|
310
311
|
fontWeight: "600"
|
|
@@ -329,24 +330,25 @@ const styles = StyleSheet.create({
|
|
|
329
330
|
paddingHorizontal: 8,
|
|
330
331
|
paddingVertical: 2,
|
|
331
332
|
borderRadius: 4,
|
|
332
|
-
backgroundColor:
|
|
333
|
+
backgroundColor: night.color.surfaceElevated
|
|
333
334
|
},
|
|
334
335
|
typeText: {
|
|
335
336
|
fontSize: 9,
|
|
336
337
|
fontWeight: "600",
|
|
337
|
-
color:
|
|
338
|
+
color: night.color.textTertiary,
|
|
338
339
|
fontFamily: "monospace"
|
|
339
340
|
},
|
|
340
341
|
valueBox: {
|
|
341
|
-
|
|
342
|
+
// Inset code box — darker than the card, the night track color.
|
|
343
|
+
backgroundColor: night.color.bg,
|
|
342
344
|
borderRadius: 6,
|
|
343
345
|
borderWidth: 1,
|
|
344
|
-
borderColor:
|
|
346
|
+
borderColor: night.color.border,
|
|
345
347
|
padding: 8
|
|
346
348
|
},
|
|
347
349
|
valueText: {
|
|
348
350
|
fontSize: 12,
|
|
349
|
-
color:
|
|
351
|
+
color: night.color.text,
|
|
350
352
|
fontFamily: "monospace",
|
|
351
353
|
lineHeight: 18
|
|
352
354
|
},
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import { useState } from "react";
|
|
8
8
|
import { View, Text, StyleSheet, ScrollView } from "react-native";
|
|
9
|
-
import { macOSColors, TabSelector, DataInspector, CollapsibleSection, CopyButton } from "@buoy-gg/shared-ui";
|
|
9
|
+
import { macOSColors, night, TabSelector, DataInspector, CollapsibleSection, CopyButton } from "@buoy-gg/shared-ui";
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
11
|
export function ReduxActionDetailView({
|
|
12
12
|
action
|
|
@@ -286,9 +286,9 @@ const styles = StyleSheet.create({
|
|
|
286
286
|
justifyContent: "space-between",
|
|
287
287
|
paddingHorizontal: 12,
|
|
288
288
|
paddingVertical: 12,
|
|
289
|
-
backgroundColor:
|
|
289
|
+
backgroundColor: night.color.surface,
|
|
290
290
|
borderBottomWidth: 1,
|
|
291
|
-
borderBottomColor:
|
|
291
|
+
borderBottomColor: night.color.border
|
|
292
292
|
},
|
|
293
293
|
headerContent: {
|
|
294
294
|
flex: 1,
|
|
@@ -297,7 +297,7 @@ const styles = StyleSheet.create({
|
|
|
297
297
|
actionType: {
|
|
298
298
|
fontSize: 14,
|
|
299
299
|
fontWeight: "600",
|
|
300
|
-
color:
|
|
300
|
+
color: night.color.text,
|
|
301
301
|
fontFamily: "monospace",
|
|
302
302
|
marginBottom: 6
|
|
303
303
|
},
|
|
@@ -308,11 +308,11 @@ const styles = StyleSheet.create({
|
|
|
308
308
|
},
|
|
309
309
|
metaText: {
|
|
310
310
|
fontSize: 11,
|
|
311
|
-
color:
|
|
311
|
+
color: night.color.textTertiary
|
|
312
312
|
},
|
|
313
313
|
durationText: {
|
|
314
314
|
fontSize: 11,
|
|
315
|
-
color:
|
|
315
|
+
color: night.color.textTertiary,
|
|
316
316
|
fontFamily: "monospace"
|
|
317
317
|
},
|
|
318
318
|
changeBadge: {
|
|
@@ -339,7 +339,7 @@ const styles = StyleSheet.create({
|
|
|
339
339
|
},
|
|
340
340
|
emptyText: {
|
|
341
341
|
fontSize: 12,
|
|
342
|
-
color:
|
|
342
|
+
color: night.color.textTertiary,
|
|
343
343
|
fontStyle: "italic",
|
|
344
344
|
padding: 8
|
|
345
345
|
},
|
|
@@ -349,14 +349,14 @@ const styles = StyleSheet.create({
|
|
|
349
349
|
},
|
|
350
350
|
noChangeText: {
|
|
351
351
|
fontSize: 13,
|
|
352
|
-
color:
|
|
352
|
+
color: night.color.textTertiary
|
|
353
353
|
},
|
|
354
354
|
diffItem: {
|
|
355
355
|
marginBottom: 12,
|
|
356
|
-
backgroundColor:
|
|
356
|
+
backgroundColor: night.color.surface,
|
|
357
357
|
borderRadius: 8,
|
|
358
358
|
borderWidth: 1,
|
|
359
|
-
borderColor:
|
|
359
|
+
borderColor: night.color.border,
|
|
360
360
|
overflow: "hidden"
|
|
361
361
|
},
|
|
362
362
|
diffHeader: {
|
|
@@ -365,7 +365,7 @@ const styles = StyleSheet.create({
|
|
|
365
365
|
gap: 8,
|
|
366
366
|
padding: 8,
|
|
367
367
|
borderBottomWidth: 1,
|
|
368
|
-
borderBottomColor:
|
|
368
|
+
borderBottomColor: night.color.border
|
|
369
369
|
},
|
|
370
370
|
diffTypeBadge: {
|
|
371
371
|
paddingHorizontal: 6,
|
|
@@ -378,7 +378,7 @@ const styles = StyleSheet.create({
|
|
|
378
378
|
},
|
|
379
379
|
diffPath: {
|
|
380
380
|
fontSize: 12,
|
|
381
|
-
color:
|
|
381
|
+
color: night.color.text,
|
|
382
382
|
fontFamily: "monospace"
|
|
383
383
|
},
|
|
384
384
|
diffValues: {
|
|
@@ -390,7 +390,7 @@ const styles = StyleSheet.create({
|
|
|
390
390
|
},
|
|
391
391
|
diffLabel: {
|
|
392
392
|
fontSize: 11,
|
|
393
|
-
color:
|
|
393
|
+
color: night.color.textTertiary,
|
|
394
394
|
marginBottom: 4,
|
|
395
395
|
fontWeight: "600"
|
|
396
396
|
}
|