diff --git a/rollup.config.js b/rollup.config.js index 8b0844de07b..ff7b9ceb755 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -44,6 +44,7 @@ module.exports = { 'css-render', '@css-render/plugin-bem', 'vueuc', - 'vooks' + 'vooks', + 'vicons' ] } diff --git a/src/_base/select-menu/index.js b/src/_base/select-menu/index.js index c9adabe75f8..e4854cdd991 100644 --- a/src/_base/select-menu/index.js +++ b/src/_base/select-menu/index.js @@ -1,9 +1,4 @@ /* istanbul ignore file */ import BaseSelectMenu from './src/SelectMenu.vue' -import BaseSelectOption from './src/SelectOption.js' -export { - BaseSelectMenu, - BaseSelectOption -} export default BaseSelectMenu diff --git a/src/_deprecated/style-scheme.js b/src/_deprecated/style-scheme.js index 4d81eb6901e..899a3503149 100644 --- a/src/_deprecated/style-scheme.js +++ b/src/_deprecated/style-scheme.js @@ -1,4 +1,4 @@ -export const lightStyleScheme = { +const lightStyleScheme = { primaryColor: '#18a058', primaryHoverColor: '#36ad6a', primaryActiveColor: '#0c7a43', @@ -38,7 +38,7 @@ export const lightStyleScheme = { inputOverlayBackgroundColor: null } -export const darkStyleScheme = { +const darkStyleScheme = { primaryColor: '#63e2b7', primaryHoverColor: '#7fe7c4', primaryActiveColor: '#5acea7', diff --git a/src/_utils/vue/src/omit.js b/src/_utils/vue/src/omit.js index 98d29d92b97..44fc9236987 100644 --- a/src/_utils/vue/src/omit.js +++ b/src/_utils/vue/src/omit.js @@ -6,4 +6,3 @@ export function omit (object, keys = [], rest = {}) { }) return Object.assign(omitedObject, rest) } -export default omit diff --git a/src/preset.js b/src/preset.js index d8b747a68a0..30dac8b3048 100644 --- a/src/preset.js +++ b/src/preset.js @@ -79,7 +79,7 @@ import * as styles from './styles' import NimbusServiceLayout from './_deprecated/NimbusServiceLayout' // deprecated -import { lightStyleScheme, darkStyleScheme } from './_deprecated/style-scheme' +import styleScheme from './_deprecated/style-scheme' import create from './create' @@ -165,8 +165,5 @@ export default create({ ], styles: Object.keys(styles).map(key => styles[key]), // deprecated - styleSchemes: { - light: lightStyleScheme, - dark: darkStyleScheme - } + styleSchemes: styleScheme })