@inkindcards/semantic-layer 2.2.3 → 2.2.4

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.
@@ -903,6 +903,9 @@ function Inspectable({
903
903
  };
904
904
  }, [inspectActive]);
905
905
  if (!registry) {
906
+ console.warn(
907
+ `[SemanticLayer] <Inspectable label="${label}"> has no <DataInspector> ancestor. Make sure <DataInspector> wraps your app content, not self-closing: <DataInspector>{children}</DataInspector>`
908
+ );
906
909
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
907
910
  }
908
911
  const isSelected = registry.selectedId === id;
@@ -1118,7 +1121,7 @@ function ToggleButton({
1118
1121
  /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
1119
1122
  ] }),
1120
1123
  active ? "Inspecting" : "Inspect Data",
1121
- count > 0 && /* @__PURE__ */ jsxRuntime.jsx(
1124
+ /* @__PURE__ */ jsxRuntime.jsx(
1122
1125
  "span",
1123
1126
  {
1124
1127
  style: {