From fa516821f4127540cf0946c70fb978bfdf1c8fef Mon Sep 17 00:00:00 2001 From: Mutasem Date: Mon, 2 Aug 2021 15:27:09 +0200 Subject: [PATCH] update imports --- packages/editor-ui/src/n8n-theme.scss | 1 - packages/editor-ui/src/plugins/compontents.ts | 2 +- packages/editor-ui/src/views/NodeView.vue | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/editor-ui/src/n8n-theme.scss b/packages/editor-ui/src/n8n-theme.scss index 427667b427..640f0a3ef9 100644 --- a/packages/editor-ui/src/n8n-theme.scss +++ b/packages/editor-ui/src/n8n-theme.scss @@ -1,7 +1,6 @@ @import "./n8n-theme-variables"; @import "~n8n-design-system/theme/dist/index.css"; -@import "~n8n-design-system/dist/n8n-design-system.css"; body { font-family: 'Open Sans', sans-serif; diff --git a/packages/editor-ui/src/plugins/compontents.ts b/packages/editor-ui/src/plugins/compontents.ts index 11f83e8ed0..9ce3eb914a 100644 --- a/packages/editor-ui/src/plugins/compontents.ts +++ b/packages/editor-ui/src/plugins/compontents.ts @@ -55,7 +55,7 @@ import locale from 'element-ui/lib/locale'; import { N8nIconButton, N8nButton, -} from 'n8n-design-system/dist/n8n-design-system.umd.min'; +} from 'n8n-design-system'; import { ElMessageBoxOptions } from "element-ui/types/message-box"; Vue.use(Fragment.Plugin); diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index 532863e8e0..74d4db8786 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -162,9 +162,6 @@ import { } from '../Interface'; import { mapGetters } from 'vuex'; -// import N8nIcon from 'n8n-design-system/src/components/N8nIcon'; -// import N8nButton from 'n8n-design-system/src/components/N8nButton/Button.vue'; - const NODE_SIZE = 100; const DEFAULT_START_POSITION_X = 250; const DEFAULT_START_POSITION_Y = 300;