@milkdown/design-system
Advanced tools
Comparing version 5.2.0 to 5.2.1
import { ThemePack, ThemeTool } from './types'; | ||
export { ThemePack, ThemeTool } from './types'; | ||
export { Color, Font, Icon, Size } from './types'; | ||
export declare const injectVar: (themePack: ThemePack) => void; | ||
export declare const pack2Tool: (themePack: ThemePack) => ThemeTool; | ||
export type { Color, Font, Icon, Size, ThemePack, ThemeTool } from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@milkdown/design-system", | ||
"version": "5.2.0", | ||
"main": "lib/index.js", | ||
"module": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"version": "5.2.1", | ||
"main": "./lib/index.cjs.js", | ||
"module": "./lib/index.es.js", | ||
"types": "./lib/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./lib/index.es.js", | ||
"require": "./lib/index.cjs.js" | ||
} | ||
}, | ||
"sideEffects": false, | ||
@@ -19,7 +25,7 @@ "license": "MIT", | ||
"start": "vite", | ||
"watch": "tsc -w", | ||
"watch": "vite build --watch", | ||
"test": "jest", | ||
"tsc": "tsc --noEmit", | ||
"build": "tsc" | ||
"build": "vite build && tsc --emitDeclarationOnly" | ||
} | ||
} |
@@ -8,5 +8,2 @@ /* Copyright 2021, Milkdown by Mirone. */ | ||
export { ThemePack, ThemeTool } from './types'; | ||
export { Color, Font, Icon, Size } from './types'; | ||
export const injectVar = (themePack: ThemePack) => { | ||
@@ -72,1 +69,3 @@ const { color = {}, font, size = {} } = themePack; | ||
}; | ||
export type { Color, Font, Icon, Size, ThemePack, ThemeTool } from './types'; |
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
28942
340
19
2