@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.
Files changed (50) hide show
  1. package/lib/commonjs/highlight-updates/HighlightUpdatesOverlay.js +4 -4
  2. package/lib/commonjs/highlight-updates/components/HighlightFilterView.js +110 -87
  3. package/lib/commonjs/highlight-updates/components/HighlightUpdatesModal.js +12 -8
  4. package/lib/commonjs/highlight-updates/components/IdentifierBadge.js +2 -2
  5. package/lib/commonjs/highlight-updates/components/IsolatedRenderList.js +6 -6
  6. package/lib/commonjs/highlight-updates/components/ModalHeaderContent.js +17 -17
  7. package/lib/commonjs/highlight-updates/components/RenderCauseBadge.js +22 -20
  8. package/lib/commonjs/highlight-updates/components/RenderDetailView.js +53 -49
  9. package/lib/commonjs/highlight-updates/components/RenderHistoryViewer.js +62 -60
  10. package/lib/commonjs/highlight-updates/components/RenderListItem.js +7 -7
  11. package/lib/commonjs/highlight-updates/components/RendersCopySettingsView.js +18 -18
  12. package/lib/commonjs/highlight-updates/components/StatsDisplay.js +4 -4
  13. package/lib/commonjs/highlight-updates/utils/HighlightUpdatesController.js +55 -3
  14. package/lib/commonjs/highlight-updates/utils/RenderTracker.js +6 -1
  15. package/lib/commonjs/highlight-updates/utils/namedComposite.js +41 -0
  16. package/lib/commonjs/highlight-updates/utils/screenElements.js +50 -25
  17. package/lib/commonjs/highlight-updates/utils/tapMatch.js +58 -0
  18. package/lib/module/highlight-updates/HighlightUpdatesOverlay.js +5 -5
  19. package/lib/module/highlight-updates/components/HighlightFilterView.js +111 -88
  20. package/lib/module/highlight-updates/components/HighlightUpdatesModal.js +13 -9
  21. package/lib/module/highlight-updates/components/IdentifierBadge.js +3 -3
  22. package/lib/module/highlight-updates/components/IsolatedRenderList.js +7 -7
  23. package/lib/module/highlight-updates/components/ModalHeaderContent.js +18 -18
  24. package/lib/module/highlight-updates/components/RenderCauseBadge.js +23 -21
  25. package/lib/module/highlight-updates/components/RenderDetailView.js +54 -50
  26. package/lib/module/highlight-updates/components/RenderHistoryViewer.js +63 -61
  27. package/lib/module/highlight-updates/components/RenderListItem.js +8 -8
  28. package/lib/module/highlight-updates/components/RendersCopySettingsView.js +19 -19
  29. package/lib/module/highlight-updates/components/StatsDisplay.js +5 -5
  30. package/lib/module/highlight-updates/utils/HighlightUpdatesController.js +55 -3
  31. package/lib/module/highlight-updates/utils/RenderTracker.js +6 -1
  32. package/lib/module/highlight-updates/utils/namedComposite.js +36 -0
  33. package/lib/module/highlight-updates/utils/screenElements.js +50 -25
  34. package/lib/module/highlight-updates/utils/tapMatch.js +52 -0
  35. package/lib/typescript/highlight-updates/components/HighlightFilterView.d.ts.map +1 -1
  36. package/lib/typescript/highlight-updates/components/HighlightUpdatesModal.d.ts.map +1 -1
  37. package/lib/typescript/highlight-updates/components/IdentifierBadge.d.ts.map +1 -1
  38. package/lib/typescript/highlight-updates/components/RenderCauseBadge.d.ts.map +1 -1
  39. package/lib/typescript/highlight-updates/components/RenderDetailView.d.ts.map +1 -1
  40. package/lib/typescript/highlight-updates/components/RenderHistoryViewer.d.ts.map +1 -1
  41. package/lib/typescript/highlight-updates/components/RendersCopySettingsView.d.ts.map +1 -1
  42. package/lib/typescript/highlight-updates/utils/HighlightUpdatesController.d.ts.map +1 -1
  43. package/lib/typescript/highlight-updates/utils/RenderTracker.d.ts +6 -0
  44. package/lib/typescript/highlight-updates/utils/RenderTracker.d.ts.map +1 -1
  45. package/lib/typescript/highlight-updates/utils/namedComposite.d.ts +17 -0
  46. package/lib/typescript/highlight-updates/utils/namedComposite.d.ts.map +1 -0
  47. package/lib/typescript/highlight-updates/utils/screenElements.d.ts.map +1 -1
  48. package/lib/typescript/highlight-updates/utils/tapMatch.d.ts +42 -0
  49. package/lib/typescript/highlight-updates/utils/tapMatch.d.ts.map +1 -0
  50. package/package.json +7 -7
