From 04ef82ce42dd9118f218065a43521969e0246e0e Mon Sep 17 00:00:00 2001 From: murray Date: Mon, 3 Jul 2023 10:19:35 +0800 Subject: [PATCH] feat: add pure editor mode --- .idea/runConfigurations/start_css.xml | 1 - apps/demo/src/App.tsx | 150 +- apps/demo/src/index.css | 14 + packages/core/src/components/Dialog.tsx | 84 + packages/core/src/components/NavBar.tsx | 27 +- .../src/editor/contexts/deployedContext.tsx | 12 + packages/core/src/editor/pureEditor.tsx | 502 ++ .../core/src/editor/utils/ramdom-value.ts | 66 + packages/core/src/index.ts | 1 + packages/provider/rollup.config.js | 104 +- pnpm-lock.yaml | 4553 +++++++++-------- 11 files changed, 3231 insertions(+), 2283 deletions(-) create mode 100644 packages/core/src/components/Dialog.tsx create mode 100644 packages/core/src/editor/pureEditor.tsx create mode 100644 packages/core/src/editor/utils/ramdom-value.ts diff --git a/.idea/runConfigurations/start_css.xml b/.idea/runConfigurations/start_css.xml index d7025dd..8875043 100644 --- a/.idea/runConfigurations/start_css.xml +++ b/.idea/runConfigurations/start_css.xml @@ -6,7 +6,6 @@