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