@buoy-gg/image-overlay 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.
@@ -66,15 +66,13 @@ function TargetList({
66
66
  onSelect
67
67
  }) {
68
68
  if (targets.length === 0) {
69
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
70
- style: styles.emptyState,
71
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
72
- style: styles.emptyTitle,
73
- children: "No targets found"
74
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
75
- style: styles.emptyText,
76
- children: ["Tag components with", "\n", "testID=\"image-target:YourLabel\""]
77
- })]
69
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ToolEmptyState, {
70
+ testID: "buoy-image-overlay-empty"
71
+ // scanning = the screen was walked and nothing was tagged.
72
+ ,
73
+ otto: "scanning",
74
+ title: "No targets found",
75
+ message: 'Tag components with\ntestID="image-target:YourLabel"'
78
76
  });
79
77
  }
80
78
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import { View, Text, TouchableOpacity, StyleSheet, ScrollView } from "react-native";
9
- import { ChevronRight, night, Hash } from "@buoy-gg/shared-ui";
9
+ import { ChevronRight, night, Hash, ToolEmptyState } from "@buoy-gg/shared-ui";
10
10
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
11
  function TargetRow({
12
12
  target,
@@ -62,15 +62,13 @@ export function TargetList({
62
62
  onSelect
63
63
  }) {
64
64
  if (targets.length === 0) {
65
- return /*#__PURE__*/_jsxs(View, {
66
- style: styles.emptyState,
67
- children: [/*#__PURE__*/_jsx(Text, {
68
- style: styles.emptyTitle,
69
- children: "No targets found"
70
- }), /*#__PURE__*/_jsxs(Text, {
71
- style: styles.emptyText,
72
- children: ["Tag components with", "\n", "testID=\"image-target:YourLabel\""]
73
- })]
65
+ return /*#__PURE__*/_jsx(ToolEmptyState, {
66
+ testID: "buoy-image-overlay-empty"
67
+ // scanning = the screen was walked and nothing was tagged.
68
+ ,
69
+ otto: "scanning",
70
+ title: "No targets found",
71
+ message: 'Tag components with\ntestID="image-target:YourLabel"'
74
72
  });
75
73
  }
76
74
  return /*#__PURE__*/_jsx(ScrollView, {
@@ -1 +1 @@
1
- {"version":3,"file":"TargetList.d.ts","sourceRoot":"","sources":["../../../../src/imageOverlay/components/TargetList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAwCjD,UAAU,eAAe;IACvB,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,QAAQ,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,eAAe,+BAuBhE"}
1
+ {"version":3,"file":"TargetList.d.ts","sourceRoot":"","sources":["../../../../src/imageOverlay/components/TargetList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAwCjD,UAAU,eAAe;IACvB,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,QAAQ,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,eAAe,+BAwBhE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/image-overlay",
3
- "version": "7.0.32",
3
+ "version": "7.0.33",
4
4
  "description": "Pin your Figma mockup on top of the running app — pixel-perfect UI comparison without leaving the simulator. Part of Buoy devtools.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@buoy-gg/shared-ui": "^7.0.32"
29
+ "@buoy-gg/shared-ui": "^7.0.33"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "*",