Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2c228255
authored
Sep 18, 2024
by
Vben
Committed by
GitHub
Sep 18, 2024
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: improve layout boundary processing (#4423)
1 parent
26d43ef8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
22 additions
and
13 deletions
.github/workflows/ci.yml
docs/.vitepress/config/shared.mts
docs/.vitepress/theme/index.ts
docs/package.json
docs/src/guide/introduction/quick-start.md
internal/lint-configs/eslint-config/package.json
internal/tailwind-config/package.json
internal/vite-config/package.json
package.json
packages/@core/ui-kit/layout-ui/src/components/layout-sidebar.vue
pnpm-lock.yaml
.github/workflows/ci.yml
View file @
2c22825
...
...
@@ -17,7 +17,6 @@ env:
jobs
:
test
:
name
:
Test
if
:
github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]')
runs-on
:
${{ matrix.os }}
strategy
:
matrix
:
...
...
@@ -56,7 +55,6 @@ jobs:
lint
:
name
:
Lint
if
:
github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]')
runs-on
:
${{ matrix.os }}
strategy
:
matrix
:
...
...
@@ -109,7 +107,6 @@ jobs:
ci-ok
:
name
:
CI OK
runs-on
:
ubuntu-latest
if
:
github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]') && always()
needs
:
[
test
,
check
,
lint
]
env
:
FAILURE
:
${{ contains(join(needs.*.result, ','), 'failure') }}
...
...
docs/.vitepress/config/shared.mts
View file @
2c22825
...
...
@@ -11,6 +11,10 @@ import {
} from '@nolebase/vitepress-plugin-git-changelog/vite';
import tailwind from 'tailwindcss';
import { defineConfig, postcssIsolateStyles } from 'vitepress';
import {
groupIconMdPlugin,
groupIconVitePlugin,
} from 'vitepress-plugin-group-icons';
import { demoPreviewPlugin } from './plugins/demo-preview';
import { search as zhSearch } from './zh.mts';
...
...
@@ -21,6 +25,7 @@ export const shared = defineConfig({
markdown: {
preConfig(md) {
md.use(demoPreviewPlugin);
md.use(groupIconMdPlugin);
},
},
pwa: pwa(),
...
...
@@ -79,6 +84,7 @@ export const shared = defineConfig({
}),
GitChangelogMarkdownSection(),
viteArchiverPlugin({ outputDir: '.vitepress' }),
groupIconVitePlugin(),
],
server: {
fs: {
...
...
docs/.vitepress/theme/index.ts
View file @
2c22825
...
...
@@ -11,6 +11,7 @@ import { initHmPlugin } from './plugins/hm';
import
'./styles'
;
import
'virtual:group-icons.css'
;
import
'@nolebase/vitepress-plugin-git-changelog/client/style.css'
;
export
default
{
...
...
docs/package.json
View file @
2c22825
...
...
@@ -13,7 +13,8 @@
"@vben/styles"
:
"workspace:*"
,
"lucide-vue-next"
:
"^0.441.0"
,
"medium-zoom"
:
"^1.1.0"
,
"radix-vue"
:
"^1.9.5"
"radix-vue"
:
"^1.9.5"
,
"vitepress-plugin-group-icons"
:
"^1.2.4"
},
"devDependencies"
:
{
"@nolebase/vitepress-plugin-git-changelog"
:
"^2.5.0"
,
...
...
docs/src/guide/introduction/quick-start.md
View file @
2c22825
...
...
@@ -30,12 +30,12 @@ git -v
::: code-group
```
ba
sh [GitHub]
```
sh [GitHub]
# clone 代码
git clone https://github.com/vbenjs/vue-vben-admin.git
```
```
ba
sh [Gitee]
```
sh [Gitee]
# clone 代码
# Gitee 的代码可能不是最新的
git clone https://gitee.com/annsion/vue-vben-admin.git
...
...
internal/lint-configs/eslint-config/package.json
View file @
2c22825
...
...
@@ -41,7 +41,7 @@
"eslint-plugin-eslint-comments"
:
"^3.2.0"
,
"eslint-plugin-jsdoc"
:
"^50.2.3"
,
"eslint-plugin-jsonc"
:
"^2.16.0"
,
"eslint-plugin-n"
:
"^17.10.
2
"
,
"eslint-plugin-n"
:
"^17.10.
3
"
,
"eslint-plugin-no-only-tests"
:
"^3.3.0"
,
"eslint-plugin-perfectionist"
:
"^3.6.0"
,
"eslint-plugin-prettier"
:
"^5.2.1"
,
...
...
internal/tailwind-config/package.json
View file @
2c22825
...
...
@@ -46,7 +46,7 @@
"tailwindcss"
:
"^3.4.3"
},
"dependencies"
:
{
"@iconify/json"
:
"^2.2.2
49
"
,
"@iconify/json"
:
"^2.2.2
50
"
,
"@iconify/tailwind"
:
"^1.1.3"
,
"@tailwindcss/nesting"
:
"0.0.0-insiders.565cd3e"
,
"@tailwindcss/typography"
:
"^0.5.15"
,
...
...
internal/vite-config/package.json
View file @
2c22825
...
...
@@ -43,13 +43,13 @@
"@types/archiver"
:
"^6.0.2"
,
"@types/html-minifier-terser"
:
"^7.0.2"
,
"@vben/node-utils"
:
"workspace:*"
,
"@vitejs/plugin-vue"
:
"^5.1.
3
"
,
"@vitejs/plugin-vue"
:
"^5.1.
4
"
,
"@vitejs/plugin-vue-jsx"
:
"^4.0.1"
,
"dayjs"
:
"^1.11.13"
,
"dotenv"
:
"^16.4.5"
,
"rollup"
:
"^4.21.3"
,
"rollup-plugin-visualizer"
:
"^5.12.0"
,
"sass"
:
"^1.7
8.0
"
,
"sass"
:
"^1.7
9.1
"
,
"vite"
:
"^5.4.6"
,
"vite-plugin-compression"
:
"^0.5.1"
,
"vite-plugin-dts"
:
"4.2.1"
,
...
...
package.json
View file @
2c22825
...
...
@@ -74,12 +74,12 @@
"@vben/turbo-run"
:
"workspace:*"
,
"@vben/vite-config"
:
"workspace:*"
,
"@vben/vsh"
:
"workspace:*"
,
"@vitejs/plugin-vue"
:
"^5.1.
3
"
,
"@vitejs/plugin-vue"
:
"^5.1.
4
"
,
"@vitejs/plugin-vue-jsx"
:
"^4.0.1"
,
"@vue/test-utils"
:
"^2.4.6"
,
"autoprefixer"
:
"^10.4.20"
,
"cross-env"
:
"^7.0.3"
,
"cspell"
:
"^8.14.
3
"
,
"cspell"
:
"^8.14.
4
"
,
"husky"
:
"^9.1.6"
,
"is-ci"
:
"^3.0.1"
,
"jsdom"
:
"^25.0.0"
,
...
...
packages/@core/ui-kit/layout-ui/src/components/layout-sidebar.vue
View file @
2c22825
...
...
@@ -209,7 +209,11 @@ function calcMenuWidthStyle(isHiddenDom: boolean): CSSProperties {
};
}
function
handleMouseenter
()
{
function
handleMouseenter
(
e
:
MouseEvent
)
{
if
(
e
?.
offsetX
<
10
)
{
return
;
}
// 未开启和未折叠状态不生效
if
(
expandOnHover
.
value
)
{
return
;
...
...
pnpm-lock.yaml
View file @
2c22825
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment