From 428261416c0221cd32e6fdd30905c482f1444f0d Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 15 May 2024 13:35:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/checkbox/checkbox.js | 2 +- src/editor/{index.js => editor.js} | 4 ++-- src/layer/layer.js | 2 +- src/markd/{index.js => markd.js} | 2 +- src/meditor/{index.js => meditor.js} | 6 +++--- src/option/index.js | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) rename src/editor/{index.js => editor.js} (99%) rename src/markd/{index.js => markd.js} (99%) rename src/meditor/{index.js => meditor.js} (99%) diff --git a/package.json b/package.json index 918f817..83e2a3b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bd/ui", - "version": "0.1.15", + "version": "0.1.16", "type": "module", "description": "", "files": [ diff --git a/src/checkbox/checkbox.js b/src/checkbox/checkbox.js index c6ac6bc..541c23f 100644 --- a/src/checkbox/checkbox.js +++ b/src/checkbox/checkbox.js @@ -5,7 +5,7 @@ */ import { nextTick, css, html, Component } from 'wkit' -import '../base/icon.js' +import '../icon/icon.js' class Checkbox extends Component { static props = { diff --git a/src/editor/index.js b/src/editor/editor.js similarity index 99% rename from src/editor/index.js rename to src/editor/editor.js index ec10e31..32d1200 100644 --- a/src/editor/index.js +++ b/src/editor/editor.js @@ -15,8 +15,8 @@ import { clearOutsideClick } from 'wkit' import ICONS from './svg.js' -import '../form/input.js' -import '../base/button.js' +import '../input/input.js' +import '../button/button.js' const ACTTION = { bold: 'bold', diff --git a/src/layer/layer.js b/src/layer/layer.js index b14232a..34f086f 100644 --- a/src/layer/layer.js +++ b/src/layer/layer.js @@ -5,7 +5,7 @@ */ import { css, html, Component, bind, styleMap } from 'wkit' -import '../form/input.js' +import '../input/input.js' let uniqueInstance = null // 缓存当前打开的alert/confirm/prompt类型的弹窗 let toastInstance = null // 缓存toast的实例 diff --git a/src/markd/index.js b/src/markd/markd.js similarity index 99% rename from src/markd/index.js rename to src/markd/markd.js index 1ed8ee9..ea0e48c 100644 --- a/src/markd/index.js +++ b/src/markd/markd.js @@ -8,7 +8,7 @@ import { css, html, raw, Component, bind, styleMap, classMap } from 'wkit' import md2html from './core.js' import '../code/code.js' -import '../form/checkbox.js' +import '../checkbox/checkbox.js' export default md2html diff --git a/src/meditor/index.js b/src/meditor/meditor.js similarity index 99% rename from src/meditor/index.js rename to src/meditor/meditor.js index 88c0f26..8efaef8 100644 --- a/src/meditor/index.js +++ b/src/meditor/meditor.js @@ -15,9 +15,9 @@ import { clearOutsideClick } from 'wkit' -import '../views/markd/index.js' -import '../form/input.js' -import '../base/button.js' +import '../markd/markd.js' +import '../input/input.js' +import '../button/button.js' import { DEFAULT_TOOLS, html2md, Addon } from './helper.js' import ICONS from './svg.js' diff --git a/src/option/index.js b/src/option/index.js index 530b9e9..c9f7f87 100644 --- a/src/option/index.js +++ b/src/option/index.js @@ -5,7 +5,7 @@ */ import { nextTick, css, html, Component, bind } from 'wkit' -import '../base/icon.js' +import '../icon/icon.js' const MACOS_KEYS = { Cmd: '⌘',