@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
|
@@ -15,7 +15,7 @@ import React, { useState, useEffect, useRef, useCallback, memo, useMemo } from "
|
|
|
15
15
|
import { View, Text, FlatList, StyleSheet } from "react-native";
|
|
16
16
|
import { RenderTracker } from "../utils/RenderTracker";
|
|
17
17
|
import { RenderListItem } from "./RenderListItem";
|
|
18
|
-
import { Activity, Lock,
|
|
18
|
+
import { Activity, Lock, night, useLimit } from "@buoy-gg/shared-ui";
|
|
19
19
|
|
|
20
20
|
// Free tier limit for tracked components
|
|
21
21
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -90,7 +90,7 @@ function IsolatedRenderListInner({
|
|
|
90
90
|
style: styles.lockedBanner,
|
|
91
91
|
children: [/*#__PURE__*/_jsx(Lock, {
|
|
92
92
|
size: 14,
|
|
93
|
-
color:
|
|
93
|
+
color: night.color.warning
|
|
94
94
|
}), /*#__PURE__*/_jsxs(Text, {
|
|
95
95
|
style: styles.lockedBannerText,
|
|
96
96
|
children: [lockedComponentCount, " more ", lockedComponentCount === 1 ? 'component' : 'components', " locked"]
|
|
@@ -107,7 +107,7 @@ function IsolatedRenderListInner({
|
|
|
107
107
|
style: styles.emptyState,
|
|
108
108
|
children: [/*#__PURE__*/_jsx(Activity, {
|
|
109
109
|
size: 32,
|
|
110
|
-
color:
|
|
110
|
+
color: night.color.textTertiary
|
|
111
111
|
}), /*#__PURE__*/_jsx(Text, {
|
|
112
112
|
style: styles.emptyTitle,
|
|
113
113
|
children: "No renders tracked"
|
|
@@ -143,14 +143,14 @@ const styles = StyleSheet.create({
|
|
|
143
143
|
paddingVertical: 40
|
|
144
144
|
},
|
|
145
145
|
emptyTitle: {
|
|
146
|
-
color:
|
|
146
|
+
color: night.color.text,
|
|
147
147
|
fontSize: 14,
|
|
148
148
|
fontWeight: "600",
|
|
149
149
|
marginTop: 12,
|
|
150
150
|
marginBottom: 6
|
|
151
151
|
},
|
|
152
152
|
emptyText: {
|
|
153
|
-
color:
|
|
153
|
+
color: night.color.textTertiary,
|
|
154
154
|
fontSize: 12,
|
|
155
155
|
textAlign: "center"
|
|
156
156
|
},
|
|
@@ -164,12 +164,12 @@ const styles = StyleSheet.create({
|
|
|
164
164
|
gap: 8
|
|
165
165
|
},
|
|
166
166
|
lockedBannerText: {
|
|
167
|
-
color:
|
|
167
|
+
color: night.color.warning,
|
|
168
168
|
fontSize: 13,
|
|
169
169
|
fontWeight: "500"
|
|
170
170
|
},
|
|
171
171
|
lockedBannerSubtext: {
|
|
172
|
-
color:
|
|
172
|
+
color: night.color.textTertiary,
|
|
173
173
|
fontSize: 12
|
|
174
174
|
}
|
|
175
175
|
});
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
import React, { memo } from "react";
|
|
13
13
|
import { View, TouchableOpacity, TextInput, StyleSheet } from "react-native";
|
|
14
|
-
import { Trash2, Search, Filter, X, Pause, Copy, ModalHeader, TabSelector,
|
|
14
|
+
import { Trash2, Search, Filter, X, Pause, Copy, ModalHeader, TabSelector, night, PowerToggleButton } from "@buoy-gg/shared-ui";
|
|
15
15
|
import { StatsDisplay } from "./StatsDisplay";
|
|
16
16
|
|
|
17
17
|
// ============================================================================
|
|
@@ -30,11 +30,11 @@ const SearchSectionInner = /*#__PURE__*/memo(function SearchSection({
|
|
|
30
30
|
style: styles.headerSearchContainer,
|
|
31
31
|
children: [/*#__PURE__*/_jsx(Search, {
|
|
32
32
|
size: 14,
|
|
33
|
-
color:
|
|
33
|
+
color: night.color.textSecondary
|
|
34
34
|
}), /*#__PURE__*/_jsx(TextInput, {
|
|
35
35
|
style: styles.headerSearchInput,
|
|
36
36
|
placeholder: "Search testID, nativeID, component...",
|
|
37
|
-
placeholderTextColor:
|
|
37
|
+
placeholderTextColor: night.color.placeholder,
|
|
38
38
|
value: searchText,
|
|
39
39
|
onChangeText: onSearchChange,
|
|
40
40
|
onSubmitEditing: onSearchClose,
|
|
@@ -52,7 +52,7 @@ const SearchSectionInner = /*#__PURE__*/memo(function SearchSection({
|
|
|
52
52
|
style: styles.headerSearchClear,
|
|
53
53
|
children: /*#__PURE__*/_jsx(X, {
|
|
54
54
|
size: 14,
|
|
55
|
-
color:
|
|
55
|
+
color: night.color.textSecondary
|
|
56
56
|
})
|
|
57
57
|
}) : null]
|
|
58
58
|
});
|
|
@@ -81,14 +81,14 @@ const HeaderActionsInner = /*#__PURE__*/memo(function HeaderActions({
|
|
|
81
81
|
style: styles.headerActionButton,
|
|
82
82
|
children: /*#__PURE__*/_jsx(Search, {
|
|
83
83
|
size: 14,
|
|
84
|
-
color:
|
|
84
|
+
color: night.color.textSecondary
|
|
85
85
|
})
|
|
86
86
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
87
87
|
onPress: onFilterToggle,
|
|
88
88
|
style: [styles.headerActionButton, activeFilterCount > 0 && styles.activeFilterButton],
|
|
89
89
|
children: /*#__PURE__*/_jsx(Filter, {
|
|
90
90
|
size: 14,
|
|
91
|
-
color: activeFilterCount > 0 ?
|
|
91
|
+
color: activeFilterCount > 0 ? night.color.accent : night.color.textTertiary
|
|
92
92
|
})
|
|
93
93
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
94
94
|
onPress: onOpenCopySettings,
|
|
@@ -97,7 +97,7 @@ const HeaderActionsInner = /*#__PURE__*/memo(function HeaderActions({
|
|
|
97
97
|
accessibilityLabel: "Open copy settings",
|
|
98
98
|
children: /*#__PURE__*/_jsx(Copy, {
|
|
99
99
|
size: 14,
|
|
100
|
-
color: hasRenders ?
|
|
100
|
+
color: hasRenders ? night.color.textSecondary : night.color.textTertiary
|
|
101
101
|
})
|
|
102
102
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
103
103
|
onPress: onToggleFreeze,
|
|
@@ -105,7 +105,7 @@ const HeaderActionsInner = /*#__PURE__*/memo(function HeaderActions({
|
|
|
105
105
|
disabled: !isTracking,
|
|
106
106
|
children: /*#__PURE__*/_jsx(Pause, {
|
|
107
107
|
size: 14,
|
|
108
|
-
color: !isTracking ?
|
|
108
|
+
color: !isTracking ? night.color.textTertiary : isFrozen ? night.color.accent : night.color.textTertiary
|
|
109
109
|
})
|
|
110
110
|
}), /*#__PURE__*/_jsx(PowerToggleButton, {
|
|
111
111
|
isEnabled: isTracking,
|
|
@@ -117,7 +117,7 @@ const HeaderActionsInner = /*#__PURE__*/memo(function HeaderActions({
|
|
|
117
117
|
disabled: !hasRenders,
|
|
118
118
|
children: /*#__PURE__*/_jsx(Trash2, {
|
|
119
119
|
size: 14,
|
|
120
|
-
color: hasRenders ?
|
|
120
|
+
color: hasRenders ? night.color.textTertiary : night.color.textTertiary
|
|
121
121
|
})
|
|
122
122
|
})]
|
|
123
123
|
});
|
|
@@ -262,16 +262,16 @@ const styles = StyleSheet.create({
|
|
|
262
262
|
headerSearchContainer: {
|
|
263
263
|
flexDirection: "row",
|
|
264
264
|
alignItems: "center",
|
|
265
|
-
backgroundColor:
|
|
265
|
+
backgroundColor: night.color.surfaceElevated,
|
|
266
266
|
borderRadius: 10,
|
|
267
267
|
borderWidth: 1,
|
|
268
|
-
borderColor:
|
|
268
|
+
borderColor: night.color.border,
|
|
269
269
|
paddingHorizontal: 12,
|
|
270
270
|
paddingVertical: 5
|
|
271
271
|
},
|
|
272
272
|
headerSearchInput: {
|
|
273
273
|
flex: 1,
|
|
274
|
-
color:
|
|
274
|
+
color: night.color.text,
|
|
275
275
|
fontSize: 13,
|
|
276
276
|
marginLeft: 6,
|
|
277
277
|
paddingVertical: 2
|
|
@@ -284,9 +284,9 @@ const styles = StyleSheet.create({
|
|
|
284
284
|
width: 32,
|
|
285
285
|
height: 32,
|
|
286
286
|
borderRadius: 8,
|
|
287
|
-
backgroundColor:
|
|
287
|
+
backgroundColor: night.color.buttonSurface,
|
|
288
288
|
borderWidth: 1,
|
|
289
|
-
borderColor:
|
|
289
|
+
borderColor: night.color.border,
|
|
290
290
|
alignItems: "center",
|
|
291
291
|
justifyContent: "center"
|
|
292
292
|
},
|
|
@@ -294,11 +294,11 @@ const styles = StyleSheet.create({
|
|
|
294
294
|
opacity: 0.55
|
|
295
295
|
},
|
|
296
296
|
activeFilterButton: {
|
|
297
|
-
backgroundColor:
|
|
298
|
-
borderColor:
|
|
297
|
+
backgroundColor: night.color.accentSoft,
|
|
298
|
+
borderColor: night.color.accentBorderStrong
|
|
299
299
|
},
|
|
300
300
|
freezeButton: {
|
|
301
|
-
backgroundColor:
|
|
302
|
-
borderColor:
|
|
301
|
+
backgroundColor: night.color.accentSoft,
|
|
302
|
+
borderColor: night.color.accentBorderStrong
|
|
303
303
|
}
|
|
304
304
|
});
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
import React from "react";
|
|
15
15
|
import { View, Text, StyleSheet } from "react-native";
|
|
16
|
-
import { buoyColors } from "@buoy-gg/shared-ui";
|
|
16
|
+
import { buoyColors, night } from "@buoy-gg/shared-ui";
|
|
17
17
|
|
|
18
18
|
// Badge configuration for each cause type
|
|
19
19
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -291,19 +291,19 @@ export function EnhancedCauseDisplay({
|
|
|
291
291
|
style: styles.enhancedSection,
|
|
292
292
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
293
293
|
style: [styles.enhancedSectionTitle, {
|
|
294
|
-
color:
|
|
294
|
+
color: night.color.textTertiary
|
|
295
295
|
}],
|
|
296
296
|
children: "Reference Changes (optimization opportunity):"
|
|
297
297
|
}), refOnlyChanges.map((key, index) => /*#__PURE__*/_jsxs(View, {
|
|
298
298
|
style: styles.enhancedChangeRow,
|
|
299
299
|
children: [/*#__PURE__*/_jsx(Text, {
|
|
300
300
|
style: [styles.enhancedChangeIcon, {
|
|
301
|
-
color:
|
|
301
|
+
color: night.color.textTertiary
|
|
302
302
|
}],
|
|
303
303
|
children: "\u25CB"
|
|
304
304
|
}), /*#__PURE__*/_jsx(Text, {
|
|
305
305
|
style: [styles.enhancedChangeText, {
|
|
306
|
-
color:
|
|
306
|
+
color: night.color.textTertiary
|
|
307
307
|
}],
|
|
308
308
|
children: key
|
|
309
309
|
})]
|
|
@@ -338,7 +338,7 @@ const styles = StyleSheet.create({
|
|
|
338
338
|
componentBadge: {
|
|
339
339
|
borderStyle: "dashed",
|
|
340
340
|
borderWidth: 1,
|
|
341
|
-
borderColor:
|
|
341
|
+
borderColor: night.color.border
|
|
342
342
|
},
|
|
343
343
|
badgeText: {
|
|
344
344
|
fontSize: 10,
|
|
@@ -353,14 +353,14 @@ const styles = StyleSheet.create({
|
|
|
353
353
|
},
|
|
354
354
|
arrowText: {
|
|
355
355
|
fontSize: 10,
|
|
356
|
-
color:
|
|
356
|
+
color: night.color.textTertiary
|
|
357
357
|
},
|
|
358
358
|
arrowTextCompact: {
|
|
359
359
|
fontSize: 9
|
|
360
360
|
},
|
|
361
361
|
keysText: {
|
|
362
362
|
fontSize: 11,
|
|
363
|
-
color:
|
|
363
|
+
color: night.color.textSecondary,
|
|
364
364
|
fontFamily: "monospace",
|
|
365
365
|
flex: 1
|
|
366
366
|
},
|
|
@@ -380,22 +380,22 @@ const styles = StyleSheet.create({
|
|
|
380
380
|
twoLevelLabel: {
|
|
381
381
|
fontSize: 11,
|
|
382
382
|
fontWeight: "600",
|
|
383
|
-
color:
|
|
383
|
+
color: night.color.textSecondary,
|
|
384
384
|
minWidth: 70
|
|
385
385
|
},
|
|
386
386
|
twoLevelName: {
|
|
387
387
|
fontSize: 11,
|
|
388
388
|
fontWeight: "600",
|
|
389
|
-
color:
|
|
389
|
+
color: night.color.text,
|
|
390
390
|
fontFamily: "monospace"
|
|
391
391
|
},
|
|
392
392
|
twoLevelText: {
|
|
393
393
|
fontSize: 11,
|
|
394
|
-
color:
|
|
394
|
+
color: night.color.textSecondary
|
|
395
395
|
},
|
|
396
396
|
twoLevelKeys: {
|
|
397
397
|
fontSize: 10,
|
|
398
|
-
color:
|
|
398
|
+
color: night.color.textSecondary,
|
|
399
399
|
fontFamily: "monospace"
|
|
400
400
|
},
|
|
401
401
|
// Enhanced cause display styles (Phase 5)
|
|
@@ -411,11 +411,12 @@ const styles = StyleSheet.create({
|
|
|
411
411
|
enhancedComponentName: {
|
|
412
412
|
fontSize: 14,
|
|
413
413
|
fontWeight: "700",
|
|
414
|
-
color:
|
|
414
|
+
color: night.color.text,
|
|
415
415
|
fontFamily: "monospace"
|
|
416
416
|
},
|
|
417
417
|
enhancedNativeTag: {
|
|
418
|
-
|
|
418
|
+
// Inset display chip — the night track color.
|
|
419
|
+
backgroundColor: night.color.bg,
|
|
419
420
|
paddingVertical: 2,
|
|
420
421
|
paddingHorizontal: 6,
|
|
421
422
|
borderRadius: 4
|
|
@@ -423,7 +424,7 @@ const styles = StyleSheet.create({
|
|
|
423
424
|
enhancedNativeTagText: {
|
|
424
425
|
fontSize: 10,
|
|
425
426
|
fontWeight: "600",
|
|
426
|
-
color:
|
|
427
|
+
color: night.color.textTertiary,
|
|
427
428
|
fontFamily: "monospace"
|
|
428
429
|
},
|
|
429
430
|
enhancedFlowContainer: {
|
|
@@ -432,13 +433,14 @@ const styles = StyleSheet.create({
|
|
|
432
433
|
gap: 8,
|
|
433
434
|
paddingVertical: 8,
|
|
434
435
|
paddingHorizontal: 12,
|
|
435
|
-
|
|
436
|
+
// Inset display box — the night track color.
|
|
437
|
+
backgroundColor: night.color.bg,
|
|
436
438
|
borderRadius: 6
|
|
437
439
|
},
|
|
438
440
|
enhancedFlowLabel: {
|
|
439
441
|
fontSize: 11,
|
|
440
442
|
fontWeight: "600",
|
|
441
|
-
color:
|
|
443
|
+
color: night.color.textSecondary
|
|
442
444
|
},
|
|
443
445
|
enhancedFlowBadge: {
|
|
444
446
|
paddingVertical: 3,
|
|
@@ -451,7 +453,7 @@ const styles = StyleSheet.create({
|
|
|
451
453
|
},
|
|
452
454
|
enhancedFlowArrow: {
|
|
453
455
|
fontSize: 14,
|
|
454
|
-
color:
|
|
456
|
+
color: night.color.textTertiary,
|
|
455
457
|
fontWeight: "300"
|
|
456
458
|
},
|
|
457
459
|
enhancedSection: {
|
|
@@ -460,7 +462,7 @@ const styles = StyleSheet.create({
|
|
|
460
462
|
enhancedSectionTitle: {
|
|
461
463
|
fontSize: 11,
|
|
462
464
|
fontWeight: "600",
|
|
463
|
-
color:
|
|
465
|
+
color: night.color.textSecondary,
|
|
464
466
|
letterSpacing: 0.3
|
|
465
467
|
},
|
|
466
468
|
enhancedChangeRow: {
|
|
@@ -471,19 +473,19 @@ const styles = StyleSheet.create({
|
|
|
471
473
|
},
|
|
472
474
|
enhancedChangeIcon: {
|
|
473
475
|
fontSize: 12,
|
|
474
|
-
color:
|
|
476
|
+
color: night.color.warning,
|
|
475
477
|
fontFamily: "monospace",
|
|
476
478
|
width: 16
|
|
477
479
|
},
|
|
478
480
|
enhancedChangeText: {
|
|
479
481
|
fontSize: 12,
|
|
480
|
-
color:
|
|
482
|
+
color: night.color.text,
|
|
481
483
|
fontFamily: "monospace",
|
|
482
484
|
flex: 1
|
|
483
485
|
},
|
|
484
486
|
enhancedNoChanges: {
|
|
485
487
|
fontSize: 12,
|
|
486
|
-
color:
|
|
488
|
+
color: night.color.textTertiary,
|
|
487
489
|
fontStyle: "italic",
|
|
488
490
|
paddingLeft: 4
|
|
489
491
|
}
|
|
@@ -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
|
});
|