@buoy-gg/env 7.0.32 → 7.0.33
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.
|
@@ -220,21 +220,21 @@ function EnvVarsModal({
|
|
|
220
220
|
vars: filteredVars,
|
|
221
221
|
emptyMessage: ""
|
|
222
222
|
})]
|
|
223
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.
|
|
224
|
-
style: styles.emptyState,
|
|
223
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ToolEmptyState, {
|
|
225
224
|
testID: "buoy-env-empty",
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
225
|
+
...(0, _sharedUi.resolveListEmptyState)({
|
|
226
|
+
subject: "variables",
|
|
227
|
+
verb: "declared",
|
|
228
|
+
search: searchQuery,
|
|
229
|
+
total: allVars.length,
|
|
230
|
+
waiting: {
|
|
231
|
+
// A missing .env is a config problem, not a stream that has
|
|
232
|
+
// not started — `keys` is the env-and-secrets state.
|
|
233
|
+
otto: "keys",
|
|
234
|
+
title: "No variables",
|
|
235
|
+
message: `No ${activeFilter === "all" ? "" : activeFilter} variables found`
|
|
236
|
+
}
|
|
237
|
+
})
|
|
238
238
|
})]
|
|
239
239
|
});
|
|
240
240
|
|
|
@@ -364,22 +364,5 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
364
364
|
fontWeight: "500",
|
|
365
365
|
color: _sharedUi.night.color.accent,
|
|
366
366
|
fontFamily: "monospace"
|
|
367
|
-
},
|
|
368
|
-
emptyState: {
|
|
369
|
-
alignItems: "center",
|
|
370
|
-
justifyContent: "center",
|
|
371
|
-
paddingVertical: 48
|
|
372
|
-
},
|
|
373
|
-
emptyTitle: {
|
|
374
|
-
fontSize: 16,
|
|
375
|
-
fontWeight: "600",
|
|
376
|
-
color: _sharedUi.night.color.text,
|
|
377
|
-
marginTop: 12,
|
|
378
|
-
marginBottom: 8
|
|
379
|
-
},
|
|
380
|
-
emptySubtitle: {
|
|
381
|
-
fontSize: 13,
|
|
382
|
-
color: _sharedUi.night.color.textSecondary,
|
|
383
|
-
textAlign: "center"
|
|
384
367
|
}
|
|
385
368
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { JsModal, devToolsStorageKeys, ModalHeader, HeaderSearchButton, Search, X, displayValue, buoyColors, night, windowDragProps } from "@buoy-gg/shared-ui";
|
|
3
|
+
import { JsModal, devToolsStorageKeys, ModalHeader, HeaderSearchButton, Search, X, displayValue, buoyColors, night, windowDragProps, ToolEmptyState, resolveListEmptyState } from "@buoy-gg/shared-ui";
|
|
4
4
|
import { useCallback, useState, useRef, useEffect, useMemo } from "react";
|
|
5
5
|
import { View, TextInput, TouchableOpacity, StyleSheet, ScrollView, Text } from "react-native";
|
|
6
6
|
import { EnvStatsOverview } from "./EnvStatsOverview";
|
|
@@ -215,21 +215,21 @@ export function EnvVarsModal({
|
|
|
215
215
|
vars: filteredVars,
|
|
216
216
|
emptyMessage: ""
|
|
217
217
|
})]
|
|
218
|
-
}) : /*#__PURE__*/
|
|
219
|
-
style: styles.emptyState,
|
|
218
|
+
}) : /*#__PURE__*/_jsx(ToolEmptyState, {
|
|
220
219
|
testID: "buoy-env-empty",
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
220
|
+
...resolveListEmptyState({
|
|
221
|
+
subject: "variables",
|
|
222
|
+
verb: "declared",
|
|
223
|
+
search: searchQuery,
|
|
224
|
+
total: allVars.length,
|
|
225
|
+
waiting: {
|
|
226
|
+
// A missing .env is a config problem, not a stream that has
|
|
227
|
+
// not started — `keys` is the env-and-secrets state.
|
|
228
|
+
otto: "keys",
|
|
229
|
+
title: "No variables",
|
|
230
|
+
message: `No ${activeFilter === "all" ? "" : activeFilter} variables found`
|
|
231
|
+
}
|
|
232
|
+
})
|
|
233
233
|
})]
|
|
234
234
|
});
|
|
235
235
|
|
|
@@ -359,22 +359,5 @@ const styles = StyleSheet.create({
|
|
|
359
359
|
fontWeight: "500",
|
|
360
360
|
color: night.color.accent,
|
|
361
361
|
fontFamily: "monospace"
|
|
362
|
-
},
|
|
363
|
-
emptyState: {
|
|
364
|
-
alignItems: "center",
|
|
365
|
-
justifyContent: "center",
|
|
366
|
-
paddingVertical: 48
|
|
367
|
-
},
|
|
368
|
-
emptyTitle: {
|
|
369
|
-
fontSize: 16,
|
|
370
|
-
fontWeight: "600",
|
|
371
|
-
color: night.color.text,
|
|
372
|
-
marginTop: 12,
|
|
373
|
-
marginBottom: 8
|
|
374
|
-
},
|
|
375
|
-
emptySubtitle: {
|
|
376
|
-
fontSize: 13,
|
|
377
|
-
color: night.color.textSecondary,
|
|
378
|
-
textAlign: "center"
|
|
379
362
|
}
|
|
380
363
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvVarsModal.d.ts","sourceRoot":"","sources":["../../../../src/env/components/EnvVarsModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EnvVarsModal.d.ts","sourceRoot":"","sources":["../../../../src/env/components/EnvVarsModal.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,cAAc,EAAc,MAAM,UAAU,CAAC;AAUtD,UAAU,iBAAiB;IACzB,4CAA4C;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,qDAAqD;IACrD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,qFAAqF;IACrF,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,OAAO,EACP,eAAe,EACf,MAAM,EACN,UAAU,EACV,2BAAmC,EACnC,MAAc,GACf,EAAE,iBAAiB,sCA2RnB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,eAAe,GAChB,EAAE;IACD,eAAe,EAAE,cAAc,EAAE,CAAC;CACnC,+BASA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/env",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.33",
|
|
4
4
|
"description": "Environment variable devtool for React Native — auto-discovers EXPO_PUBLIC_ vars, validates types, scores config health. Part of Buoy devtools.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
],
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@buoy-gg/floating-tools-core": "^7.0.
|
|
30
|
-
"@buoy-gg/shared-ui": "^7.0.
|
|
29
|
+
"@buoy-gg/floating-tools-core": "^7.0.33",
|
|
30
|
+
"@buoy-gg/shared-ui": "^7.0.33"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"react": "*",
|