From 0fcc7619d09bb60297119a853eb7c442ef408e16 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 22 Nov 2021 14:48:04 +0000 Subject: [PATCH] Reorganise component structure --- .../design/AppPreview/componentStructure.json | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/packages/builder/src/components/design/AppPreview/componentStructure.json b/packages/builder/src/components/design/AppPreview/componentStructure.json index b237347c44..240de3ea6c 100644 --- a/packages/builder/src/components/design/AppPreview/componentStructure.json +++ b/packages/builder/src/components/design/AppPreview/componentStructure.json @@ -8,12 +8,24 @@ "repeaterblock" ] }, - "section", - "container", - "dataprovider", - "table", - "repeater", - "button", + { + "name": "Layout", + "icon": "ClassicGridView", + "children": [ + "container", + "section" + ] + }, + { + "name": "Data", + "icon": "Data", + "children": [ + "dataprovider", + "repeater", + "table", + "dynamicfilter" + ] + }, { "name": "Form", "icon": "Form", @@ -60,6 +72,7 @@ "children": [ "heading", "text", + "button", "divider", "image", "backgroundimage", @@ -67,7 +80,6 @@ "icon", "embed" ] - }, - "dynamicfilter" + } ]