diff --git a/common/changes/@visactor/vutils/refactor-color-export_2023-09-13-02-29.json b/common/changes/@visactor/vutils/refactor-color-export_2023-09-13-02-29.json new file mode 100644 index 0000000..77cabdd --- /dev/null +++ b/common/changes/@visactor/vutils/refactor-color-export_2023-09-13-02-29.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@visactor/vutils", + "comment": "refactor: re-export color module", + "type": "none" + } + ], + "packageName": "@visactor/vutils" +} \ No newline at end of file diff --git a/packages/vutils/src/index.ts b/packages/vutils/src/index.ts index ffef158..70eaab3 100644 --- a/packages/vutils/src/index.ts +++ b/packages/vutils/src/index.ts @@ -23,6 +23,7 @@ export * from './math'; export * from './angle'; // color +// TODO: 后续删除这个导出,避免引入不需要的内容 export * as ColorUtil from './color'; // methods about graphics @@ -43,3 +44,5 @@ export * from './time'; export * from './dom'; export * from './geo'; + +export * from './color';