@buoy-gg/redux 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/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
|
@@ -17,40 +17,40 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
17
17
|
// Button color configurations matching React Query pattern
|
|
18
18
|
const buttonConfigs = {
|
|
19
19
|
replay: {
|
|
20
|
-
color: _sharedUi.
|
|
21
|
-
backgroundColor: _sharedUi.
|
|
22
|
-
borderColor: _sharedUi.
|
|
23
|
-
textColor: _sharedUi.
|
|
20
|
+
color: _sharedUi.night.color.accent,
|
|
21
|
+
backgroundColor: _sharedUi.night.color.accent + "15",
|
|
22
|
+
borderColor: _sharedUi.night.color.accent + "40",
|
|
23
|
+
textColor: _sharedUi.night.color.accent
|
|
24
24
|
},
|
|
25
25
|
copy: {
|
|
26
|
-
color: _sharedUi.
|
|
27
|
-
backgroundColor: _sharedUi.
|
|
28
|
-
borderColor: _sharedUi.
|
|
29
|
-
textColor: _sharedUi.
|
|
26
|
+
color: _sharedUi.night.color.accent,
|
|
27
|
+
backgroundColor: _sharedUi.night.color.accent + "15",
|
|
28
|
+
borderColor: _sharedUi.night.color.accent + "40",
|
|
29
|
+
textColor: _sharedUi.night.color.accent
|
|
30
30
|
},
|
|
31
31
|
jump: {
|
|
32
|
-
color: _sharedUi.
|
|
33
|
-
backgroundColor: _sharedUi.
|
|
34
|
-
borderColor: _sharedUi.
|
|
35
|
-
textColor: _sharedUi.
|
|
32
|
+
color: _sharedUi.night.color.warning,
|
|
33
|
+
backgroundColor: _sharedUi.night.color.warning + "15",
|
|
34
|
+
borderColor: _sharedUi.night.color.warning + "40",
|
|
35
|
+
textColor: _sharedUi.night.color.warning
|
|
36
36
|
},
|
|
37
37
|
skip: {
|
|
38
|
-
color: _sharedUi.
|
|
39
|
-
backgroundColor: _sharedUi.
|
|
40
|
-
borderColor: _sharedUi.
|
|
41
|
-
textColor: _sharedUi.
|
|
38
|
+
color: _sharedUi.night.color.textSecondary,
|
|
39
|
+
backgroundColor: _sharedUi.night.color.textSecondary + "26",
|
|
40
|
+
borderColor: _sharedUi.night.color.textSecondary + "59",
|
|
41
|
+
textColor: _sharedUi.night.color.textSecondary
|
|
42
42
|
},
|
|
43
43
|
clear: {
|
|
44
|
-
color: _sharedUi.
|
|
45
|
-
backgroundColor: _sharedUi.
|
|
46
|
-
borderColor: _sharedUi.
|
|
47
|
-
textColor: _sharedUi.
|
|
44
|
+
color: _sharedUi.night.color.danger,
|
|
45
|
+
backgroundColor: _sharedUi.night.color.danger + "15",
|
|
46
|
+
borderColor: _sharedUi.night.color.danger + "40",
|
|
47
|
+
textColor: _sharedUi.night.color.danger
|
|
48
48
|
},
|
|
49
49
|
diff: {
|
|
50
|
-
color: _sharedUi.
|
|
51
|
-
backgroundColor: _sharedUi.
|
|
52
|
-
borderColor: _sharedUi.
|
|
53
|
-
textColor: _sharedUi.
|
|
50
|
+
color: _sharedUi.night.color.info,
|
|
51
|
+
backgroundColor: _sharedUi.night.color.info + "15",
|
|
52
|
+
borderColor: _sharedUi.night.color.info + "40",
|
|
53
|
+
textColor: _sharedUi.night.color.info
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
function ReduxActionButton({
|
|
@@ -64,8 +64,8 @@ function ReduxActionButton({
|
|
|
64
64
|
disabled: disabled,
|
|
65
65
|
onPress: onPress,
|
|
66
66
|
style: [styles.button, {
|
|
67
|
-
backgroundColor: disabled ? _sharedUi.
|
|
68
|
-
borderColor: disabled ? _sharedUi.
|
|
67
|
+
backgroundColor: disabled ? _sharedUi.night.color.textTertiary + "1A" : config.backgroundColor,
|
|
68
|
+
borderColor: disabled ? _sharedUi.night.color.textTertiary + "33" : config.borderColor,
|
|
69
69
|
opacity: disabled ? 0.5 : 1
|
|
70
70
|
}],
|
|
71
71
|
activeOpacity: 0.7,
|
|
@@ -76,11 +76,11 @@ function ReduxActionButton({
|
|
|
76
76
|
},
|
|
77
77
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
78
78
|
style: [styles.dot, {
|
|
79
|
-
backgroundColor: disabled ? _sharedUi.
|
|
79
|
+
backgroundColor: disabled ? _sharedUi.night.color.textTertiary : config.color
|
|
80
80
|
}]
|
|
81
81
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
82
82
|
style: [styles.text, {
|
|
83
|
-
color: disabled ? _sharedUi.
|
|
83
|
+
color: disabled ? _sharedUi.night.color.textTertiary : config.textColor
|
|
84
84
|
}],
|
|
85
85
|
children: text
|
|
86
86
|
})]
|
|
@@ -110,7 +110,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
110
110
|
height: 5,
|
|
111
111
|
borderRadius: 3,
|
|
112
112
|
marginRight: 6,
|
|
113
|
-
shadowColor: _sharedUi.
|
|
113
|
+
shadowColor: _sharedUi.night.color.text,
|
|
114
114
|
shadowOffset: {
|
|
115
115
|
width: 0,
|
|
116
116
|
height: 0
|
|
@@ -282,7 +282,8 @@ function ReduxActionDetailFooter({
|
|
|
282
282
|
const styles = _reactNative.StyleSheet.create({
|
|
283
283
|
container: {
|
|
284
284
|
flex: 1,
|
|
285
|
-
|
|
285
|
+
// Transparent so the night sheet's star field shows through.
|
|
286
|
+
backgroundColor: "transparent"
|
|
286
287
|
},
|
|
287
288
|
contentArea: {
|
|
288
289
|
flex: 1,
|
|
@@ -294,11 +295,11 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
294
295
|
padding: 14
|
|
295
296
|
},
|
|
296
297
|
contentCard: {
|
|
297
|
-
backgroundColor: _sharedUi.
|
|
298
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
298
299
|
borderRadius: 14,
|
|
299
300
|
padding: 14,
|
|
300
301
|
borderWidth: 1,
|
|
301
|
-
borderColor: _sharedUi.
|
|
302
|
+
borderColor: _sharedUi.night.color.border
|
|
302
303
|
},
|
|
303
304
|
valueHeader: {
|
|
304
305
|
flexDirection: "row",
|
|
@@ -308,7 +309,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
308
309
|
},
|
|
309
310
|
valueLabel: {
|
|
310
311
|
fontSize: 10,
|
|
311
|
-
color: _sharedUi.
|
|
312
|
+
color: _sharedUi.night.color.textSecondary,
|
|
312
313
|
fontFamily: "monospace",
|
|
313
314
|
letterSpacing: 0.5,
|
|
314
315
|
fontWeight: "600"
|
|
@@ -333,24 +334,25 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
333
334
|
paddingHorizontal: 8,
|
|
334
335
|
paddingVertical: 2,
|
|
335
336
|
borderRadius: 4,
|
|
336
|
-
backgroundColor: _sharedUi.
|
|
337
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated
|
|
337
338
|
},
|
|
338
339
|
typeText: {
|
|
339
340
|
fontSize: 9,
|
|
340
341
|
fontWeight: "600",
|
|
341
|
-
color: _sharedUi.
|
|
342
|
+
color: _sharedUi.night.color.textTertiary,
|
|
342
343
|
fontFamily: "monospace"
|
|
343
344
|
},
|
|
344
345
|
valueBox: {
|
|
345
|
-
|
|
346
|
+
// Inset code box — darker than the card, the night track color.
|
|
347
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
346
348
|
borderRadius: 6,
|
|
347
349
|
borderWidth: 1,
|
|
348
|
-
borderColor: _sharedUi.
|
|
350
|
+
borderColor: _sharedUi.night.color.border,
|
|
349
351
|
padding: 8
|
|
350
352
|
},
|
|
351
353
|
valueText: {
|
|
352
354
|
fontSize: 12,
|
|
353
|
-
color: _sharedUi.
|
|
355
|
+
color: _sharedUi.night.color.text,
|
|
354
356
|
fontFamily: "monospace",
|
|
355
357
|
lineHeight: 18
|
|
356
358
|
},
|
|
@@ -290,9 +290,9 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
290
290
|
justifyContent: "space-between",
|
|
291
291
|
paddingHorizontal: 12,
|
|
292
292
|
paddingVertical: 12,
|
|
293
|
-
backgroundColor: _sharedUi.
|
|
293
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
294
294
|
borderBottomWidth: 1,
|
|
295
|
-
borderBottomColor: _sharedUi.
|
|
295
|
+
borderBottomColor: _sharedUi.night.color.border
|
|
296
296
|
},
|
|
297
297
|
headerContent: {
|
|
298
298
|
flex: 1,
|
|
@@ -301,7 +301,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
301
301
|
actionType: {
|
|
302
302
|
fontSize: 14,
|
|
303
303
|
fontWeight: "600",
|
|
304
|
-
color: _sharedUi.
|
|
304
|
+
color: _sharedUi.night.color.text,
|
|
305
305
|
fontFamily: "monospace",
|
|
306
306
|
marginBottom: 6
|
|
307
307
|
},
|
|
@@ -312,11 +312,11 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
312
312
|
},
|
|
313
313
|
metaText: {
|
|
314
314
|
fontSize: 11,
|
|
315
|
-
color: _sharedUi.
|
|
315
|
+
color: _sharedUi.night.color.textTertiary
|
|
316
316
|
},
|
|
317
317
|
durationText: {
|
|
318
318
|
fontSize: 11,
|
|
319
|
-
color: _sharedUi.
|
|
319
|
+
color: _sharedUi.night.color.textTertiary,
|
|
320
320
|
fontFamily: "monospace"
|
|
321
321
|
},
|
|
322
322
|
changeBadge: {
|
|
@@ -343,7 +343,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
343
343
|
},
|
|
344
344
|
emptyText: {
|
|
345
345
|
fontSize: 12,
|
|
346
|
-
color: _sharedUi.
|
|
346
|
+
color: _sharedUi.night.color.textTertiary,
|
|
347
347
|
fontStyle: "italic",
|
|
348
348
|
padding: 8
|
|
349
349
|
},
|
|
@@ -353,14 +353,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
353
353
|
},
|
|
354
354
|
noChangeText: {
|
|
355
355
|
fontSize: 13,
|
|
356
|
-
color: _sharedUi.
|
|
356
|
+
color: _sharedUi.night.color.textTertiary
|
|
357
357
|
},
|
|
358
358
|
diffItem: {
|
|
359
359
|
marginBottom: 12,
|
|
360
|
-
backgroundColor: _sharedUi.
|
|
360
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
361
361
|
borderRadius: 8,
|
|
362
362
|
borderWidth: 1,
|
|
363
|
-
borderColor: _sharedUi.
|
|
363
|
+
borderColor: _sharedUi.night.color.border,
|
|
364
364
|
overflow: "hidden"
|
|
365
365
|
},
|
|
366
366
|
diffHeader: {
|
|
@@ -369,7 +369,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
369
369
|
gap: 8,
|
|
370
370
|
padding: 8,
|
|
371
371
|
borderBottomWidth: 1,
|
|
372
|
-
borderBottomColor: _sharedUi.
|
|
372
|
+
borderBottomColor: _sharedUi.night.color.border
|
|
373
373
|
},
|
|
374
374
|
diffTypeBadge: {
|
|
375
375
|
paddingHorizontal: 6,
|
|
@@ -382,7 +382,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
382
382
|
},
|
|
383
383
|
diffPath: {
|
|
384
384
|
fontSize: 12,
|
|
385
|
-
color: _sharedUi.
|
|
385
|
+
color: _sharedUi.night.color.text,
|
|
386
386
|
fontFamily: "monospace"
|
|
387
387
|
},
|
|
388
388
|
diffValues: {
|
|
@@ -394,7 +394,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
394
394
|
},
|
|
395
395
|
diffLabel: {
|
|
396
396
|
fontSize: 11,
|
|
397
|
-
color: _sharedUi.
|
|
397
|
+
color: _sharedUi.night.color.textTertiary,
|
|
398
398
|
marginBottom: 4,
|
|
399
399
|
fontWeight: "600"
|
|
400
400
|
}
|
|
@@ -97,7 +97,7 @@ function SectionHeader({
|
|
|
97
97
|
style: styles.sectionHeaderLeft,
|
|
98
98
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {
|
|
99
99
|
size: 14,
|
|
100
|
-
color: _sharedUi.
|
|
100
|
+
color: _sharedUi.night.color.accent
|
|
101
101
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
102
102
|
style: styles.sectionTitle,
|
|
103
103
|
children: title
|
|
@@ -234,7 +234,7 @@ const ReduxActionInfoView = exports.ReduxActionInfoView = /*#__PURE__*/(0, _reac
|
|
|
234
234
|
style: [styles.durationBadge, action.isSlowAction && styles.durationBadgeSlow],
|
|
235
235
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Clock, {
|
|
236
236
|
size: 10,
|
|
237
|
-
color: action.isSlowAction ? _sharedUi.buoyColors.error : _sharedUi.
|
|
237
|
+
color: action.isSlowAction ? _sharedUi.buoyColors.error : _sharedUi.night.color.textSecondary
|
|
238
238
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
239
239
|
style: [styles.durationText, action.isSlowAction && styles.durationTextSlow],
|
|
240
240
|
children: formatDuration(action.duration)
|
|
@@ -409,7 +409,7 @@ const ReduxActionInfoView = exports.ReduxActionInfoView = /*#__PURE__*/(0, _reac
|
|
|
409
409
|
}), action.meta?.condition && /*#__PURE__*/(0, _jsxRuntime.jsx)(InfoRow, {
|
|
410
410
|
label: "Condition",
|
|
411
411
|
value: "true",
|
|
412
|
-
valueColor: _sharedUi.
|
|
412
|
+
valueColor: _sharedUi.night.color.textTertiary
|
|
413
413
|
})]
|
|
414
414
|
})]
|
|
415
415
|
}), hasError && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
@@ -516,12 +516,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
516
516
|
},
|
|
517
517
|
// Card styling - matches React Query DevTools
|
|
518
518
|
card: {
|
|
519
|
-
backgroundColor: _sharedUi.
|
|
519
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
520
520
|
borderRadius: 6,
|
|
521
521
|
borderWidth: 1,
|
|
522
|
-
borderColor: _sharedUi.
|
|
522
|
+
borderColor: _sharedUi.night.color.accent + "4D",
|
|
523
523
|
overflow: "hidden",
|
|
524
|
-
shadowColor: _sharedUi.
|
|
524
|
+
shadowColor: _sharedUi.night.color.accent,
|
|
525
525
|
shadowOffset: {
|
|
526
526
|
width: 0,
|
|
527
527
|
height: 0
|
|
@@ -541,8 +541,8 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
541
541
|
paddingHorizontal: 12,
|
|
542
542
|
paddingVertical: 10,
|
|
543
543
|
borderBottomWidth: 1,
|
|
544
|
-
borderBottomColor: _sharedUi.
|
|
545
|
-
backgroundColor: _sharedUi.
|
|
544
|
+
borderBottomColor: _sharedUi.night.color.accent + "33",
|
|
545
|
+
backgroundColor: _sharedUi.night.color.accent + "15"
|
|
546
546
|
},
|
|
547
547
|
sectionHeaderLeft: {
|
|
548
548
|
flexDirection: "row",
|
|
@@ -553,7 +553,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
553
553
|
fontSize: 12,
|
|
554
554
|
fontWeight: "600",
|
|
555
555
|
letterSpacing: 0.5,
|
|
556
|
-
color: _sharedUi.
|
|
556
|
+
color: _sharedUi.night.color.accent,
|
|
557
557
|
fontFamily: "monospace"
|
|
558
558
|
},
|
|
559
559
|
cardContent: {
|
|
@@ -567,12 +567,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
567
567
|
},
|
|
568
568
|
infoLabel: {
|
|
569
569
|
fontSize: 11,
|
|
570
|
-
color: _sharedUi.
|
|
570
|
+
color: _sharedUi.night.color.textTertiary,
|
|
571
571
|
fontWeight: "500"
|
|
572
572
|
},
|
|
573
573
|
infoValue: {
|
|
574
574
|
fontSize: 11,
|
|
575
|
-
color: _sharedUi.
|
|
575
|
+
color: _sharedUi.night.color.text,
|
|
576
576
|
fontWeight: "500",
|
|
577
577
|
flex: 1,
|
|
578
578
|
textAlign: "right",
|
|
@@ -604,7 +604,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
604
604
|
paddingHorizontal: 8,
|
|
605
605
|
paddingVertical: 3,
|
|
606
606
|
borderRadius: 4,
|
|
607
|
-
backgroundColor: _sharedUi.
|
|
607
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated
|
|
608
608
|
},
|
|
609
609
|
durationBadgeSlow: {
|
|
610
610
|
backgroundColor: _sharedUi.buoyColors.error + "26"
|
|
@@ -612,7 +612,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
612
612
|
durationText: {
|
|
613
613
|
fontSize: 9,
|
|
614
614
|
fontWeight: "600",
|
|
615
|
-
color: _sharedUi.
|
|
615
|
+
color: _sharedUi.night.color.textSecondary,
|
|
616
616
|
fontFamily: "monospace"
|
|
617
617
|
},
|
|
618
618
|
durationTextSlow: {
|
|
@@ -636,27 +636,27 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
636
636
|
paddingHorizontal: 8,
|
|
637
637
|
paddingVertical: 3,
|
|
638
638
|
borderRadius: 4,
|
|
639
|
-
backgroundColor: _sharedUi.
|
|
639
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated
|
|
640
640
|
},
|
|
641
641
|
noChangesText: {
|
|
642
642
|
fontSize: 9,
|
|
643
643
|
fontWeight: "600",
|
|
644
|
-
color: _sharedUi.
|
|
644
|
+
color: _sharedUi.night.color.textTertiary
|
|
645
645
|
},
|
|
646
646
|
typeBadge: {
|
|
647
647
|
paddingHorizontal: 6,
|
|
648
648
|
paddingVertical: 2,
|
|
649
649
|
borderRadius: 3,
|
|
650
|
-
backgroundColor: _sharedUi.
|
|
650
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated
|
|
651
651
|
},
|
|
652
652
|
typeText: {
|
|
653
653
|
fontSize: 8,
|
|
654
654
|
fontWeight: "600",
|
|
655
|
-
color: _sharedUi.
|
|
655
|
+
color: _sharedUi.night.color.textTertiary,
|
|
656
656
|
fontFamily: "monospace"
|
|
657
657
|
},
|
|
658
658
|
dataViewerContainer: {
|
|
659
|
-
backgroundColor: _sharedUi.
|
|
659
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
660
660
|
minHeight: 60
|
|
661
661
|
},
|
|
662
662
|
argSection: {
|
|
@@ -664,20 +664,20 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
664
664
|
},
|
|
665
665
|
argLabel: {
|
|
666
666
|
fontSize: 11,
|
|
667
|
-
color: _sharedUi.
|
|
667
|
+
color: _sharedUi.night.color.textTertiary,
|
|
668
668
|
fontWeight: "500",
|
|
669
669
|
marginBottom: 6
|
|
670
670
|
},
|
|
671
671
|
argValueContainer: {
|
|
672
|
-
backgroundColor: _sharedUi.
|
|
672
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
673
673
|
borderRadius: 6,
|
|
674
674
|
borderWidth: 1,
|
|
675
|
-
borderColor: _sharedUi.
|
|
675
|
+
borderColor: _sharedUi.night.color.border,
|
|
676
676
|
overflow: "hidden"
|
|
677
677
|
},
|
|
678
678
|
argValue: {
|
|
679
679
|
fontSize: 11,
|
|
680
|
-
color: _sharedUi.
|
|
680
|
+
color: _sharedUi.night.color.text,
|
|
681
681
|
fontFamily: "monospace",
|
|
682
682
|
padding: 10
|
|
683
683
|
},
|
|
@@ -704,18 +704,18 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
704
704
|
paddingHorizontal: 8,
|
|
705
705
|
paddingVertical: 3,
|
|
706
706
|
borderRadius: 4,
|
|
707
|
-
backgroundColor: _sharedUi.
|
|
707
|
+
backgroundColor: _sharedUi.night.color.accent + "26"
|
|
708
708
|
},
|
|
709
709
|
asyncBadgeText: {
|
|
710
710
|
fontSize: 9,
|
|
711
711
|
fontWeight: "700",
|
|
712
|
-
color: _sharedUi.
|
|
712
|
+
color: _sharedUi.night.color.accent,
|
|
713
713
|
letterSpacing: 0.3
|
|
714
714
|
},
|
|
715
715
|
baseActionType: {
|
|
716
716
|
fontSize: 12,
|
|
717
717
|
fontWeight: "600",
|
|
718
|
-
color: _sharedUi.
|
|
718
|
+
color: _sharedUi.night.color.text,
|
|
719
719
|
fontFamily: "monospace",
|
|
720
720
|
marginBottom: 8
|
|
721
721
|
},
|
|
@@ -726,11 +726,11 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
726
726
|
marginBottom: 12,
|
|
727
727
|
paddingBottom: 12,
|
|
728
728
|
borderBottomWidth: 1,
|
|
729
|
-
borderBottomColor: _sharedUi.
|
|
729
|
+
borderBottomColor: _sharedUi.night.color.border
|
|
730
730
|
},
|
|
731
731
|
totalDurationLabel: {
|
|
732
732
|
fontSize: 11,
|
|
733
|
-
color: _sharedUi.
|
|
733
|
+
color: _sharedUi.night.color.textTertiary,
|
|
734
734
|
fontWeight: "500"
|
|
735
735
|
},
|
|
736
736
|
totalDurationValue: {
|
|
@@ -751,7 +751,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
751
751
|
position: "relative"
|
|
752
752
|
},
|
|
753
753
|
timelineItemCurrent: {
|
|
754
|
-
backgroundColor: _sharedUi.
|
|
754
|
+
backgroundColor: _sharedUi.night.color.accentSoft
|
|
755
755
|
},
|
|
756
756
|
timelineConnector: {
|
|
757
757
|
position: "absolute",
|
|
@@ -759,7 +759,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
759
759
|
top: 24,
|
|
760
760
|
bottom: -8,
|
|
761
761
|
width: 2,
|
|
762
|
-
backgroundColor: _sharedUi.
|
|
762
|
+
backgroundColor: _sharedUi.night.color.border
|
|
763
763
|
},
|
|
764
764
|
timelineDot: {
|
|
765
765
|
width: 12,
|
|
@@ -791,28 +791,29 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
791
791
|
paddingHorizontal: 6,
|
|
792
792
|
paddingVertical: 2,
|
|
793
793
|
borderRadius: 4,
|
|
794
|
-
backgroundColor: _sharedUi.
|
|
794
|
+
backgroundColor: _sharedUi.night.color.accent
|
|
795
795
|
},
|
|
796
796
|
currentBadgeText: {
|
|
797
797
|
fontSize: 8,
|
|
798
798
|
fontWeight: "700",
|
|
799
|
-
|
|
799
|
+
// The night accent takes dark ink.
|
|
800
|
+
color: _sharedUi.night.color.onAccent,
|
|
800
801
|
letterSpacing: 0.3
|
|
801
802
|
},
|
|
802
803
|
timelineTime: {
|
|
803
804
|
fontSize: 10,
|
|
804
|
-
color: _sharedUi.
|
|
805
|
+
color: _sharedUi.night.color.textTertiary,
|
|
805
806
|
fontFamily: "monospace"
|
|
806
807
|
},
|
|
807
808
|
// Action footer - matches React Query DevTools
|
|
808
809
|
actionFooter: {
|
|
809
|
-
backgroundColor: _sharedUi.
|
|
810
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
810
811
|
borderRadius: 6,
|
|
811
812
|
borderWidth: 1,
|
|
812
|
-
borderColor: _sharedUi.
|
|
813
|
+
borderColor: _sharedUi.night.color.accent + "4D",
|
|
813
814
|
paddingVertical: 12,
|
|
814
815
|
paddingHorizontal: 12,
|
|
815
|
-
shadowColor: _sharedUi.
|
|
816
|
+
shadowColor: _sharedUi.night.color.accent,
|
|
816
817
|
shadowOffset: {
|
|
817
818
|
width: 0,
|
|
818
819
|
height: 0
|
|
@@ -832,7 +833,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
832
833
|
},
|
|
833
834
|
actionDescription: {
|
|
834
835
|
fontSize: 9,
|
|
835
|
-
color: _sharedUi.
|
|
836
|
+
color: _sharedUi.night.color.textTertiary,
|
|
836
837
|
textAlign: "center"
|
|
837
838
|
}
|
|
838
839
|
});
|
|
@@ -21,19 +21,21 @@ const VIEW_CONFIGS = [{
|
|
|
21
21
|
label: "ACTION",
|
|
22
22
|
description: "View action details",
|
|
23
23
|
icon: _sharedUi.FileText,
|
|
24
|
-
|
|
24
|
+
// Active-card chrome takes the single night accent (the per-view
|
|
25
|
+
// warning/info/success tints were selection chrome, not data).
|
|
26
|
+
activeColor: _sharedUi.night.color.accent
|
|
25
27
|
}, {
|
|
26
28
|
key: "state",
|
|
27
29
|
label: "STATE",
|
|
28
30
|
description: "View current state",
|
|
29
31
|
icon: _sharedUi.Database,
|
|
30
|
-
activeColor: _sharedUi.
|
|
32
|
+
activeColor: _sharedUi.night.color.accent
|
|
31
33
|
}, {
|
|
32
34
|
key: "diff",
|
|
33
35
|
label: "DIFF",
|
|
34
36
|
description: "Compare changes",
|
|
35
37
|
icon: _sharedUi.GitBranch,
|
|
36
|
-
activeColor: _sharedUi.
|
|
38
|
+
activeColor: _sharedUi.night.color.accent
|
|
37
39
|
}];
|
|
38
40
|
const ReduxDetailViewToggle = exports.ReduxDetailViewToggle = /*#__PURE__*/(0, _react.memo)(function ReduxDetailViewToggle({
|
|
39
41
|
activeView,
|
|
@@ -57,7 +59,7 @@ const ReduxDetailViewToggle = exports.ReduxDetailViewToggle = /*#__PURE__*/(0, _
|
|
|
57
59
|
style: styles.cardContent,
|
|
58
60
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, {
|
|
59
61
|
size: 14,
|
|
60
|
-
color: isActive ? config.activeColor : isDisabled ? _sharedUi.
|
|
62
|
+
color: isActive ? config.activeColor : isDisabled ? _sharedUi.night.color.textTertiary : _sharedUi.night.color.textSecondary
|
|
61
63
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
62
64
|
style: [styles.cardLabel, isActive && [styles.cardLabelActive, {
|
|
63
65
|
color: config.activeColor
|
|
@@ -77,21 +79,22 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
77
79
|
flexDirection: "row",
|
|
78
80
|
gap: 8,
|
|
79
81
|
padding: 14,
|
|
80
|
-
|
|
82
|
+
// Transparent so the night sheet's star field shows through.
|
|
83
|
+
backgroundColor: "transparent"
|
|
81
84
|
},
|
|
82
85
|
card: {
|
|
83
86
|
flex: 1,
|
|
84
|
-
backgroundColor: _sharedUi.
|
|
87
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
85
88
|
borderRadius: 12,
|
|
86
89
|
borderWidth: 1,
|
|
87
|
-
borderColor: _sharedUi.
|
|
90
|
+
borderColor: _sharedUi.night.color.border,
|
|
88
91
|
padding: 10,
|
|
89
92
|
gap: 4
|
|
90
93
|
},
|
|
91
94
|
cardActive: {
|
|
92
95
|
borderWidth: 1.5,
|
|
93
|
-
backgroundColor:
|
|
94
|
-
shadowColor: _sharedUi.
|
|
96
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
97
|
+
shadowColor: _sharedUi.night.color.accent,
|
|
95
98
|
shadowOffset: {
|
|
96
99
|
width: 0,
|
|
97
100
|
height: 2
|
|
@@ -112,23 +115,23 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
112
115
|
fontSize: 10,
|
|
113
116
|
fontWeight: "700",
|
|
114
117
|
letterSpacing: 0.5,
|
|
115
|
-
color: _sharedUi.
|
|
118
|
+
color: _sharedUi.night.color.textSecondary
|
|
116
119
|
},
|
|
117
120
|
cardLabelActive: {
|
|
118
|
-
color: _sharedUi.
|
|
121
|
+
color: _sharedUi.night.color.text
|
|
119
122
|
},
|
|
120
123
|
cardLabelDisabled: {
|
|
121
|
-
color: _sharedUi.
|
|
124
|
+
color: _sharedUi.night.color.textTertiary
|
|
122
125
|
},
|
|
123
126
|
cardDescription: {
|
|
124
127
|
fontSize: 9,
|
|
125
|
-
color: _sharedUi.
|
|
128
|
+
color: _sharedUi.night.color.textTertiary,
|
|
126
129
|
lineHeight: 12
|
|
127
130
|
},
|
|
128
131
|
cardDescriptionActive: {
|
|
129
|
-
color: _sharedUi.
|
|
132
|
+
color: _sharedUi.night.color.textSecondary
|
|
130
133
|
},
|
|
131
134
|
cardDescriptionDisabled: {
|
|
132
|
-
color: _sharedUi.
|
|
135
|
+
color: _sharedUi.night.color.textTertiary
|
|
133
136
|
}
|
|
134
137
|
});
|