@buoy-gg/highlight-updates 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/highlight-updates/HighlightUpdatesOverlay.js +4 -4
- package/lib/commonjs/highlight-updates/components/HighlightFilterView.js +88 -87
- package/lib/commonjs/highlight-updates/components/HighlightUpdatesModal.js +12 -8
- package/lib/commonjs/highlight-updates/components/IdentifierBadge.js +2 -2
- package/lib/commonjs/highlight-updates/components/IsolatedRenderList.js +6 -6
- package/lib/commonjs/highlight-updates/components/ModalHeaderContent.js +17 -17
- package/lib/commonjs/highlight-updates/components/RenderCauseBadge.js +22 -20
- package/lib/commonjs/highlight-updates/components/RenderDetailView.js +53 -49
- package/lib/commonjs/highlight-updates/components/RenderHistoryViewer.js +62 -60
- package/lib/commonjs/highlight-updates/components/RenderListItem.js +7 -7
- package/lib/commonjs/highlight-updates/components/RendersCopySettingsView.js +18 -18
- package/lib/commonjs/highlight-updates/components/StatsDisplay.js +4 -4
- package/lib/module/highlight-updates/HighlightUpdatesOverlay.js +5 -5
- package/lib/module/highlight-updates/components/HighlightFilterView.js +89 -88
- package/lib/module/highlight-updates/components/HighlightUpdatesModal.js +13 -9
- package/lib/module/highlight-updates/components/IdentifierBadge.js +3 -3
- package/lib/module/highlight-updates/components/IsolatedRenderList.js +7 -7
- package/lib/module/highlight-updates/components/ModalHeaderContent.js +18 -18
- package/lib/module/highlight-updates/components/RenderCauseBadge.js +23 -21
- package/lib/module/highlight-updates/components/RenderDetailView.js +54 -50
- package/lib/module/highlight-updates/components/RenderHistoryViewer.js +63 -61
- package/lib/module/highlight-updates/components/RenderListItem.js +8 -8
- package/lib/module/highlight-updates/components/RendersCopySettingsView.js +19 -19
- package/lib/module/highlight-updates/components/StatsDisplay.js +5 -5
- package/lib/typescript/highlight-updates/components/HighlightFilterView.d.ts.map +1 -1
- package/lib/typescript/highlight-updates/components/HighlightUpdatesModal.d.ts.map +1 -1
- package/lib/typescript/highlight-updates/components/IdentifierBadge.d.ts.map +1 -1
- package/lib/typescript/highlight-updates/components/RenderCauseBadge.d.ts.map +1 -1
- package/lib/typescript/highlight-updates/components/RenderDetailView.d.ts.map +1 -1
- package/lib/typescript/highlight-updates/components/RenderHistoryViewer.d.ts.map +1 -1
- package/lib/typescript/highlight-updates/components/RendersCopySettingsView.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import React, { useState, useCallback } from "react";
|
|
12
12
|
import { View, Text, TouchableOpacity, TextInput, StyleSheet, ScrollView, Modal, Pressable, Switch } from "react-native";
|
|
13
|
-
import { Eye, Filter, Plus, X, Box, Settings, Hash, SectionHeader,
|
|
13
|
+
import { Eye, Filter, Plus, X, Box, Settings, Hash, SectionHeader, night } from "@buoy-gg/shared-ui";
|
|
14
14
|
import { IdentifierBadge, IDENTIFIER_CONFIG } from "./IdentifierBadge";
|
|
15
15
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
16
16
|
// Use shared identifier config (FilterType is a subset of IdentifierType)
|
|
@@ -54,7 +54,7 @@ function TypePicker({
|
|
|
54
54
|
style: styles.typePickerCancel,
|
|
55
55
|
children: /*#__PURE__*/_jsx(X, {
|
|
56
56
|
size: 16,
|
|
57
|
-
color:
|
|
57
|
+
color: night.color.textTertiary
|
|
58
58
|
})
|
|
59
59
|
})]
|
|
60
60
|
});
|
|
@@ -86,7 +86,7 @@ function PatternInput({
|
|
|
86
86
|
onChangeText: setValue,
|
|
87
87
|
onSubmitEditing: handleSubmit,
|
|
88
88
|
placeholder: "Enter pattern...",
|
|
89
|
-
placeholderTextColor:
|
|
89
|
+
placeholderTextColor: night.color.placeholder,
|
|
90
90
|
style: styles.patternInput,
|
|
91
91
|
autoFocus: true,
|
|
92
92
|
returnKeyType: "done",
|
|
@@ -108,7 +108,7 @@ function PatternInput({
|
|
|
108
108
|
style: styles.cancelButton,
|
|
109
109
|
children: /*#__PURE__*/_jsx(X, {
|
|
110
110
|
size: 16,
|
|
111
|
-
color:
|
|
111
|
+
color: night.color.textTertiary
|
|
112
112
|
})
|
|
113
113
|
})]
|
|
114
114
|
});
|
|
@@ -142,7 +142,7 @@ function PatternChip({
|
|
|
142
142
|
children: pattern.value
|
|
143
143
|
}), /*#__PURE__*/_jsx(X, {
|
|
144
144
|
size: 12,
|
|
145
|
-
color:
|
|
145
|
+
color: night.color.textTertiary,
|
|
146
146
|
style: styles.patternChipX
|
|
147
147
|
})]
|
|
148
148
|
});
|
|
@@ -154,7 +154,7 @@ function PatternChip({
|
|
|
154
154
|
const ALL_CATEGORY_CONFIG = {
|
|
155
155
|
label: "All",
|
|
156
156
|
shortLabel: "All",
|
|
157
|
-
color:
|
|
157
|
+
color: night.color.textSecondary,
|
|
158
158
|
icon: Box
|
|
159
159
|
};
|
|
160
160
|
|
|
@@ -383,13 +383,13 @@ export function HighlightFilterView({
|
|
|
383
383
|
children: [/*#__PURE__*/_jsxs(SectionHeader, {
|
|
384
384
|
children: [/*#__PURE__*/_jsx(SectionHeader.Icon, {
|
|
385
385
|
icon: Eye,
|
|
386
|
-
color:
|
|
386
|
+
color: night.color.accent,
|
|
387
387
|
size: 12
|
|
388
388
|
}), /*#__PURE__*/_jsx(SectionHeader.Title, {
|
|
389
389
|
children: "INCLUDE ONLY"
|
|
390
390
|
}), filters.includePatterns.length > 0 && /*#__PURE__*/_jsx(SectionHeader.Badge, {
|
|
391
391
|
count: filters.includePatterns.length,
|
|
392
|
-
color:
|
|
392
|
+
color: night.color.accent
|
|
393
393
|
})]
|
|
394
394
|
}), /*#__PURE__*/_jsx(Text, {
|
|
395
395
|
style: styles.sectionDescription,
|
|
@@ -414,15 +414,15 @@ export function HighlightFilterView({
|
|
|
414
414
|
onCancel: () => setIncludeInputType(null)
|
|
415
415
|
}) : /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
416
416
|
style: [styles.addButton, {
|
|
417
|
-
borderColor:
|
|
417
|
+
borderColor: night.color.accentBorderStrong
|
|
418
418
|
}],
|
|
419
419
|
onPress: () => setShowIncludeTypePicker(true),
|
|
420
420
|
children: [/*#__PURE__*/_jsx(Plus, {
|
|
421
421
|
size: 14,
|
|
422
|
-
color:
|
|
422
|
+
color: night.color.accent
|
|
423
423
|
}), /*#__PURE__*/_jsx(Text, {
|
|
424
424
|
style: [styles.addButtonText, {
|
|
425
|
-
color:
|
|
425
|
+
color: night.color.accent
|
|
426
426
|
}],
|
|
427
427
|
children: "Add include pattern"
|
|
428
428
|
})]
|
|
@@ -433,13 +433,13 @@ export function HighlightFilterView({
|
|
|
433
433
|
children: [/*#__PURE__*/_jsxs(SectionHeader, {
|
|
434
434
|
children: [/*#__PURE__*/_jsx(SectionHeader.Icon, {
|
|
435
435
|
icon: Filter,
|
|
436
|
-
color:
|
|
436
|
+
color: night.color.accent,
|
|
437
437
|
size: 12
|
|
438
438
|
}), /*#__PURE__*/_jsx(SectionHeader.Title, {
|
|
439
439
|
children: "EXCLUDE"
|
|
440
440
|
}), filters.excludePatterns.length > 0 && /*#__PURE__*/_jsx(SectionHeader.Badge, {
|
|
441
441
|
count: filters.excludePatterns.length,
|
|
442
|
-
color:
|
|
442
|
+
color: night.color.accent
|
|
443
443
|
})]
|
|
444
444
|
}), /*#__PURE__*/_jsx(Text, {
|
|
445
445
|
style: styles.sectionDescription,
|
|
@@ -464,15 +464,15 @@ export function HighlightFilterView({
|
|
|
464
464
|
onCancel: () => setExcludeInputType(null)
|
|
465
465
|
}) : /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
466
466
|
style: [styles.addButton, {
|
|
467
|
-
borderColor:
|
|
467
|
+
borderColor: night.color.accentBorderStrong
|
|
468
468
|
}],
|
|
469
469
|
onPress: () => setShowExcludeTypePicker(true),
|
|
470
470
|
children: [/*#__PURE__*/_jsx(Plus, {
|
|
471
471
|
size: 14,
|
|
472
|
-
color:
|
|
472
|
+
color: night.color.accent
|
|
473
473
|
}), /*#__PURE__*/_jsx(Text, {
|
|
474
474
|
style: [styles.addButtonText, {
|
|
475
|
-
color:
|
|
475
|
+
color: night.color.accent
|
|
476
476
|
}],
|
|
477
477
|
children: "Add exclude pattern"
|
|
478
478
|
})]
|
|
@@ -483,13 +483,13 @@ export function HighlightFilterView({
|
|
|
483
483
|
children: [/*#__PURE__*/_jsxs(SectionHeader, {
|
|
484
484
|
children: [/*#__PURE__*/_jsx(SectionHeader.Icon, {
|
|
485
485
|
icon: Hash,
|
|
486
|
-
color:
|
|
486
|
+
color: night.color.warning,
|
|
487
487
|
size: 12
|
|
488
488
|
}), /*#__PURE__*/_jsx(SectionHeader.Title, {
|
|
489
489
|
children: "RENDER COUNT RANGE"
|
|
490
490
|
}), (filters.minRenderCount !== undefined || filters.maxRenderCount !== undefined) && /*#__PURE__*/_jsx(SectionHeader.Badge, {
|
|
491
491
|
count: 1,
|
|
492
|
-
color:
|
|
492
|
+
color: night.color.warning
|
|
493
493
|
})]
|
|
494
494
|
}), /*#__PURE__*/_jsx(Text, {
|
|
495
495
|
style: styles.sectionDescription,
|
|
@@ -519,7 +519,7 @@ export function HighlightFilterView({
|
|
|
519
519
|
}
|
|
520
520
|
},
|
|
521
521
|
placeholder: "0",
|
|
522
|
-
placeholderTextColor:
|
|
522
|
+
placeholderTextColor: night.color.placeholder,
|
|
523
523
|
style: styles.renderCountInput,
|
|
524
524
|
keyboardType: "number-pad",
|
|
525
525
|
returnKeyType: "done"
|
|
@@ -547,7 +547,7 @@ export function HighlightFilterView({
|
|
|
547
547
|
}
|
|
548
548
|
},
|
|
549
549
|
placeholder: "\u221E",
|
|
550
|
-
placeholderTextColor:
|
|
550
|
+
placeholderTextColor: night.color.placeholder,
|
|
551
551
|
style: styles.renderCountInput,
|
|
552
552
|
keyboardType: "number-pad",
|
|
553
553
|
returnKeyType: "done"
|
|
@@ -561,7 +561,7 @@ export function HighlightFilterView({
|
|
|
561
561
|
}),
|
|
562
562
|
children: [/*#__PURE__*/_jsx(X, {
|
|
563
563
|
size: 12,
|
|
564
|
-
color:
|
|
564
|
+
color: night.color.warning
|
|
565
565
|
}), /*#__PURE__*/_jsx(Text, {
|
|
566
566
|
style: styles.clearRangeButtonText,
|
|
567
567
|
children: "Clear Range"
|
|
@@ -573,7 +573,7 @@ export function HighlightFilterView({
|
|
|
573
573
|
children: [/*#__PURE__*/_jsxs(SectionHeader, {
|
|
574
574
|
children: [/*#__PURE__*/_jsx(SectionHeader.Icon, {
|
|
575
575
|
icon: Box,
|
|
576
|
-
color:
|
|
576
|
+
color: night.color.textSecondary,
|
|
577
577
|
size: 12
|
|
578
578
|
}), /*#__PURE__*/_jsx(SectionHeader.Title, {
|
|
579
579
|
children: "DETECTED ITEMS"
|
|
@@ -675,10 +675,10 @@ export function HighlightFilterView({
|
|
|
675
675
|
onPress: handlePopupInclude,
|
|
676
676
|
children: [/*#__PURE__*/_jsx(Eye, {
|
|
677
677
|
size: 16,
|
|
678
|
-
color:
|
|
678
|
+
color: night.color.accent
|
|
679
679
|
}), /*#__PURE__*/_jsx(Text, {
|
|
680
680
|
style: [styles.actionPopupButtonText, {
|
|
681
|
-
color:
|
|
681
|
+
color: night.color.accent
|
|
682
682
|
}],
|
|
683
683
|
children: "Include Only"
|
|
684
684
|
})]
|
|
@@ -687,10 +687,10 @@ export function HighlightFilterView({
|
|
|
687
687
|
onPress: handlePopupExclude,
|
|
688
688
|
children: [/*#__PURE__*/_jsx(Filter, {
|
|
689
689
|
size: 16,
|
|
690
|
-
color:
|
|
690
|
+
color: night.color.accent
|
|
691
691
|
}), /*#__PURE__*/_jsx(Text, {
|
|
692
692
|
style: [styles.actionPopupButtonText, {
|
|
693
|
-
color:
|
|
693
|
+
color: night.color.accent
|
|
694
694
|
}],
|
|
695
695
|
children: "Exclude"
|
|
696
696
|
})]
|
|
@@ -711,7 +711,7 @@ export function HighlightFilterView({
|
|
|
711
711
|
children: [/*#__PURE__*/_jsxs(SectionHeader, {
|
|
712
712
|
children: [/*#__PURE__*/_jsx(SectionHeader.Icon, {
|
|
713
713
|
icon: Filter,
|
|
714
|
-
color:
|
|
714
|
+
color: night.color.textTertiary,
|
|
715
715
|
size: 12
|
|
716
716
|
}), /*#__PURE__*/_jsx(SectionHeader.Title, {
|
|
717
717
|
children: "HOW FILTERS WORK"
|
|
@@ -742,7 +742,7 @@ export function HighlightFilterView({
|
|
|
742
742
|
children: [/*#__PURE__*/_jsxs(SectionHeader, {
|
|
743
743
|
children: [/*#__PURE__*/_jsx(SectionHeader.Icon, {
|
|
744
744
|
icon: Settings,
|
|
745
|
-
color:
|
|
745
|
+
color: night.color.textTertiary,
|
|
746
746
|
size: 12
|
|
747
747
|
}), /*#__PURE__*/_jsx(SectionHeader.Title, {
|
|
748
748
|
children: "SETTINGS"
|
|
@@ -770,10 +770,10 @@ export function HighlightFilterView({
|
|
|
770
770
|
}
|
|
771
771
|
},
|
|
772
772
|
trackColor: {
|
|
773
|
-
false:
|
|
774
|
-
true:
|
|
773
|
+
false: night.color.surfaceElevated,
|
|
774
|
+
true: night.color.accent + "80"
|
|
775
775
|
},
|
|
776
|
-
thumbColor: settings.showRenderCount ?
|
|
776
|
+
thumbColor: settings.showRenderCount ? night.color.accent : night.color.knob
|
|
777
777
|
})]
|
|
778
778
|
}), /*#__PURE__*/_jsx(Text, {
|
|
779
779
|
style: styles.settingDescription,
|
|
@@ -792,10 +792,10 @@ export function HighlightFilterView({
|
|
|
792
792
|
trackRenderCauses: value
|
|
793
793
|
}),
|
|
794
794
|
trackColor: {
|
|
795
|
-
false:
|
|
796
|
-
true:
|
|
795
|
+
false: night.color.surfaceElevated,
|
|
796
|
+
true: night.color.warning + "80"
|
|
797
797
|
},
|
|
798
|
-
thumbColor: settings.trackRenderCauses ?
|
|
798
|
+
thumbColor: settings.trackRenderCauses ? night.color.warning : night.color.knob,
|
|
799
799
|
disabled: !settings.showRenderCount
|
|
800
800
|
})]
|
|
801
801
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
@@ -818,10 +818,10 @@ export function HighlightFilterView({
|
|
|
818
818
|
enableRenderHistory: value
|
|
819
819
|
}),
|
|
820
820
|
trackColor: {
|
|
821
|
-
false:
|
|
822
|
-
true:
|
|
821
|
+
false: night.color.surfaceElevated,
|
|
822
|
+
true: night.color.accent + "80"
|
|
823
823
|
},
|
|
824
|
-
thumbColor: settings.enableRenderHistory ?
|
|
824
|
+
thumbColor: settings.enableRenderHistory ? night.color.accent : night.color.knob,
|
|
825
825
|
disabled: !settings.trackRenderCauses
|
|
826
826
|
})]
|
|
827
827
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
@@ -842,7 +842,7 @@ export function HighlightFilterView({
|
|
|
842
842
|
style: styles.settingValue,
|
|
843
843
|
children: /*#__PURE__*/_jsx(Text, {
|
|
844
844
|
style: [styles.settingValueText, settings.debugLogLevel !== "off" && {
|
|
845
|
-
color:
|
|
845
|
+
color: night.color.warning
|
|
846
846
|
}],
|
|
847
847
|
children: DEBUG_LOG_LEVEL_PRESETS.find(p => p.value === settings.debugLogLevel)?.label || "Off"
|
|
848
848
|
})
|
|
@@ -854,15 +854,15 @@ export function HighlightFilterView({
|
|
|
854
854
|
style: styles.batchSizePresets,
|
|
855
855
|
children: DEBUG_LOG_LEVEL_PRESETS.map(preset => /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
856
856
|
style: [styles.batchSizePreset, settings.debugLogLevel === preset.value && styles.batchSizePresetActive, preset.value !== "off" && settings.debugLogLevel === preset.value && {
|
|
857
|
-
backgroundColor:
|
|
858
|
-
borderColor:
|
|
857
|
+
backgroundColor: night.color.warningSoft,
|
|
858
|
+
borderColor: night.color.warning
|
|
859
859
|
}],
|
|
860
860
|
onPress: () => onSettingsChange({
|
|
861
861
|
debugLogLevel: preset.value
|
|
862
862
|
}),
|
|
863
863
|
children: /*#__PURE__*/_jsx(Text, {
|
|
864
864
|
style: [styles.batchSizePresetText, settings.debugLogLevel === preset.value && styles.batchSizePresetTextActive, preset.value !== "off" && settings.debugLogLevel === preset.value && {
|
|
865
|
-
color:
|
|
865
|
+
color: night.color.warning
|
|
866
866
|
}],
|
|
867
867
|
children: preset.label
|
|
868
868
|
})
|
|
@@ -914,10 +914,10 @@ export function HighlightFilterView({
|
|
|
914
914
|
excludeDevTools: !value
|
|
915
915
|
}),
|
|
916
916
|
trackColor: {
|
|
917
|
-
false:
|
|
918
|
-
true:
|
|
917
|
+
false: night.color.surfaceElevated,
|
|
918
|
+
true: night.color.accent + "80"
|
|
919
919
|
},
|
|
920
|
-
thumbColor: !settings.excludeDevTools ?
|
|
920
|
+
thumbColor: !settings.excludeDevTools ? night.color.accent : night.color.knob
|
|
921
921
|
})]
|
|
922
922
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
923
923
|
style: styles.settingDescription,
|
|
@@ -936,7 +936,8 @@ export function HighlightFilterView({
|
|
|
936
936
|
const styles = StyleSheet.create({
|
|
937
937
|
container: {
|
|
938
938
|
flex: 1,
|
|
939
|
-
|
|
939
|
+
// Transparent so JsModal's ToolBackground shows through (the modal paints opaque base beneath it).
|
|
940
|
+
backgroundColor: "transparent"
|
|
940
941
|
},
|
|
941
942
|
scrollView: {
|
|
942
943
|
flex: 1
|
|
@@ -947,16 +948,16 @@ const styles = StyleSheet.create({
|
|
|
947
948
|
paddingBottom: 32
|
|
948
949
|
},
|
|
949
950
|
section: {
|
|
950
|
-
backgroundColor:
|
|
951
|
+
backgroundColor: night.color.surface,
|
|
951
952
|
borderRadius: 8,
|
|
952
953
|
borderWidth: 1,
|
|
953
|
-
borderColor:
|
|
954
|
+
borderColor: night.color.border,
|
|
954
955
|
marginBottom: 12,
|
|
955
956
|
overflow: "hidden"
|
|
956
957
|
},
|
|
957
958
|
sectionDescription: {
|
|
958
959
|
fontSize: 11,
|
|
959
|
-
color:
|
|
960
|
+
color: night.color.textSecondary,
|
|
960
961
|
paddingHorizontal: 16,
|
|
961
962
|
paddingTop: 8,
|
|
962
963
|
lineHeight: 16
|
|
@@ -971,7 +972,7 @@ const styles = StyleSheet.create({
|
|
|
971
972
|
patternChip: {
|
|
972
973
|
flexDirection: "row",
|
|
973
974
|
alignItems: "center",
|
|
974
|
-
backgroundColor:
|
|
975
|
+
backgroundColor: night.color.surfaceElevated,
|
|
975
976
|
borderRadius: 6,
|
|
976
977
|
borderWidth: 1,
|
|
977
978
|
paddingVertical: 4,
|
|
@@ -991,7 +992,7 @@ const styles = StyleSheet.create({
|
|
|
991
992
|
},
|
|
992
993
|
patternChipValue: {
|
|
993
994
|
fontSize: 11,
|
|
994
|
-
color:
|
|
995
|
+
color: night.color.text,
|
|
995
996
|
fontFamily: "monospace",
|
|
996
997
|
flexShrink: 1
|
|
997
998
|
},
|
|
@@ -1036,7 +1037,7 @@ const styles = StyleSheet.create({
|
|
|
1036
1037
|
paddingHorizontal: 12,
|
|
1037
1038
|
borderRadius: 6,
|
|
1038
1039
|
borderWidth: 1,
|
|
1039
|
-
backgroundColor:
|
|
1040
|
+
backgroundColor: night.color.surfaceElevated,
|
|
1040
1041
|
gap: 6
|
|
1041
1042
|
},
|
|
1042
1043
|
typeOptionText: {
|
|
@@ -1049,10 +1050,10 @@ const styles = StyleSheet.create({
|
|
|
1049
1050
|
patternInputContainer: {
|
|
1050
1051
|
flexDirection: "row",
|
|
1051
1052
|
alignItems: "center",
|
|
1052
|
-
backgroundColor:
|
|
1053
|
+
backgroundColor: night.color.surfaceElevated,
|
|
1053
1054
|
borderRadius: 8,
|
|
1054
1055
|
borderWidth: 1,
|
|
1055
|
-
borderColor:
|
|
1056
|
+
borderColor: night.color.border,
|
|
1056
1057
|
paddingLeft: 4,
|
|
1057
1058
|
paddingRight: 8,
|
|
1058
1059
|
paddingVertical: 4,
|
|
@@ -1061,7 +1062,7 @@ const styles = StyleSheet.create({
|
|
|
1061
1062
|
patternInput: {
|
|
1062
1063
|
flex: 1,
|
|
1063
1064
|
fontSize: 12,
|
|
1064
|
-
color:
|
|
1065
|
+
color: night.color.text,
|
|
1065
1066
|
paddingVertical: 6,
|
|
1066
1067
|
paddingHorizontal: 4
|
|
1067
1068
|
},
|
|
@@ -1125,7 +1126,7 @@ const styles = StyleSheet.create({
|
|
|
1125
1126
|
detectedItem: {
|
|
1126
1127
|
flexDirection: "row",
|
|
1127
1128
|
alignItems: "center",
|
|
1128
|
-
backgroundColor:
|
|
1129
|
+
backgroundColor: night.color.surfaceElevated,
|
|
1129
1130
|
borderRadius: 6,
|
|
1130
1131
|
borderWidth: 1,
|
|
1131
1132
|
paddingVertical: 6,
|
|
@@ -1134,12 +1135,12 @@ const styles = StyleSheet.create({
|
|
|
1134
1135
|
},
|
|
1135
1136
|
detectedItemText: {
|
|
1136
1137
|
fontSize: 11,
|
|
1137
|
-
color:
|
|
1138
|
+
color: night.color.text,
|
|
1138
1139
|
fontFamily: "monospace"
|
|
1139
1140
|
},
|
|
1140
1141
|
emptyText: {
|
|
1141
1142
|
fontSize: 11,
|
|
1142
|
-
color:
|
|
1143
|
+
color: night.color.textTertiary,
|
|
1143
1144
|
fontStyle: "italic",
|
|
1144
1145
|
textAlign: "center",
|
|
1145
1146
|
paddingVertical: 16,
|
|
@@ -1151,13 +1152,13 @@ const styles = StyleSheet.create({
|
|
|
1151
1152
|
},
|
|
1152
1153
|
howItWorksText: {
|
|
1153
1154
|
fontSize: 11,
|
|
1154
|
-
color:
|
|
1155
|
+
color: night.color.textTertiary,
|
|
1155
1156
|
lineHeight: 18,
|
|
1156
1157
|
fontFamily: "monospace"
|
|
1157
1158
|
},
|
|
1158
1159
|
howItWorksBold: {
|
|
1159
1160
|
fontWeight: "700",
|
|
1160
|
-
color:
|
|
1161
|
+
color: night.color.textSecondary
|
|
1161
1162
|
},
|
|
1162
1163
|
// Action popup modal styles
|
|
1163
1164
|
modalOverlay: {
|
|
@@ -1168,10 +1169,10 @@ const styles = StyleSheet.create({
|
|
|
1168
1169
|
padding: 32
|
|
1169
1170
|
},
|
|
1170
1171
|
actionPopup: {
|
|
1171
|
-
backgroundColor:
|
|
1172
|
+
backgroundColor: night.color.surface,
|
|
1172
1173
|
borderRadius: 12,
|
|
1173
1174
|
borderWidth: 1,
|
|
1174
|
-
borderColor:
|
|
1175
|
+
borderColor: night.color.border,
|
|
1175
1176
|
width: "100%",
|
|
1176
1177
|
maxWidth: 300,
|
|
1177
1178
|
overflow: "hidden"
|
|
@@ -1179,7 +1180,7 @@ const styles = StyleSheet.create({
|
|
|
1179
1180
|
actionPopupHeader: {
|
|
1180
1181
|
padding: 16,
|
|
1181
1182
|
borderBottomWidth: 1,
|
|
1182
|
-
borderBottomColor:
|
|
1183
|
+
borderBottomColor: night.color.separator,
|
|
1183
1184
|
alignItems: "center"
|
|
1184
1185
|
},
|
|
1185
1186
|
actionPopupButtons: {
|
|
@@ -1198,10 +1199,10 @@ const styles = StyleSheet.create({
|
|
|
1198
1199
|
gap: 8
|
|
1199
1200
|
},
|
|
1200
1201
|
actionPopupInclude: {
|
|
1201
|
-
backgroundColor:
|
|
1202
|
+
backgroundColor: night.color.accentSoft
|
|
1202
1203
|
},
|
|
1203
1204
|
actionPopupExclude: {
|
|
1204
|
-
backgroundColor:
|
|
1205
|
+
backgroundColor: night.color.accentSoft
|
|
1205
1206
|
},
|
|
1206
1207
|
actionPopupButtonText: {
|
|
1207
1208
|
fontSize: 13,
|
|
@@ -1210,12 +1211,12 @@ const styles = StyleSheet.create({
|
|
|
1210
1211
|
actionPopupCancel: {
|
|
1211
1212
|
padding: 12,
|
|
1212
1213
|
borderTopWidth: 1,
|
|
1213
|
-
borderTopColor:
|
|
1214
|
+
borderTopColor: night.color.separator,
|
|
1214
1215
|
alignItems: "center"
|
|
1215
1216
|
},
|
|
1216
1217
|
actionPopupCancelText: {
|
|
1217
1218
|
fontSize: 13,
|
|
1218
|
-
color:
|
|
1219
|
+
color: night.color.textTertiary,
|
|
1219
1220
|
fontWeight: "500"
|
|
1220
1221
|
},
|
|
1221
1222
|
// Settings styles
|
|
@@ -1231,7 +1232,7 @@ const styles = StyleSheet.create({
|
|
|
1231
1232
|
marginTop: 16,
|
|
1232
1233
|
paddingTop: 16,
|
|
1233
1234
|
borderTopWidth: 1,
|
|
1234
|
-
borderTopColor:
|
|
1235
|
+
borderTopColor: night.color.separator
|
|
1235
1236
|
},
|
|
1236
1237
|
settingHeader: {
|
|
1237
1238
|
flexDirection: "row",
|
|
@@ -1241,10 +1242,10 @@ const styles = StyleSheet.create({
|
|
|
1241
1242
|
settingLabel: {
|
|
1242
1243
|
fontSize: 13,
|
|
1243
1244
|
fontWeight: "600",
|
|
1244
|
-
color:
|
|
1245
|
+
color: night.color.text
|
|
1245
1246
|
},
|
|
1246
1247
|
settingValue: {
|
|
1247
|
-
backgroundColor:
|
|
1248
|
+
backgroundColor: night.color.fillSecondary,
|
|
1248
1249
|
paddingHorizontal: 10,
|
|
1249
1250
|
paddingVertical: 4,
|
|
1250
1251
|
borderRadius: 6
|
|
@@ -1252,26 +1253,26 @@ const styles = StyleSheet.create({
|
|
|
1252
1253
|
settingValueText: {
|
|
1253
1254
|
fontSize: 12,
|
|
1254
1255
|
fontWeight: "700",
|
|
1255
|
-
color:
|
|
1256
|
+
color: night.color.textTertiary,
|
|
1256
1257
|
fontFamily: "monospace"
|
|
1257
1258
|
},
|
|
1258
1259
|
settingDescription: {
|
|
1259
1260
|
fontSize: 11,
|
|
1260
|
-
color:
|
|
1261
|
+
color: night.color.textSecondary,
|
|
1261
1262
|
lineHeight: 16
|
|
1262
1263
|
},
|
|
1263
1264
|
settingDescriptionMuted: {
|
|
1264
1265
|
fontSize: 10,
|
|
1265
|
-
color:
|
|
1266
|
+
color: night.color.textTertiary,
|
|
1266
1267
|
lineHeight: 14,
|
|
1267
1268
|
marginTop: 4,
|
|
1268
1269
|
fontStyle: "italic"
|
|
1269
1270
|
},
|
|
1270
1271
|
settingLabelDisabled: {
|
|
1271
|
-
color:
|
|
1272
|
+
color: night.color.textTertiary
|
|
1272
1273
|
},
|
|
1273
1274
|
settingWarning: {
|
|
1274
|
-
color:
|
|
1275
|
+
color: night.color.warning,
|
|
1275
1276
|
fontWeight: "500"
|
|
1276
1277
|
},
|
|
1277
1278
|
batchSizePresets: {
|
|
@@ -1284,22 +1285,22 @@ const styles = StyleSheet.create({
|
|
|
1284
1285
|
paddingVertical: 8,
|
|
1285
1286
|
paddingHorizontal: 14,
|
|
1286
1287
|
borderRadius: 6,
|
|
1287
|
-
backgroundColor:
|
|
1288
|
+
backgroundColor: night.color.surfaceElevated,
|
|
1288
1289
|
borderWidth: 1,
|
|
1289
|
-
borderColor:
|
|
1290
|
+
borderColor: night.color.border
|
|
1290
1291
|
},
|
|
1291
1292
|
batchSizePresetActive: {
|
|
1292
|
-
backgroundColor:
|
|
1293
|
-
borderColor:
|
|
1293
|
+
backgroundColor: night.color.fillSecondary,
|
|
1294
|
+
borderColor: night.color.fillTertiary
|
|
1294
1295
|
},
|
|
1295
1296
|
batchSizePresetText: {
|
|
1296
1297
|
fontSize: 12,
|
|
1297
1298
|
fontWeight: "500",
|
|
1298
|
-
color:
|
|
1299
|
+
color: night.color.textSecondary,
|
|
1299
1300
|
fontFamily: "monospace"
|
|
1300
1301
|
},
|
|
1301
1302
|
batchSizePresetTextActive: {
|
|
1302
|
-
color:
|
|
1303
|
+
color: night.color.textTertiary,
|
|
1303
1304
|
fontWeight: "700"
|
|
1304
1305
|
},
|
|
1305
1306
|
// Render count range styles
|
|
@@ -1321,26 +1322,26 @@ const styles = StyleSheet.create({
|
|
|
1321
1322
|
renderCountLabel: {
|
|
1322
1323
|
fontSize: 10,
|
|
1323
1324
|
fontWeight: "600",
|
|
1324
|
-
color:
|
|
1325
|
+
color: night.color.textTertiary,
|
|
1325
1326
|
textTransform: "uppercase",
|
|
1326
1327
|
letterSpacing: 0.5
|
|
1327
1328
|
},
|
|
1328
1329
|
renderCountInput: {
|
|
1329
|
-
backgroundColor:
|
|
1330
|
+
backgroundColor: night.color.surfaceElevated,
|
|
1330
1331
|
borderRadius: 8,
|
|
1331
1332
|
borderWidth: 1,
|
|
1332
|
-
borderColor:
|
|
1333
|
+
borderColor: night.color.border,
|
|
1333
1334
|
paddingVertical: 10,
|
|
1334
1335
|
paddingHorizontal: 12,
|
|
1335
1336
|
fontSize: 14,
|
|
1336
1337
|
fontWeight: "600",
|
|
1337
|
-
color:
|
|
1338
|
+
color: night.color.text,
|
|
1338
1339
|
fontFamily: "monospace",
|
|
1339
1340
|
textAlign: "center"
|
|
1340
1341
|
},
|
|
1341
1342
|
renderCountSeparator: {
|
|
1342
1343
|
fontSize: 12,
|
|
1343
|
-
color:
|
|
1344
|
+
color: night.color.textTertiary,
|
|
1344
1345
|
marginTop: 18
|
|
1345
1346
|
},
|
|
1346
1347
|
clearRangeButton: {
|
|
@@ -1350,16 +1351,16 @@ const styles = StyleSheet.create({
|
|
|
1350
1351
|
paddingVertical: 8,
|
|
1351
1352
|
paddingHorizontal: 12,
|
|
1352
1353
|
borderRadius: 6,
|
|
1353
|
-
backgroundColor:
|
|
1354
|
+
backgroundColor: night.color.warningSoft,
|
|
1354
1355
|
borderWidth: 1,
|
|
1355
|
-
borderColor:
|
|
1356
|
+
borderColor: night.color.warning + "40",
|
|
1356
1357
|
gap: 6,
|
|
1357
1358
|
alignSelf: "center"
|
|
1358
1359
|
},
|
|
1359
1360
|
clearRangeButtonText: {
|
|
1360
1361
|
fontSize: 11,
|
|
1361
1362
|
fontWeight: "600",
|
|
1362
|
-
color:
|
|
1363
|
+
color: night.color.warning
|
|
1363
1364
|
}
|
|
1364
1365
|
});
|
|
1365
1366
|
export default HighlightFilterView;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import React, { useState, useEffect, useRef, useCallback } from "react";
|
|
19
19
|
import { View, Text, StyleSheet } from "react-native";
|
|
20
|
-
import { Power, JsModal, devToolsStorageKeys, persistentStorage,
|
|
20
|
+
import { Power, JsModal, devToolsStorageKeys, persistentStorage, night, TickProvider } from "@buoy-gg/shared-ui";
|
|
21
21
|
import { useIsPro } from "@buoy-gg/license";
|
|
22
22
|
import HighlightUpdatesController from "../utils/HighlightUpdatesController";
|
|
23
23
|
import { RenderTracker } from "../utils/RenderTracker";
|
|
@@ -35,7 +35,7 @@ const DisabledBanner = /*#__PURE__*/React.memo(function DisabledBanner() {
|
|
|
35
35
|
style: styles.disabledBanner,
|
|
36
36
|
children: [/*#__PURE__*/_jsx(Power, {
|
|
37
37
|
size: 14,
|
|
38
|
-
color:
|
|
38
|
+
color: night.color.warning
|
|
39
39
|
}), /*#__PURE__*/_jsx(Text, {
|
|
40
40
|
style: styles.disabledText,
|
|
41
41
|
children: "Render tracking is disabled"
|
|
@@ -591,18 +591,22 @@ const styles = StyleSheet.create({
|
|
|
591
591
|
inlineRoot: {
|
|
592
592
|
flex: 1,
|
|
593
593
|
minHeight: 0,
|
|
594
|
-
|
|
594
|
+
// Transparent so the desktop workbench's hoisted sky (one field spanning
|
|
595
|
+
// sidebar + panel) shows through — the shell paints its base beneath it.
|
|
596
|
+
backgroundColor: "transparent"
|
|
595
597
|
},
|
|
596
598
|
inlineHeader: {
|
|
597
599
|
paddingHorizontal: 12,
|
|
598
600
|
paddingVertical: 8,
|
|
599
601
|
borderBottomWidth: 1,
|
|
600
|
-
borderBottomColor:
|
|
601
|
-
backgroundColor:
|
|
602
|
+
borderBottomColor: night.color.border,
|
|
603
|
+
backgroundColor: night.color.surface
|
|
602
604
|
},
|
|
603
605
|
container: {
|
|
604
606
|
flex: 1,
|
|
605
|
-
|
|
607
|
+
// Transparent so the HOST's field shows through — JsModal's hoisted
|
|
608
|
+
// ToolBackground in the modal, the desktop workbench's hoisted sky inline.
|
|
609
|
+
backgroundColor: "transparent"
|
|
606
610
|
},
|
|
607
611
|
disabledBanner: {
|
|
608
612
|
flexDirection: "row",
|
|
@@ -611,13 +615,13 @@ const styles = StyleSheet.create({
|
|
|
611
615
|
padding: 10,
|
|
612
616
|
marginHorizontal: 12,
|
|
613
617
|
marginTop: 8,
|
|
614
|
-
backgroundColor:
|
|
618
|
+
backgroundColor: night.color.warningSoft,
|
|
615
619
|
borderRadius: 8,
|
|
616
620
|
borderWidth: 1,
|
|
617
|
-
borderColor:
|
|
621
|
+
borderColor: night.color.warning + "20"
|
|
618
622
|
},
|
|
619
623
|
disabledText: {
|
|
620
|
-
color:
|
|
624
|
+
color: night.color.warning,
|
|
621
625
|
fontSize: 11,
|
|
622
626
|
flex: 1
|
|
623
627
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
import React from "react";
|
|
11
11
|
import { View, Text, StyleSheet } from "react-native";
|
|
12
|
-
import { Box, Hash, Layers, Eye, Search, FileCode, buoyColors } from "@buoy-gg/shared-ui";
|
|
12
|
+
import { Box, Hash, Layers, Eye, Search, FileCode, buoyColors, night } from "@buoy-gg/shared-ui";
|
|
13
13
|
|
|
14
14
|
// All possible identifier types
|
|
15
15
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -18,7 +18,7 @@ export const IDENTIFIER_CONFIG = {
|
|
|
18
18
|
viewType: {
|
|
19
19
|
label: "ViewType",
|
|
20
20
|
shortLabel: "View",
|
|
21
|
-
color:
|
|
21
|
+
color: night.color.accent,
|
|
22
22
|
icon: Box
|
|
23
23
|
},
|
|
24
24
|
testID: {
|
|
@@ -191,7 +191,7 @@ const styles = StyleSheet.create({
|
|
|
191
191
|
},
|
|
192
192
|
value: {
|
|
193
193
|
fontSize: 12,
|
|
194
|
-
color:
|
|
194
|
+
color: night.color.text,
|
|
195
195
|
fontFamily: "monospace",
|
|
196
196
|
flex: 1
|
|
197
197
|
},
|