@@ -125,7 +125,7 @@ function RenderDetailView({
125
125
  style: styles.lockedBanner,
126
126
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Lock, {
127
127
  size: 14,
128
- color: _sharedUi.buoyColors.warning
128
+ color: _sharedUi.night.color.warning
129
129
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
130
130
  style: styles.lockedBannerText,
131
131
  children: [hiddenEventCount, " ", hiddenEventCount === 1 ? 'event' : 'events', " hidden"]
@@ -442,10 +442,10 @@ function QuickActionsSection({
442
442
  activeOpacity: 0.7,
443
443
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.PlusIcon, {
444
444
  size: 14,
445
- color: selectedOption ? _sharedUi.buoyColors.success : _sharedUi.buoyColors.textMuted
445
+ color: selectedOption ? _sharedUi.night.color.accent : _sharedUi.night.color.textTertiary
446
446
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
447
447
  style: [styles.filterActionButtonText, {
448
- color: selectedOption ? _sharedUi.buoyColors.success : _sharedUi.buoyColors.textMuted
448
+ color: selectedOption ? _sharedUi.night.color.accent : _sharedUi.night.color.textTertiary
449
449
  }],
450
450
  children: "Only Show This"
451
451
  })]
@@ -456,10 +456,10 @@ function QuickActionsSection({
456
456
  activeOpacity: 0.7,
457
457
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.MinusIcon, {
458
458
  size: 14,
459
- color: selectedOption ? _sharedUi.buoyColors.error : _sharedUi.buoyColors.textMuted
459
+ color: selectedOption ? _sharedUi.night.color.danger : _sharedUi.night.color.textTertiary
460
460
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
461
461
  style: [styles.filterActionButtonText, {
462
- color: selectedOption ? _sharedUi.buoyColors.error : _sharedUi.buoyColors.textMuted
462
+ color: selectedOption ? _sharedUi.night.color.danger : _sharedUi.night.color.textTertiary
463
463
  }],
464
464
  children: "Hide This"
465
465
  })]
@@ -494,7 +494,8 @@ function FilterOptionCard({
494
494
  const styles = _reactNative.StyleSheet.create({
495
495
  container: {
496
496
  flex: 1,
497
- backgroundColor: _sharedUi.buoyColors.base
497
+ // Transparent so JsModal's ToolBackground shows through (the modal paints opaque base beneath it).
498
+ backgroundColor: "transparent"
498
499
  },
499
500
  // Header
500
501
  header: {
@@ -525,11 +526,12 @@ const styles = _reactNative.StyleSheet.create({
525
526
  componentName: {
526
527
  fontSize: 18,
527
528
  fontWeight: "700",
528
- color: _sharedUi.buoyColors.text,
529
+ color: _sharedUi.night.color.text,
529
530
  flexShrink: 1
530
531
  },
531
532
  nativeTypeBadge: {
532
- backgroundColor: _sharedUi.buoyColors.input,
533
+ // Inset display chip — the night track color.
534
+ backgroundColor: _sharedUi.night.color.bg,
533
535
  paddingVertical: 3,
534
536
  paddingHorizontal: 8,
535
537
  borderRadius: 4
@@ -537,15 +539,15 @@ const styles = _reactNative.StyleSheet.create({
537
539
  nativeTypeText: {
538
540
  fontSize: 11,
539
541
  fontWeight: "600",
540
- color: _sharedUi.buoyColors.textMuted,
542
+ color: _sharedUi.night.color.textTertiary,
541
543
  fontFamily: "monospace"
542
544
  },
543
545
  // Answer Card
544
546
  answerCard: {
545
- backgroundColor: _sharedUi.buoyColors.card,
547
+ backgroundColor: _sharedUi.night.color.surface,
546
548
  borderRadius: 8,
547
549
  borderWidth: 1,
548
- borderColor: _sharedUi.buoyColors.border,
550
+ borderColor: _sharedUi.night.color.border,
549
551
  padding: 12,
550
552
  gap: 6
551
553
  },
@@ -566,14 +568,15 @@ const styles = _reactNative.StyleSheet.create({
566
568
  },
567
569
  causeLabel: {
568
570
  fontSize: 12,
569
- color: _sharedUi.buoyColors.textSecondary,
571
+ color: _sharedUi.night.color.textSecondary,
570
572
  fontWeight: "500"
571
573
  },
572
574
  hookChangesContainer: {
573
575
  gap: 6
574
576
  },
575
577
  hookDiffContainer: {
576
- backgroundColor: _sharedUi.buoyColors.input,
578
+ // Inset code box — the night track color.
579
+ backgroundColor: _sharedUi.night.color.bg,
577
580
  borderRadius: 6,
578
581
  overflow: "hidden"
579
582
  },
@@ -583,14 +586,15 @@ const styles = _reactNative.StyleSheet.create({
583
586
  gap: 4
584
587
  },
585
588
  propChangeChip: {
586
- backgroundColor: _sharedUi.buoyColors.input,
589
+ // Inset display chip — the night track color.
590
+ backgroundColor: _sharedUi.night.color.bg,
587
591
  paddingVertical: 2,
588
592
  paddingHorizontal: 6,
589
593
  borderRadius: 4
590
594
  },
591
595
  propChangeText: {
592
596
  fontSize: 11,
593
- color: _sharedUi.buoyColors.text,
597
+ color: _sharedUi.night.color.text,
594
598
  fontFamily: "monospace"
595
599
  },
596
600
  // Details Section
@@ -598,17 +602,17 @@ const styles = _reactNative.StyleSheet.create({
598
602
  gap: 10
599
603
  },
600
604
  detailsCard: {
601
- backgroundColor: _sharedUi.buoyColors.card,
605
+ backgroundColor: _sharedUi.night.color.surface,
602
606
  borderRadius: 8,
603
607
  borderWidth: 1,
604
- borderColor: _sharedUi.buoyColors.border,
608
+ borderColor: _sharedUi.night.color.border,
605
609
  padding: 12,
606
610
  gap: 6
607
611
  },
608
612
  detailsCardTitle: {
609
613
  fontSize: 10,
610
614
  fontWeight: "600",
611
- color: _sharedUi.buoyColors.textMuted,
615
+ color: _sharedUi.night.color.textTertiary,
612
616
  letterSpacing: 0.5,
613
617
  textTransform: "uppercase",
614
618
  marginBottom: 4
@@ -621,12 +625,12 @@ const styles = _reactNative.StyleSheet.create({
621
625
  detailLabel: {
622
626
  fontSize: 11,
623
627
  fontWeight: "600",
624
- color: _sharedUi.buoyColors.textSecondary,
628
+ color: _sharedUi.night.color.textSecondary,
625
629
  minWidth: 55
626
630
  },
627
631
  detailValue: {
628
632
  fontSize: 12,
629
- color: _sharedUi.buoyColors.text,
633
+ color: _sharedUi.night.color.text,
630
634
  fontFamily: "monospace",
631
635
  flex: 1
632
636
  },
@@ -635,10 +639,10 @@ const styles = _reactNative.StyleSheet.create({
635
639
  flexDirection: "row",
636
640
  alignItems: "center",
637
641
  justifyContent: "center",
638
- backgroundColor: _sharedUi.buoyColors.card,
642
+ backgroundColor: _sharedUi.night.color.surface,
639
643
  borderRadius: 8,
640
644
  borderWidth: 1,
641
- borderColor: _sharedUi.buoyColors.border,
645
+ borderColor: _sharedUi.night.color.border,
642
646
  paddingVertical: 10,
643
647
  paddingHorizontal: 16
644
648
  },
@@ -649,18 +653,18 @@ const styles = _reactNative.StyleSheet.create({
649
653
  statValue: {
650
654
  fontSize: 16,
651
655
  fontWeight: "700",
652
- color: _sharedUi.buoyColors.text,
656
+ color: _sharedUi.night.color.text,
653
657
  fontFamily: "monospace"
654
658
  },
655
659
  statLabel: {
656
660
  fontSize: 10,
657
- color: _sharedUi.buoyColors.textMuted,
661
+ color: _sharedUi.night.color.textTertiary,
658
662
  marginTop: 2
659
663
  },
660
664
  statDivider: {
661
665
  width: 1,
662
666
  height: 24,
663
- backgroundColor: _sharedUi.buoyColors.border,
667
+ backgroundColor: _sharedUi.night.color.border,
664
668
  marginHorizontal: 12
665
669
  },
666
670
  // Measurements Row
@@ -668,10 +672,10 @@ const styles = _reactNative.StyleSheet.create({
668
672
  flexDirection: "row",
669
673
  alignItems: "center",
670
674
  justifyContent: "space-around",
671
- backgroundColor: _sharedUi.buoyColors.card,
675
+ backgroundColor: _sharedUi.night.color.surface,
672
676
  borderRadius: 8,
673
677
  borderWidth: 1,
674
- borderColor: _sharedUi.buoyColors.border,
678
+ borderColor: _sharedUi.night.color.border,
675
679
  paddingVertical: 8,
676
680
  paddingHorizontal: 12
677
681
  },
@@ -683,28 +687,28 @@ const styles = _reactNative.StyleSheet.create({
683
687
  measurementLabel: {
684
688
  fontSize: 10,
685
689
  fontWeight: "600",
686
- color: _sharedUi.buoyColors.textMuted,
690
+ color: _sharedUi.night.color.textTertiary,
687
691
  textTransform: "uppercase"
688
692
  },
689
693
  measurementValue: {
690
694
  fontSize: 12,
691
695
  fontWeight: "600",
692
- color: _sharedUi.buoyColors.text,
696
+ color: _sharedUi.night.color.text,
693
697
  fontFamily: "monospace"
694
698
  },
695
699
  // Quick Actions Section
696
700
  quickActionsSection: {
697
- backgroundColor: _sharedUi.buoyColors.card,
701
+ backgroundColor: _sharedUi.night.color.surface,
698
702
  borderRadius: 8,
699
703
  borderWidth: 1,
700
- borderColor: _sharedUi.buoyColors.border,
704
+ borderColor: _sharedUi.night.color.border,
701
705
  padding: 12,
702
706
  gap: 10
703
707
  },
704
708
  quickActionsTitle: {
705
709
  fontSize: 10,
706
710
  fontWeight: "600",
707
- color: _sharedUi.buoyColors.textMuted,
711
+ color: _sharedUi.night.color.textTertiary,
708
712
  letterSpacing: 0.5,
709
713
  textTransform: "uppercase",
710
714
  marginBottom: 2
@@ -715,7 +719,7 @@ const styles = _reactNative.StyleSheet.create({
715
719
  filterOptionCard: {
716
720
  flexDirection: "row",
717
721
  alignItems: "center",
718
- backgroundColor: _sharedUi.buoyColors.input,
722
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
719
723
  borderRadius: 6,
720
724
  paddingVertical: 10,
721
725
  paddingHorizontal: 12,
@@ -724,26 +728,26 @@ const styles = _reactNative.StyleSheet.create({
724
728
  gap: 10
725
729
  },
726
730
  filterOptionCardSelected: {
727
- borderColor: _sharedUi.buoyColors.success,
728
- backgroundColor: _sharedUi.buoyColors.success + "15"
731
+ borderColor: _sharedUi.night.color.accentBorderStrong,
732
+ backgroundColor: _sharedUi.night.color.accentSoft
729
733
  },
730
734
  filterOptionLabel: {
731
735
  fontSize: 10,
732
736
  fontWeight: "600",
733
- color: _sharedUi.buoyColors.textMuted,
737
+ color: _sharedUi.night.color.textTertiary,
734
738
  minWidth: 70
735
739
  },
736
740
  filterOptionLabelSelected: {
737
- color: _sharedUi.buoyColors.success
741
+ color: _sharedUi.night.color.accent
738
742
  },
739
743
  filterOptionValue: {
740
744
  fontSize: 12,
741
- color: _sharedUi.buoyColors.text,
745
+ color: _sharedUi.night.color.text,
742
746
  fontFamily: "monospace",
743
747
  flex: 1
744
748
  },
745
749
  filterOptionValueSelected: {
746
- color: _sharedUi.buoyColors.text
750
+ color: _sharedUi.night.color.text
747
751
  },
748
752
  filterActionButtons: {
749
753
  flexDirection: "row",
@@ -761,16 +765,16 @@ const styles = _reactNative.StyleSheet.create({
761
765
  borderWidth: 1
762
766
  },
763
767
  filterActionButtonInclude: {
764
- backgroundColor: _sharedUi.buoyColors.success + "15",
765
- borderColor: _sharedUi.buoyColors.success + "40"
768
+ backgroundColor: _sharedUi.night.color.accentSoft,
769
+ borderColor: _sharedUi.night.color.accentBorderStrong
766
770
  },
767
771
  filterActionButtonExclude: {
768
- backgroundColor: _sharedUi.buoyColors.error + "15",
769
- borderColor: _sharedUi.buoyColors.error + "40"
772
+ backgroundColor: _sharedUi.night.color.dangerSoft,
773
+ borderColor: _sharedUi.night.color.danger + "40"
770
774
  },
771
775
  filterActionButtonDisabled: {
772
- backgroundColor: _sharedUi.buoyColors.input,
773
- borderColor: _sharedUi.buoyColors.border,
776
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
777
+ borderColor: _sharedUi.night.color.border,
774
778
  opacity: 0.5
775
779
  },
776
780
  filterActionButtonText: {
@@ -782,21 +786,21 @@ const styles = _reactNative.StyleSheet.create({
782
786
  flexDirection: "row",
783
787
  alignItems: "center",
784
788
  justifyContent: "center",
785
- backgroundColor: _sharedUi.buoyColors.card,
789
+ backgroundColor: _sharedUi.night.color.surface,
786
790
  borderRadius: 8,
787
791
  borderWidth: 1,
788
- borderColor: _sharedUi.buoyColors.warning + "40",
792
+ borderColor: _sharedUi.night.color.warning + "40",
789
793
  paddingVertical: 12,
790
794
  paddingHorizontal: 16,
791
795
  gap: 8
792
796
  },
793
797
  lockedBannerText: {
794
- color: _sharedUi.buoyColors.warning,
798
+ color: _sharedUi.night.color.warning,
795
799
  fontSize: 13,
796
800
  fontWeight: "600"
797
801
  },
798
802
  lockedBannerSubtext: {
799
- color: _sharedUi.buoyColors.textMuted,
803
+ color: _sharedUi.night.color.textTertiary,
800
804
  fontSize: 12
801
805
  }
802
806
  });