diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/componentStructure.json b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/componentStructure.json index 381ceeac20..acc1fb2a63 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/componentStructure.json +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/componentStructure.json @@ -16,7 +16,8 @@ "children": [ "container", "section", - "grid" + "grid", + "sidepanel" ] }, { diff --git a/packages/client/manifest.json b/packages/client/manifest.json index d8a868b6f8..35d334d3fe 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -5225,5 +5225,13 @@ "suffix": "repeater" } ] + }, + "sidepanel": { + "name": "Side Panel", + "icon": "AdDisplay", + "hasChildren": true, + "illegalChildren": ["section"], + "showEmptyState": false, + "static": true } } \ No newline at end of file diff --git a/packages/client/src/components/app/Layout.svelte b/packages/client/src/components/app/Layout.svelte index a317da1f0f..d1e55df5b5 100644 --- a/packages/client/src/components/app/Layout.svelte +++ b/packages/client/src/components/app/Layout.svelte @@ -16,6 +16,7 @@ builderStore, currentRole, environmentStore, + sidePanelStore, } = sdk const component = getContext("component") const context = getContext("context") @@ -150,113 +151,130 @@ class:desktop={!mobile} class:mobile={!!mobile} > - {#if typeClass !== "none"} -