@buoy-gg/impersonate 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/impersonate/components/DataNukeSettings.js +55 -53
- package/lib/commonjs/impersonate/components/ImpersonateHistoryList.js +9 -9
- package/lib/commonjs/impersonate/components/ImpersonateModal.js +12 -10
- package/lib/commonjs/impersonate/components/ImpersonateStatusBar.js +5 -5
- package/lib/commonjs/impersonate/components/UserAvatar.js +1 -1
- package/lib/commonjs/impersonate/components/UserCard.js +13 -13
- package/lib/commonjs/impersonate/components/UserSearchView.js +16 -16
- package/lib/commonjs/impersonate/utils/impersonateListener.js +64 -9
- package/lib/module/impersonate/components/DataNukeSettings.js +56 -54
- package/lib/module/impersonate/components/ImpersonateHistoryList.js +10 -10
- package/lib/module/impersonate/components/ImpersonateModal.js +13 -11
- package/lib/module/impersonate/components/ImpersonateStatusBar.js +6 -6
- package/lib/module/impersonate/components/UserAvatar.js +2 -2
- package/lib/module/impersonate/components/UserCard.js +14 -14
- package/lib/module/impersonate/components/UserSearchView.js +17 -17
- package/lib/module/impersonate/utils/impersonateListener.js +64 -9
- package/lib/typescript/impersonate/components/DataNukeSettings.d.ts.map +1 -1
- package/lib/typescript/impersonate/utils/impersonateListener.d.ts +7 -27
- package/lib/typescript/impersonate/utils/impersonateListener.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -55,7 +55,7 @@ function ToggleRow({
|
|
|
55
55
|
color: _sharedUi.buoyColors.success
|
|
56
56
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
|
|
57
57
|
size: 10,
|
|
58
|
-
color: _sharedUi.
|
|
58
|
+
color: _sharedUi.night.color.textTertiary
|
|
59
59
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
60
60
|
style: [styles.detectedText, detected ? styles.detectedTextActive : styles.detectedTextInactive],
|
|
61
61
|
children: detected ? "Detected" : "Not Detected"
|
|
@@ -64,7 +64,7 @@ function ToggleRow({
|
|
|
64
64
|
style: styles.recommendedBadge,
|
|
65
65
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Zap, {
|
|
66
66
|
size: 10,
|
|
67
|
-
color: _sharedUi.
|
|
67
|
+
color: _sharedUi.night.color.accent
|
|
68
68
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
69
69
|
style: styles.recommendedText,
|
|
70
70
|
children: "Recommended"
|
|
@@ -78,10 +78,10 @@ function ToggleRow({
|
|
|
78
78
|
value: value,
|
|
79
79
|
onValueChange: onChange,
|
|
80
80
|
trackColor: {
|
|
81
|
-
false: _sharedUi.
|
|
82
|
-
true: dangerous ? _sharedUi.
|
|
81
|
+
false: _sharedUi.night.color.border,
|
|
82
|
+
true: dangerous ? _sharedUi.night.color.warning + "50" : _sharedUi.night.color.accent + "50"
|
|
83
83
|
},
|
|
84
|
-
thumbColor: value ? dangerous ? _sharedUi.
|
|
84
|
+
thumbColor: value ? dangerous ? _sharedUi.night.color.warning : _sharedUi.night.color.accent : _sharedUi.night.color.knob
|
|
85
85
|
})]
|
|
86
86
|
});
|
|
87
87
|
}
|
|
@@ -191,7 +191,7 @@ function DataNukeSettings({
|
|
|
191
191
|
onPress: handleDiscard,
|
|
192
192
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
|
|
193
193
|
size: 14,
|
|
194
|
-
color: _sharedUi.
|
|
194
|
+
color: _sharedUi.night.color.textSecondary
|
|
195
195
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
196
196
|
style: styles.discardButtonText,
|
|
197
197
|
children: "Discard"
|
|
@@ -201,7 +201,7 @@ function DataNukeSettings({
|
|
|
201
201
|
onPress: handleSave,
|
|
202
202
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Check, {
|
|
203
203
|
size: 14,
|
|
204
|
-
color:
|
|
204
|
+
color: _sharedUi.night.color.onAccent
|
|
205
205
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
206
206
|
style: styles.saveButtonText,
|
|
207
207
|
children: "Save"
|
|
@@ -224,7 +224,7 @@ function DataNukeSettings({
|
|
|
224
224
|
value: localHeaderKey,
|
|
225
225
|
onChangeText: setLocalHeaderKey,
|
|
226
226
|
placeholder: "x-impersonate-user-id",
|
|
227
|
-
placeholderTextColor: _sharedUi.
|
|
227
|
+
placeholderTextColor: _sharedUi.night.color.placeholder,
|
|
228
228
|
autoCapitalize: "none",
|
|
229
229
|
autoCorrect: false
|
|
230
230
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
@@ -321,7 +321,7 @@ function DataNukeSettings({
|
|
|
321
321
|
style: styles.warningCard,
|
|
322
322
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.AlertTriangle, {
|
|
323
323
|
size: 16,
|
|
324
|
-
color: _sharedUi.
|
|
324
|
+
color: _sharedUi.night.color.warning
|
|
325
325
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
326
326
|
style: styles.warningContent,
|
|
327
327
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -339,7 +339,7 @@ function DataNukeSettings({
|
|
|
339
339
|
onPress: handleRestoreDefaults,
|
|
340
340
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.RefreshCw, {
|
|
341
341
|
size: 14,
|
|
342
|
-
color: _sharedUi.
|
|
342
|
+
color: _sharedUi.night.color.textSecondary
|
|
343
343
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
344
344
|
style: styles.restoreButtonText,
|
|
345
345
|
children: "Restore Defaults"
|
|
@@ -404,7 +404,7 @@ function DataNukeSettings({
|
|
|
404
404
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
405
405
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Copy, {
|
|
406
406
|
size: 14,
|
|
407
|
-
color: _sharedUi.
|
|
407
|
+
color: _sharedUi.night.color.accent
|
|
408
408
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
409
409
|
style: styles.copyButtonText,
|
|
410
410
|
children: "Copy Config"
|
|
@@ -425,10 +425,10 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
425
425
|
paddingBottom: 32
|
|
426
426
|
},
|
|
427
427
|
actionBar: {
|
|
428
|
-
backgroundColor: _sharedUi.
|
|
428
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
429
429
|
borderRadius: 10,
|
|
430
430
|
borderWidth: 1,
|
|
431
|
-
borderColor: _sharedUi.
|
|
431
|
+
borderColor: _sharedUi.night.color.accentBorder,
|
|
432
432
|
padding: 12
|
|
433
433
|
},
|
|
434
434
|
actionBarContent: {
|
|
@@ -439,7 +439,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
439
439
|
unsavedText: {
|
|
440
440
|
fontSize: 13,
|
|
441
441
|
fontWeight: "500",
|
|
442
|
-
color: _sharedUi.
|
|
442
|
+
color: _sharedUi.night.color.accent
|
|
443
443
|
},
|
|
444
444
|
actionButtons: {
|
|
445
445
|
flexDirection: "row",
|
|
@@ -449,7 +449,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
449
449
|
flexDirection: "row",
|
|
450
450
|
alignItems: "center",
|
|
451
451
|
gap: 6,
|
|
452
|
-
backgroundColor: _sharedUi.
|
|
452
|
+
backgroundColor: _sharedUi.night.color.accent,
|
|
453
453
|
paddingHorizontal: 14,
|
|
454
454
|
paddingVertical: 8,
|
|
455
455
|
borderRadius: 6
|
|
@@ -457,23 +457,24 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
457
457
|
saveButtonText: {
|
|
458
458
|
fontSize: 13,
|
|
459
459
|
fontWeight: "600",
|
|
460
|
-
|
|
460
|
+
// Ink on a filled accent surface — the night accent takes dark ink.
|
|
461
|
+
color: _sharedUi.night.color.onAccent
|
|
461
462
|
},
|
|
462
463
|
discardButton: {
|
|
463
464
|
flexDirection: "row",
|
|
464
465
|
alignItems: "center",
|
|
465
466
|
gap: 6,
|
|
466
|
-
backgroundColor: _sharedUi.
|
|
467
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
467
468
|
paddingHorizontal: 14,
|
|
468
469
|
paddingVertical: 8,
|
|
469
470
|
borderRadius: 6,
|
|
470
471
|
borderWidth: 1,
|
|
471
|
-
borderColor: _sharedUi.
|
|
472
|
+
borderColor: _sharedUi.night.color.border
|
|
472
473
|
},
|
|
473
474
|
discardButtonText: {
|
|
474
475
|
fontSize: 13,
|
|
475
476
|
fontWeight: "500",
|
|
476
|
-
color: _sharedUi.
|
|
477
|
+
color: _sharedUi.night.color.textSecondary
|
|
477
478
|
},
|
|
478
479
|
restoreButton: {
|
|
479
480
|
flexDirection: "row",
|
|
@@ -483,31 +484,31 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
483
484
|
paddingVertical: 12,
|
|
484
485
|
borderRadius: 8,
|
|
485
486
|
borderWidth: 1,
|
|
486
|
-
borderColor: _sharedUi.
|
|
487
|
+
borderColor: _sharedUi.night.color.border,
|
|
487
488
|
borderStyle: "dashed"
|
|
488
489
|
},
|
|
489
490
|
restoreButtonText: {
|
|
490
491
|
fontSize: 13,
|
|
491
|
-
color: _sharedUi.
|
|
492
|
+
color: _sharedUi.night.color.textSecondary
|
|
492
493
|
},
|
|
493
494
|
sectionContent: {
|
|
494
495
|
paddingTop: 8
|
|
495
496
|
},
|
|
496
497
|
sectionDescription: {
|
|
497
498
|
fontSize: 13,
|
|
498
|
-
color: _sharedUi.
|
|
499
|
+
color: _sharedUi.night.color.textSecondary,
|
|
499
500
|
lineHeight: 18,
|
|
500
501
|
marginBottom: 14
|
|
501
502
|
},
|
|
502
503
|
togglesCard: {
|
|
503
|
-
backgroundColor: _sharedUi.
|
|
504
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
504
505
|
borderRadius: 10,
|
|
505
506
|
borderWidth: 1,
|
|
506
|
-
borderColor: _sharedUi.
|
|
507
|
+
borderColor: _sharedUi.night.color.border,
|
|
507
508
|
padding: 4
|
|
508
509
|
},
|
|
509
510
|
dangerousCard: {
|
|
510
|
-
borderColor: _sharedUi.
|
|
511
|
+
borderColor: _sharedUi.night.color.warning + "30"
|
|
511
512
|
},
|
|
512
513
|
advancedSection: {
|
|
513
514
|
marginTop: 16
|
|
@@ -515,7 +516,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
515
516
|
advancedLabel: {
|
|
516
517
|
fontSize: 11,
|
|
517
518
|
fontWeight: "600",
|
|
518
|
-
color: _sharedUi.
|
|
519
|
+
color: _sharedUi.night.color.textTertiary,
|
|
519
520
|
textTransform: "uppercase",
|
|
520
521
|
letterSpacing: 0.5,
|
|
521
522
|
marginBottom: 8,
|
|
@@ -524,18 +525,18 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
524
525
|
inputLabel: {
|
|
525
526
|
fontSize: 12,
|
|
526
527
|
fontWeight: "600",
|
|
527
|
-
color: _sharedUi.
|
|
528
|
+
color: _sharedUi.night.color.textSecondary,
|
|
528
529
|
marginBottom: 8
|
|
529
530
|
},
|
|
530
531
|
input: {
|
|
531
532
|
height: 42,
|
|
532
|
-
backgroundColor: _sharedUi.
|
|
533
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
533
534
|
borderRadius: 8,
|
|
534
535
|
borderWidth: 1,
|
|
535
|
-
borderColor: _sharedUi.
|
|
536
|
+
borderColor: _sharedUi.night.color.border,
|
|
536
537
|
paddingHorizontal: 14,
|
|
537
538
|
fontSize: 14,
|
|
538
|
-
color: _sharedUi.
|
|
539
|
+
color: _sharedUi.night.color.text,
|
|
539
540
|
fontFamily: "monospace"
|
|
540
541
|
},
|
|
541
542
|
inputFooter: {
|
|
@@ -548,7 +549,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
548
549
|
helperText: {
|
|
549
550
|
flex: 1,
|
|
550
551
|
fontSize: 12,
|
|
551
|
-
color: _sharedUi.
|
|
552
|
+
color: _sharedUi.night.color.textTertiary,
|
|
552
553
|
lineHeight: 16
|
|
553
554
|
},
|
|
554
555
|
resetLink: {
|
|
@@ -556,7 +557,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
556
557
|
},
|
|
557
558
|
resetLinkText: {
|
|
558
559
|
fontSize: 12,
|
|
559
|
-
color: _sharedUi.
|
|
560
|
+
color: _sharedUi.night.color.accent,
|
|
560
561
|
fontWeight: "500"
|
|
561
562
|
},
|
|
562
563
|
toggleRow: {
|
|
@@ -579,16 +580,16 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
579
580
|
toggleLabel: {
|
|
580
581
|
fontSize: 14,
|
|
581
582
|
fontWeight: "500",
|
|
582
|
-
color: _sharedUi.
|
|
583
|
+
color: _sharedUi.night.color.text
|
|
583
584
|
},
|
|
584
585
|
dangerousLabel: {
|
|
585
|
-
color: _sharedUi.
|
|
586
|
+
color: _sharedUi.night.color.warning
|
|
586
587
|
},
|
|
587
588
|
recommendedBadge: {
|
|
588
589
|
flexDirection: "row",
|
|
589
590
|
alignItems: "center",
|
|
590
591
|
gap: 4,
|
|
591
|
-
backgroundColor: _sharedUi.
|
|
592
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
592
593
|
paddingHorizontal: 8,
|
|
593
594
|
paddingVertical: 3,
|
|
594
595
|
borderRadius: 4
|
|
@@ -596,7 +597,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
596
597
|
recommendedText: {
|
|
597
598
|
fontSize: 10,
|
|
598
599
|
fontWeight: "600",
|
|
599
|
-
color: _sharedUi.
|
|
600
|
+
color: _sharedUi.night.color.accent
|
|
600
601
|
},
|
|
601
602
|
detectedBadge: {
|
|
602
603
|
flexDirection: "row",
|
|
@@ -610,7 +611,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
610
611
|
backgroundColor: _sharedUi.buoyColors.success + "15"
|
|
611
612
|
},
|
|
612
613
|
detectedBadgeInactive: {
|
|
613
|
-
backgroundColor: _sharedUi.
|
|
614
|
+
backgroundColor: _sharedUi.night.color.textTertiary + "15"
|
|
614
615
|
},
|
|
615
616
|
detectedText: {
|
|
616
617
|
fontSize: 10,
|
|
@@ -620,16 +621,16 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
620
621
|
color: _sharedUi.buoyColors.success
|
|
621
622
|
},
|
|
622
623
|
detectedTextInactive: {
|
|
623
|
-
color: _sharedUi.
|
|
624
|
+
color: _sharedUi.night.color.textTertiary
|
|
624
625
|
},
|
|
625
626
|
toggleDescription: {
|
|
626
627
|
fontSize: 12,
|
|
627
|
-
color: _sharedUi.
|
|
628
|
+
color: _sharedUi.night.color.textTertiary,
|
|
628
629
|
lineHeight: 16
|
|
629
630
|
},
|
|
630
631
|
divider: {
|
|
631
632
|
height: 1,
|
|
632
|
-
backgroundColor: _sharedUi.
|
|
633
|
+
backgroundColor: _sharedUi.night.color.separator,
|
|
633
634
|
marginHorizontal: 12
|
|
634
635
|
},
|
|
635
636
|
warningCard: {
|
|
@@ -637,10 +638,10 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
637
638
|
flexDirection: "row",
|
|
638
639
|
alignItems: "flex-start",
|
|
639
640
|
gap: 12,
|
|
640
|
-
backgroundColor: _sharedUi.
|
|
641
|
+
backgroundColor: _sharedUi.night.color.warningSoft,
|
|
641
642
|
borderRadius: 10,
|
|
642
643
|
borderWidth: 1,
|
|
643
|
-
borderColor: _sharedUi.
|
|
644
|
+
borderColor: _sharedUi.night.color.warning + "25",
|
|
644
645
|
padding: 14
|
|
645
646
|
},
|
|
646
647
|
warningContent: {
|
|
@@ -649,17 +650,17 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
649
650
|
warningTitle: {
|
|
650
651
|
fontSize: 13,
|
|
651
652
|
fontWeight: "600",
|
|
652
|
-
color: _sharedUi.
|
|
653
|
+
color: _sharedUi.night.color.warning,
|
|
653
654
|
marginBottom: 4
|
|
654
655
|
},
|
|
655
656
|
warningText: {
|
|
656
657
|
fontSize: 12,
|
|
657
|
-
color: _sharedUi.
|
|
658
|
+
color: _sharedUi.night.color.textSecondary,
|
|
658
659
|
lineHeight: 17
|
|
659
660
|
},
|
|
660
661
|
infoText: {
|
|
661
662
|
fontSize: 13,
|
|
662
|
-
color: _sharedUi.
|
|
663
|
+
color: _sharedUi.night.color.textSecondary,
|
|
663
664
|
lineHeight: 19
|
|
664
665
|
},
|
|
665
666
|
infoTextSpaced: {
|
|
@@ -667,30 +668,31 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
667
668
|
},
|
|
668
669
|
codeBlock: {
|
|
669
670
|
marginTop: 14,
|
|
670
|
-
|
|
671
|
+
// Inset code box — darker than the card, the night track color.
|
|
672
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
671
673
|
borderRadius: 8,
|
|
672
674
|
padding: 14
|
|
673
675
|
},
|
|
674
676
|
codeComment: {
|
|
675
677
|
fontSize: 12,
|
|
676
|
-
color: _sharedUi.
|
|
678
|
+
color: _sharedUi.night.color.textTertiary,
|
|
677
679
|
fontFamily: "monospace",
|
|
678
680
|
marginBottom: 6
|
|
679
681
|
},
|
|
680
682
|
codeText: {
|
|
681
683
|
fontSize: 13,
|
|
682
|
-
color: _sharedUi.
|
|
684
|
+
color: _sharedUi.night.color.text,
|
|
683
685
|
fontFamily: "monospace"
|
|
684
686
|
},
|
|
685
687
|
codeValue: {
|
|
686
|
-
color: _sharedUi.
|
|
688
|
+
color: _sharedUi.night.color.accent
|
|
687
689
|
},
|
|
688
690
|
dataViewerContainer: {
|
|
689
691
|
marginTop: 12,
|
|
690
692
|
borderRadius: 8,
|
|
691
693
|
overflow: "hidden",
|
|
692
694
|
borderWidth: 1,
|
|
693
|
-
borderColor: _sharedUi.
|
|
695
|
+
borderColor: _sharedUi.night.color.border
|
|
694
696
|
},
|
|
695
697
|
copyButton: {
|
|
696
698
|
flexDirection: "row",
|
|
@@ -698,17 +700,17 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
698
700
|
justifyContent: "center",
|
|
699
701
|
gap: 8,
|
|
700
702
|
marginTop: 14,
|
|
701
|
-
backgroundColor: _sharedUi.
|
|
703
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
702
704
|
paddingVertical: 10,
|
|
703
705
|
paddingHorizontal: 16,
|
|
704
706
|
borderRadius: 8,
|
|
705
707
|
borderWidth: 1,
|
|
706
|
-
borderColor: _sharedUi.
|
|
708
|
+
borderColor: _sharedUi.night.color.accentBorder
|
|
707
709
|
},
|
|
708
710
|
copyButtonText: {
|
|
709
711
|
fontSize: 13,
|
|
710
712
|
fontWeight: "600",
|
|
711
|
-
color: _sharedUi.
|
|
713
|
+
color: _sharedUi.night.color.accent
|
|
712
714
|
},
|
|
713
715
|
copySuccessText: {
|
|
714
716
|
color: _sharedUi.buoyColors.success
|
|
@@ -65,7 +65,7 @@ function ImpersonateHistoryList({
|
|
|
65
65
|
style: styles.emptyIcon,
|
|
66
66
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Clock, {
|
|
67
67
|
size: 28,
|
|
68
|
-
color: _sharedUi.
|
|
68
|
+
color: _sharedUi.night.color.textTertiary
|
|
69
69
|
})
|
|
70
70
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
71
71
|
style: styles.emptyTitle,
|
|
@@ -97,7 +97,7 @@ function ImpersonateHistoryList({
|
|
|
97
97
|
activeOpacity: 0.7,
|
|
98
98
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Trash2, {
|
|
99
99
|
size: 12,
|
|
100
|
-
color: _sharedUi.
|
|
100
|
+
color: _sharedUi.night.color.textTertiary
|
|
101
101
|
})
|
|
102
102
|
})]
|
|
103
103
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
|
|
@@ -126,12 +126,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
126
126
|
headerTitle: {
|
|
127
127
|
fontSize: 12,
|
|
128
128
|
fontWeight: "600",
|
|
129
|
-
color: _sharedUi.
|
|
129
|
+
color: _sharedUi.night.color.textTertiary,
|
|
130
130
|
textTransform: "uppercase",
|
|
131
131
|
letterSpacing: 0.5
|
|
132
132
|
},
|
|
133
133
|
headerBadge: {
|
|
134
|
-
backgroundColor: _sharedUi.
|
|
134
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
135
135
|
paddingHorizontal: 6,
|
|
136
136
|
paddingVertical: 2,
|
|
137
137
|
borderRadius: 4
|
|
@@ -139,7 +139,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
139
139
|
headerBadgeText: {
|
|
140
140
|
fontSize: 10,
|
|
141
141
|
fontWeight: "600",
|
|
142
|
-
color: _sharedUi.
|
|
142
|
+
color: _sharedUi.night.color.textTertiary
|
|
143
143
|
},
|
|
144
144
|
headerSpacer: {
|
|
145
145
|
flex: 1
|
|
@@ -149,7 +149,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
149
149
|
height: 24,
|
|
150
150
|
alignItems: "center",
|
|
151
151
|
justifyContent: "center",
|
|
152
|
-
backgroundColor: _sharedUi.
|
|
152
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
153
153
|
borderRadius: 4
|
|
154
154
|
},
|
|
155
155
|
listContent: {
|
|
@@ -169,7 +169,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
169
169
|
width: 56,
|
|
170
170
|
height: 56,
|
|
171
171
|
borderRadius: 28,
|
|
172
|
-
backgroundColor: _sharedUi.
|
|
172
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
173
173
|
alignItems: "center",
|
|
174
174
|
justifyContent: "center",
|
|
175
175
|
marginBottom: 16
|
|
@@ -177,12 +177,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
177
177
|
emptyTitle: {
|
|
178
178
|
fontSize: 16,
|
|
179
179
|
fontWeight: "600",
|
|
180
|
-
color: _sharedUi.
|
|
180
|
+
color: _sharedUi.night.color.text,
|
|
181
181
|
marginBottom: 6
|
|
182
182
|
},
|
|
183
183
|
emptyDescription: {
|
|
184
184
|
fontSize: 14,
|
|
185
|
-
color: _sharedUi.
|
|
185
|
+
color: _sharedUi.night.color.textSecondary,
|
|
186
186
|
textAlign: "center"
|
|
187
187
|
}
|
|
188
188
|
});
|
|
@@ -175,13 +175,13 @@ function ImpersonateModal({
|
|
|
175
175
|
style: styles.headerSearchContainer,
|
|
176
176
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Search, {
|
|
177
177
|
size: 14,
|
|
178
|
-
color: _sharedUi.
|
|
178
|
+
color: _sharedUi.night.color.textSecondary
|
|
179
179
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
180
180
|
ref: searchInputRef,
|
|
181
181
|
testID: "buoy-impersonate-search-input",
|
|
182
182
|
style: styles.headerSearchInput,
|
|
183
183
|
placeholder: "Search by email, name, or ID...",
|
|
184
|
-
placeholderTextColor: _sharedUi.
|
|
184
|
+
placeholderTextColor: _sharedUi.night.color.placeholder,
|
|
185
185
|
value: searchText,
|
|
186
186
|
onChangeText: handleSearchTextChange,
|
|
187
187
|
onSubmitEditing: handleSubmitSearch,
|
|
@@ -197,14 +197,14 @@ function ImpersonateModal({
|
|
|
197
197
|
style: styles.headerSearchClear,
|
|
198
198
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
|
|
199
199
|
size: 14,
|
|
200
|
-
color: _sharedUi.
|
|
200
|
+
color: _sharedUi.night.color.textSecondary
|
|
201
201
|
})
|
|
202
202
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
203
203
|
onPress: () => setIsSearchActive(false),
|
|
204
204
|
style: styles.headerSearchClear,
|
|
205
205
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
|
|
206
206
|
size: 14,
|
|
207
|
-
color: _sharedUi.
|
|
207
|
+
color: _sharedUi.night.color.textTertiary
|
|
208
208
|
})
|
|
209
209
|
})]
|
|
210
210
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.TabSelector, {
|
|
@@ -219,7 +219,7 @@ function ImpersonateModal({
|
|
|
219
219
|
style: styles.headerActionButton,
|
|
220
220
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Search, {
|
|
221
221
|
size: 14,
|
|
222
|
-
color: _sharedUi.
|
|
222
|
+
color: _sharedUi.night.color.textSecondary
|
|
223
223
|
})
|
|
224
224
|
})
|
|
225
225
|
})]
|
|
@@ -305,7 +305,9 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
305
305
|
inlineRoot: {
|
|
306
306
|
flex: 1,
|
|
307
307
|
minHeight: 0,
|
|
308
|
-
|
|
308
|
+
// Transparent so the desktop workbench's hoisted sky (one field spanning
|
|
309
|
+
// sidebar + panel) shows through — the shell paints its base beneath it.
|
|
310
|
+
backgroundColor: "transparent"
|
|
309
311
|
},
|
|
310
312
|
inlineHeader: {
|
|
311
313
|
paddingHorizontal: 12,
|
|
@@ -320,10 +322,10 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
320
322
|
headerSearchContainer: {
|
|
321
323
|
flexDirection: "row",
|
|
322
324
|
alignItems: "center",
|
|
323
|
-
backgroundColor: _sharedUi.
|
|
325
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
324
326
|
borderRadius: 6,
|
|
325
327
|
borderWidth: 1,
|
|
326
|
-
borderColor: _sharedUi.
|
|
328
|
+
borderColor: _sharedUi.night.color.border,
|
|
327
329
|
paddingHorizontal: 12,
|
|
328
330
|
paddingVertical: 8,
|
|
329
331
|
marginTop: 8,
|
|
@@ -332,7 +334,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
332
334
|
},
|
|
333
335
|
headerSearchInput: {
|
|
334
336
|
flex: 1,
|
|
335
|
-
color: _sharedUi.
|
|
337
|
+
color: _sharedUi.night.color.text,
|
|
336
338
|
fontSize: 13,
|
|
337
339
|
marginLeft: 6,
|
|
338
340
|
paddingVertical: 2
|
|
@@ -345,7 +347,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
345
347
|
width: 28,
|
|
346
348
|
height: 28,
|
|
347
349
|
borderRadius: 6,
|
|
348
|
-
backgroundColor: _sharedUi.
|
|
350
|
+
backgroundColor: _sharedUi.night.color.buttonSurface,
|
|
349
351
|
justifyContent: "center",
|
|
350
352
|
alignItems: "center"
|
|
351
353
|
}
|
|
@@ -53,7 +53,7 @@ function ImpersonateStatusBar({
|
|
|
53
53
|
activeOpacity: 0.7,
|
|
54
54
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
|
|
55
55
|
size: 12,
|
|
56
|
-
color: _sharedUi.
|
|
56
|
+
color: _sharedUi.night.color.danger
|
|
57
57
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
58
58
|
style: styles.stopButtonText,
|
|
59
59
|
children: "Stop"
|
|
@@ -87,7 +87,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
87
87
|
userName: {
|
|
88
88
|
fontSize: 14,
|
|
89
89
|
fontWeight: "600",
|
|
90
|
-
color: _sharedUi.
|
|
90
|
+
color: _sharedUi.night.color.text
|
|
91
91
|
},
|
|
92
92
|
statusPill: {
|
|
93
93
|
flexDirection: "row",
|
|
@@ -117,14 +117,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
117
117
|
gap: 4,
|
|
118
118
|
paddingHorizontal: 12,
|
|
119
119
|
paddingVertical: 6,
|
|
120
|
-
backgroundColor: _sharedUi.
|
|
120
|
+
backgroundColor: _sharedUi.night.color.dangerSoft,
|
|
121
121
|
borderRadius: 6,
|
|
122
122
|
borderWidth: 1,
|
|
123
|
-
borderColor: _sharedUi.
|
|
123
|
+
borderColor: _sharedUi.night.color.danger + "30"
|
|
124
124
|
},
|
|
125
125
|
stopButtonText: {
|
|
126
126
|
fontSize: 12,
|
|
127
127
|
fontWeight: "600",
|
|
128
|
-
color: _sharedUi.
|
|
128
|
+
color: _sharedUi.night.color.danger
|
|
129
129
|
}
|
|
130
130
|
});
|
|
@@ -139,7 +139,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
139
139
|
position: "absolute",
|
|
140
140
|
backgroundColor: _sharedUi.buoyColors.success,
|
|
141
141
|
borderWidth: 2,
|
|
142
|
-
borderColor: _sharedUi.
|
|
142
|
+
borderColor: _sharedUi.night.color.surface
|
|
143
143
|
}
|
|
144
144
|
});
|
|
145
145
|
|
|
@@ -82,7 +82,7 @@ function UserCard({
|
|
|
82
82
|
activeOpacity: 0.7,
|
|
83
83
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Play, {
|
|
84
84
|
size: 14,
|
|
85
|
-
color:
|
|
85
|
+
color: _sharedUi.night.color.onAccent
|
|
86
86
|
})
|
|
87
87
|
}), showRemoveButton && onRemove && !isActive && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
88
88
|
style: styles.removeButton,
|
|
@@ -90,7 +90,7 @@ function UserCard({
|
|
|
90
90
|
activeOpacity: 0.7,
|
|
91
91
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
|
|
92
92
|
size: 12,
|
|
93
|
-
color: _sharedUi.
|
|
93
|
+
color: _sharedUi.night.color.textTertiary
|
|
94
94
|
})
|
|
95
95
|
})]
|
|
96
96
|
}), lastUsedTime && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
@@ -103,10 +103,10 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
103
103
|
container: {
|
|
104
104
|
flexDirection: "row",
|
|
105
105
|
alignItems: "center",
|
|
106
|
-
backgroundColor: _sharedUi.
|
|
106
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
107
107
|
borderRadius: 10,
|
|
108
108
|
borderWidth: 1,
|
|
109
|
-
borderColor: _sharedUi.
|
|
109
|
+
borderColor: _sharedUi.night.color.border,
|
|
110
110
|
padding: 12,
|
|
111
111
|
gap: 12
|
|
112
112
|
},
|
|
@@ -134,14 +134,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
134
134
|
name: {
|
|
135
135
|
fontSize: 15,
|
|
136
136
|
fontWeight: "600",
|
|
137
|
-
color: _sharedUi.
|
|
137
|
+
color: _sharedUi.night.color.text,
|
|
138
138
|
flexShrink: 1
|
|
139
139
|
},
|
|
140
140
|
activeName: {
|
|
141
141
|
color: _sharedUi.buoyColors.success
|
|
142
142
|
},
|
|
143
143
|
roleBadge: {
|
|
144
|
-
backgroundColor: _sharedUi.
|
|
144
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
145
145
|
paddingHorizontal: 6,
|
|
146
146
|
paddingVertical: 2,
|
|
147
147
|
borderRadius: 4
|
|
@@ -149,12 +149,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
149
149
|
roleBadgeText: {
|
|
150
150
|
fontSize: 9,
|
|
151
151
|
fontWeight: "700",
|
|
152
|
-
color: _sharedUi.
|
|
152
|
+
color: _sharedUi.night.color.textTertiary,
|
|
153
153
|
letterSpacing: 0.5
|
|
154
154
|
},
|
|
155
155
|
email: {
|
|
156
156
|
fontSize: 13,
|
|
157
|
-
color: _sharedUi.
|
|
157
|
+
color: _sharedUi.night.color.textSecondary,
|
|
158
158
|
marginBottom: 4
|
|
159
159
|
},
|
|
160
160
|
metadataRow: {
|
|
@@ -164,7 +164,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
164
164
|
},
|
|
165
165
|
userId: {
|
|
166
166
|
fontSize: 11,
|
|
167
|
-
color: _sharedUi.
|
|
167
|
+
color: _sharedUi.night.color.textTertiary,
|
|
168
168
|
fontFamily: "monospace"
|
|
169
169
|
},
|
|
170
170
|
lastUsed: {
|
|
@@ -172,7 +172,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
172
172
|
bottom: 8,
|
|
173
173
|
right: 10,
|
|
174
174
|
fontSize: 10,
|
|
175
|
-
color: _sharedUi.
|
|
175
|
+
color: _sharedUi.night.color.textTertiary
|
|
176
176
|
},
|
|
177
177
|
actions: {
|
|
178
178
|
flexDirection: "row",
|
|
@@ -184,7 +184,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
184
184
|
width: 36,
|
|
185
185
|
height: 36,
|
|
186
186
|
borderRadius: 8,
|
|
187
|
-
backgroundColor: _sharedUi.
|
|
187
|
+
backgroundColor: _sharedUi.night.color.accent,
|
|
188
188
|
alignItems: "center",
|
|
189
189
|
justifyContent: "center"
|
|
190
190
|
},
|
|
@@ -192,9 +192,9 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
192
192
|
width: 28,
|
|
193
193
|
height: 28,
|
|
194
194
|
borderRadius: 6,
|
|
195
|
-
backgroundColor: _sharedUi.
|
|
195
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
196
196
|
borderWidth: 1,
|
|
197
|
-
borderColor: _sharedUi.
|
|
197
|
+
borderColor: _sharedUi.night.color.border,
|
|
198
198
|
alignItems: "center",
|
|
199
199
|
justifyContent: "center"
|
|
200
200
|
}
|