@buoy-gg/network 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 (49) hide show
  1. package/lib/commonjs/network/components/NetworkDetailStepper.js +2 -1
  2. package/lib/commonjs/network/components/NetworkEventDetailView.js +74 -72
  3. package/lib/commonjs/network/components/NetworkEventItemCompact.js +24 -20
  4. package/lib/commonjs/network/components/NetworkEventItemCompact.web.js +24 -6
  5. package/lib/commonjs/network/components/NetworkFilterViewV3.js +12 -12
  6. package/lib/commonjs/network/components/NetworkHeaderLive.js +25 -29
  7. package/lib/commonjs/network/components/NetworkHeaderLive.web.js +24 -6
  8. package/lib/commonjs/network/components/NetworkHeaderMenu.js +10 -9
  9. package/lib/commonjs/network/components/NetworkListScreen.js +2 -1
  10. package/lib/commonjs/network/components/NetworkListScreen.web.js +24 -6
  11. package/lib/commonjs/network/components/NetworkModal.js +45 -31
  12. package/lib/commonjs/network/components/NetworkOverrideHeaderButton.js +10 -7
  13. package/lib/commonjs/network/components/NetworkOverridesButton.js +7 -7
  14. package/lib/commonjs/network/sync/networkSyncAdapter.js +36 -16
  15. package/lib/commonjs/network/utils/networkEventStore.js +26 -0
  16. package/lib/commonjs/network/utils/networkListener.js +173 -39
  17. package/lib/module/network/components/NetworkDetailStepper.js +2 -1
  18. package/lib/module/network/components/NetworkEventDetailView.js +75 -73
  19. package/lib/module/network/components/NetworkEventItemCompact.js +25 -21
  20. package/lib/module/network/components/NetworkEventItemCompact.web.js +24 -6
  21. package/lib/module/network/components/NetworkFilterViewV3.js +13 -13
  22. package/lib/module/network/components/NetworkHeaderLive.js +26 -30
  23. package/lib/module/network/components/NetworkHeaderLive.web.js +24 -6
  24. package/lib/module/network/components/NetworkHeaderMenu.js +11 -10
  25. package/lib/module/network/components/NetworkListScreen.js +3 -2
  26. package/lib/module/network/components/NetworkListScreen.web.js +24 -6
  27. package/lib/module/network/components/NetworkModal.js +46 -32
  28. package/lib/module/network/components/NetworkOverrideHeaderButton.js +11 -8
  29. package/lib/module/network/components/NetworkOverridesButton.js +8 -8
  30. package/lib/module/network/sync/networkSyncAdapter.js +37 -17
  31. package/lib/module/network/utils/networkEventStore.js +26 -0
  32. package/lib/module/network/utils/networkListener.js +171 -38
  33. package/lib/typescript/network/components/NetworkDetailStepper.d.ts.map +1 -1
  34. package/lib/typescript/network/components/NetworkEventDetailView.d.ts.map +1 -1
  35. package/lib/typescript/network/components/NetworkEventItemCompact.d.ts.map +1 -1
  36. package/lib/typescript/network/components/NetworkEventItemCompact.web.d.ts.map +1 -1
  37. package/lib/typescript/network/components/NetworkFilterViewV3.d.ts.map +1 -1
  38. package/lib/typescript/network/components/NetworkHeaderLive.d.ts.map +1 -1
  39. package/lib/typescript/network/components/NetworkHeaderLive.web.d.ts.map +1 -1
  40. package/lib/typescript/network/components/NetworkListScreen.d.ts.map +1 -1
  41. package/lib/typescript/network/components/NetworkListScreen.web.d.ts.map +1 -1
  42. package/lib/typescript/network/components/NetworkModal.d.ts.map +1 -1
  43. package/lib/typescript/network/sync/networkSyncAdapter.d.ts +1 -0
  44. package/lib/typescript/network/sync/networkSyncAdapter.d.ts.map +1 -1
  45. package/lib/typescript/network/utils/networkEventStore.d.ts +17 -0
  46. package/lib/typescript/network/utils/networkEventStore.d.ts.map +1 -1
  47. package/lib/typescript/network/utils/networkListener.d.ts +61 -5
  48. package/lib/typescript/network/utils/networkListener.d.ts.map +1 -1
  49. package/package.json +2 -2
