@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
@@ -259,20 +259,20 @@ const styles = _reactNative.StyleSheet.create({
259
259
  position: "absolute",
260
260
  borderWidth: 2,
261
261
  borderStyle: "dashed",
262
- borderColor: _sharedUi.buoyColors.primary,
262
+ borderColor: _sharedUi.night.color.accent,
263
263
  backgroundColor: "transparent"
264
264
  },
265
265
  spotlightLabel: {
266
266
  position: "absolute",
267
- backgroundColor: _sharedUi.buoyColors.card,
267
+ backgroundColor: _sharedUi.night.color.surface,
268
268
  borderWidth: 1,
269
- borderColor: _sharedUi.buoyColors.primary,
269
+ borderColor: _sharedUi.night.color.accent,
270
270
  paddingHorizontal: 8,
271
271
  paddingVertical: 3,
272
272
  borderRadius: 4
273
273
  },
274
274
  spotlightLabelText: {
275
- color: _sharedUi.buoyColors.primary,
275
+ color: _sharedUi.night.color.accent,
276
276
  fontSize: 11,
277
277
  fontWeight: "600",
278
278
  fontFamily: "monospace"
@@ -60,7 +60,7 @@ function TypePicker({
60
60
  style: styles.typePickerCancel,
61
61
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
62
62
  size: 16,
63
- color: _sharedUi.buoyColors.textMuted
63
+ color: _sharedUi.night.color.textTertiary
64
64
  })
65
65
  })]
66
66
  });
@@ -92,7 +92,7 @@ function PatternInput({
92
92
  onChangeText: setValue,
93
93
  onSubmitEditing: handleSubmit,
94
94
  placeholder: "Enter pattern...",
95
- placeholderTextColor: _sharedUi.buoyColors.textMuted,
95
+ placeholderTextColor: _sharedUi.night.color.placeholder,
96
96
  style: styles.patternInput,
97
97
  autoFocus: true,
98
98
  returnKeyType: "done",
@@ -114,7 +114,7 @@ function PatternInput({
114
114
  style: styles.cancelButton,
115
115
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
116
116
  size: 16,
117
- color: _sharedUi.buoyColors.textMuted
117
+ color: _sharedUi.night.color.textTertiary
118
118
  })
119
119
  })]
120
120
  });
@@ -148,7 +148,7 @@ function PatternChip({
148
148
  children: pattern.value
149
149
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
150
150
  size: 12,
151
- color: _sharedUi.buoyColors.textMuted,
151
+ color: _sharedUi.night.color.textTertiary,
152
152
  style: styles.patternChipX
153
153
  })]
154
154
  });
