chore: update deps and docs (#4184)

* chore: update deps

* chore: update docs

* chore: update menu
This commit is contained in:
Vben
2024-08-18 08:43:00 +08:00
committed by GitHub
parent 5f41c51770
commit 9120d20143
34 changed files with 443 additions and 509 deletions

View File

@@ -36,6 +36,6 @@
"dependencies": {
"@iconify/vue": "^4.1.2",
"lucide-vue-next": "^0.428.0",
"vue": "^3.4.37"
"vue": "^3.4.38"
}
}

View File

@@ -62,7 +62,7 @@
"dependencies": {
"@ctrl/tinycolor": "^4.1.0",
"@tanstack/vue-store": "^0.5.5",
"@vue/shared": "^3.4.37",
"@vue/shared": "^3.4.38",
"clsx": "^2.1.1",
"defu": "^6.1.4",
"lodash.clonedeep": "^4.5.0",

View File

@@ -38,7 +38,7 @@
}
},
"dependencies": {
"vue": "^3.4.37",
"vue": "^3.4.38",
"vue-router": "^4.4.3"
}
}

View File

@@ -39,7 +39,7 @@
"@vueuse/core": "^11.0.0",
"radix-vue": "^1.9.4",
"sortablejs": "^1.15.2",
"vue": "^3.4.37"
"vue": "^3.4.38"
},
"devDependencies": {
"@types/sortablejs": "^1.15.8"

View File

@@ -32,6 +32,6 @@
"@vben-core/shared": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vueuse/core": "^11.0.0",
"vue": "^3.4.37"
"vue": "^3.4.38"
}
}

View File

@@ -42,6 +42,6 @@
"@vben-core/shadcn-ui": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vueuse/core": "^11.0.0",
"vue": "^3.4.37"
"vue": "^3.4.38"
}
}

View File

@@ -43,6 +43,6 @@
"@vben-core/shared": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vueuse/core": "^11.0.0",
"vue": "^3.4.37"
"vue": "^3.4.38"
}
}

View File

@@ -683,7 +683,7 @@ $namespace: vben;
}
&__popup {
padding: 4px 0;
padding: 10px 0;
border-radius: var(--menu-item-radius);
.#{$namespace}-sub-menu-content,

View File

@@ -68,11 +68,13 @@ const isFirstLevel = computed(() => {
});
const contentProps = computed((): HoverCardContentProps => {
const side =
mode.value === 'horizontal' && isFirstLevel.value ? 'bottom' : 'right';
const isHorizontal = mode.value === 'horizontal';
const side = isHorizontal && isFirstLevel.value ? 'bottom' : 'right';
return {
collisionPadding: { top: 20 },
side,
sideOffset: isFirstLevel.value ? 5 : 10,
sideOffset: isHorizontal ? 5 : 10,
// sideOffset: 10,
};
});
@@ -214,7 +216,7 @@ onBeforeUnmount(() => {
]"
:content-props="contentProps"
:open="true"
:open-delay="0"
:open-delay="30"
>
<template #trigger>
<SubMenuContent

View File

@@ -50,6 +50,6 @@
"class-variance-authority": "^0.7.0",
"lucide-vue-next": "^0.428.0",
"radix-vue": "^1.9.4",
"vue": "^3.4.37"
"vue": "^3.4.38"
}
}

View File

@@ -42,6 +42,6 @@
"@vben-core/shadcn-ui": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vueuse/core": "^11.0.0",
"vue": "^3.4.37"
"vue": "^3.4.38"
}
}

View File

@@ -24,6 +24,6 @@
"@vben/stores": "workspace:*",
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"vue": "^3.4.37"
"vue": "^3.4.38"
}
}

View File

@@ -23,6 +23,6 @@
"@vben/preferences": "workspace:*",
"@vueuse/core": "^11.0.0",
"echarts": "^5.5.1",
"vue": "^3.4.37"
"vue": "^3.4.38"
}
}

View File

@@ -28,7 +28,7 @@
"@vben/types": "workspace:*",
"@vueuse/integrations": "^11.0.0",
"qrcode": "^1.5.4",
"vue": "^3.4.37",
"vue": "^3.4.38",
"vue-router": "^4.4.3"
},
"devDependencies": {

View File

@@ -25,7 +25,7 @@
"@vben/stores": "workspace:*",
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"vue": "^3.4.37",
"vue": "^3.4.38",
"vue-router": "^4.4.3",
"watermark-js-plus": "^1.5.3"
}

View File

@@ -33,7 +33,7 @@
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"@vueuse/core": "^11.0.0",
"vue": "^3.4.37",
"vue": "^3.4.38",
"vue-router": "^4.4.3"
}
}

View File

@@ -21,7 +21,7 @@
},
"dependencies": {
"@intlify/core-base": "^9.14.0",
"vue": "^3.4.37",
"vue": "^3.4.38",
"vue-i18n": "^9.14.0"
}
}

View File

@@ -24,7 +24,7 @@
"@vben-core/typings": "workspace:*",
"pinia": "2.2.2",
"pinia-plugin-persistedstate": "^3.2.1",
"vue": "^3.4.37",
"vue": "^3.4.38",
"vue-router": "^4.4.3"
}
}

View File

@@ -21,7 +21,7 @@
},
"dependencies": {
"@vben-core/typings": "workspace:*",
"vue": "^3.4.37",
"vue": "^3.4.38",
"vue-router": "^4.4.3"
}
}