diff --git a/src/AppShell/src/components/LibraryElementBanner.svelte b/src/AppShell/src/components/LibraryElementBanner.svelte new file mode 100644 index 000000000..4a72039f3 --- /dev/null +++ b/src/AppShell/src/components/LibraryElementBanner.svelte @@ -0,0 +1,26 @@ + + +{#if $selectedData?.isLibraryElement} +
Select an object to view its properties.
@@ -196,9 +198,10 @@ {@const viewControls = getControlsForView()} {@const hasAttributesPanel = viewControls.some(c => c.controlType === "attributes")} + {@const readOnly = $selectedData.isLibraryElement} {#if hasAttributesPanel} {@const { main, advanced } = partitionControls(viewControls.filter(c => c.controlType !== "attributes"))} -