diff --git a/package.json b/package.json index 278c30c..0335159 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "axp-ui", "descriiption": "My helper ui lib", - "version": "1.10.1", + "version": "1.12.0", "homepage": "https://antoxahub.ru/antoxa/axp-ui", "repository": { "type": "git", @@ -10,8 +10,15 @@ "module": "./dist/index.mjs", "main": "./dist/index.umd.js", "types": "./dist/index.d.ts", + "files": [ + "dist", + "tsconfig.json", + "tailwind.config.ts", + "src/style" + ], "exports": { ".": { + "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "requier": "./dist/index.umd.js" }, @@ -20,12 +27,6 @@ "./style/*": "./src/style/*", "./tsconfig.json": "./tsconfig.json" }, - "files": [ - "dist", - "tsconfig.json", - "tailwind.config.ts", - "src/style" - ], "scripts": { "build": "vite build", "build:storybook": "storybook build -o docs", @@ -33,8 +34,8 @@ "prepare": "npm run build" }, "peerDependencies": { - "axp-ts": "^1.11.4", - "vue": "^3.4.9", + "axp-ts": "^1.12.0", + "vue": "^3.4.18", "zod": "^3.22.4" }, "devDependencies": { @@ -47,16 +48,16 @@ "@storybook/vue3-vite": "^7.6.7", "@vitejs/plugin-vue": "^4.6.2", "autoprefixer": "^10.4.16", - "postcss": "^8.4.33", + "postcss": "^8.4.35", "prettier": "^2.8.8", "react": "^18.2.0", "react-dom": "^18.2.0", - "sass": "^1.69.7", + "sass": "^1.70.0", "storybook": "^7.6.7", "tailwindcss": "^3.4.1", "typescript": "^5.3.3", - "vite": "^4.5.1", - "vite-plugin-dts": "^3.7.0", + "vite": "^4.5.2", + "vite-plugin-dts": "^3.7.2", "vue-router": "^4.2.5" } } diff --git a/src/components/Btn.vue b/src/components/Btn.vue index 0350f39..952b8af 100644 --- a/src/components/Btn.vue +++ b/src/components/Btn.vue @@ -37,7 +37,6 @@ const cssClass = computed(() => { 'ui-btn': true, 'ui-btn-icon': props.icon } - if (props.color) obj[props.color] = true return obj })