@buoy-gg/events 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.
Files changed (41) hide show
  1. package/lib/commonjs/components/EventsCopySettingsView.js +20 -20
  2. package/lib/commonjs/components/EventsCopySettingsView.js.map +1 -1
  3. package/lib/commonjs/components/EventsModal.js +21 -26
  4. package/lib/commonjs/components/EventsModal.js.map +1 -1
  5. package/lib/commonjs/components/ReactQueryEventDetail.js +21 -20
  6. package/lib/commonjs/components/ReactQueryEventDetail.js.map +1 -1
  7. package/lib/commonjs/components/UnifiedEventDetail.js +11 -10
  8. package/lib/commonjs/components/UnifiedEventDetail.js.map +1 -1
  9. package/lib/commonjs/components/UnifiedEventFilters.js +13 -12
  10. package/lib/commonjs/components/UnifiedEventFilters.js.map +1 -1
  11. package/lib/commonjs/components/UnifiedEventItem.js.map +1 -1
  12. package/lib/commonjs/components/UnifiedEventList.js +10 -8
  13. package/lib/commonjs/components/UnifiedEventList.js.map +1 -1
  14. package/lib/commonjs/components/UnifiedEventViewer.js +9 -8
  15. package/lib/commonjs/components/UnifiedEventViewer.js.map +1 -1
  16. package/lib/module/components/EventsCopySettingsView.js +21 -21
  17. package/lib/module/components/EventsCopySettingsView.js.map +1 -1
  18. package/lib/module/components/EventsModal.js +22 -27
  19. package/lib/module/components/EventsModal.js.map +1 -1
  20. package/lib/module/components/ReactQueryEventDetail.js +22 -21
  21. package/lib/module/components/ReactQueryEventDetail.js.map +1 -1
  22. package/lib/module/components/UnifiedEventDetail.js +12 -11
  23. package/lib/module/components/UnifiedEventDetail.js.map +1 -1
  24. package/lib/module/components/UnifiedEventFilters.js +14 -13
  25. package/lib/module/components/UnifiedEventFilters.js.map +1 -1
  26. package/lib/module/components/UnifiedEventItem.js.map +1 -1
  27. package/lib/module/components/UnifiedEventList.js +11 -9
  28. package/lib/module/components/UnifiedEventList.js.map +1 -1
  29. package/lib/module/components/UnifiedEventViewer.js +10 -9
  30. package/lib/module/components/UnifiedEventViewer.js.map +1 -1
  31. package/lib/typescript/components/EventsCopySettingsView.d.ts.map +1 -1
  32. package/lib/typescript/components/EventsModal.d.ts.map +1 -1
  33. package/package.json +3 -3
  34. package/src/components/EventsCopySettingsView.tsx +23 -22
  35. package/src/components/EventsModal.tsx +25 -29
  36. package/src/components/ReactQueryEventDetail.tsx +22 -21
  37. package/src/components/UnifiedEventDetail.tsx +12 -11
  38. package/src/components/UnifiedEventFilters.tsx +19 -18
  39. package/src/components/UnifiedEventItem.tsx +1 -1
  40. package/src/components/UnifiedEventList.tsx +11 -9
  41. 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 { buoyColors, Lock, Zap, ProBadge } from "@buoy-gg/shared-ui";
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={buoyColors.primary} />
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
- backgroundColor: buoyColors.base,
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
- backgroundColor: buoyColors.base,
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: buoyColors.text,
183
+ color: night.color.text,
182
184
  marginBottom: 8,
183
185
  },
184
186
  emptyMessage: {
185
187
  fontSize: 14,
186
- color: buoyColors.textMuted,
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: buoyColors.card,
201
+ backgroundColor: night.color.surface,
200
202
  borderRadius: 8,
201
203
  borderWidth: 1,
202
- borderColor: buoyColors.border,
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: buoyColors.text,
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 { buoyColors, Trash2 } from "@buoy-gg/shared-ui";
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 ? buoyColors.textMuted : buoyColors.error}
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 ? buoyColors.textMuted : buoyColors.error },
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
- backgroundColor: buoyColors.base,
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: buoyColors.card,
106
+ backgroundColor: night.color.surface,
106
107
  borderBottomWidth: 1,
107
- borderBottomColor: buoyColors.border,
108
+ borderBottomColor: night.color.border,
108
109
  },
109
110
  title: {
110
111
  fontSize: 20,
111
112
  fontWeight: "700",
112
- color: buoyColors.text,
113
+ color: night.color.text,
113
114
  },
114
115
  subtitle: {
115
116
  fontSize: 12,
116
- color: buoyColors.textMuted,
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: buoyColors.error + "15",
127
+ backgroundColor: night.color.dangerSoft,
127
128
  },
128
129
  clearText: {
129
130
  fontSize: 14,