@buoy-gg/highlight-updates 7.0.38 → 7.0.39

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 (103) hide show
  1. package/lib/commonjs/highlight-updates/HighlightUpdatesOverlay.js +281 -1
  2. package/lib/commonjs/highlight-updates/components/HighlightFilterView.js +1474 -1
  3. package/lib/commonjs/highlight-updates/components/HighlightUpdatesModal.js +641 -1
  4. package/lib/commonjs/highlight-updates/components/IdentifierBadge.js +273 -1
  5. package/lib/commonjs/highlight-updates/components/IsolatedRenderList.js +188 -1
  6. package/lib/commonjs/highlight-updates/components/ModalHeaderContent.js +293 -1
  7. package/lib/commonjs/highlight-updates/components/RenderCauseBadge.js +508 -1
  8. package/lib/commonjs/highlight-updates/components/RenderDetailView.js +846 -1
  9. package/lib/commonjs/highlight-updates/components/RenderHistoryViewer.js +915 -1
  10. package/lib/commonjs/highlight-updates/components/RenderListItem.js +235 -1
  11. package/lib/commonjs/highlight-updates/components/RendersCopySettingsView.js +469 -1
  12. package/lib/commonjs/highlight-updates/components/StatsDisplay.js +73 -1
  13. package/lib/commonjs/highlight-updates/types/copySettings.js +107 -1
  14. package/lib/commonjs/highlight-updates/utils/CommitProfiler.js +446 -1
  15. package/lib/commonjs/highlight-updates/utils/HighlightUpdatesController.js +1920 -1
  16. package/lib/commonjs/highlight-updates/utils/PerformanceLogger.js +359 -1
  17. package/lib/commonjs/highlight-updates/utils/ProfilerInterceptor.js +371 -1
  18. package/lib/commonjs/highlight-updates/utils/RenderCauseDetector.js +1840 -1
  19. package/lib/commonjs/highlight-updates/utils/RenderTracker.js +952 -1
  20. package/lib/commonjs/highlight-updates/utils/ViewTypeMapper.js +264 -1
  21. package/lib/commonjs/highlight-updates/utils/copySettingsStorage.js +32 -1
  22. package/lib/commonjs/highlight-updates/utils/devtoolsComponentNames.js +188 -1
  23. package/lib/commonjs/highlight-updates/utils/namedComposite.js +41 -1
  24. package/lib/commonjs/highlight-updates/utils/ownStateChanged.js +103 -1
  25. package/lib/commonjs/highlight-updates/utils/rawEventEmitter.js +50 -1
  26. package/lib/commonjs/highlight-updates/utils/renderExportFormatter.js +58 -1
  27. package/lib/commonjs/highlight-updates/utils/rendersExportFormatter.js +485 -1
  28. package/lib/commonjs/highlight-updates/utils/screenElements.js +1248 -1
  29. package/lib/commonjs/highlight-updates/utils/tapMatch.js +83 -1
  30. package/lib/commonjs/highlight-updates/utils/testIDs.js +68 -1
  31. package/lib/commonjs/highlight-updates/utils/touchCapture.js +277 -1
  32. package/lib/commonjs/index.js +429 -1
  33. package/lib/commonjs/preset.js +278 -1
  34. package/lib/commonjs/sync/highlightUpdatesSyncAdapter.js +235 -1
  35. package/lib/module/highlight-updates/HighlightUpdatesOverlay.js +274 -1
  36. package/lib/module/highlight-updates/components/HighlightFilterView.js +1468 -1
  37. package/lib/module/highlight-updates/components/HighlightUpdatesModal.js +634 -1
  38. package/lib/module/highlight-updates/components/IdentifierBadge.js +265 -1
  39. package/lib/module/highlight-updates/components/IsolatedRenderList.js +183 -1
  40. package/lib/module/highlight-updates/components/ModalHeaderContent.js +288 -1
  41. package/lib/module/highlight-updates/components/RenderCauseBadge.js +499 -1
  42. package/lib/module/highlight-updates/components/RenderDetailView.js +840 -1
  43. package/lib/module/highlight-updates/components/RenderHistoryViewer.js +908 -1
  44. package/lib/module/highlight-updates/components/RenderListItem.js +230 -1
  45. package/lib/module/highlight-updates/components/RendersCopySettingsView.js +465 -1
  46. package/lib/module/highlight-updates/components/StatsDisplay.js +70 -1
  47. package/lib/module/highlight-updates/types/copySettings.js +102 -1
  48. package/lib/module/highlight-updates/utils/CommitProfiler.js +442 -1
  49. package/lib/module/highlight-updates/utils/HighlightUpdatesController.js +1916 -1
  50. package/lib/module/highlight-updates/utils/PerformanceLogger.js +353 -1
  51. package/lib/module/highlight-updates/utils/ProfilerInterceptor.js +358 -1
  52. package/lib/module/highlight-updates/utils/RenderCauseDetector.js +1830 -1
  53. package/lib/module/highlight-updates/utils/RenderTracker.js +949 -1
  54. package/lib/module/highlight-updates/utils/ViewTypeMapper.js +255 -1
  55. package/lib/module/highlight-updates/utils/copySettingsStorage.js +26 -1
  56. package/lib/module/highlight-updates/utils/devtoolsComponentNames.js +178 -1
  57. package/lib/module/highlight-updates/utils/namedComposite.js +36 -1
  58. package/lib/module/highlight-updates/utils/ownStateChanged.js +98 -1
  59. package/lib/module/highlight-updates/utils/rawEventEmitter.js +46 -1
  60. package/lib/module/highlight-updates/utils/renderExportFormatter.js +54 -1
  61. package/lib/module/highlight-updates/utils/rendersExportFormatter.js +478 -1
  62. package/lib/module/highlight-updates/utils/screenElements.js +1242 -1
  63. package/lib/module/highlight-updates/utils/tapMatch.js +76 -1
  64. package/lib/module/highlight-updates/utils/testIDs.js +60 -1
  65. package/lib/module/highlight-updates/utils/touchCapture.js +270 -1
  66. package/lib/module/index.js +130 -1
  67. package/lib/module/preset.js +272 -1
  68. package/lib/module/sync/highlightUpdatesSyncAdapter.js +230 -1
  69. package/lib/typescript/highlight-updates/HighlightUpdatesOverlay.d.ts.map +1 -0
  70. package/lib/typescript/highlight-updates/components/HighlightFilterView.d.ts.map +1 -0
  71. package/lib/typescript/highlight-updates/components/HighlightUpdatesModal.d.ts.map +1 -0
  72. package/lib/typescript/highlight-updates/components/IdentifierBadge.d.ts.map +1 -0
  73. package/lib/typescript/highlight-updates/components/IsolatedRenderList.d.ts.map +1 -0
  74. package/lib/typescript/highlight-updates/components/ModalHeaderContent.d.ts.map +1 -0
  75. package/lib/typescript/highlight-updates/components/RenderCauseBadge.d.ts.map +1 -0
  76. package/lib/typescript/highlight-updates/components/RenderDetailView.d.ts.map +1 -0
  77. package/lib/typescript/highlight-updates/components/RenderHistoryViewer.d.ts.map +1 -0
  78. package/lib/typescript/highlight-updates/components/RenderListItem.d.ts.map +1 -0
  79. package/lib/typescript/highlight-updates/components/RendersCopySettingsView.d.ts.map +1 -0
  80. package/lib/typescript/highlight-updates/components/StatsDisplay.d.ts.map +1 -0
  81. package/lib/typescript/highlight-updates/types/copySettings.d.ts.map +1 -0
  82. package/lib/typescript/highlight-updates/utils/CommitProfiler.d.ts.map +1 -0
  83. package/lib/typescript/highlight-updates/utils/HighlightUpdatesController.d.ts.map +1 -0
  84. package/lib/typescript/highlight-updates/utils/PerformanceLogger.d.ts.map +1 -0
  85. package/lib/typescript/highlight-updates/utils/ProfilerInterceptor.d.ts.map +1 -0
  86. package/lib/typescript/highlight-updates/utils/RenderCauseDetector.d.ts.map +1 -0
  87. package/lib/typescript/highlight-updates/utils/RenderTracker.d.ts.map +1 -0
  88. package/lib/typescript/highlight-updates/utils/ViewTypeMapper.d.ts.map +1 -0
  89. package/lib/typescript/highlight-updates/utils/copySettingsStorage.d.ts.map +1 -0
  90. package/lib/typescript/highlight-updates/utils/devtoolsComponentNames.d.ts.map +1 -0
  91. package/lib/typescript/highlight-updates/utils/namedComposite.d.ts.map +1 -0
  92. package/lib/typescript/highlight-updates/utils/ownStateChanged.d.ts.map +1 -0
  93. package/lib/typescript/highlight-updates/utils/rawEventEmitter.d.ts.map +1 -0
  94. package/lib/typescript/highlight-updates/utils/renderExportFormatter.d.ts.map +1 -0
  95. package/lib/typescript/highlight-updates/utils/rendersExportFormatter.d.ts.map +1 -0
  96. package/lib/typescript/highlight-updates/utils/screenElements.d.ts.map +1 -0
  97. package/lib/typescript/highlight-updates/utils/tapMatch.d.ts.map +1 -0
  98. package/lib/typescript/highlight-updates/utils/testIDs.d.ts.map +1 -0
  99. package/lib/typescript/highlight-updates/utils/touchCapture.d.ts.map +1 -0
  100. package/lib/typescript/index.d.ts.map +1 -0
  101. package/lib/typescript/preset.d.ts.map +1 -0
  102. package/lib/typescript/sync/highlightUpdatesSyncAdapter.d.ts.map +1 -0
  103. package/package.json +7 -7