@@ -160,7 +160,7 @@ function PatternChip({
160
160
  const ALL_CATEGORY_CONFIG = {
161
161
  label: "All",
162
162
  shortLabel: "All",
163
- color: _sharedUi.buoyColors.textSecondary,
163
+ color: _sharedUi.night.color.textSecondary,
164
164
  icon: _sharedUi.Box
165
165
  };
166
166
 
@@ -389,13 +389,13 @@ function HighlightFilterView({
389
389
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_sharedUi.SectionHeader, {
390
390
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Icon, {
391
391
  icon: _sharedUi.Eye,
392
- color: _sharedUi.buoyColors.success,
392
+ color: _sharedUi.night.color.accent,
393
393
  size: 12
394
394
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Title, {
395
395
  children: "INCLUDE ONLY"
396
396
  }), filters.includePatterns.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Badge, {
397
397
  count: filters.includePatterns.length,
398
- color: _sharedUi.buoyColors.success
398
+ color: _sharedUi.night.color.accent
399
399
  })]
400
400
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
401
401
  style: styles.sectionDescription,
@@ -420,15 +420,15 @@ function HighlightFilterView({
420
420
  onCancel: () => setIncludeInputType(null)
421
421
  }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
422
422
  style: [styles.addButton, {
423
- borderColor: _sharedUi.buoyColors.success + "40"
423
+ borderColor: _sharedUi.night.color.accentBorderStrong
424
424
  }],
425
425
  onPress: () => setShowIncludeTypePicker(true),
426
426
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Plus, {
427
427
  size: 14,
428
- color: _sharedUi.buoyColors.success
428
+ color: _sharedUi.night.color.accent
429
429
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
430
430
  style: [styles.addButtonText, {
431
- color: _sharedUi.buoyColors.success
431
+ color: _sharedUi.night.color.accent
432
432
  }],
433
433
  children: "Add include pattern"
434
434
  })]
@@ -439,13 +439,13 @@ function HighlightFilterView({
439
439
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_sharedUi.SectionHeader, {
440
440
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Icon, {
441
441
  icon: _sharedUi.Filter,
442
- color: _sharedUi.buoyColors.primary,
442
+ color: _sharedUi.night.color.accent,
443
443
  size: 12
444
444
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Title, {
445
445
  children: "EXCLUDE"
446
446
  }), filters.excludePatterns.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Badge, {
447
447
  count: filters.excludePatterns.length,
448
- color: _sharedUi.buoyColors.primary
448
+ color: _sharedUi.night.color.accent
449
449
  })]
450
450
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
451
451
  style: styles.sectionDescription,
@@ -470,15 +470,15 @@ function HighlightFilterView({
470
470
  onCancel: () => setExcludeInputType(null)
471
471
  }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
472
472
  style: [styles.addButton, {
473
- borderColor: _sharedUi.buoyColors.primary + "40"
473
+ borderColor: _sharedUi.night.color.accentBorderStrong
474
474
  }],
475
475
  onPress: () => setShowExcludeTypePicker(true),
476
476
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Plus, {
477
477
  size: 14,
478
- color: _sharedUi.buoyColors.primary
478
+ color: _sharedUi.night.color.accent
479
479
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
480
480
  style: [styles.addButtonText, {
481
- color: _sharedUi.buoyColors.primary
481
+ color: _sharedUi.night.color.accent
482
482
  }],
483
483
  children: "Add exclude pattern"
484
484
  })]
@@ -489,13 +489,13 @@ function HighlightFilterView({
489
489
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_sharedUi.SectionHeader, {
490
490
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Icon, {
491
491
  icon: _sharedUi.Hash,
492
- color: _sharedUi.buoyColors.warning,
492
+ color: _sharedUi.night.color.warning,
493
493
  size: 12
494
494
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Title, {
495
495
  children: "RENDER COUNT RANGE"
496
496
  }), (filters.minRenderCount !== undefined || filters.maxRenderCount !== undefined) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Badge, {
497
497
  count: 1,
498
- color: _sharedUi.buoyColors.warning
498
+ color: _sharedUi.night.color.warning
499
499
  })]
500
500
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
501
501
  style: styles.sectionDescription,
@@ -525,7 +525,7 @@ function HighlightFilterView({
525
525
  }
526
526
  },
527
527
  placeholder: "0",
528
- placeholderTextColor: _sharedUi.buoyColors.textMuted,
528
+ placeholderTextColor: _sharedUi.night.color.placeholder,
529
529
  style: styles.renderCountInput,
530
530
  keyboardType: "number-pad",
531
531
  returnKeyType: "done"
@@ -553,7 +553,7 @@ function HighlightFilterView({
553
553
  }
554
554
  },
555
555
  placeholder: "\u221E",
556
- placeholderTextColor: _sharedUi.buoyColors.textMuted,
556
+ placeholderTextColor: _sharedUi.night.color.placeholder,
557
557
  style: styles.renderCountInput,
558
558
  keyboardType: "number-pad",
559
559
  returnKeyType: "done"
@@ -567,7 +567,7 @@ function HighlightFilterView({
567
567
  }),
568
568
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
569
569
  size: 12,
570
- color: _sharedUi.buoyColors.warning
570
+ color: _sharedUi.night.color.warning
571
571
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
572
572
  style: styles.clearRangeButtonText,
573
573
  children: "Clear Range"
@@ -579,7 +579,7 @@ function HighlightFilterView({
579
579
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_sharedUi.SectionHeader, {
580
580
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Icon, {
581
581
  icon: _sharedUi.Box,
582
- color: _sharedUi.buoyColors.textSecondary,
582
+ color: _sharedUi.night.color.textSecondary,
583
583
  size: 12
584
584
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Title, {
585
585
  children: "DETECTED ITEMS"
@@ -681,10 +681,10 @@ function HighlightFilterView({
681
681
  onPress: handlePopupInclude,
682
682
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Eye, {
683
683
  size: 16,
684
- color: _sharedUi.buoyColors.success
684
+ color: _sharedUi.night.color.accent
685
685
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
686
686
  style: [styles.actionPopupButtonText, {
687
- color: _sharedUi.buoyColors.success
687
+ color: _sharedUi.night.color.accent
688
688
  }],
689
689
  children: "Include Only"
690
690
  })]
@@ -693,10 +693,10 @@ function HighlightFilterView({
693
693
  onPress: handlePopupExclude,
694
694
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Filter, {
695
695
  size: 16,
696
- color: _sharedUi.buoyColors.primary
696
+ color: _sharedUi.night.color.accent
697
697
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
698
698
  style: [styles.actionPopupButtonText, {
699
- color: _sharedUi.buoyColors.primary
699
+ color: _sharedUi.night.color.accent
700
700
  }],
701
701
  children: "Exclude"
702
702
  })]
@@ -717,7 +717,7 @@ function HighlightFilterView({
717
717
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_sharedUi.SectionHeader, {
718
718
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Icon, {
719
719
  icon: _sharedUi.Filter,
720
- color: _sharedUi.buoyColors.textMuted,
720
+ color: _sharedUi.night.color.textTertiary,
721
721
  size: 12
722
722
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Title, {
723
723
  children: "HOW FILTERS WORK"
@@ -748,7 +748,7 @@ function HighlightFilterView({
748
748
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_sharedUi.SectionHeader, {
749
749
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Icon, {
750
750
  icon: _sharedUi.Settings,
751
- color: _sharedUi.buoyColors.textMuted,
751
+ color: _sharedUi.night.color.textTertiary,
752
752
  size: 12
753
753
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SectionHeader.Title, {
754
754
  children: "SETTINGS"
@@ -776,10 +776,10 @@ function HighlightFilterView({
776
776
  }
777
777
  },
778
778
  trackColor: {
779
- false: _sharedUi.buoyColors.input,
780
- true: _sharedUi.buoyColors.success + "80"
779
+ false: _sharedUi.night.color.surfaceElevated,
780
+ true: _sharedUi.night.color.accent + "80"
781
781
  },
782
- thumbColor: settings.showRenderCount ? _sharedUi.buoyColors.success : _sharedUi.buoyColors.textMuted
782
+ thumbColor: settings.showRenderCount ? _sharedUi.night.color.accent : _sharedUi.night.color.knob
783
783
  })]
784
784
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
785
785
  style: styles.settingDescription,
@@ -798,10 +798,10 @@ function HighlightFilterView({
798
798
  trackRenderCauses: value
799
799
  }),
800
800
  trackColor: {
801
- false: _sharedUi.buoyColors.input,
802
- true: _sharedUi.buoyColors.warning + "80"
801
+ false: _sharedUi.night.color.surfaceElevated,
802
+ true: _sharedUi.night.color.warning + "80"
803
803
  },
804
- thumbColor: settings.trackRenderCauses ? _sharedUi.buoyColors.warning : _sharedUi.buoyColors.textMuted,
804
+ thumbColor: settings.trackRenderCauses ? _sharedUi.night.color.warning : _sharedUi.night.color.knob,
805
805
  disabled: !settings.showRenderCount
806
806
  })]
807
807
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
@@ -824,10 +824,10 @@ function HighlightFilterView({
824
824
  enableRenderHistory: value
825
825
  }),
826
826
  trackColor: {
827
- false: _sharedUi.buoyColors.input,
828
- true: _sharedUi.buoyColors.primary + "80"
827
+ false: _sharedUi.night.color.surfaceElevated,
828
+ true: _sharedUi.night.color.accent + "80"
829
829
  },
830
- thumbColor: settings.enableRenderHistory ? _sharedUi.buoyColors.primary : _sharedUi.buoyColors.textMuted,
830
+ thumbColor: settings.enableRenderHistory ? _sharedUi.night.color.accent : _sharedUi.night.color.knob,
831
831
  disabled: !settings.trackRenderCauses
832
832
  })]
833
833
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
@@ -848,7 +848,7 @@ function HighlightFilterView({
848
848
  style: styles.settingValue,
849
849
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
850
850
  style: [styles.settingValueText, settings.debugLogLevel !== "off" && {
851
- color: _sharedUi.buoyColors.warning
851
+ color: _sharedUi.night.color.warning
852
852
  }],
853
853
  children: DEBUG_LOG_LEVEL_PRESETS.find(p => p.value === settings.debugLogLevel)?.label || "Off"
854
854
  })
@@ -860,15 +860,15 @@ function HighlightFilterView({
860
860
  style: styles.batchSizePresets,
861
861
  children: DEBUG_LOG_LEVEL_PRESETS.map(preset => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
862
862
  style: [styles.batchSizePreset, settings.debugLogLevel === preset.value && styles.batchSizePresetActive, preset.value !== "off" && settings.debugLogLevel === preset.value && {
863
- backgroundColor: _sharedUi.buoyColors.warning + "30",
864
- borderColor: _sharedUi.buoyColors.warning
863
+ backgroundColor: _sharedUi.night.color.warningSoft,
864
+ borderColor: _sharedUi.night.color.warning
865
865
  }],
866
866
  onPress: () => onSettingsChange({
867
867
  debugLogLevel: preset.value
868
868
  }),
869
869
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
870
870
  style: [styles.batchSizePresetText, settings.debugLogLevel === preset.value && styles.batchSizePresetTextActive, preset.value !== "off" && settings.debugLogLevel === preset.value && {
871
- color: _sharedUi.buoyColors.warning
871
+ color: _sharedUi.night.color.warning
872
872
  }],
873
873
  children: preset.label
874
874
  })
@@ -907,6 +907,28 @@ function HighlightFilterView({
907
907
  })
908
908
  }, preset.value))
909
909
  })]
910
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
911
+ style: [styles.settingItem, styles.settingItemSpaced],
912
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
913
+ style: styles.settingHeader,
914
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
915
+ style: styles.settingLabel,
916
+ children: "Show host views"
917
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Switch, {
918
+ value: !!settings.showHostViews,
919
+ onValueChange: value => onSettingsChange({
920
+ showHostViews: value
921
+ }),
922
+ trackColor: {
923
+ false: _sharedUi.night.color.surfaceElevated,
924
+ true: _sharedUi.night.color.accent + "80"
925
+ },
926
+ thumbColor: settings.showHostViews ? _sharedUi.night.color.accent : _sharedUi.night.color.knob
927
+ })]
928
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
929
+ style: styles.settingDescription,
930
+ children: "Include anonymous View / RCTView / Text hosts. Off by default so the list is named composites (what actually re-rendered)."
931
+ })]
910
932
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
911
933
  style: [styles.settingItem, styles.settingItemSpaced],
