@black-kro/ui
Advanced tools
Comparing version 0.1.46 to 0.1.47
{ | ||
"name": "@black-kro/ui", | ||
"version": "0.1.46", | ||
"version": "0.1.47", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.common.js", |
import type { Plugin } from 'vue' | ||
import type { IconifyGlobal } from '@purge-icons/generated' | ||
import { registerThemeWatcher } from './composables/useTheme' | ||
import { IconSymbol } from './composables/useIcon' | ||
@@ -12,2 +14,6 @@ import * as KroComponents from './components' | ||
interface KroUIBaseConfiguration { | ||
icons: IconifyGlobal | ||
} | ||
export const KroUIBaseConfigurationPlugin = (): Plugin => ({ | ||
@@ -26,3 +32,3 @@ install(app, config: KroUIConfiguration) { | ||
const KroUIPluginBase = (components: any, directives: any): Plugin => ({ | ||
install(app) { | ||
install(app, config: KroUIBaseConfiguration) { | ||
/** | ||
@@ -48,2 +54,4 @@ * Register Components | ||
app.provide(IconSymbol, config.icons) | ||
/** | ||
@@ -50,0 +58,0 @@ * Register the theme watcher |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3070972
150
2884
0