@buoy-gg/highlight-updates 7.0.25 → 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
|
@@ -26,7 +26,7 @@ const IDENTIFIER_CONFIG = exports.IDENTIFIER_CONFIG = {
|
|
|
26
26
|
viewType: {
|
|
27
27
|
label: "ViewType",
|
|
28
28
|
shortLabel: "View",
|
|
29
|
-
color: _sharedUi.
|
|
29
|
+
color: _sharedUi.night.color.accent,
|
|
30
30
|
icon: _sharedUi.Box
|
|
31
31
|
},
|
|
32
32
|
testID: {
|
|
@@ -199,7 +199,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
199
199
|
},
|
|
200
200
|
value: {
|
|
201
201
|
fontSize: 12,
|
|
202
|
-
color: _sharedUi.
|
|
202
|
+
color: _sharedUi.night.color.text,
|
|
203
203
|
fontFamily: "monospace",
|
|
204
204
|
flex: 1
|
|
205
205
|
},
|
|
@@ -95,7 +95,7 @@ function IsolatedRenderListInner({
|
|
|
95
95
|
style: styles.lockedBanner,
|
|
96
96
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Lock, {
|
|
97
97
|
size: 14,
|
|
98
|
-
color: _sharedUi.
|
|
98
|
+
color: _sharedUi.night.color.warning
|
|
99
99
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
100
100
|
style: styles.lockedBannerText,
|
|
101
101
|
children: [lockedComponentCount, " more ", lockedComponentCount === 1 ? 'component' : 'components', " locked"]
|
|
@@ -112,7 +112,7 @@ function IsolatedRenderListInner({
|
|
|
112
112
|
style: styles.emptyState,
|
|
113
113
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Activity, {
|
|
114
114
|
size: 32,
|
|
115
|
-
color: _sharedUi.
|
|
115
|
+
color: _sharedUi.night.color.textTertiary
|
|
116
116
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
117
117
|
style: styles.emptyTitle,
|
|
118
118
|
children: "No renders tracked"
|
|
@@ -148,14 +148,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
148
148
|
paddingVertical: 40
|
|
149
149
|
},
|
|
150
150
|
emptyTitle: {
|
|
151
|
-
color: _sharedUi.
|
|
151
|
+
color: _sharedUi.night.color.text,
|
|
152
152
|
fontSize: 14,
|
|
153
153
|
fontWeight: "600",
|
|
154
154
|
marginTop: 12,
|
|
155
155
|
marginBottom: 6
|
|
156
156
|
},
|
|
157
157
|
emptyText: {
|
|
158
|
-
color: _sharedUi.
|
|
158
|
+
color: _sharedUi.night.color.textTertiary,
|
|
159
159
|
fontSize: 12,
|
|
160
160
|
textAlign: "center"
|
|
161
161
|
},
|
|
@@ -169,12 +169,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
169
169
|
gap: 8
|
|
170
170
|
},
|
|
171
171
|
lockedBannerText: {
|
|
172
|
-
color: _sharedUi.
|
|
172
|
+
color: _sharedUi.night.color.warning,
|
|
173
173
|
fontSize: 13,
|
|
174
174
|
fontWeight: "500"
|
|
175
175
|
},
|
|
176
176
|
lockedBannerSubtext: {
|
|
177
|
-
color: _sharedUi.
|
|
177
|
+
color: _sharedUi.night.color.textTertiary,
|
|
178
178
|
fontSize: 12
|
|
179
179
|
}
|
|
180
180
|
});
|
|
@@ -35,11 +35,11 @@ const SearchSectionInner = /*#__PURE__*/(0, _react.memo)(function SearchSection(
|
|
|
35
35
|
style: styles.headerSearchContainer,
|
|
36
36
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Search, {
|
|
37
37
|
size: 14,
|
|
38
|
-
color: _sharedUi.
|
|
38
|
+
color: _sharedUi.night.color.textSecondary
|
|
39
39
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
40
40
|
style: styles.headerSearchInput,
|
|
41
41
|
placeholder: "Search testID, nativeID, component...",
|
|
42
|
-
placeholderTextColor: _sharedUi.
|
|
42
|
+
placeholderTextColor: _sharedUi.night.color.placeholder,
|
|
43
43
|
value: searchText,
|
|
44
44
|
onChangeText: onSearchChange,
|
|
45
45
|
onSubmitEditing: onSearchClose,
|
|
@@ -57,7 +57,7 @@ const SearchSectionInner = /*#__PURE__*/(0, _react.memo)(function SearchSection(
|
|
|
57
57
|
style: styles.headerSearchClear,
|
|
58
58
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.X, {
|
|
59
59
|
size: 14,
|
|
60
|
-
color: _sharedUi.
|
|
60
|
+
color: _sharedUi.night.color.textSecondary
|
|
61
61
|
})
|
|
62
62
|
}) : null]
|
|
63
63
|
});
|
|
@@ -86,14 +86,14 @@ const HeaderActionsInner = /*#__PURE__*/(0, _react.memo)(function HeaderActions(
|
|
|
86
86
|
style: styles.headerActionButton,
|
|
87
87
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Search, {
|
|
88
88
|
size: 14,
|
|
89
|
-
color: _sharedUi.
|
|
89
|
+
color: _sharedUi.night.color.textSecondary
|
|
90
90
|
})
|
|
91
91
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
92
92
|
onPress: onFilterToggle,
|
|
93
93
|
style: [styles.headerActionButton, activeFilterCount > 0 && styles.activeFilterButton],
|
|
94
94
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Filter, {
|
|
95
95
|
size: 14,
|
|
96
|
-
color: activeFilterCount > 0 ? _sharedUi.
|
|
96
|
+
color: activeFilterCount > 0 ? _sharedUi.night.color.accent : _sharedUi.night.color.textTertiary
|
|
97
97
|
})
|
|
98
98
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
99
99
|
onPress: onOpenCopySettings,
|
|
@@ -102,7 +102,7 @@ const HeaderActionsInner = /*#__PURE__*/(0, _react.memo)(function HeaderActions(
|
|
|
102
102
|
accessibilityLabel: "Open copy settings",
|
|
103
103
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Copy, {
|
|
104
104
|
size: 14,
|
|
105
|
-
color: hasRenders ? _sharedUi.
|
|
105
|
+
color: hasRenders ? _sharedUi.night.color.textSecondary : _sharedUi.night.color.textTertiary
|
|
106
106
|
})
|
|
107
107
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
108
108
|
onPress: onToggleFreeze,
|
|
@@ -110,7 +110,7 @@ const HeaderActionsInner = /*#__PURE__*/(0, _react.memo)(function HeaderActions(
|
|
|
110
110
|
disabled: !isTracking,
|
|
111
111
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Pause, {
|
|
112
112
|
size: 14,
|
|
113
|
-
color: !isTracking ? _sharedUi.
|
|
113
|
+
color: !isTracking ? _sharedUi.night.color.textTertiary : isFrozen ? _sharedUi.night.color.accent : _sharedUi.night.color.textTertiary
|
|
114
114
|
})
|
|
115
115
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.PowerToggleButton, {
|
|
116
116
|
isEnabled: isTracking,
|
|
@@ -122,7 +122,7 @@ const HeaderActionsInner = /*#__PURE__*/(0, _react.memo)(function HeaderActions(
|
|
|
122
122
|
disabled: !hasRenders,
|
|
123
123
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Trash2, {
|
|
124
124
|
size: 14,
|
|
125
|
-
color: hasRenders ? _sharedUi.
|
|
125
|
+
color: hasRenders ? _sharedUi.night.color.textTertiary : _sharedUi.night.color.textTertiary
|
|
126
126
|
})
|
|
127
127
|
})]
|
|
128
128
|
});
|
|
@@ -267,16 +267,16 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
267
267
|
headerSearchContainer: {
|
|
268
268
|
flexDirection: "row",
|
|
269
269
|
alignItems: "center",
|
|
270
|
-
backgroundColor: _sharedUi.
|
|
270
|
+
backgroundColor: _sharedUi.night.color.surfaceElevated,
|
|
271
271
|
borderRadius: 10,
|
|
272
272
|
borderWidth: 1,
|
|
273
|
-
borderColor: _sharedUi.
|
|
273
|
+
borderColor: _sharedUi.night.color.border,
|
|
274
274
|
paddingHorizontal: 12,
|
|
275
275
|
paddingVertical: 5
|
|
276
276
|
},
|
|
277
277
|
headerSearchInput: {
|
|
278
278
|
flex: 1,
|
|
279
|
-
color: _sharedUi.
|
|
279
|
+
color: _sharedUi.night.color.text,
|
|
280
280
|
fontSize: 13,
|
|
281
281
|
marginLeft: 6,
|
|
282
282
|
paddingVertical: 2
|
|
@@ -289,9 +289,9 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
289
289
|
width: 32,
|
|
290
290
|
height: 32,
|
|
291
291
|
borderRadius: 8,
|
|
292
|
-
backgroundColor: _sharedUi.
|
|
292
|
+
backgroundColor: _sharedUi.night.color.buttonSurface,
|
|
293
293
|
borderWidth: 1,
|
|
294
|
-
borderColor: _sharedUi.
|
|
294
|
+
borderColor: _sharedUi.night.color.border,
|
|
295
295
|
alignItems: "center",
|
|
296
296
|
justifyContent: "center"
|
|
297
297
|
},
|
|
@@ -299,11 +299,11 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
299
299
|
opacity: 0.55
|
|
300
300
|
},
|
|
301
301
|
activeFilterButton: {
|
|
302
|
-
backgroundColor: _sharedUi.
|
|
303
|
-
borderColor: _sharedUi.
|
|
302
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
303
|
+
borderColor: _sharedUi.night.color.accentBorderStrong
|
|
304
304
|
},
|
|
305
305
|
freezeButton: {
|
|
306
|
-
backgroundColor: _sharedUi.
|
|
307
|
-
borderColor: _sharedUi.
|
|
306
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
307
|
+
borderColor: _sharedUi.night.color.accentBorderStrong
|
|
308
308
|
}
|
|
309
309
|
});
|
|
@@ -300,19 +300,19 @@ function EnhancedCauseDisplay({
|
|
|
300
300
|
style: styles.enhancedSection,
|
|
301
301
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
302
302
|
style: [styles.enhancedSectionTitle, {
|
|
303
|
-
color: _sharedUi.
|
|
303
|
+
color: _sharedUi.night.color.textTertiary
|
|
304
304
|
}],
|
|
305
305
|
children: "Reference Changes (optimization opportunity):"
|
|
306
306
|
}), refOnlyChanges.map((key, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
307
307
|
style: styles.enhancedChangeRow,
|
|
308
308
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
309
309
|
style: [styles.enhancedChangeIcon, {
|
|
310
|
-
color: _sharedUi.
|
|
310
|
+
color: _sharedUi.night.color.textTertiary
|
|
311
311
|
}],
|
|
312
312
|
children: "\u25CB"
|
|
313
313
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
314
314
|
style: [styles.enhancedChangeText, {
|
|
315
|
-
color: _sharedUi.
|
|
315
|
+
color: _sharedUi.night.color.textTertiary
|
|
316
316
|
}],
|
|
317
317
|
children: key
|
|
318
318
|
})]
|
|
@@ -347,7 +347,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
347
347
|
componentBadge: {
|
|
348
348
|
borderStyle: "dashed",
|
|
349
349
|
borderWidth: 1,
|
|
350
|
-
borderColor: _sharedUi.
|
|
350
|
+
borderColor: _sharedUi.night.color.border
|
|
351
351
|
},
|
|
352
352
|
badgeText: {
|
|
353
353
|
fontSize: 10,
|
|
@@ -362,14 +362,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
362
362
|
},
|
|
363
363
|
arrowText: {
|
|
364
364
|
fontSize: 10,
|
|
365
|
-
color: _sharedUi.
|
|
365
|
+
color: _sharedUi.night.color.textTertiary
|
|
366
366
|
},
|
|
367
367
|
arrowTextCompact: {
|
|
368
368
|
fontSize: 9
|
|
369
369
|
},
|
|
370
370
|
keysText: {
|
|
371
371
|
fontSize: 11,
|
|
372
|
-
color: _sharedUi.
|
|
372
|
+
color: _sharedUi.night.color.textSecondary,
|
|
373
373
|
fontFamily: "monospace",
|
|
374
374
|
flex: 1
|
|
375
375
|
},
|
|
@@ -389,22 +389,22 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
389
389
|
twoLevelLabel: {
|
|
390
390
|
fontSize: 11,
|
|
391
391
|
fontWeight: "600",
|
|
392
|
-
color: _sharedUi.
|
|
392
|
+
color: _sharedUi.night.color.textSecondary,
|
|
393
393
|
minWidth: 70
|
|
394
394
|
},
|
|
395
395
|
twoLevelName: {
|
|
396
396
|
fontSize: 11,
|
|
397
397
|
fontWeight: "600",
|
|
398
|
-
color: _sharedUi.
|
|
398
|
+
color: _sharedUi.night.color.text,
|
|
399
399
|
fontFamily: "monospace"
|
|
400
400
|
},
|
|
401
401
|
twoLevelText: {
|
|
402
402
|
fontSize: 11,
|
|
403
|
-
color: _sharedUi.
|
|
403
|
+
color: _sharedUi.night.color.textSecondary
|
|
404
404
|
},
|
|
405
405
|
twoLevelKeys: {
|
|
406
406
|
fontSize: 10,
|
|
407
|
-
color: _sharedUi.
|
|
407
|
+
color: _sharedUi.night.color.textSecondary,
|
|
408
408
|
fontFamily: "monospace"
|
|
409
409
|
},
|
|
410
410
|
// Enhanced cause display styles (Phase 5)
|
|
@@ -420,11 +420,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
420
420
|
enhancedComponentName: {
|
|
421
421
|
fontSize: 14,
|
|
422
422
|
fontWeight: "700",
|
|
423
|
-
color: _sharedUi.
|
|
423
|
+
color: _sharedUi.night.color.text,
|
|
424
424
|
fontFamily: "monospace"
|
|
425
425
|
},
|
|
426
426
|
enhancedNativeTag: {
|
|
427
|
-
|
|
427
|
+
// Inset display chip — the night track color.
|
|
428
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
428
429
|
paddingVertical: 2,
|
|
429
430
|
paddingHorizontal: 6,
|
|
430
431
|
borderRadius: 4
|
|
@@ -432,7 +433,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
432
433
|
enhancedNativeTagText: {
|
|
433
434
|
fontSize: 10,
|
|
434
435
|
fontWeight: "600",
|
|
435
|
-
color: _sharedUi.
|
|
436
|
+
color: _sharedUi.night.color.textTertiary,
|
|
436
437
|
fontFamily: "monospace"
|
|
437
438
|
},
|
|
438
439
|
enhancedFlowContainer: {
|
|
@@ -441,13 +442,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
441
442
|
gap: 8,
|
|
442
443
|
paddingVertical: 8,
|
|
443
444
|
paddingHorizontal: 12,
|
|
444
|
-
|
|
445
|
+
// Inset display box — the night track color.
|
|
446
|
+
backgroundColor: _sharedUi.night.color.bg,
|
|
445
447
|
borderRadius: 6
|
|
446
448
|
},
|
|
447
449
|
enhancedFlowLabel: {
|
|
448
450
|
fontSize: 11,
|
|
449
451
|
fontWeight: "600",
|
|
450
|
-
color: _sharedUi.
|
|
452
|
+
color: _sharedUi.night.color.textSecondary
|
|
451
453
|
},
|
|
452
454
|
enhancedFlowBadge: {
|
|
453
455
|
paddingVertical: 3,
|
|
@@ -460,7 +462,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
460
462
|
},
|
|
461
463
|
enhancedFlowArrow: {
|
|
462
464
|
fontSize: 14,
|
|
463
|
-
color: _sharedUi.
|
|
465
|
+
color: _sharedUi.night.color.textTertiary,
|
|
464
466
|
fontWeight: "300"
|
|
465
467
|
},
|
|
466
468
|
enhancedSection: {
|
|
@@ -469,7 +471,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
469
471
|
enhancedSectionTitle: {
|
|
470
472
|
fontSize: 11,
|
|
471
473
|
fontWeight: "600",
|
|
472
|
-
color: _sharedUi.
|
|
474
|
+
color: _sharedUi.night.color.textSecondary,
|
|
473
475
|
letterSpacing: 0.3
|
|
474
476
|
},
|
|
475
477
|
enhancedChangeRow: {
|
|
@@ -480,19 +482,19 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
480
482
|
},
|
|
481
483
|
enhancedChangeIcon: {
|
|
482
484
|
fontSize: 12,
|
|
483
|
-
color: _sharedUi.
|
|
485
|
+
color: _sharedUi.night.color.warning,
|
|
484
486
|
fontFamily: "monospace",
|
|
485
487
|
width: 16
|
|
486
488
|
},
|
|
487
489
|
enhancedChangeText: {
|
|
488
490
|
fontSize: 12,
|
|
489
|
-
color: _sharedUi.
|
|
491
|
+
color: _sharedUi.night.color.text,
|
|
490
492
|
fontFamily: "monospace",
|
|
491
493
|
flex: 1
|
|
492
494
|
},
|
|
493
495
|
enhancedNoChanges: {
|
|
494
496
|
fontSize: 12,
|
|
495
|
-
color: _sharedUi.
|
|
497
|
+
color: _sharedUi.night.color.textTertiary,
|
|
496
498
|
fontStyle: "italic",
|
|
497
499
|
paddingLeft: 4
|
|
498
500
|
}
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
529
|
+
color: _sharedUi.night.color.text,
|
|
529
530
|
flexShrink: 1
|
|
530
531
|
},
|
|
531
532
|
nativeTypeBadge: {
|
|
532
|
-
|
|
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.
|
|
542
|
+
color: _sharedUi.night.color.textTertiary,
|
|
541
543
|
fontFamily: "monospace"
|
|
542
544
|
},
|
|
543
545
|
// Answer Card
|
|
544
546
|
answerCard: {
|
|
545
|
-
backgroundColor: _sharedUi.
|
|
547
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
546
548
|
borderRadius: 8,
|
|
547
549
|
borderWidth: 1,
|
|
548
|
-
borderColor: _sharedUi.
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
605
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
602
606
|
borderRadius: 8,
|
|
603
607
|
borderWidth: 1,
|
|
604
|
-
borderColor: _sharedUi.
|
|
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.
|
|
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.
|
|
628
|
+
color: _sharedUi.night.color.textSecondary,
|
|
625
629
|
minWidth: 55
|
|
626
630
|
},
|
|
627
631
|
detailValue: {
|
|
628
632
|
fontSize: 12,
|
|
629
|
-
color: _sharedUi.
|
|
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.
|
|
642
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
639
643
|
borderRadius: 8,
|
|
640
644
|
borderWidth: 1,
|
|
641
|
-
borderColor: _sharedUi.
|
|
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.
|
|
656
|
+
color: _sharedUi.night.color.text,
|
|
653
657
|
fontFamily: "monospace"
|
|
654
658
|
},
|
|
655
659
|
statLabel: {
|
|
656
660
|
fontSize: 10,
|
|
657
|
-
color: _sharedUi.
|
|
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.
|
|
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.
|
|
675
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
672
676
|
borderRadius: 8,
|
|
673
677
|
borderWidth: 1,
|
|
674
|
-
borderColor: _sharedUi.
|
|
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.
|
|
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.
|
|
696
|
+
color: _sharedUi.night.color.text,
|
|
693
697
|
fontFamily: "monospace"
|
|
694
698
|
},
|
|
695
699
|
// Quick Actions Section
|
|
696
700
|
quickActionsSection: {
|
|
697
|
-
backgroundColor: _sharedUi.
|
|
701
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
698
702
|
borderRadius: 8,
|
|
699
703
|
borderWidth: 1,
|
|
700
|
-
borderColor: _sharedUi.
|
|
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.
|
|
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.
|
|
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.
|
|
728
|
-
backgroundColor: _sharedUi.
|
|
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.
|
|
737
|
+
color: _sharedUi.night.color.textTertiary,
|
|
734
738
|
minWidth: 70
|
|
735
739
|
},
|
|
736
740
|
filterOptionLabelSelected: {
|
|
737
|
-
color: _sharedUi.
|
|
741
|
+
color: _sharedUi.night.color.accent
|
|
738
742
|
},
|
|
739
743
|
filterOptionValue: {
|
|
740
744
|
fontSize: 12,
|
|
741
|
-
color: _sharedUi.
|
|
745
|
+
color: _sharedUi.night.color.text,
|
|
742
746
|
fontFamily: "monospace",
|
|
743
747
|
flex: 1
|
|
744
748
|
},
|
|
745
749
|
filterOptionValueSelected: {
|
|
746
|
-
color: _sharedUi.
|
|
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.
|
|
765
|
-
borderColor: _sharedUi.
|
|
768
|
+
backgroundColor: _sharedUi.night.color.accentSoft,
|
|
769
|
+
borderColor: _sharedUi.night.color.accentBorderStrong
|
|
766
770
|
},
|
|
767
771
|
filterActionButtonExclude: {
|
|
768
|
-
backgroundColor: _sharedUi.
|
|
769
|
-
borderColor: _sharedUi.
|
|
772
|
+
backgroundColor: _sharedUi.night.color.dangerSoft,
|
|
773
|
+
borderColor: _sharedUi.night.color.danger + "40"
|
|
770
774
|
},
|
|
771
775
|
filterActionButtonDisabled: {
|
|
772
|
-
backgroundColor: _sharedUi.
|
|
773
|
-
borderColor: _sharedUi.
|
|
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.
|
|
789
|
+
backgroundColor: _sharedUi.night.color.surface,
|
|
786
790
|
borderRadius: 8,
|
|
787
791
|
borderWidth: 1,
|
|
788
|
-
borderColor: _sharedUi.
|
|
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.
|
|
798
|
+
color: _sharedUi.night.color.warning,
|
|
795
799
|
fontSize: 13,
|
|
796
800
|
fontWeight: "600"
|
|
797
801
|
},
|
|
798
802
|
lockedBannerSubtext: {
|
|
799
|
-
color: _sharedUi.
|
|
803
|
+
color: _sharedUi.night.color.textTertiary,
|
|
800
804
|
fontSize: 12
|
|
801
805
|
}
|
|
802
806
|
});
|