912
934
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
@@ -920,10 +942,10 @@ function HighlightFilterView({
920
942
  excludeDevTools: !value
921
943
  }),
922
944
  trackColor: {
923
- false: _sharedUi.buoyColors.input,
924
- true: _sharedUi.buoyColors.primary + "80"
945
+ false: _sharedUi.night.color.surfaceElevated,
946
+ true: _sharedUi.night.color.accent + "80"
925
947
  },
926
- thumbColor: !settings.excludeDevTools ? _sharedUi.buoyColors.primary : _sharedUi.buoyColors.textMuted
948
+ thumbColor: !settings.excludeDevTools ? _sharedUi.night.color.accent : _sharedUi.night.color.knob
927
949
  })]
928
950
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
929
951
  style: styles.settingDescription,
@@ -942,7 +964,8 @@ function HighlightFilterView({
942
964
  const styles = _reactNative.StyleSheet.create({
943
965
  container: {
944
966
  flex: 1,
945
- backgroundColor: _sharedUi.buoyColors.base
967
+ // Transparent so JsModal's ToolBackground shows through (the modal paints opaque base beneath it).
968
+ backgroundColor: "transparent"
946
969
  },
947
970
  scrollView: {
948
971
  flex: 1
@@ -953,16 +976,16 @@ const styles = _reactNative.StyleSheet.create({
953
976
  paddingBottom: 32
954
977
  },
955
978
  section: {
956
- backgroundColor: _sharedUi.buoyColors.card,
979
+ backgroundColor: _sharedUi.night.color.surface,
957
980
  borderRadius: 8,
958
981
  borderWidth: 1,
959
- borderColor: _sharedUi.buoyColors.border + "50",
982
+ borderColor: _sharedUi.night.color.border,
960
983
  marginBottom: 12,
961
984
  overflow: "hidden"
962
985
  },
963
986
  sectionDescription: {
964
987
  fontSize: 11,
965
- color: _sharedUi.buoyColors.textSecondary,
988
+ color: _sharedUi.night.color.textSecondary,
966
989
  paddingHorizontal: 16,
967
990
  paddingTop: 8,
968
991
  lineHeight: 16
@@ -977,7 +1000,7 @@ const styles = _reactNative.StyleSheet.create({
977
1000
  patternChip: {
978
1001
  flexDirection: "row",
979
1002
  alignItems: "center",
980
- backgroundColor: _sharedUi.buoyColors.input,
1003
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
981
1004
  borderRadius: 6,
982
1005
  borderWidth: 1,
983
1006
  paddingVertical: 4,
@@ -997,7 +1020,7 @@ const styles = _reactNative.StyleSheet.create({
997
1020
  },
998
1021
  patternChipValue: {
999
1022
  fontSize: 11,
1000
- color: _sharedUi.buoyColors.text,
1023
+ color: _sharedUi.night.color.text,
1001
1024
  fontFamily: "monospace",
1002
1025
  flexShrink: 1
1003
1026
  },
@@ -1042,7 +1065,7 @@ const styles = _reactNative.StyleSheet.create({
1042
1065
  paddingHorizontal: 12,
1043
1066
  borderRadius: 6,
1044
1067
  borderWidth: 1,
1045
- backgroundColor: _sharedUi.buoyColors.input,
1068
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
1046
1069
  gap: 6
1047
1070
  },
1048
1071
  typeOptionText: {
@@ -1055,10 +1078,10 @@ const styles = _reactNative.StyleSheet.create({
1055
1078
  patternInputContainer: {
1056
1079
  flexDirection: "row",
1057
1080
  alignItems: "center",
1058
- backgroundColor: _sharedUi.buoyColors.input,
1081
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
1059
1082
  borderRadius: 8,
1060
1083
  borderWidth: 1,
1061
- borderColor: _sharedUi.buoyColors.border,
1084
+ borderColor: _sharedUi.night.color.border,
1062
1085
  paddingLeft: 4,
1063
1086
  paddingRight: 8,
1064
1087
  paddingVertical: 4,
@@ -1067,7 +1090,7 @@ const styles = _reactNative.StyleSheet.create({
1067
1090
  patternInput: {
1068
1091
  flex: 1,
1069
1092
  fontSize: 12,
1070
- color: _sharedUi.buoyColors.text,
1093
+ color: _sharedUi.night.color.text,
1071
1094
  paddingVertical: 6,
1072
1095
  paddingHorizontal: 4
1073
1096
  },
@@ -1131,7 +1154,7 @@ const styles = _reactNative.StyleSheet.create({
1131
1154
  detectedItem: {
1132
1155
  flexDirection: "row",
1133
1156
  alignItems: "center",
1134
- backgroundColor: _sharedUi.buoyColors.input,
1157
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
1135
1158
  borderRadius: 6,
1136
1159
  borderWidth: 1,
1137
1160
  paddingVertical: 6,
@@ -1140,12 +1163,12 @@ const styles = _reactNative.StyleSheet.create({
1140
1163
  },
1141
1164
  detectedItemText: {
1142
1165
  fontSize: 11,
1143
- color: _sharedUi.buoyColors.text,
1166
+ color: _sharedUi.night.color.text,
1144
1167
  fontFamily: "monospace"
1145
1168
  },
1146
1169
  emptyText: {
1147
1170
  fontSize: 11,
1148
- color: _sharedUi.buoyColors.textMuted,
1171
+ color: _sharedUi.night.color.textTertiary,
1149
1172
  fontStyle: "italic",
1150
1173
  textAlign: "center",
1151
1174
  paddingVertical: 16,
@@ -1157,13 +1180,13 @@ const styles = _reactNative.StyleSheet.create({
1157
1180
  },
1158
1181
  howItWorksText: {
1159
1182
  fontSize: 11,
1160
- color: _sharedUi.buoyColors.textMuted,
1183
+ color: _sharedUi.night.color.textTertiary,
1161
1184
  lineHeight: 18,
1162
1185
  fontFamily: "monospace"
1163
1186
  },
1164
1187
  howItWorksBold: {
1165
1188
  fontWeight: "700",
1166
- color: _sharedUi.buoyColors.textSecondary
1189
+ color: _sharedUi.night.color.textSecondary
1167
1190
  },
1168
1191
  // Action popup modal styles
1169
1192
  modalOverlay: {
@@ -1174,10 +1197,10 @@ const styles = _reactNative.StyleSheet.create({
1174
1197
  padding: 32
1175
1198
  },
1176
1199
  actionPopup: {
1177
- backgroundColor: _sharedUi.buoyColors.card,
1200
+ backgroundColor: _sharedUi.night.color.surface,
1178
1201
  borderRadius: 12,
1179
1202
  borderWidth: 1,
1180
- borderColor: _sharedUi.buoyColors.border,
1203
+ borderColor: _sharedUi.night.color.border,
1181
1204
  width: "100%",
1182
1205
  maxWidth: 300,
1183
1206
  overflow: "hidden"
@@ -1185,7 +1208,7 @@ const styles = _reactNative.StyleSheet.create({
1185
1208
  actionPopupHeader: {
1186
1209
  padding: 16,
1187
1210
  borderBottomWidth: 1,
1188
- borderBottomColor: _sharedUi.buoyColors.border + "50",
1211
+ borderBottomColor: _sharedUi.night.color.separator,
1189
1212
  alignItems: "center"
1190
1213
  },
1191
1214
  actionPopupButtons: {
@@ -1204,10 +1227,10 @@ const styles = _reactNative.StyleSheet.create({
1204
1227
  gap: 8
1205
1228
  },
1206
1229
  actionPopupInclude: {
1207
- backgroundColor: _sharedUi.buoyColors.success + "15"
1230
+ backgroundColor: _sharedUi.night.color.accentSoft
1208
1231
  },
1209
1232
  actionPopupExclude: {
1210
- backgroundColor: _sharedUi.buoyColors.primary + "15"
1233
+ backgroundColor: _sharedUi.night.color.accentSoft
1211
1234
  },
1212
1235
  actionPopupButtonText: {
1213
1236
  fontSize: 13,
@@ -1216,12 +1239,12 @@ const styles = _reactNative.StyleSheet.create({
1216
1239
  actionPopupCancel: {
1217
1240
  padding: 12,
1218
1241
  borderTopWidth: 1,
1219
- borderTopColor: _sharedUi.buoyColors.border + "50",
1242
+ borderTopColor: _sharedUi.night.color.separator,
1220
1243
  alignItems: "center"
1221
1244
  },
1222
1245
  actionPopupCancelText: {
1223
1246
  fontSize: 13,
1224
- color: _sharedUi.buoyColors.textMuted,
1247
+ color: _sharedUi.night.color.textTertiary,
1225
1248
  fontWeight: "500"
1226
1249
  },
1227
1250
  // Settings styles
@@ -1237,7 +1260,7 @@ const styles = _reactNative.StyleSheet.create({
1237
1260
  marginTop: 16,
1238
1261
  paddingTop: 16,
1239
1262
  borderTopWidth: 1,
1240
- borderTopColor: _sharedUi.buoyColors.border + "30"
1263
+ borderTopColor: _sharedUi.night.color.separator
1241
1264
  },
1242
1265
  settingHeader: {
1243
1266
  flexDirection: "row",
@@ -1247,10 +1270,10 @@ const styles = _reactNative.StyleSheet.create({
1247
1270
  settingLabel: {
1248
1271
  fontSize: 13,
1249
1272
  fontWeight: "600",
1250
- color: _sharedUi.buoyColors.text
1273
+ color: _sharedUi.night.color.text
1251
1274
  },
1252
1275
  settingValue: {
1253
- backgroundColor: _sharedUi.buoyColors.textMuted + "20",
1276
+ backgroundColor: _sharedUi.night.color.fillSecondary,
1254
1277
  paddingHorizontal: 10,
1255
1278
  paddingVertical: 4,
1256
1279
  borderRadius: 6
@@ -1258,26 +1281,26 @@ const styles = _reactNative.StyleSheet.create({
1258
1281
  settingValueText: {
1259
1282
  fontSize: 12,
1260
1283
  fontWeight: "700",
1261
- color: _sharedUi.buoyColors.textMuted,
1284
+ color: _sharedUi.night.color.textTertiary,
1262
1285
  fontFamily: "monospace"
1263
1286
  },
1264
1287
  settingDescription: {
1265
1288
  fontSize: 11,
1266
- color: _sharedUi.buoyColors.textSecondary,
1289
+ color: _sharedUi.night.color.textSecondary,
1267
1290
  lineHeight: 16
1268
1291
  },
1269
1292
  settingDescriptionMuted: {
1270
1293
  fontSize: 10,
1271
- color: _sharedUi.buoyColors.textMuted,
1294
+ color: _sharedUi.night.color.textTertiary,
1272
1295
  lineHeight: 14,
1273
1296
  marginTop: 4,
1274
1297
  fontStyle: "italic"
1275
1298
  },
1276
1299
  settingLabelDisabled: {
1277
- color: _sharedUi.buoyColors.textMuted
1300
+ color: _sharedUi.night.color.textTertiary
1278
1301
  },
1279
1302
  settingWarning: {
1280
- color: _sharedUi.buoyColors.warning,
1303
+ color: _sharedUi.night.color.warning,
1281
1304
  fontWeight: "500"
1282
1305
  },
1283
1306
  batchSizePresets: {
@@ -1290,22 +1313,22 @@ const styles = _reactNative.StyleSheet.create({
1290
1313
  paddingVertical: 8,
1291
1314
  paddingHorizontal: 14,
1292
1315
  borderRadius: 6,
1293
- backgroundColor: _sharedUi.buoyColors.input,
1316
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
1294
1317
  borderWidth: 1,
1295
- borderColor: _sharedUi.buoyColors.border + "50"
1318
+ borderColor: _sharedUi.night.color.border
1296
1319
  },
1297
1320
  batchSizePresetActive: {
1298
- backgroundColor: _sharedUi.buoyColors.textMuted + "20",
1299
- borderColor: _sharedUi.buoyColors.textMuted
1321
+ backgroundColor: _sharedUi.night.color.fillSecondary,
1322
+ borderColor: _sharedUi.night.color.fillTertiary
1300
1323
  },
1301
1324
  batchSizePresetText: {
1302
1325
  fontSize: 12,
1303
1326
  fontWeight: "500",
1304
- color: _sharedUi.buoyColors.textSecondary,
1327
+ color: _sharedUi.night.color.textSecondary,
1305
1328
  fontFamily: "monospace"
1306
1329
  },
1307
1330
  batchSizePresetTextActive: {
1308
- color: _sharedUi.buoyColors.textMuted,
1331
+ color: _sharedUi.night.color.textTertiary,
1309
1332
  fontWeight: "700"
1310
1333
  },
1311
1334
  // Render count range styles
@@ -1327,26 +1350,26 @@ const styles = _reactNative.StyleSheet.create({
1327
1350
  renderCountLabel: {
1328
1351
  fontSize: 10,
1329
1352
  fontWeight: "600",
1330
- color: _sharedUi.buoyColors.textMuted,
1353
+ color: _sharedUi.night.color.textTertiary,
1331
1354
  textTransform: "uppercase",
1332
1355
  letterSpacing: 0.5
1333
1356
  },
1334
1357
  renderCountInput: {
1335
- backgroundColor: _sharedUi.buoyColors.input,
1358
+ backgroundColor: _sharedUi.night.color.surfaceElevated,
1336
1359
  borderRadius: 8,
1337
1360
  borderWidth: 1,
1338
- borderColor: _sharedUi.buoyColors.border,
1361
+ borderColor: _sharedUi.night.color.border,
1339
1362
  paddingVertical: 10,
1340
1363
  paddingHorizontal: 12,
1341
1364
  fontSize: 14,
1342
1365
  fontWeight: "600",
1343
- color: _sharedUi.buoyColors.text,
1366
+ color: _sharedUi.night.color.text,
1344
1367
  fontFamily: "monospace",
1345
1368
  textAlign: "center"
1346
1369
  },
1347
1370
  renderCountSeparator: {
1348
1371
  fontSize: 12,
1349
- color: _sharedUi.buoyColors.textMuted,
1372
+ color: _sharedUi.night.color.textTertiary,
1350
1373
  marginTop: 18
1351
1374
  },
1352
1375
  clearRangeButton: {
@@ -1356,16 +1379,16 @@ const styles = _reactNative.StyleSheet.create({
1356
1379
  paddingVertical: 8,
1357
1380
  paddingHorizontal: 12,
1358
1381
  borderRadius: 6,
1359
- backgroundColor: _sharedUi.buoyColors.warning + "15",
1382
+ backgroundColor: _sharedUi.night.color.warningSoft,
1360
1383
  borderWidth: 1,
1361
- borderColor: _sharedUi.buoyColors.warning + "40",
1384
+ borderColor: _sharedUi.night.color.warning + "40",
1362
1385
  gap: 6,
1363
1386
  alignSelf: "center"
1364
1387
  },
1365
1388
  clearRangeButtonText: {
1366
1389
  fontSize: 11,
1367
1390
  fontWeight: "600",
1368
- color: _sharedUi.buoyColors.warning
1391
+ color: _sharedUi.night.color.warning
1369
1392
  }
1370
1393
  });
1371
1394
  var _default = exports.default = HighlightFilterView;