@@ -1 +1,274 @@
1
- "use strict";import React,{useEffect,useState,useRef,useCallback,useLayoutEffect}from"react";import{View,Text,StyleSheet}from"react-native";import{night,monoFont}from"@buoy-gg/shared-ui";import HighlightUpdatesController from"./utils/HighlightUpdatesController";import{PerformanceLogger,markOverlayRendered}from"./utils/PerformanceLogger";import{RenderTracker}from"./utils/RenderTracker";import{jsx as _jsx,Fragment as _Fragment,jsxs as _jsxs}from"react/jsx-runtime";const HIGHLIGHT_DURATION=1e3;export function HighlightUpdatesOverlay({onBadgePress:e}={}){const[t,r]=useState([]),[o,n]=useState(()=>HighlightUpdatesController.getFrozen()),[l,i]=useState(null),s=useRef(null),a=useRef(0),h=useRef(0),g=useRef(o);g.current=o,PerformanceLogger.isEnabled()&&(a.current=performance.now(),h.current=t.length),useLayoutEffect(()=>{if(PerformanceLogger.isEnabled()&&a.current>0&&h.current>0){const e=performance.now()-a.current;markOverlayRendered(h.current,e)}}),useEffect(()=>HighlightUpdatesController.subscribeToFreeze(e=>{n(e)}),[]),useEffect(()=>RenderTracker.subscribeToFilters(()=>{r(e=>e.filter(e=>{const t=RenderTracker.getRender(String(e.id));return!t||RenderTracker.shouldShowRender(t)}))}),[]),useEffect(()=>(HighlightUpdatesController.setSpotlightCallback(e=>{i(e)}),()=>{HighlightUpdatesController.setSpotlightCallback(null)}),[]);const d=useCallback(e=>{const t=Date.now(),o=e.map(e=>({...e,timestamp:t}));r(e=>{const t=[...e];for(const e of o){const r=t.findIndex(t=>t.id===e.id);r>=0?t[r]=e:t.push(e)}return t})},[]);useEffect(()=>(HighlightUpdatesController.setHighlightCallback(d),s.current=setInterval(()=>{if(g.current)return;const e=Date.now();r(t=>t.filter(t=>e-t.timestamp<1e3))},50),()=>{HighlightUpdatesController.setHighlightCallback(null),s.current&&clearInterval(s.current)}),[d]);const c=e||HighlightUpdatesController.getBadgePressCallback(),u=useCallback(t=>{e?e(t):HighlightUpdatesController.handleBadgePress(t)},[e]),p=l?RenderTracker.getRender(String(l)):null;return 0!==t.length||p?.measurements?_jsxs(View,{style:styles.overlay,pointerEvents:"box-none",nativeID:"highlight-updates-overlay",children:[p?.measurements&&_jsxs(_Fragment,{children:[_jsx(View,{pointerEvents:"none",nativeID:"__spotlight_highlight__",style:[styles.spotlightHighlight,{left:p.measurements.x-3,top:p.measurements.y-3,width:p.measurements.width+6,height:p.measurements.height+6}]}),_jsx(View,{pointerEvents:"none",style:[styles.spotlightLabel,{left:p.measurements.x,top:p.measurements.y+p.measurements.height+4}],children:_jsx(Text,{style:styles.spotlightLabelText,children:p.componentName||p.displayName||p.viewType})})]}),t.map(e=>_jsx(View,{pointerEvents:"box-none",nativeID:`__highlight_rect_${e.id}__`,style:[styles.highlight,{left:e.x,top:e.y,width:e.width,height:e.height,borderColor:e.color}],children:e.count>0&&_jsx(View,{style:[styles.badge,{backgroundColor:e.color}],nativeID:`__highlight_badge_${e.id}__`,pointerEvents:c?"auto":"none",hitSlop:{top:8,bottom:8,left:8,right:8},onStartShouldSetResponder:()=>!!c,onResponderGrant:()=>u(e.id),children:_jsx(Text,{style:styles.badgeText,nativeID:`__highlight_text_${e.id}__`,children:e.count})})},`highlight-${e.id}`))]}):null}const styles=StyleSheet.create({overlay:{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:999999,elevation:999999,borderWidth:0},highlight:{position:"absolute",borderWidth:2,borderStyle:"solid",backgroundColor:"transparent"},badge:{position:"absolute",top:0,right:0,height:14,borderRadius:0,justifyContent:"center",alignItems:"center",paddingHorizontal:2},badgeText:{color:"#000",fontSize:9,fontWeight:"bold"},spotlightHighlight:{position:"absolute",borderWidth:2,borderStyle:"dashed",borderColor:night.color.accent,backgroundColor:"transparent"},spotlightLabel:{position:"absolute",backgroundColor:night.color.surface,borderWidth:1,borderColor:night.color.accent,paddingHorizontal:8,paddingVertical:3,borderRadius:4},spotlightLabelText:{color:night.color.accent,fontSize:11,fontWeight:"600",fontFamily:monoFont}});export default HighlightUpdatesOverlay;
1
+ "use strict";
2
+
3
+ /**
4
+ * HighlightUpdatesOverlay
5
+ *
6
+ * Renders colored highlight rectangles for components that have updated.
7
+ * Uses View-based rendering (similar to debug-borders) instead of the
8
+ * native DebuggingOverlay component for better compatibility.
9
+ */
10
+
11
+ import React, { useEffect, useState, useRef, useCallback, useLayoutEffect } from "react";
12
+ import { View, Text, StyleSheet } from "react-native";
13
+ import { night, monoFont } from "@buoy-gg/shared-ui";
14
+ import HighlightUpdatesController from "./utils/HighlightUpdatesController";
15
+ import { PerformanceLogger, markOverlayRendered } from "./utils/PerformanceLogger";
16
+ import { RenderTracker } from "./utils/RenderTracker";
17
+
18
+ // Declare performance API available in React Native's JavaScript environment
19
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
20
+ // How long highlights stay visible (ms)
21
+ const HIGHLIGHT_DURATION = 1000;
22
+ export function HighlightUpdatesOverlay({
23
+ onBadgePress
24
+ } = {}) {
25
+ const [highlights, setHighlights] = useState([]);
26
+ const [isFrozen, setIsFrozen] = useState(() => HighlightUpdatesController.getFrozen());
27
+ const [spotlightTag, setSpotlightTag] = useState(null);
28
+ const cleanupTimerRef = useRef(null);
29
+ const renderStartTimeRef = useRef(0);
30
+ const highlightCountRef = useRef(0);
31
+ const frozenRef = useRef(isFrozen);
32
+
33
+ // Keep ref in sync with state for use in interval callback
34
+ frozenRef.current = isFrozen;
35
+
36
+ // Track render start time
37
+ if (PerformanceLogger.isEnabled()) {
38
+ renderStartTimeRef.current = performance.now();
39
+ highlightCountRef.current = highlights.length;
40
+ }
41
+
42
+ // Measure render completion time using useLayoutEffect (runs after DOM mutations)
43
+ useLayoutEffect(() => {
44
+ if (PerformanceLogger.isEnabled() && renderStartTimeRef.current > 0 && highlightCountRef.current > 0) {
45
+ const renderTime = performance.now() - renderStartTimeRef.current;
46
+ // Mark end-to-end timing (for benchmark recording only - no console logs)
47
+ markOverlayRendered(highlightCountRef.current, renderTime);
48
+ }
49
+ });
50
+
51
+ // Subscribe to freeze state changes
52
+ useEffect(() => {
53
+ const unsubscribe = HighlightUpdatesController.subscribeToFreeze(frozen => {
54
+ setIsFrozen(frozen);
55
+ });
56
+ return unsubscribe;
57
+ }, []);
58
+
59
+ // Subscribe to filter changes - refresh frozen highlights when filters change
60
+ useEffect(() => {
61
+ const unsubscribe = RenderTracker.subscribeToFilters(() => {
62
+ // When filters change, filter out highlights that no longer match
63
+ setHighlights(prev => {
64
+ return prev.filter(highlight => {
65
+ // Look up the render by nativeTag
66
+ const render = RenderTracker.getRender(String(highlight.id));
67
+ if (!render) {
68
+ // If render not found, keep the highlight (it might be from a different source)
69
+ return true;
70
+ }
71
+ // Check if the render should still be shown based on new filters
72
+ return RenderTracker.shouldShowRender(render);
73
+ });
74
+ });
75
+ });
76
+ return unsubscribe;
77
+ }, []);
78
+
79
+ // Subscribe to spotlight changes - show which component is being viewed in detail
80
+ useEffect(() => {
81
+ HighlightUpdatesController.setSpotlightCallback(tag => {
82
+ setSpotlightTag(tag);
83
+ });
84
+ return () => {
85
+ HighlightUpdatesController.setSpotlightCallback(null);
86
+ };
87
+ }, []);
88
+
89
+ // Callback to add new highlights
90
+ const addHighlights = useCallback(newRects => {
91
+ const now = Date.now();
92
+ const timestampedRects = newRects.map(rect => ({
93
+ ...rect,
94
+ timestamp: now
95
+ }));
96
+ setHighlights(prev => {
97
+ // Merge new highlights, replacing any with same id
98
+ const updated = [...prev];
99
+ for (const newRect of timestampedRects) {
100
+ const existingIndex = updated.findIndex(r => r.id === newRect.id);
101
+ if (existingIndex >= 0) {
102
+ updated[existingIndex] = newRect;
103
+ } else {
104
+ updated.push(newRect);
105
+ }
106
+ }
107
+ return updated;
108
+ });
109
+ }, []);
110
+
111
+ // Register the callback with the controller
112
+ useEffect(() => {
113
+ HighlightUpdatesController.setHighlightCallback(addHighlights);
114
+
115
+ // Cleanup timer to remove old highlights
116
+ // When frozen, skip cleanup to keep highlights visible indefinitely
117
+ cleanupTimerRef.current = setInterval(() => {
118
+ // Check frozen state via ref (doesn't cause re-subscription)
119
+ if (frozenRef.current) {
120
+ return; // Skip cleanup when frozen
121
+ }
122
+ const now = Date.now();
123
+ setHighlights(prev => prev.filter(rect => now - rect.timestamp < HIGHLIGHT_DURATION));
124
+ }, 50);
125
+ return () => {
126
+ HighlightUpdatesController.setHighlightCallback(null);
127
+ if (cleanupTimerRef.current) {
128
+ clearInterval(cleanupTimerRef.current);
129
+ }
130
+ };
131
+ }, [addHighlights]);
132
+
133
+ // Check if badge press handling is enabled (via props or controller)
134
+ const hasBadgePressHandler = onBadgePress || HighlightUpdatesController.getBadgePressCallback();
135
+
136
+ // Handle badge press - navigate to detail view for this component
137
+ const handleBadgePress = useCallback(nativeTag => {
138
+ // First try the prop callback
139
+ if (onBadgePress) {
140
+ onBadgePress(nativeTag);
141
+ } else {
142
+ // Fall back to controller callback
143
+ HighlightUpdatesController.handleBadgePress(nativeTag);
144
+ }
145
+ }, [onBadgePress]);
146
+
147
+ // Get spotlight render info if we have a spotlight active
148
+ const spotlightRender = spotlightTag ? RenderTracker.getRender(String(spotlightTag)) : null;
149
+
150
+ // Render nothing if no highlights and no spotlight
151
+ if (highlights.length === 0 && !spotlightRender?.measurements) {
152
+ return null;
153
+ }
154
+ return /*#__PURE__*/_jsxs(View, {
155
+ style: styles.overlay,
156
+ pointerEvents: "box-none",
157
+ nativeID: "highlight-updates-overlay",
158
+ children: [spotlightRender?.measurements && /*#__PURE__*/_jsxs(_Fragment, {
159
+ children: [/*#__PURE__*/_jsx(View, {
160
+ pointerEvents: "none",
161
+ nativeID: "__spotlight_highlight__",
162
+ style: [styles.spotlightHighlight, {
163
+ // Offset by border width so border renders outside the component bounds
164
+ left: spotlightRender.measurements.x - 3,
165
+ top: spotlightRender.measurements.y - 3,
166
+ width: spotlightRender.measurements.width + 6,
167
+ height: spotlightRender.measurements.height + 6
168
+ }]
169
+ }), /*#__PURE__*/_jsx(View, {
170
+ pointerEvents: "none",
171
+ style: [styles.spotlightLabel, {
172
+ left: spotlightRender.measurements.x,
173
+ top: spotlightRender.measurements.y + spotlightRender.measurements.height + 4
174
+ }],
175
+ children: /*#__PURE__*/_jsx(Text, {
176
+ style: styles.spotlightLabelText,
177
+ children: spotlightRender.componentName || spotlightRender.displayName || spotlightRender.viewType
178
+ })
179
+ })]
180
+ }), highlights.map(rect => /*#__PURE__*/_jsx(View, {
181
+ pointerEvents: "box-none",
182
+ nativeID: `__highlight_rect_${rect.id}__`,
183
+ style: [styles.highlight, {
184
+ left: rect.x,
185
+ top: rect.y,
186
+ width: rect.width,
187
+ height: rect.height,
188
+ borderColor: rect.color
189
+ }],
190
+ children: rect.count > 0 && /*#__PURE__*/_jsx(View, {
191
+ style: [styles.badge, {
192
+ backgroundColor: rect.color
193
+ }],
194
+ nativeID: `__highlight_badge_${rect.id}__`,
195
+ pointerEvents: hasBadgePressHandler ? "auto" : "none",
196
+ hitSlop: {
197
+ top: 8,
198
+ bottom: 8,
199
+ left: 8,
200
+ right: 8
201
+ },
202
+ onStartShouldSetResponder: () => !!hasBadgePressHandler
203
+ // Fire on touch-DOWN: on churning screens the badge views are
204
+ // torn down and recreated between finger-down and finger-up
205
+ // (every highlight event rebuilds the boxes), which kills the
206
+ // responder before a release can fire. Grant fires immediately.
207
+ ,
208
+ onResponderGrant: () => handleBadgePress(rect.id),
209
+ children: /*#__PURE__*/_jsx(Text, {
210
+ style: styles.badgeText,
211
+ nativeID: `__highlight_text_${rect.id}__`,
212
+ children: rect.count
213
+ })
214
+ })
215
+ }, `highlight-${rect.id}`))]
216
+ });
217
+ }
218
+ const styles = StyleSheet.create({
219
+ overlay: {
220
+ position: "absolute",
221
+ top: 0,
222
+ left: 0,
223
+ right: 0,
224
+ bottom: 0,
225
+ zIndex: 999999,
226
+ elevation: 999999,
227
+ borderWidth: 0
228
+ },
229
+ highlight: {
230
+ position: "absolute",
231
+ borderWidth: 2,
232
+ borderStyle: "solid",
233
+ backgroundColor: "transparent"
234
+ },
235
+ badge: {
236
+ position: "absolute",
237
+ top: 0,
238
+ right: 0,
239
+ height: 14,
240
+ borderRadius: 0,
241
+ justifyContent: "center",
242
+ alignItems: "center",
243
+ paddingHorizontal: 2
244
+ },
245
+ badgeText: {
246
+ color: "#000",
247
+ fontSize: 9,
248
+ fontWeight: "bold"
249
+ },
250
+ // Spotlight highlight styles
251
+ spotlightHighlight: {
252
+ position: "absolute",
253
+ borderWidth: 2,
254
+ borderStyle: "dashed",
255
+ borderColor: night.color.accent,
256
+ backgroundColor: "transparent"
257
+ },
258
+ spotlightLabel: {
259
+ position: "absolute",
260
+ backgroundColor: night.color.surface,
261
+ borderWidth: 1,
262
+ borderColor: night.color.accent,
263
+ paddingHorizontal: 8,
264
+ paddingVertical: 3,
265
+ borderRadius: 4
266
+ },
267
+ spotlightLabelText: {
268
+ color: night.color.accent,
269
+ fontSize: 11,
270
+ fontWeight: "600",
271
+ fontFamily: monoFont
272
+ }
273
+ });
274
+ export default HighlightUpdatesOverlay;