update packages

This commit is contained in:
AntoXa PRO 2024-02-12 12:38:59 +03:00
parent e8c9d3a2df
commit ae50d16d86
2 changed files with 14 additions and 14 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "axp-ui", "name": "axp-ui",
"descriiption": "My helper ui lib", "descriiption": "My helper ui lib",
"version": "1.10.1", "version": "1.12.0",
"homepage": "https://antoxahub.ru/antoxa/axp-ui", "homepage": "https://antoxahub.ru/antoxa/axp-ui",
"repository": { "repository": {
"type": "git", "type": "git",
@ -10,8 +10,15 @@
"module": "./dist/index.mjs", "module": "./dist/index.mjs",
"main": "./dist/index.umd.js", "main": "./dist/index.umd.js",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"files": [
"dist",
"tsconfig.json",
"tailwind.config.ts",
"src/style"
],
"exports": { "exports": {
".": { ".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs", "import": "./dist/index.mjs",
"requier": "./dist/index.umd.js" "requier": "./dist/index.umd.js"
}, },
@ -20,12 +27,6 @@
"./style/*": "./src/style/*", "./style/*": "./src/style/*",
"./tsconfig.json": "./tsconfig.json" "./tsconfig.json": "./tsconfig.json"
}, },
"files": [
"dist",
"tsconfig.json",
"tailwind.config.ts",
"src/style"
],
"scripts": { "scripts": {
"build": "vite build", "build": "vite build",
"build:storybook": "storybook build -o docs", "build:storybook": "storybook build -o docs",
@ -33,8 +34,8 @@
"prepare": "npm run build" "prepare": "npm run build"
}, },
"peerDependencies": { "peerDependencies": {
"axp-ts": "^1.11.4", "axp-ts": "^1.12.0",
"vue": "^3.4.9", "vue": "^3.4.18",
"zod": "^3.22.4" "zod": "^3.22.4"
}, },
"devDependencies": { "devDependencies": {
@ -47,16 +48,16 @@
"@storybook/vue3-vite": "^7.6.7", "@storybook/vue3-vite": "^7.6.7",
"@vitejs/plugin-vue": "^4.6.2", "@vitejs/plugin-vue": "^4.6.2",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"postcss": "^8.4.33", "postcss": "^8.4.35",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"sass": "^1.69.7", "sass": "^1.70.0",
"storybook": "^7.6.7", "storybook": "^7.6.7",
"tailwindcss": "^3.4.1", "tailwindcss": "^3.4.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"vite": "^4.5.1", "vite": "^4.5.2",
"vite-plugin-dts": "^3.7.0", "vite-plugin-dts": "^3.7.2",
"vue-router": "^4.2.5" "vue-router": "^4.2.5"
} }
} }

View File

@ -37,7 +37,6 @@ const cssClass = computed(() => {
'ui-btn': true, 'ui-btn': true,
'ui-btn-icon': props.icon 'ui-btn-icon': props.icon
} }
if (props.color) obj[props.color] = true if (props.color) obj[props.color] = true
return obj return obj
}) })