From 2a3b71080574202fe85fa27e7026e32276af9656 Mon Sep 17 00:00:00 2001 From: Mintu <127925465+Gmin2@users.noreply.github.com> Date: Thu, 6 Jun 2024 15:58:42 +0530 Subject: [PATCH] fix: Enhancement of Visual Json Schema Editor (#1065) Co-authored-by: Khuda Dad Nomani <32505158+KhudaDad414@users.noreply.github.com>%0ACo-authored-by: Prince Rajpoot <44585452+princerajpoot20@users.noreply.github.com> --- .../VisualJsonSchemaEditor.stories.tsx | 35 + packages/ui/components/DropdownMenu.tsx | 2 + packages/ui/components/VisualEditor.tsx | 189 +- .../ui/components/VisualEditor/CodeEditor.tsx | 3 +- .../VisualEditor/PropertyControls.tsx | 148 +- .../components/VisualEditor/SchemaObject.tsx | 118 +- .../VisualEditor/SchemaProperty.tsx | 230 +- packages/ui/components/icons/AddIcon.tsx | 2 +- packages/ui/package.json | 7 +- pnpm-lock.yaml | 24363 +++++++++------- 10 files changed, 14048 insertions(+), 11049 deletions(-) diff --git a/apps/design-system/src/components/VisualJsonSchemaEditor.stories.tsx b/apps/design-system/src/components/VisualJsonSchemaEditor.stories.tsx index 04e59af45..a314cbe3d 100644 --- a/apps/design-system/src/components/VisualJsonSchemaEditor.stories.tsx +++ b/apps/design-system/src/components/VisualJsonSchemaEditor.stories.tsx @@ -282,4 +282,39 @@ export const NesteadArray = () => ( /> ); +export const Blank_schema = () => ( +