@buoy-gg/highlight-updates 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/highlight-updates/HighlightUpdatesOverlay.js +4 -4
- package/lib/commonjs/highlight-updates/components/HighlightFilterView.js +110 -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/commonjs/highlight-updates/utils/HighlightUpdatesController.js +55 -3
- package/lib/commonjs/highlight-updates/utils/RenderTracker.js +6 -1
- package/lib/commonjs/highlight-updates/utils/namedComposite.js +41 -0
- package/lib/commonjs/highlight-updates/utils/screenElements.js +50 -25
- package/lib/commonjs/highlight-updates/utils/tapMatch.js +58 -0
- package/lib/module/highlight-updates/HighlightUpdatesOverlay.js +5 -5
- package/lib/module/highlight-updates/components/HighlightFilterView.js +111 -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/module/highlight-updates/utils/HighlightUpdatesController.js +55 -3
- package/lib/module/highlight-updates/utils/RenderTracker.js +6 -1
- package/lib/module/highlight-updates/utils/namedComposite.js +36 -0
- package/lib/module/highlight-updates/utils/screenElements.js +50 -25
- package/lib/module/highlight-updates/utils/tapMatch.js +52 -0
- 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/lib/typescript/highlight-updates/utils/HighlightUpdatesController.d.ts.map +1 -1
- package/lib/typescript/highlight-updates/utils/RenderTracker.d.ts +6 -0
- package/lib/typescript/highlight-updates/utils/RenderTracker.d.ts.map +1 -1
- package/lib/typescript/highlight-updates/utils/namedComposite.d.ts +17 -0
- package/lib/typescript/highlight-updates/utils/namedComposite.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/utils/screenElements.d.ts.map +1 -1
- package/lib/typescript/highlight-updates/utils/tapMatch.d.ts +42 -0
- package/lib/typescript/highlight-updates/utils/tapMatch.d.ts.map +1 -0
- package/package.json +7 -7
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
import React, { useMemo, useState, useCallback } from "react";
|
|
16
16
|
import { View, Text, TouchableOpacity, ScrollView, StyleSheet } from "react-native";
|
|
17
|
-
import { CopyButton, formatRelativeTime, PlusIcon, MinusIcon, EventStepperFooter, Lock,
|
|
17
|
+
import { CopyButton, formatRelativeTime, PlusIcon, MinusIcon, EventStepperFooter, Lock, night, useLimit } from "@buoy-gg/shared-ui";
|
|
18
18
|
import { TreeDiffViewer } from "@buoy-gg/shared-ui/dataViewer";
|
|
19
19
|
import { CAUSE_CONFIG, COMPONENT_CAUSE_CONFIG } from "./RenderCauseBadge";
|
|
20
20
|
import { generateSingleComponentExport } from "../utils/rendersExportFormatter";
|
|
@@ -119,7 +119,7 @@ export function RenderDetailView({
|
|
|
119
119
|
style: styles.lockedBanner,
|
|
120
120
|
children: [/*#__PURE__*/_jsx(Lock, {
|
|
121
121
|
size: 14,
|
|
122
|
-
color:
|
|
122
|
+
color: night.color.warning
|
|
123
123
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
124
124
|
style: styles.lockedBannerText,
|
|
125
125
|
children: [hiddenEventCount, " ", hiddenEventCount === 1 ? 'event' : 'events', " hidden"]
|
|
@@ -436,10 +436,10 @@ function QuickActionsSection({
|
|
|
436
436
|
activeOpacity: 0.7,
|
|
437
437
|
children: [/*#__PURE__*/_jsx(PlusIcon, {
|
|
438
438
|
size: 14,
|
|
439
|
-
color: selectedOption ?
|
|
439
|
+
color: selectedOption ? night.color.accent : night.color.textTertiary
|
|
440
440
|
}), /*#__PURE__*/_jsx(Text, {
|
|
441
441
|
style: [styles.filterActionButtonText, {
|
|
442
|
-
color: selectedOption ?
|
|
442
|
+
color: selectedOption ? night.color.accent : night.color.textTertiary
|
|
443
443
|
}],
|
|
444
444
|
children: "Only Show This"
|
|
445
445
|
})]
|
|
@@ -450,10 +450,10 @@ function QuickActionsSection({
|
|
|
450
450
|
activeOpacity: 0.7,
|
|
451
451
|
children: [/*#__PURE__*/_jsx(MinusIcon, {
|
|
452
452
|
size: 14,
|
|
453
|
-
color: selectedOption ?
|
|
453
|
+
color: selectedOption ? night.color.danger : night.color.textTertiary
|
|
454
454
|
}), /*#__PURE__*/_jsx(Text, {
|
|
455
455
|
style: [styles.filterActionButtonText, {
|
|
456
|
-
color: selectedOption ?
|
|
456
|
+
color: selectedOption ? night.color.danger : night.color.textTertiary
|
|
457
457
|
}],
|
|
458
458
|
children: "Hide This"
|
|
459
459
|
})]
|
|
@@ -488,7 +488,8 @@ function FilterOptionCard({
|
|
|
488
488
|
const styles = StyleSheet.create({
|
|
489
489
|
container: {
|
|
490
490
|
flex: 1,
|
|
491
|
-
|
|
491
|
+
// Transparent so JsModal's ToolBackground shows through (the modal paints opaque base beneath it).
|
|
492
|
+
backgroundColor: "transparent"
|
|
492
493
|
},
|
|
493
494
|
// Header
|
|
494
495
|
header: {
|
|
@@ -519,11 +520,12 @@ const styles = StyleSheet.create({
|
|
|
519
520
|
componentName: {
|
|
520
521
|
fontSize: 18,
|
|
521
522
|
fontWeight: "700",
|
|
522
|
-
color:
|
|
523
|
+
color: night.color.text,
|
|
523
524
|
flexShrink: 1
|
|
524
525
|
},
|
|
525
526
|
nativeTypeBadge: {
|
|
526
|
-
|
|
527
|
+
// Inset display chip — the night track color.
|
|
528
|
+
backgroundColor: night.color.bg,
|
|
527
529
|
paddingVertical: 3,
|
|
528
530
|
paddingHorizontal: 8,
|
|
529
531
|
borderRadius: 4
|
|
@@ -531,15 +533,15 @@ const styles = StyleSheet.create({
|
|
|
531
533
|
nativeTypeText: {
|
|
532
534
|
fontSize: 11,
|
|
533
535
|
fontWeight: "600",
|
|
534
|
-
color:
|
|
536
|
+
color: night.color.textTertiary,
|
|
535
537
|
fontFamily: "monospace"
|
|
536
538
|
},
|
|
537
539
|
// Answer Card
|
|
538
540
|
answerCard: {
|
|
539
|
-
backgroundColor:
|
|
541
|
+
backgroundColor: night.color.surface,
|
|
540
542
|
borderRadius: 8,
|
|
541
543
|
borderWidth: 1,
|
|
542
|
-
borderColor:
|
|
544
|
+
borderColor: night.color.border,
|
|
543
545
|
padding: 12,
|
|
544
546
|
gap: 6
|
|
545
547
|
},
|
|
@@ -560,14 +562,15 @@ const styles = StyleSheet.create({
|
|
|
560
562
|
},
|
|
561
563
|
causeLabel: {
|
|
562
564
|
fontSize: 12,
|
|
563
|
-
color:
|
|
565
|
+
color: night.color.textSecondary,
|
|
564
566
|
fontWeight: "500"
|
|
565
567
|
},
|
|
566
568
|
hookChangesContainer: {
|
|
567
569
|
gap: 6
|
|
568
570
|
},
|
|
569
571
|
hookDiffContainer: {
|
|
570
|
-
|
|
572
|
+
// Inset code box — the night track color.
|
|
573
|
+
backgroundColor: night.color.bg,
|
|
571
574
|
borderRadius: 6,
|
|
572
575
|
overflow: "hidden"
|
|
573
576
|
},
|
|
@@ -577,14 +580,15 @@ const styles = StyleSheet.create({
|
|
|
577
580
|
gap: 4
|
|
578
581
|
},
|
|
579
582
|
propChangeChip: {
|
|
580
|
-
|
|
583
|
+
// Inset display chip — the night track color.
|
|
584
|
+
backgroundColor: night.color.bg,
|
|
581
585
|
paddingVertical: 2,
|
|
582
586
|
paddingHorizontal: 6,
|
|
583
587
|
borderRadius: 4
|
|
584
588
|
},
|
|
585
589
|
propChangeText: {
|
|
586
590
|
fontSize: 11,
|
|
587
|
-
color:
|
|
591
|
+
color: night.color.text,
|
|
588
592
|
fontFamily: "monospace"
|
|
589
593
|
},
|
|
590
594
|
// Details Section
|
|
@@ -592,17 +596,17 @@ const styles = StyleSheet.create({
|
|
|
592
596
|
gap: 10
|
|
593
597
|
},
|
|
594
598
|
detailsCard: {
|
|
595
|
-
backgroundColor:
|
|
599
|
+
backgroundColor: night.color.surface,
|
|
596
600
|
borderRadius: 8,
|
|
597
601
|
borderWidth: 1,
|
|
598
|
-
borderColor:
|
|
602
|
+
borderColor: night.color.border,
|
|
599
603
|
padding: 12,
|
|
600
604
|
gap: 6
|
|
601
605
|
},
|
|
602
606
|
detailsCardTitle: {
|
|
603
607
|
fontSize: 10,
|
|
604
608
|
fontWeight: "600",
|
|
605
|
-
color:
|
|
609
|
+
color: night.color.textTertiary,
|
|
606
610
|
letterSpacing: 0.5,
|
|
607
611
|
textTransform: "uppercase",
|
|
608
612
|
marginBottom: 4
|
|
@@ -615,12 +619,12 @@ const styles = StyleSheet.create({
|
|
|
615
619
|
detailLabel: {
|
|
616
620
|
fontSize: 11,
|
|
617
621
|
fontWeight: "600",
|
|
618
|
-
color:
|
|
622
|
+
color: night.color.textSecondary,
|
|
619
623
|
minWidth: 55
|
|
620
624
|
},
|
|
621
625
|
detailValue: {
|
|
622
626
|
fontSize: 12,
|
|
623
|
-
color:
|
|
627
|
+
color: night.color.text,
|
|
624
628
|
fontFamily: "monospace",
|
|
625
629
|
flex: 1
|
|
626
630
|
},
|
|
@@ -629,10 +633,10 @@ const styles = StyleSheet.create({
|
|
|
629
633
|
flexDirection: "row",
|
|
630
634
|
alignItems: "center",
|
|
631
635
|
justifyContent: "center",
|
|
632
|
-
backgroundColor:
|
|
636
|
+
backgroundColor: night.color.surface,
|
|
633
637
|
borderRadius: 8,
|
|
634
638
|
borderWidth: 1,
|
|
635
|
-
borderColor:
|
|
639
|
+
borderColor: night.color.border,
|
|
636
640
|
paddingVertical: 10,
|
|
637
641
|
paddingHorizontal: 16
|
|
638
642
|
},
|
|
@@ -643,18 +647,18 @@ const styles = StyleSheet.create({
|
|
|
643
647
|
statValue: {
|
|
644
648
|
fontSize: 16,
|
|
645
649
|
fontWeight: "700",
|
|
646
|
-
color:
|
|
650
|
+
color: night.color.text,
|
|
647
651
|
fontFamily: "monospace"
|
|
648
652
|
},
|
|
649
653
|
statLabel: {
|
|
650
654
|
fontSize: 10,
|
|
651
|
-
color:
|
|
655
|
+
color: night.color.textTertiary,
|
|
652
656
|
marginTop: 2
|
|
653
657
|
},
|
|
654
658
|
statDivider: {
|
|
655
659
|
width: 1,
|
|
656
660
|
height: 24,
|
|
657
|
-
backgroundColor:
|
|
661
|
+
backgroundColor: night.color.border,
|
|
658
662
|
marginHorizontal: 12
|
|
659
663
|
},
|
|
660
664
|
// Measurements Row
|
|
@@ -662,10 +666,10 @@ const styles = StyleSheet.create({
|
|
|
662
666
|
flexDirection: "row",
|
|
663
667
|
alignItems: "center",
|
|
664
668
|
justifyContent: "space-around",
|
|
665
|
-
backgroundColor:
|
|
669
|
+
backgroundColor: night.color.surface,
|
|
666
670
|
borderRadius: 8,
|
|
667
671
|
borderWidth: 1,
|
|
668
|
-
borderColor:
|
|
672
|
+
borderColor: night.color.border,
|
|
669
673
|
paddingVertical: 8,
|
|
670
674
|
paddingHorizontal: 12
|
|
671
675
|
},
|
|
@@ -677,28 +681,28 @@ const styles = StyleSheet.create({
|
|
|
677
681
|
measurementLabel: {
|
|
678
682
|
fontSize: 10,
|
|
679
683
|
fontWeight: "600",
|
|
680
|
-
color:
|
|
684
|
+
color: night.color.textTertiary,
|
|
681
685
|
textTransform: "uppercase"
|
|
682
686
|
},
|
|
683
687
|
measurementValue: {
|
|
684
688
|
fontSize: 12,
|
|
685
689
|
fontWeight: "600",
|
|
686
|
-
color:
|
|
690
|
+
color: night.color.text,
|
|
687
691
|
fontFamily: "monospace"
|
|
688
692
|
},
|
|
689
693
|
// Quick Actions Section
|
|
690
694
|
quickActionsSection: {
|
|
691
|
-
backgroundColor:
|
|
695
|
+
backgroundColor: night.color.surface,
|
|
692
696
|
borderRadius: 8,
|
|
693
697
|
borderWidth: 1,
|
|
694
|
-
borderColor:
|
|
698
|
+
borderColor: night.color.border,
|
|
695
699
|
padding: 12,
|
|
696
700
|
gap: 10
|
|
697
701
|
},
|
|
698
702
|
quickActionsTitle: {
|
|
699
703
|
fontSize: 10,
|
|
700
704
|
fontWeight: "600",
|
|
701
|
-
color:
|
|
705
|
+
color: night.color.textTertiary,
|
|
702
706
|
letterSpacing: 0.5,
|
|
703
707
|
textTransform: "uppercase",
|
|
704
708
|
marginBottom: 2
|
|
@@ -709,7 +713,7 @@ const styles = StyleSheet.create({
|
|
|
709
713
|
filterOptionCard: {
|
|
710
714
|
flexDirection: "row",
|
|
711
715
|
alignItems: "center",
|
|
712
|
-
backgroundColor:
|
|
716
|
+
backgroundColor: night.color.surfaceElevated,
|
|
713
717
|
borderRadius: 6,
|
|
714
718
|
paddingVertical: 10,
|
|
715
719
|
paddingHorizontal: 12,
|
|
@@ -718,26 +722,26 @@ const styles = StyleSheet.create({
|
|
|
718
722
|
gap: 10
|
|
719
723
|
},
|
|
720
724
|
filterOptionCardSelected: {
|
|
721
|
-
borderColor:
|
|
722
|
-
backgroundColor:
|
|
725
|
+
borderColor: night.color.accentBorderStrong,
|
|
726
|
+
backgroundColor: night.color.accentSoft
|
|
723
727
|
},
|
|
724
728
|
filterOptionLabel: {
|
|
725
729
|
fontSize: 10,
|
|
726
730
|
fontWeight: "600",
|
|
727
|
-
color:
|
|
731
|
+
color: night.color.textTertiary,
|
|
728
732
|
minWidth: 70
|
|
729
733
|
},
|
|
730
734
|
filterOptionLabelSelected: {
|
|
731
|
-
color:
|
|
735
|
+
color: night.color.accent
|
|
732
736
|
},
|
|
733
737
|
filterOptionValue: {
|
|
734
738
|
fontSize: 12,
|
|
735
|
-
color:
|
|
739
|
+
color: night.color.text,
|
|
736
740
|
fontFamily: "monospace",
|
|
737
741
|
flex: 1
|
|
738
742
|
},
|
|
739
743
|
filterOptionValueSelected: {
|
|
740
|
-
color:
|
|
744
|
+
color: night.color.text
|
|
741
745
|
},
|
|
742
746
|
filterActionButtons: {
|
|
743
747
|
flexDirection: "row",
|
|
@@ -755,16 +759,16 @@ const styles = StyleSheet.create({
|
|
|
755
759
|
borderWidth: 1
|
|
756
760
|
},
|
|
757
761
|
filterActionButtonInclude: {
|
|
758
|
-
backgroundColor:
|
|
759
|
-
borderColor:
|
|
762
|
+
backgroundColor: night.color.accentSoft,
|
|
763
|
+
borderColor: night.color.accentBorderStrong
|
|
760
764
|
},
|
|
761
765
|
filterActionButtonExclude: {
|
|
762
|
-
backgroundColor:
|
|
763
|
-
borderColor:
|
|
766
|
+
backgroundColor: night.color.dangerSoft,
|
|
767
|
+
borderColor: night.color.danger + "40"
|
|
764
768
|
},
|
|
765
769
|
filterActionButtonDisabled: {
|
|
766
|
-
backgroundColor:
|
|
767
|
-
borderColor:
|
|
770
|
+
backgroundColor: night.color.surfaceElevated,
|
|
771
|
+
borderColor: night.color.border,
|
|
768
772
|
opacity: 0.5
|
|
769
773
|
},
|
|
770
774
|
filterActionButtonText: {
|
|
@@ -776,21 +780,21 @@ const styles = StyleSheet.create({
|
|
|
776
780
|
flexDirection: "row",
|
|
777
781
|
alignItems: "center",
|
|
778
782
|
justifyContent: "center",
|
|
779
|
-
backgroundColor:
|
|
783
|
+
backgroundColor: night.color.surface,
|
|
780
784
|
borderRadius: 8,
|
|
781
785
|
borderWidth: 1,
|
|
782
|
-
borderColor:
|
|
786
|
+
borderColor: night.color.warning + "40",
|
|
783
787
|
paddingVertical: 12,
|
|
784
788
|
paddingHorizontal: 16,
|
|
785
789
|
gap: 8
|
|
786
790
|
},
|
|
787
791
|
lockedBannerText: {
|
|
788
|
-
color:
|
|
792
|
+
color: night.color.warning,
|
|
789
793
|
fontSize: 13,
|
|
790
794
|
fontWeight: "600"
|
|
791
795
|
},
|
|
792
796
|
lockedBannerSubtext: {
|
|
793
|
-
color:
|
|
797
|
+
color: night.color.textTertiary,
|
|
794
798
|
fontSize: 12
|
|
795
799
|
}
|
|
796
800
|
});
|