@buoy-gg/events 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.
- package/lib/commonjs/components/EventsCopySettingsView.js +20 -20
- package/lib/commonjs/components/EventsCopySettingsView.js.map +1 -1
- package/lib/commonjs/components/EventsModal.js +21 -26
- package/lib/commonjs/components/EventsModal.js.map +1 -1
- package/lib/commonjs/components/ReactQueryEventDetail.js +21 -20
- package/lib/commonjs/components/ReactQueryEventDetail.js.map +1 -1
- package/lib/commonjs/components/UnifiedEventDetail.js +11 -10
- package/lib/commonjs/components/UnifiedEventDetail.js.map +1 -1
- package/lib/commonjs/components/UnifiedEventFilters.js +16 -13
- package/lib/commonjs/components/UnifiedEventFilters.js.map +1 -1
- package/lib/commonjs/components/UnifiedEventItem.js.map +1 -1
- package/lib/commonjs/components/UnifiedEventList.js +10 -8
- package/lib/commonjs/components/UnifiedEventList.js.map +1 -1
- package/lib/commonjs/components/UnifiedEventViewer.js +9 -8
- package/lib/commonjs/components/UnifiedEventViewer.js.map +1 -1
- package/lib/module/components/EventsCopySettingsView.js +21 -21
- package/lib/module/components/EventsCopySettingsView.js.map +1 -1
- package/lib/module/components/EventsModal.js +22 -27
- package/lib/module/components/EventsModal.js.map +1 -1
- package/lib/module/components/ReactQueryEventDetail.js +22 -21
- package/lib/module/components/ReactQueryEventDetail.js.map +1 -1
- package/lib/module/components/UnifiedEventDetail.js +12 -11
- package/lib/module/components/UnifiedEventDetail.js.map +1 -1
- package/lib/module/components/UnifiedEventFilters.js +17 -14
- package/lib/module/components/UnifiedEventFilters.js.map +1 -1
- package/lib/module/components/UnifiedEventItem.js.map +1 -1
- package/lib/module/components/UnifiedEventList.js +11 -9
- package/lib/module/components/UnifiedEventList.js.map +1 -1
- package/lib/module/components/UnifiedEventViewer.js +10 -9
- package/lib/module/components/UnifiedEventViewer.js.map +1 -1
- package/lib/typescript/components/EventsCopySettingsView.d.ts.map +1 -1
- package/lib/typescript/components/EventsModal.d.ts.map +1 -1
- package/lib/typescript/components/UnifiedEventFilters.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/components/EventsCopySettingsView.tsx +23 -22
- package/src/components/EventsModal.tsx +25 -29
- package/src/components/ReactQueryEventDetail.tsx +22 -21
- package/src/components/UnifiedEventDetail.tsx +12 -11
- package/src/components/UnifiedEventFilters.tsx +21 -18
- package/src/components/UnifiedEventItem.tsx +1 -1
- package/src/components/UnifiedEventList.tsx +11 -9
- package/src/components/UnifiedEventViewer.tsx +10 -9
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import { FlatList, StyleSheet, View, Text, TouchableOpacity } from "react-native";
|
|
8
8
|
import { memo, useCallback, useMemo } from "react";
|
|
9
|
-
import {
|
|
9
|
+
import { night, Lock, Zap, ProBadge } from "@buoy-gg/shared-ui";
|
|
10
10
|
import { UnifiedEventItem } from "./UnifiedEventItem";
|
|
11
11
|
import type { UnifiedEvent } from "../types";
|
|
12
12
|
import {
|
|
@@ -101,7 +101,7 @@ export const UnifiedEventList = memo(function UnifiedEventList({
|
|
|
101
101
|
activeOpacity={0.8}
|
|
102
102
|
>
|
|
103
103
|
<View style={styles.hiddenBannerLeft}>
|
|
104
|
-
<Zap size={16} color={
|
|
104
|
+
<Zap size={16} color={night.color.accent} />
|
|
105
105
|
<Text style={styles.hiddenBannerText}>
|
|
106
106
|
{hiddenEventsCount} hidden event{hiddenEventsCount !== 1 ? "s" : ""}
|
|
107
107
|
</Text>
|
|
@@ -160,7 +160,8 @@ export const UnifiedEventList = memo(function UnifiedEventList({
|
|
|
160
160
|
const styles = StyleSheet.create({
|
|
161
161
|
list: {
|
|
162
162
|
flex: 1,
|
|
163
|
-
|
|
163
|
+
// Transparent so JsModal's ToolBackground shows through (the modal paints opaque base beneath it).
|
|
164
|
+
backgroundColor: "transparent",
|
|
164
165
|
},
|
|
165
166
|
listContent: {
|
|
166
167
|
paddingVertical: 16,
|
|
@@ -172,18 +173,19 @@ const styles = StyleSheet.create({
|
|
|
172
173
|
flex: 1,
|
|
173
174
|
justifyContent: "center",
|
|
174
175
|
alignItems: "center",
|
|
175
|
-
|
|
176
|
+
// Transparent so JsModal's ToolBackground shows through (the modal paints opaque base beneath it).
|
|
177
|
+
backgroundColor: "transparent",
|
|
176
178
|
padding: 24,
|
|
177
179
|
},
|
|
178
180
|
emptyTitle: {
|
|
179
181
|
fontSize: 18,
|
|
180
182
|
fontWeight: "600",
|
|
181
|
-
color:
|
|
183
|
+
color: night.color.text,
|
|
182
184
|
marginBottom: 8,
|
|
183
185
|
},
|
|
184
186
|
emptyMessage: {
|
|
185
187
|
fontSize: 14,
|
|
186
|
-
color:
|
|
188
|
+
color: night.color.textTertiary,
|
|
187
189
|
textAlign: "center",
|
|
188
190
|
lineHeight: 20,
|
|
189
191
|
},
|
|
@@ -196,10 +198,10 @@ const styles = StyleSheet.create({
|
|
|
196
198
|
marginBottom: 16,
|
|
197
199
|
paddingVertical: 12,
|
|
198
200
|
paddingHorizontal: 16,
|
|
199
|
-
backgroundColor:
|
|
201
|
+
backgroundColor: night.color.surface,
|
|
200
202
|
borderRadius: 8,
|
|
201
203
|
borderWidth: 1,
|
|
202
|
-
borderColor:
|
|
204
|
+
borderColor: night.color.border,
|
|
203
205
|
},
|
|
204
206
|
hiddenBannerLeft: {
|
|
205
207
|
flexDirection: "row",
|
|
@@ -209,6 +211,6 @@ const styles = StyleSheet.create({
|
|
|
209
211
|
hiddenBannerText: {
|
|
210
212
|
fontSize: 13,
|
|
211
213
|
fontWeight: "500",
|
|
212
|
-
color:
|
|
214
|
+
color: night.color.text,
|
|
213
215
|
},
|
|
214
216
|
});
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import { View, StyleSheet, TouchableOpacity, Text } from "react-native";
|
|
9
9
|
import { useState, useCallback } from "react";
|
|
10
|
-
import {
|
|
10
|
+
import { night, Trash2 } from "@buoy-gg/shared-ui";
|
|
11
11
|
import { useUnifiedEvents } from "../hooks/useUnifiedEvents";
|
|
12
12
|
import { UnifiedEventFilters } from "./UnifiedEventFilters";
|
|
13
13
|
import { UnifiedEventList } from "./UnifiedEventList";
|
|
@@ -59,12 +59,12 @@ export function UnifiedEventViewer() {
|
|
|
59
59
|
>
|
|
60
60
|
<Trash2
|
|
61
61
|
size={16}
|
|
62
|
-
color={totalCount === 0 ?
|
|
62
|
+
color={totalCount === 0 ? night.color.textTertiary : night.color.danger}
|
|
63
63
|
/>
|
|
64
64
|
<Text
|
|
65
65
|
style={[
|
|
66
66
|
styles.clearText,
|
|
67
|
-
{ color: totalCount === 0 ?
|
|
67
|
+
{ color: totalCount === 0 ? night.color.textTertiary : night.color.danger },
|
|
68
68
|
]}
|
|
69
69
|
>
|
|
70
70
|
Clear
|
|
@@ -94,7 +94,8 @@ export function UnifiedEventViewer() {
|
|
|
94
94
|
const styles = StyleSheet.create({
|
|
95
95
|
container: {
|
|
96
96
|
flex: 1,
|
|
97
|
-
|
|
97
|
+
// Transparent so the night sheet's star field shows through.
|
|
98
|
+
backgroundColor: "transparent",
|
|
98
99
|
},
|
|
99
100
|
header: {
|
|
100
101
|
flexDirection: "row",
|
|
@@ -102,18 +103,18 @@ const styles = StyleSheet.create({
|
|
|
102
103
|
alignItems: "center",
|
|
103
104
|
paddingHorizontal: 16,
|
|
104
105
|
paddingVertical: 12,
|
|
105
|
-
backgroundColor:
|
|
106
|
+
backgroundColor: night.color.surface,
|
|
106
107
|
borderBottomWidth: 1,
|
|
107
|
-
borderBottomColor:
|
|
108
|
+
borderBottomColor: night.color.border,
|
|
108
109
|
},
|
|
109
110
|
title: {
|
|
110
111
|
fontSize: 20,
|
|
111
112
|
fontWeight: "700",
|
|
112
|
-
color:
|
|
113
|
+
color: night.color.text,
|
|
113
114
|
},
|
|
114
115
|
subtitle: {
|
|
115
116
|
fontSize: 12,
|
|
116
|
-
color:
|
|
117
|
+
color: night.color.textTertiary,
|
|
117
118
|
marginTop: 2,
|
|
118
119
|
},
|
|
119
120
|
clearButton: {
|
|
@@ -123,7 +124,7 @@ const styles = StyleSheet.create({
|
|
|
123
124
|
paddingHorizontal: 12,
|
|
124
125
|
paddingVertical: 8,
|
|
125
126
|
borderRadius: 6,
|
|
126
|
-
backgroundColor:
|
|
127
|
+
backgroundColor: night.color.dangerSoft,
|
|
127
128
|
},
|
|
128
129
|
clearText: {
|
|
129
130
|
fontSize: 14,
|