@buoy-gg/assets 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/capture/registry.js +4 -1
- package/lib/commonjs/capture/registry.js.map +1 -1
- package/lib/commonjs/components/AssetDetail.js +7 -7
- package/lib/commonjs/components/AssetDetail.js.map +1 -1
- package/lib/commonjs/components/AssetRow.js +8 -8
- package/lib/commonjs/components/AssetRow.js.map +1 -1
- package/lib/commonjs/components/AssetsFilterBar.js +4 -4
- package/lib/commonjs/components/AssetsFilterBar.js.map +1 -1
- package/lib/commonjs/components/AssetsListControls.js +7 -7
- package/lib/commonjs/components/AssetsListControls.js.map +1 -1
- package/lib/commonjs/components/AssetsModal.js +12 -10
- package/lib/commonjs/components/AssetsModal.js.map +1 -1
- package/lib/commonjs/components/BaselineBar.js +7 -7
- package/lib/commonjs/components/BaselineBar.js.map +1 -1
- package/lib/commonjs/export.js +1 -1
- package/lib/commonjs/export.js.map +1 -1
- package/lib/module/capture/registry.js +4 -1
- package/lib/module/capture/registry.js.map +1 -1
- package/lib/module/components/AssetDetail.js +8 -8
- package/lib/module/components/AssetDetail.js.map +1 -1
- package/lib/module/components/AssetRow.js +9 -9
- package/lib/module/components/AssetRow.js.map +1 -1
- package/lib/module/components/AssetsFilterBar.js +5 -5
- package/lib/module/components/AssetsFilterBar.js.map +1 -1
- package/lib/module/components/AssetsListControls.js +8 -8
- package/lib/module/components/AssetsListControls.js.map +1 -1
- package/lib/module/components/AssetsModal.js +13 -11
- package/lib/module/components/AssetsModal.js.map +1 -1
- package/lib/module/components/BaselineBar.js +8 -8
- package/lib/module/components/BaselineBar.js.map +1 -1
- package/lib/module/export.js +1 -1
- package/lib/module/export.js.map +1 -1
- package/lib/typescript/capture/registry.d.ts.map +1 -1
- package/lib/typescript/export.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/capture/registry.ts +4 -1
- package/src/components/AssetDetail.tsx +8 -8
- package/src/components/AssetRow.tsx +9 -9
- package/src/components/AssetsFilterBar.tsx +5 -5
- package/src/components/AssetsListControls.tsx +8 -8
- package/src/components/AssetsModal.tsx +13 -11
- package/src/components/BaselineBar.tsx +8 -8
- package/src/export.ts +3 -1
package/lib/module/export.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["formatBytes","formatDimensions","formatScales","estDecodedBytes","formatAssetMarkdown","record","lines","name","type","kind","loaded","push","scales","length","sizeBytes","sizeSource","estimate","hash","httpServerLocation","fileSystemLocation","resolvedUri","join","formatInventoryMarkdown","records","stats","insights","scanStatus","diff","total","neverLoaded","totalBytes","measuredCount","fontFamilies","graphSupported","net","netBytes","Math","abs","Date","baselineSavedAt","toISOString","added","removed","grown","gone","slice","findings","duplicates","webpCandidates","scaleGaps","overDecode","heavyGifs","heavyFonts","scaleAnomalies","r","size"],"sourceRoot":"../../src","sources":["export.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,EAAEC,gBAAgB,EAAEC,YAAY,QAAQ,UAAU;AACtE,SAASC,eAAe,QAAQ,oBAAoB;AASpD,OAAO,SAASC,mBAAmBA,CAACC,MAAmB,EAAU;EAC/D,MAAMC,KAAK,GAAG,CACZ,YAAYD,MAAM,CAACE,IAAI,IAAIF,MAAM,CAACG,IAAI,EAAE,EACxC,EAAE,EACF,WAAWH,MAAM,CAACI,IAAI,EAAE,EACxB,aAAaJ,MAAM,CAACK,MAAM,GAAG,mBAAmB,GAAG,yBAAyB,EAAE,CAC/E;EACD,IAAIL,MAAM,CAACI,IAAI,KAAK,OAAO,EAAEH,KAAK,CAACK,IAAI,CAAC,iBAAiBV,gBAAgB,CAACI,MAAM,CAAC,YAAY,CAAC;EAC9F,IAAIA,MAAM,CAACO,MAAM,CAACC,MAAM,EAAEP,KAAK,CAACK,IAAI,CAAC,aAAaT,YAAY,CAACG,MAAM,CAACO,MAAM,CAAC,EAAE,CAAC;EAChF,IAAIP,MAAM,CAACS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AY,CAACnB,MAAM,EAAE;IAClCP,KAAK,CAACK,IAAI,CAAC,iBAAiBe,UAAU,CAACM,YAAY,CAACX,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;EACnE;EACA,IAAI,CAACK,UAAU,CAACO,cAAc,EAAE;IAC9B3B,KAAK,CAACK,IAAI,
|
|
1
|
+
{"version":3,"names":["formatBytes","formatDimensions","formatScales","estDecodedBytes","formatAssetMarkdown","record","lines","name","type","kind","loaded","push","scales","length","sizeBytes","sizeSource","estimate","hash","httpServerLocation","fileSystemLocation","resolvedUri","join","formatInventoryMarkdown","records","stats","insights","scanStatus","diff","total","neverLoaded","totalBytes","measuredCount","fontFamilies","graphSupported","graphError","net","netBytes","Math","abs","Date","baselineSavedAt","toISOString","added","removed","grown","gone","slice","findings","duplicates","webpCandidates","scaleGaps","overDecode","heavyGifs","heavyFonts","scaleAnomalies","r","size"],"sourceRoot":"../../src","sources":["export.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,EAAEC,gBAAgB,EAAEC,YAAY,QAAQ,UAAU;AACtE,SAASC,eAAe,QAAQ,oBAAoB;AASpD,OAAO,SAASC,mBAAmBA,CAACC,MAAmB,EAAU;EAC/D,MAAMC,KAAK,GAAG,CACZ,YAAYD,MAAM,CAACE,IAAI,IAAIF,MAAM,CAACG,IAAI,EAAE,EACxC,EAAE,EACF,WAAWH,MAAM,CAACI,IAAI,EAAE,EACxB,aAAaJ,MAAM,CAACK,MAAM,GAAG,mBAAmB,GAAG,yBAAyB,EAAE,CAC/E;EACD,IAAIL,MAAM,CAACI,IAAI,KAAK,OAAO,EAAEH,KAAK,CAACK,IAAI,CAAC,iBAAiBV,gBAAgB,CAACI,MAAM,CAAC,YAAY,CAAC;EAC9F,IAAIA,MAAM,CAACO,MAAM,CAACC,MAAM,EAAEP,KAAK,CAACK,IAAI,CAAC,aAAaT,YAAY,CAACG,MAAM,CAACO,MAAM,CAAC,EAAE,CAAC;EAChF,IAAIP,MAA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;IAChD,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,aAAa,GAAG,SAAS,CAAC;CAC9D;AAID,wBAAgB,iBAAiB,IAAI,cAAc,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/capture/registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,0FAA0F;AAC1F,MAAM,WAAW,aAAa;IAC5B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,cAAc;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,MAAM,CAAC;IAChD,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,aAAa,GAAG,SAAS,CAAC;CAC9D;AAID,wBAAgB,iBAAiB,IAAI,cAAc,GAAG,IAAI,CAmBzD;AAED,oFAAoF;AACpF,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAWvC;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,aAAa,GACnB,WAAW,CAiBb;AAED,4EAA4E;AAC5E,wBAAgB,YAAY,IAAI,MAAM,CAWrC;AAID;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,OAAO,CAqB5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/export.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAmB/D;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,WAAW,EAAE,EACtB,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,gBAAgB,EAC5B,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,GACvB,MAAM,
|
|
1
|
+
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/export.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAmB/D;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,WAAW,EAAE,EACtB,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,gBAAgB,EAC5B,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,GACvB,MAAM,CAmER"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/assets",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.28",
|
|
4
4
|
"description": "See every asset shipped in your React Native app — bundled images, fonts, video and audio with dimensions, scale variants, byte sizes, duplicate detection and WebP-savings audit. Part of Buoy devtools.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"**/index.*"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@buoy-gg/shared-ui": "^7.0.
|
|
18
|
+
"@buoy-gg/shared-ui": "^7.0.28"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"expo-asset": "*",
|
package/src/capture/registry.ts
CHANGED
|
@@ -40,8 +40,11 @@ export function getRegistryModule(): RegistryModule | null {
|
|
|
40
40
|
try {
|
|
41
41
|
mod = require("@react-native/assets-registry/registry");
|
|
42
42
|
} catch {
|
|
43
|
+
// Old RN layouts (< 0.72) don't ship @react-native/assets-registry as a
|
|
44
|
+
// resolvable package — the registry only exists at this deep path. RN's
|
|
45
|
+
// deep-import deprecation warning fires when this executes, but it only
|
|
46
|
+
// executes on those old layouts, where there is no other way in.
|
|
43
47
|
try {
|
|
44
|
-
// Older RN layouts re-export from here; same module instance when both exist.
|
|
45
48
|
mod = require("react-native/Libraries/Image/AssetRegistry");
|
|
46
49
|
} catch {
|
|
47
50
|
mod = null;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import { Image, ScrollView, StyleSheet, Text, View } from "react-native";
|
|
12
|
-
import {
|
|
12
|
+
import { night } from "@buoy-gg/shared-ui";
|
|
13
13
|
import { displaySource } from "../capture/measure";
|
|
14
14
|
import { formatBytes, formatDimensions, formatScales } from "../format";
|
|
15
15
|
import { estDecodedBytes } from "../store/assetStore";
|
|
@@ -162,7 +162,7 @@ const styles = StyleSheet.create({
|
|
|
162
162
|
},
|
|
163
163
|
previewBox: {
|
|
164
164
|
borderRadius: 8,
|
|
165
|
-
backgroundColor:
|
|
165
|
+
backgroundColor: night.color.bg,
|
|
166
166
|
padding: 12,
|
|
167
167
|
alignItems: "center",
|
|
168
168
|
justifyContent: "center",
|
|
@@ -173,20 +173,20 @@ const styles = StyleSheet.create({
|
|
|
173
173
|
height: 140,
|
|
174
174
|
},
|
|
175
175
|
fontPreview: {
|
|
176
|
-
color:
|
|
176
|
+
color: night.color.text,
|
|
177
177
|
fontSize: 16,
|
|
178
178
|
textAlign: "center",
|
|
179
179
|
},
|
|
180
180
|
findings: {
|
|
181
181
|
borderRadius: 8,
|
|
182
182
|
borderWidth: 1,
|
|
183
|
-
borderColor:
|
|
184
|
-
backgroundColor:
|
|
183
|
+
borderColor: night.color.border,
|
|
184
|
+
backgroundColor: night.color.surface,
|
|
185
185
|
padding: 10,
|
|
186
186
|
gap: 6,
|
|
187
187
|
},
|
|
188
188
|
findingText: {
|
|
189
|
-
color:
|
|
189
|
+
color: night.color.textSecondary,
|
|
190
190
|
fontSize: 11,
|
|
191
191
|
lineHeight: 15,
|
|
192
192
|
},
|
|
@@ -194,14 +194,14 @@ const styles = StyleSheet.create({
|
|
|
194
194
|
gap: 2,
|
|
195
195
|
},
|
|
196
196
|
kvLabel: {
|
|
197
|
-
color:
|
|
197
|
+
color: night.color.textTertiary,
|
|
198
198
|
fontSize: 9,
|
|
199
199
|
fontWeight: "700",
|
|
200
200
|
letterSpacing: 0.5,
|
|
201
201
|
textTransform: "uppercase",
|
|
202
202
|
},
|
|
203
203
|
kvValue: {
|
|
204
|
-
color:
|
|
204
|
+
color: night.color.text,
|
|
205
205
|
fontSize: 12,
|
|
206
206
|
},
|
|
207
207
|
});
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
import { Image, StyleSheet, Text, TouchableOpacity, View } from "react-native";
|
|
15
|
-
import { macOSColors } from "@buoy-gg/shared-ui";
|
|
15
|
+
import { macOSColors, night } from "@buoy-gg/shared-ui";
|
|
16
16
|
import { displaySource } from "../capture/measure";
|
|
17
17
|
import {
|
|
18
18
|
formatDimensions,
|
|
@@ -141,9 +141,9 @@ const styles = StyleSheet.create({
|
|
|
141
141
|
marginHorizontal: 10,
|
|
142
142
|
marginTop: 6,
|
|
143
143
|
borderRadius: 10,
|
|
144
|
-
backgroundColor:
|
|
144
|
+
backgroundColor: night.color.surface,
|
|
145
145
|
borderWidth: 1,
|
|
146
|
-
borderColor:
|
|
146
|
+
borderColor: night.color.border,
|
|
147
147
|
overflow: "hidden",
|
|
148
148
|
},
|
|
149
149
|
body: {
|
|
@@ -160,7 +160,7 @@ const styles = StyleSheet.create({
|
|
|
160
160
|
// Light plate so dark glyph assets stay visible on the dark card.
|
|
161
161
|
backgroundColor: "rgba(255,255,255,0.10)",
|
|
162
162
|
borderWidth: 1,
|
|
163
|
-
borderColor:
|
|
163
|
+
borderColor: night.color.border,
|
|
164
164
|
alignItems: "center",
|
|
165
165
|
justifyContent: "center",
|
|
166
166
|
overflow: "hidden",
|
|
@@ -179,12 +179,12 @@ const styles = StyleSheet.create({
|
|
|
179
179
|
gap: 3,
|
|
180
180
|
},
|
|
181
181
|
name: {
|
|
182
|
-
color:
|
|
182
|
+
color: night.color.text,
|
|
183
183
|
fontSize: 12,
|
|
184
184
|
fontWeight: "600",
|
|
185
185
|
},
|
|
186
186
|
ext: {
|
|
187
|
-
color:
|
|
187
|
+
color: night.color.textTertiary,
|
|
188
188
|
fontWeight: "400",
|
|
189
189
|
},
|
|
190
190
|
metaRow: {
|
|
@@ -193,7 +193,7 @@ const styles = StyleSheet.create({
|
|
|
193
193
|
gap: 8,
|
|
194
194
|
},
|
|
195
195
|
meta: {
|
|
196
|
-
color:
|
|
196
|
+
color: night.color.textSecondary,
|
|
197
197
|
fontSize: 10,
|
|
198
198
|
fontVariant: ["tabular-nums"],
|
|
199
199
|
},
|
|
@@ -202,7 +202,7 @@ const styles = StyleSheet.create({
|
|
|
202
202
|
gap: 4,
|
|
203
203
|
},
|
|
204
204
|
size: {
|
|
205
|
-
color:
|
|
205
|
+
color: night.color.text,
|
|
206
206
|
fontSize: 12,
|
|
207
207
|
fontWeight: "700",
|
|
208
208
|
fontVariant: ["tabular-nums"],
|
|
@@ -226,7 +226,7 @@ const styles = StyleSheet.create({
|
|
|
226
226
|
borderRadius: 2.5,
|
|
227
227
|
},
|
|
228
228
|
badgePillText: {
|
|
229
|
-
color:
|
|
229
|
+
color: night.color.textSecondary,
|
|
230
230
|
fontSize: 9,
|
|
231
231
|
fontWeight: "600",
|
|
232
232
|
letterSpacing: 0.3,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { StyleSheet, Text, TouchableOpacity, View } from "react-native";
|
|
9
|
-
import {
|
|
9
|
+
import { night } from "@buoy-gg/shared-ui";
|
|
10
10
|
import { KIND_COLORS, KIND_LABELS } from "../format";
|
|
11
11
|
import type { AssetKind, AssetsStats } from "../types";
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ interface AssetsFilterBarProps {
|
|
|
20
20
|
|
|
21
21
|
export function AssetsFilterBar({ stats, filter, onChange }: AssetsFilterBarProps) {
|
|
22
22
|
const chips: Array<{ key: AssetFilter; label: string; accent: string }> = [
|
|
23
|
-
{ key: "all", label: `ALL ${stats.total}`, accent:
|
|
23
|
+
{ key: "all", label: `ALL ${stats.total}`, accent: night.color.textSecondary },
|
|
24
24
|
];
|
|
25
25
|
for (const kind of Object.keys(stats.byKind) as AssetKind[]) {
|
|
26
26
|
const entry = stats.byKind[kind];
|
|
@@ -62,7 +62,7 @@ export function AssetsFilterBar({ stats, filter, onChange }: AssetsFilterBarProp
|
|
|
62
62
|
<Text
|
|
63
63
|
style={[
|
|
64
64
|
styles.chipText,
|
|
65
|
-
{ color: active ? chip.accent :
|
|
65
|
+
{ color: active ? chip.accent : night.color.textSecondary },
|
|
66
66
|
]}
|
|
67
67
|
>
|
|
68
68
|
{chip.label}
|
|
@@ -84,8 +84,8 @@ const styles = StyleSheet.create({
|
|
|
84
84
|
},
|
|
85
85
|
chip: {
|
|
86
86
|
borderWidth: 1,
|
|
87
|
-
borderColor:
|
|
88
|
-
backgroundColor:
|
|
87
|
+
borderColor: night.color.border,
|
|
88
|
+
backgroundColor: night.color.surface,
|
|
89
89
|
borderRadius: 999,
|
|
90
90
|
paddingHorizontal: 10,
|
|
91
91
|
paddingVertical: 5,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { StyleSheet, Text, TextInput, TouchableOpacity, View } from "react-native";
|
|
9
|
-
import {
|
|
9
|
+
import { night } from "@buoy-gg/shared-ui";
|
|
10
10
|
import { saveBaseline } from "../store/baseline";
|
|
11
11
|
|
|
12
12
|
export type AssetSort = "size" | "name" | "type";
|
|
@@ -40,7 +40,7 @@ export function AssetsListControls({
|
|
|
40
40
|
value={query}
|
|
41
41
|
onChangeText={onQueryChange}
|
|
42
42
|
placeholder="Search assets…"
|
|
43
|
-
placeholderTextColor={
|
|
43
|
+
placeholderTextColor={night.color.placeholder}
|
|
44
44
|
autoCapitalize="none"
|
|
45
45
|
autoCorrect={false}
|
|
46
46
|
testID="buoy-assets-search"
|
|
@@ -75,25 +75,25 @@ const styles = StyleSheet.create({
|
|
|
75
75
|
},
|
|
76
76
|
input: {
|
|
77
77
|
flex: 1,
|
|
78
|
-
backgroundColor:
|
|
78
|
+
backgroundColor: night.color.surfaceElevated,
|
|
79
79
|
borderWidth: 1,
|
|
80
|
-
borderColor:
|
|
80
|
+
borderColor: night.color.border,
|
|
81
81
|
borderRadius: 8,
|
|
82
82
|
paddingHorizontal: 10,
|
|
83
83
|
paddingVertical: 6,
|
|
84
|
-
color:
|
|
84
|
+
color: night.color.text,
|
|
85
85
|
fontSize: 12,
|
|
86
86
|
},
|
|
87
87
|
button: {
|
|
88
|
-
backgroundColor:
|
|
88
|
+
backgroundColor: night.color.surface,
|
|
89
89
|
borderWidth: 1,
|
|
90
|
-
borderColor:
|
|
90
|
+
borderColor: night.color.border,
|
|
91
91
|
borderRadius: 8,
|
|
92
92
|
paddingHorizontal: 10,
|
|
93
93
|
paddingVertical: 7,
|
|
94
94
|
},
|
|
95
95
|
buttonText: {
|
|
96
|
-
color:
|
|
96
|
+
color: night.color.textSecondary,
|
|
97
97
|
fontSize: 10,
|
|
98
98
|
fontWeight: "700",
|
|
99
99
|
letterSpacing: 0.5,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import { useEffect, useState } from "react";
|
|
9
9
|
import { FlatList, StyleSheet, Text, View } from "react-native";
|
|
10
|
-
import { EventStepperFooter, JsModal, macOSColors } from "@buoy-gg/shared-ui";
|
|
10
|
+
import { EventStepperFooter, JsModal, macOSColors, night } from "@buoy-gg/shared-ui";
|
|
11
11
|
import type { ModalState } from "@buoy-gg/shared-ui";
|
|
12
12
|
import { getScanStatus, installAssetCapture, rescan } from "../capture/install";
|
|
13
13
|
import { formatAssetMarkdown, formatInventoryMarkdown } from "../export";
|
|
@@ -289,7 +289,9 @@ const styles = StyleSheet.create({
|
|
|
289
289
|
inlineRoot: {
|
|
290
290
|
flex: 1,
|
|
291
291
|
minHeight: 0,
|
|
292
|
-
|
|
292
|
+
// Transparent so the desktop workbench's hoisted sky (one field spanning
|
|
293
|
+
// sidebar + panel) shows through — the shell paints its base beneath it.
|
|
294
|
+
backgroundColor: "transparent",
|
|
293
295
|
},
|
|
294
296
|
inlineHeader: {
|
|
295
297
|
paddingHorizontal: 12,
|
|
@@ -313,12 +315,12 @@ const styles = StyleSheet.create({
|
|
|
313
315
|
padding: 10,
|
|
314
316
|
borderRadius: 8,
|
|
315
317
|
borderWidth: 1,
|
|
316
|
-
borderColor:
|
|
317
|
-
backgroundColor:
|
|
318
|
+
borderColor: night.color.border,
|
|
319
|
+
backgroundColor: night.color.surface,
|
|
318
320
|
gap: 4,
|
|
319
321
|
},
|
|
320
322
|
noticeText: {
|
|
321
|
-
color:
|
|
323
|
+
color: night.color.textSecondary,
|
|
322
324
|
fontSize: 11,
|
|
323
325
|
},
|
|
324
326
|
fontsBox: {
|
|
@@ -326,11 +328,11 @@ const styles = StyleSheet.create({
|
|
|
326
328
|
marginTop: 8,
|
|
327
329
|
padding: 10,
|
|
328
330
|
borderRadius: 8,
|
|
329
|
-
backgroundColor:
|
|
331
|
+
backgroundColor: night.color.surface,
|
|
330
332
|
gap: 6,
|
|
331
333
|
},
|
|
332
334
|
fontsTitle: {
|
|
333
|
-
color:
|
|
335
|
+
color: night.color.textTertiary,
|
|
334
336
|
fontSize: 9,
|
|
335
337
|
fontWeight: "700",
|
|
336
338
|
letterSpacing: 0.5,
|
|
@@ -341,9 +343,9 @@ const styles = StyleSheet.create({
|
|
|
341
343
|
gap: 6,
|
|
342
344
|
},
|
|
343
345
|
fontChip: {
|
|
344
|
-
color:
|
|
346
|
+
color: night.color.textSecondary,
|
|
345
347
|
fontSize: 10,
|
|
346
|
-
backgroundColor:
|
|
348
|
+
backgroundColor: night.color.bg,
|
|
347
349
|
borderRadius: 999,
|
|
348
350
|
paddingHorizontal: 8,
|
|
349
351
|
paddingVertical: 3,
|
|
@@ -355,12 +357,12 @@ const styles = StyleSheet.create({
|
|
|
355
357
|
gap: 8,
|
|
356
358
|
},
|
|
357
359
|
emptyTitle: {
|
|
358
|
-
color:
|
|
360
|
+
color: night.color.text,
|
|
359
361
|
fontSize: 13,
|
|
360
362
|
fontWeight: "600",
|
|
361
363
|
},
|
|
362
364
|
emptyText: {
|
|
363
|
-
color:
|
|
365
|
+
color: night.color.textSecondary,
|
|
364
366
|
fontSize: 11,
|
|
365
367
|
textAlign: "center",
|
|
366
368
|
lineHeight: 16,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { StyleSheet, Text, TouchableOpacity, View } from "react-native";
|
|
11
|
-
import { macOSColors } from "@buoy-gg/shared-ui";
|
|
11
|
+
import { macOSColors, night } from "@buoy-gg/shared-ui";
|
|
12
12
|
import { formatBytes } from "../format";
|
|
13
13
|
import { clearBaseline, saveBaseline } from "../store/baseline";
|
|
14
14
|
import type { AssetsDiff } from "../types";
|
|
@@ -67,30 +67,30 @@ const styles = StyleSheet.create({
|
|
|
67
67
|
paddingHorizontal: 10,
|
|
68
68
|
paddingVertical: 6,
|
|
69
69
|
borderWidth: 1,
|
|
70
|
-
borderColor:
|
|
70
|
+
borderColor: night.color.border,
|
|
71
71
|
borderRadius: 8,
|
|
72
|
-
backgroundColor:
|
|
72
|
+
backgroundColor: night.color.surface,
|
|
73
73
|
},
|
|
74
74
|
summary: {
|
|
75
75
|
flex: 1,
|
|
76
|
-
color:
|
|
76
|
+
color: night.color.textSecondary,
|
|
77
77
|
fontSize: 10,
|
|
78
78
|
fontWeight: "600",
|
|
79
79
|
},
|
|
80
80
|
age: {
|
|
81
|
-
color:
|
|
81
|
+
color: night.color.textTertiary,
|
|
82
82
|
fontWeight: "400",
|
|
83
83
|
},
|
|
84
84
|
button: {
|
|
85
|
-
backgroundColor:
|
|
85
|
+
backgroundColor: night.color.surfaceElevated,
|
|
86
86
|
borderWidth: 1,
|
|
87
|
-
borderColor:
|
|
87
|
+
borderColor: night.color.border,
|
|
88
88
|
borderRadius: 6,
|
|
89
89
|
paddingHorizontal: 8,
|
|
90
90
|
paddingVertical: 5,
|
|
91
91
|
},
|
|
92
92
|
buttonText: {
|
|
93
|
-
color:
|
|
93
|
+
color: night.color.textSecondary,
|
|
94
94
|
fontSize: 9,
|
|
95
95
|
fontWeight: "700",
|
|
96
96
|
letterSpacing: 0.5,
|
package/src/export.ts
CHANGED
|
@@ -54,7 +54,9 @@ export function formatInventoryMarkdown(
|
|
|
54
54
|
}
|
|
55
55
|
if (!scanStatus.graphSupported) {
|
|
56
56
|
lines.push(
|
|
57
|
-
|
|
57
|
+
scanStatus.graphError
|
|
58
|
+
? `_Metro bundle graph unavailable (${scanStatus.graphError}) — runtime-registered assets only._`
|
|
59
|
+
: "_No Metro bundle graph — runtime-registered assets only (release build)._"
|
|
58
60
|
);
|
|
59
61
|
}
|
|
60
62
|
|