@@ -179,13 +179,30 @@ const FlaskConical = p => /*#__PURE__*/_jsxs(Svg, {
179
179
  d: "M7 16h10"
180
180
  })]
181
181
  });
182
- const Pin = p => /*#__PURE__*/_jsxs(Svg, {
182
+ const Pin = ({
183
+ active,
184
+ ...p
185
+ }) => /*#__PURE__*/_jsx(Svg, {
183
186
  ...p,
184
- children: [/*#__PURE__*/_jsx("path", {
185
- d: "M12 17v5"
186
- }), /*#__PURE__*/_jsx("path", {
187
- d: "M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1z"
188
- })]
187
+ children: /*#__PURE__*/_jsxs("g", {
188
+ transform: active ? "rotate(-45 12 12) translate(12 12) scale(0.92) translate(-12 -12)" : undefined,
189
+ children: [/*#__PURE__*/_jsx("path", {
190
+ d: "M2.97 21.03 8.18 15.82"
191
+ }), /*#__PURE__*/_jsx("path", {
192
+ d: "M4.4 10.81 13.19 19.6"
193
+ }), /*#__PURE__*/_jsx("path", {
194
+ d: "M5.17 10.54 11.43 8.83"
195
+ }), /*#__PURE__*/_jsx("path", {
196
+ d: "M13.46 18.83 15.17 12.57"
197
+ }), /*#__PURE__*/_jsx("rect", {
198
+ x: "12.15",
199
+ y: "5.4",
200
+ width: "9.38",
201
+ height: "3.52",
202
+ rx: "1.07",
203
+ transform: "rotate(-45 16.84 7.16)"
204
+ })]
205
+ })
189
206
  });
190
207
 
191
208
  // =============================
@@ -621,6 +638,7 @@ export const NetworkEventItemCompact = /*#__PURE__*/memo(function NetworkEventIt
621
638
  style: styles.topRightContainer,
622
639
  children: [pinned ? /*#__PURE__*/_jsx(Pin, {
623
640
  size: 10,
641
+ active: true,
624
642
  color: macOSColors.semantic.info
625
643
  }) : null, saved ? /*#__PURE__*/_jsx(Bookmark, {
626
644
  size: 10,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import { CheckCircle, Clock, DynamicFilterView, Film, FileJson, FileText, Filter, Globe, Image, macOSColors, Music, XCircle } from "@buoy-gg/shared-ui";
3
+ import { CheckCircle, Clock, DynamicFilterView, Film, FileJson, FileText, Filter, Globe, Image, macOSColors, night, Music, XCircle } from "@buoy-gg/shared-ui";
4
4
  import { useCallback, useMemo, useState } from "react";
5
5
  import { StyleSheet, Text, TouchableOpacity, View } from "react-native";
6
6
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
@@ -41,7 +41,7 @@ function getContentType(event) {
41
41
  };
42
42
  return {
43
43
  type: "OTHER",
44
- color: macOSColors.text.muted
44
+ color: night.color.textTertiary
45
45
  };
46
46
  }
47
47
  function getContentTypeIcon(type) {
@@ -75,7 +75,7 @@ function getMethodColor(method) {
75
75
  case "PATCH":
76
76
  return macOSColors.semantic.success;
77
77
  default:
78
- return macOSColors.text.muted;
78
+ return night.color.textTertiary;
79
79
  }
80
80
  }
81
81
 
@@ -111,7 +111,7 @@ export function NetworkFilterViewV3({
111
111
  const renderPatternMeta = useCallback(pattern => {
112
112
  const mode = patternModes.get(pattern) ?? "contains";
113
113
  const isExact = mode === "exact";
114
- const color = isExact ? macOSColors.semantic.warning : macOSColors.semantic.info;
114
+ const color = isExact ? night.color.warning : night.color.info;
115
115
  return /*#__PURE__*/_jsx(TouchableOpacity, {
116
116
  accessibilityRole: "button",
117
117
  accessibilityLabel: `Match mode: ${mode}. Tap to toggle.`,
@@ -327,7 +327,7 @@ export function NetworkFilterViewV3({
327
327
  const {
328
328
  color
329
329
  } = representativeEvent ? getContentType(representativeEvent) : {
330
- color: macOSColors.text.muted
330
+ color: night.color.textTertiary
331
331
  };
332
332
  return {
333
333
  id: `contentType::${type}`,
@@ -397,7 +397,7 @@ const styles = StyleSheet.create({
397
397
  modeToggleLabel: {
398
398
  fontSize: 11,
399
399
  fontWeight: "600",
400
- color: macOSColors.text.secondary,
400
+ color: night.color.textSecondary,
401
401
  fontFamily: "monospace",
402
402
  letterSpacing: 0.3
403
403
  },
@@ -412,27 +412,27 @@ const styles = StyleSheet.create({
412
412
  paddingHorizontal: 10,
413
413
  borderRadius: 8,
414
414
  borderWidth: 1,
415
- borderColor: macOSColors.border.default,
416
- backgroundColor: macOSColors.background.hover,
415
+ borderColor: night.color.border,
416
+ backgroundColor: night.color.buttonSurface,
417
417
  alignItems: "center"
418
418
  },
419
419
  modeToggleButtonActive: {
420
- borderColor: macOSColors.semantic.info,
421
- backgroundColor: `${macOSColors.semantic.info}22`
420
+ borderColor: night.color.accentBorderStrong,
421
+ backgroundColor: night.color.accentSoft
422
422
  },
423
423
  modeToggleButtonText: {
424
424
  fontSize: 11,
425
425
  fontWeight: "700",
426
- color: macOSColors.text.secondary,
426
+ color: night.color.textSecondary,
427
427
  fontFamily: "monospace",
428
428
  letterSpacing: 0.3
429
429
  },
430
430
  modeToggleButtonTextActive: {
431
- color: macOSColors.semantic.info
431
+ color: night.color.accent
432
432
  },
433
433
  modeToggleButtonHint: {
434
434
  fontSize: 9,
435
- color: macOSColors.text.muted,
435
+ color: night.color.textTertiary,
436
436
  marginTop: 1
437
437
  }
438
438
  });
@@ -19,7 +19,7 @@
19
19
  */
20
20
 
21
21
  import { StyleSheet, Text, TouchableOpacity, View } from "react-native";
22
- import { Bookmark, CheckCircle, XCircle, Clock, Copy, Pin, Trash2, CopyButton, macOSColors, useLimit } from "@buoy-gg/shared-ui";
22
+ import { Bookmark, CheckCircle, XCircle, Clock, Copy, Pin, Trash2, CopyButton, macOSColors, night, useLimit } from "@buoy-gg/shared-ui";
23
23
  import { networkEventStore } from "../utils/networkEventStore";
24
24
  import { flagsForEventId, networkSavedStore, MAX_PINNED, MAX_SAVED } from "../utils/networkSavedStore";
25
25
  import { useNetworkSaved } from "../hooks/useNetworkSaved";
@@ -97,7 +97,7 @@ export function NetworkClearButton({
97
97
  disabled: !hasEvents,
98
98
  children: /*#__PURE__*/_jsx(Trash2, {
99
99
  size: 14,
100
- color: hasEvents ? macOSColors.text.muted : macOSColors.text.disabled
100
+ color: hasEvents ? night.color.textSecondary : night.color.textTertiary
101
101
  })
102
102
  });
103
103
  }
@@ -119,7 +119,7 @@ export function NetworkSavedButton({
119
119
  style: styles.headerActionButton,
120
120
  children: [/*#__PURE__*/_jsx(Bookmark, {
121
121
  size: 14,
122
- color: count > 0 ? macOSColors.semantic.debug : macOSColors.text.muted
122
+ color: count > 0 ? night.color.accent : night.color.textSecondary
123
123
  }), count > 0 ? /*#__PURE__*/_jsx(View, {
124
124
  style: styles.savedBadge,
125
125
  children: /*#__PURE__*/_jsx(Text, {
@@ -187,7 +187,8 @@ export function NetworkDetailPinActions({
187
187
  style: [styles.headerActionButton, pinned && styles.headerActionButtonActive, atPinCap && styles.headerActionButtonDisabled],
188
188
  children: /*#__PURE__*/_jsx(Pin, {
189
189
  size: 14,
190
- color: pinned ? macOSColors.semantic.info : atPinCap ? macOSColors.text.disabled : macOSColors.text.secondary
190
+ active: pinned,
191
+ color: pinned ? night.color.accent : atPinCap ? night.color.textTertiary : night.color.textSecondary
191
192
  })
192
193
  }), /*#__PURE__*/_jsx(TouchableOpacity, {
193
194
  "sentry-label": "ignore save request",
@@ -198,7 +199,7 @@ export function NetworkDetailPinActions({
198
199
  style: [styles.headerActionButton, saved && styles.headerActionButtonSaved, atSavedCap && isPro && styles.headerActionButtonDisabled],
199
200
  children: /*#__PURE__*/_jsx(Bookmark, {
200
201
  size: 14,
201
- color: saved ? macOSColors.semantic.debug : atSavedCap && isPro ? macOSColors.text.disabled : macOSColors.text.secondary
202
+ color: saved ? night.color.accent : atSavedCap && isPro ? night.color.textTertiary : night.color.textSecondary
202
203
  })
203
204
  })]
204
205
  });
@@ -230,7 +231,7 @@ export function NetworkHeaderCopyButton({
230
231
  disabled: !hasEvents,
231
232
  children: [/*#__PURE__*/_jsx(Copy, {
232
233
  size: 14,
233
- color: hasEvents ? macOSColors.text.secondary : macOSColors.text.disabled
234
+ color: hasEvents ? night.color.textSecondary : night.color.textTertiary
234
235
  }), label ? /*#__PURE__*/_jsx(Text, {
235
236
  style: styles.copyMenuLabel,
236
237
  children: label
@@ -247,7 +248,7 @@ export function NetworkHeaderCopyButton({
247
248
  buttonStyle: label ? styles.copyMenuRow : styles.headerActionButton,
248
249
  labelStyle: styles.copyMenuLabel,
249
250
  colors: {
250
- idle: hasEvents ? macOSColors.text.secondary : macOSColors.text.disabled,
251
+ idle: hasEvents ? night.color.textSecondary : night.color.textTertiary,
251
252
  success: macOSColors.semantic.success,
252
253
  error: macOSColors.semantic.error
253
254
  },
@@ -267,7 +268,7 @@ const styles = StyleSheet.create({
267
268
  copyMenuLabel: {
268
269
  fontSize: 13,
269
270
  fontWeight: "600",
270
- color: macOSColors.text.primary
271
+ color: night.color.text
271
272
  },
272
273
  headerChipRow: {
273
274
  flexDirection: "row",
@@ -275,31 +276,26 @@ const styles = StyleSheet.create({
275
276
  gap: 8
276
277
  },
277
278
  /**
278
- * Counter chips and toolbar buttons carry a permanent outline; the fill marks
279
- * the active filter.
279
+ * Counter chips and toolbar buttons on the night dark-glass fill — the
280
+ * hairline outline barely registers on the star field, and the fill marks
281
+ * the active filter in the brand accent (the night selection language).
282
+ * Status glyph/count colors stay on the classic semantic palette on
283
+ * purpose — see getStatusColor in NetworkEventItemCompact.
280
284
  */
281
285
  headerChip: {
282
286
  flexDirection: "row",
283
287
  alignItems: "center",
284
288
  gap: 4,
285
- backgroundColor: macOSColors.background.hover,
289
+ backgroundColor: night.color.buttonSurface,
286
290
  paddingHorizontal: 10,
287
291
  paddingVertical: 5,
288
292
  borderRadius: 12,
289
293
  borderWidth: 1,
290
- borderColor: macOSColors.border.default
294
+ borderColor: night.color.border
291
295
  },
292
296
  headerChipActive: {
293
- backgroundColor: macOSColors.semantic.infoBackground,
294
- borderColor: macOSColors.semantic.info + "50",
295
- shadowColor: macOSColors.semantic.info,
296
- shadowOffset: {
297
- width: 0,
298
- height: 1
299
- },
300
- shadowOpacity: 0.08,
301
- shadowRadius: 2,
302
- elevation: 1
297
+ backgroundColor: night.color.accentSoft,
298
+ borderColor: night.color.accentBorderStrong
303
299
  },
304
300
  headerChipValue: {
305
301
  fontSize: 12,
@@ -310,9 +306,9 @@ const styles = StyleSheet.create({
310
306
  width: 32,
311
307
  height: 32,
312
308
  borderRadius: 8,
313
- backgroundColor: macOSColors.background.hover,
309
+ backgroundColor: night.color.buttonSurface,
314
310
  borderWidth: 1,
315
- borderColor: macOSColors.border.default,
311
+ borderColor: night.color.border,
316
312
  alignItems: "center",
317
313
  justifyContent: "center"
318
314
  },
@@ -320,12 +316,12 @@ const styles = StyleSheet.create({
320
316
  opacity: 0.55
321
317
  },
322
318
  headerActionButtonActive: {
323
- backgroundColor: macOSColors.semantic.infoBackground,
324
- borderColor: macOSColors.semantic.info + "50"
319
+ backgroundColor: night.color.accentSoft,
320
+ borderColor: night.color.accentBorderStrong
325
321
  },
326
322
  headerActionButtonSaved: {
327
- backgroundColor: macOSColors.semantic.debug + "1A",
328
- borderColor: macOSColors.semantic.debug + "50"
323
+ backgroundColor: night.color.accentSoft,
324
+ borderColor: night.color.accentBorderStrong
329
325
  },
330
326
  savedBadge: {
331
327
  position: "absolute",
@@ -335,12 +331,12 @@ const styles = StyleSheet.create({
335
331
  height: 14,
336
332
  paddingHorizontal: 3,
337
333
  borderRadius: 7,
338
- backgroundColor: macOSColors.semantic.debug,
334
+ backgroundColor: night.color.accent,
339
335
  alignItems: "center",
340
336
  justifyContent: "center"
341
337
  },
342
338
  savedBadgeText: {
343
- color: "#FFFFFF",
339
+ color: night.color.onAccent,
344
340
  fontSize: 9,
345
341
  fontWeight: "700",
346
342
  fontFamily: "monospace"
@@ -164,13 +164,30 @@ const Bookmark = p => /*#__PURE__*/_jsx(Svg, {
164
164
  d: "m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z"
165
165
  })
166
166
  });
167
- const Pin = p => /*#__PURE__*/_jsxs(Svg, {
167
+ const Pin = ({
168
+ active,
169
+ ...p
170
+ }) => /*#__PURE__*/_jsx(Svg, {
168
171
  ...p,
169
- children: [/*#__PURE__*/_jsx("path", {
170
- d: "M12 17v5"
171
- }), /*#__PURE__*/_jsx("path", {
172
- d: "M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1z"
173
- })]
172
+ children: /*#__PURE__*/_jsxs("g", {
173
+ transform: active ? "rotate(-45 12 12) translate(12 12) scale(0.92) translate(-12 -12)" : undefined,
174
+ children: [/*#__PURE__*/_jsx("path", {
175
+ d: "M2.97 21.03 8.18 15.82"
176
+ }), /*#__PURE__*/_jsx("path", {
177
+ d: "M4.4 10.81 13.19 19.6"
178
+ }), /*#__PURE__*/_jsx("path", {
179
+ d: "M5.17 10.54 11.43 8.83"
180
+ }), /*#__PURE__*/_jsx("path", {
181
+ d: "M13.46 18.83 15.17 12.57"
182
+ }), /*#__PURE__*/_jsx("rect", {
183
+ x: "12.15",
184
+ y: "5.4",
185
+ width: "9.38",
186
+ height: "3.52",
187
+ rx: "1.07",
188
+ transform: "rotate(-45 16.84 7.16)"
189
+ })]
190
+ })
174
191
  });
175
192
  const Copy = p => /*#__PURE__*/_jsxs(Svg, {
176
193
  ...p,
@@ -379,6 +396,7 @@ export function NetworkDetailPinActions({
379
396
  },
380
397
  children: /*#__PURE__*/_jsx(Pin, {
381
398
  size: 14,
399
+ active: pinned,
382
400
  color: pinned ? macOSColors.semantic.info : atPinCap ? macOSColors.text.disabled : macOSColors.text.secondary
383
401
  })
384
402
  }), /*#__PURE__*/_jsx("button", {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  import { StyleSheet, Text, TouchableOpacity, View } from "react-native";
4
- import { absoluteFill, macOSColors } from "@buoy-gg/shared-ui";
4
+ import { absoluteFill, night } from "@buoy-gg/shared-ui";
5
5
 
6
6
  /**
7
7
  * The header's overflow menu.
@@ -107,7 +107,7 @@ const styles = StyleSheet.create({
107
107
  // Only lit while the menu is down — the button is the one thing not covered
108
108
  // by the backdrop, so it has to look like the thing that is currently open.
109
109
  buttonOpen: {
110
- backgroundColor: macOSColors.background.hover
110
+ backgroundColor: night.color.surfaceElevated
111
111
  },
112
112
  dots: {
113
113
  flexDirection: "column",
@@ -118,10 +118,10 @@ const styles = StyleSheet.create({
118
118
  width: 3,
119
119
  height: 3,
120
120
  borderRadius: 2,
121
- backgroundColor: macOSColors.text.secondary
121
+ backgroundColor: night.color.textSecondary
122
122
  },
123
123
  dotOpen: {
124
- backgroundColor: macOSColors.text.primary
124
+ backgroundColor: night.color.text
125
125
  },
126
126
  indicator: {
127
127
  position: "absolute",
@@ -132,7 +132,7 @@ const styles = StyleSheet.create({
132
132
  width: 6,
133
133
  height: 6,
134
134
  borderRadius: 3,
135
- backgroundColor: macOSColors.semantic.info
135
+ backgroundColor: night.color.accent
136
136
  },
137
137
  overlay: {
138
138
  ...absoluteFill,
@@ -142,16 +142,17 @@ const styles = StyleSheet.create({
142
142
  ...absoluteFill,
143
143
  backgroundColor: "rgba(0,0,0,0.5)"
144
144
  },
145
+ // The night card: near-black surface, hairline border, row radius.
145
146
  panel: {
146
147
  position: "absolute",
147
148
  top: 6,
148
149
  right: 8,
149
150
  minWidth: 196,
150
151
  paddingVertical: 4,
151
- borderRadius: 8,
152
+ borderRadius: 10,
152
153
  borderWidth: 1,
153
- borderColor: macOSColors.border.hover,
154
- backgroundColor: macOSColors.background.card
154
+ borderColor: night.color.border,
155
+ backgroundColor: night.color.surface
155
156
  },
156
157
  item: {
157
158
  flexDirection: "row",
@@ -168,10 +169,10 @@ const styles = StyleSheet.create({
168
169
  flex: 1,
169
170
  fontSize: 13,
170
171
  fontWeight: "600",
171
- color: macOSColors.text.primary
172
+ color: night.color.text
172
173
  },
173
174
  itemDetail: {
174
175
  fontSize: 11,
175
- color: macOSColors.text.muted
176
+ color: night.color.textTertiary
176
177
  }
177
178
  });
@@ -14,7 +14,7 @@
14
14
 
15
15
  import { useCallback } from "react";
16
16
  import { FlatList, StyleSheet, Text, TouchableOpacity, View } from "react-native";
17
- import { FlaskConical, Globe, Pin, Power, macOSColors, BackgroundSwitcher } from "@buoy-gg/shared-ui";
17
+ import { FlaskConical, Globe, Pin, Power, macOSColors } from "@buoy-gg/shared-ui";
18
18
  import { NetworkEventItemCompact } from "./NetworkEventItemCompact";
19
19
  import { NetworkUpgradeBanner } from "./NetworkUpgradeBanner";
20
20
  import { useNetworkEventList } from "../hooks/useNetworkEventList";
@@ -67,6 +67,7 @@ function PinnedSection({
67
67
  style: styles.pinnedHeader,
68
68
  children: [/*#__PURE__*/_jsx(Pin, {
69
69
  size: 11,
70
+ active: true,
70
71
  color: macOSColors.semantic.info
71
72
  }), /*#__PURE__*/_jsxs(Text, {
72
73
  style: styles.pinnedTitle,
@@ -233,7 +234,7 @@ export function NetworkListScreen({
233
234
  };
234
235
  return /*#__PURE__*/_jsxs(View, {
235
236
  style: styles.root,
236
- children: [/*#__PURE__*/_jsx(BackgroundSwitcher, {}), !isEnabled ? /*#__PURE__*/_jsxs(View, {
237
+ children: [!isEnabled ? /*#__PURE__*/_jsxs(View, {
237
238
  style: styles.disabledBanner,
238
239
  children: [/*#__PURE__*/_jsx(Power, {
239
240
  size: 14,
@@ -125,13 +125,30 @@ const Globe = p => /*#__PURE__*/_jsxs(Svg, {
125
125
  d: "M2 12h20"
126
126
  })]
127
127
  });
128
- const Pin = p => /*#__PURE__*/_jsxs(Svg, {
128
+ const Pin = ({
129
+ active,
130
+ ...p
131
+ }) => /*#__PURE__*/_jsx(Svg, {
129
132
  ...p,
130
- children: [/*#__PURE__*/_jsx("path", {
131
- d: "M12 17v5"
132
- }), /*#__PURE__*/_jsx("path", {
133
- d: "M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1z"
134
- })]
133
+ children: /*#__PURE__*/_jsxs("g", {
134
+ transform: active ? "rotate(-45 12 12) translate(12 12) scale(0.92) translate(-12 -12)" : undefined,
135
+ children: [/*#__PURE__*/_jsx("path", {
136
+ d: "M2.97 21.03 8.18 15.82"
137
+ }), /*#__PURE__*/_jsx("path", {
138
+ d: "M4.4 10.81 13.19 19.6"
139
+ }), /*#__PURE__*/_jsx("path", {
140
+ d: "M5.17 10.54 11.43 8.83"
141
+ }), /*#__PURE__*/_jsx("path", {
142
+ d: "M13.46 18.83 15.17 12.57"
143
+ }), /*#__PURE__*/_jsx("rect", {
144
+ x: "12.15",
145
+ y: "5.4",
146
+ width: "9.38",
147
+ height: "3.52",
148
+ rx: "1.07",
149
+ transform: "rotate(-45 16.84 7.16)"
150
+ })]
151
+ })
135
152
  });
136
153
  const Power = p => /*#__PURE__*/_jsxs(Svg, {
137
154
  ...p,
@@ -237,6 +254,7 @@ function PinnedSection({
237
254
  style: styles.pinnedHeader,
238
255
  children: [/*#__PURE__*/_jsx(Pin, {
239
256
  size: 11,
257
+ active: true,
240
258
  color: macOSColors.semantic.info
241
259
  }), /*#__PURE__*/_jsxs("span", {
242
260
  style: styles.pinnedTitle,