Commit Graph

21 Commits

Author SHA1 Message Date
一只前端汪
7c16480bcd refactor(style): Update Eslint to V9 and Prettier to V3 (#21949)
* refactor(style): Update Eslint to V9 and Prettier to V3

* fix: vscode color

* fix: vscode color

* chore: remove Useless dependence and old config file

* chore: format

* Merge branch 'dev' into eslintV9

* fix: fix

* fix: ssr test

* fix: ssr test

* fix: use defineConfig

* fix: prettier format and ignore docs dist

* fix: index.mjs => index.js

* fix: Vscode color

* fix: prettier ignore global.d.ts

* fix: format

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-09-29 14:14:30 +08:00
Zhong
1ba0a6c9b5 refactor(components): unify BEM & CSS vars via helpers (#22226) 2025-09-19 16:46:50 +08:00
sea
cd2285f5bb chore: add consistent-type-imports eslint rules to .ts file (#22195)
* chore: add import type rules to .ts

* chore: update

* chore: update
2025-09-17 10:11:26 +08:00
Bigpawn
d79bc2ac55 fix(components): [splitter] resize-end event sizes value is not the latest (#22125)
* fix(components): [splitter]在调整大小结束时添加 nextTick 以确保延迟更新

当 lazy 为 true 时,使用 nextTick 确保在 DOM 更新后触发 resizeEnd 事件

* fix(components): [splitter] Fix the ts issue of onResizeEnd

* fix(components): [splitter] Add test cases

* fix(components): [splitter] Merge remote changes and keep test cases

* chore: format

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-09-12 09:14:18 +00:00
thinkasany
8cdfd33324 refactor(components): [splitter] disabled class and style (#22001)
* refactor(components): [splitter] disabled class and style

* ci: fix

* Update packages/components/splitter/src/split-bar.vue

Co-authored-by: Zhong <cszhjh@gmail.com>

* ci: fix lint

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
2025-09-04 14:34:40 +08:00
sea
76e3331fb8 style(components): [splitter] use ew-ns cursor (#21988) 2025-09-01 12:33:29 +02:00
Zhong
4080916453 fix(components): [splitter] keep panel size when container size is 0 (#21893) 2025-08-25 21:24:00 +08:00
Zhong
67ce064086 feat(components): [splitter] add lazy prop (#21730)
* feat(components): [splitter] add lazy prop

* chore: cleanup

* fix: lazy change should end dragging
2025-08-16 11:22:54 +02:00
Zhong
a2884da5f8 fix(components): [splitter] collapse works with two-way size and min & max (#21738)
* fix(components): [splitter] collapse works with two-way size and min

* test: fix case

* chore: rerun ci
2025-08-15 19:18:31 +02:00
thinkasany
2ceb415830 fix(components): [splitter] collapsible does not take effect dynamically (#21742)
* fix(components): [splitter] Toggle collapsible configuration

* ci: rerun

* Update docs/examples/splitter/collapsible.vue

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-08-13 18:11:25 +08:00
Zhong
136ec5c21b fix(components): [splitter] provide layout should be reactive (#21607)
* fix(components): [splitter] provide `layout` should be reactive

* refactor(components): [splitter] extract `layout` variable
2025-08-05 11:28:27 +08:00
thinkasany
38fd639030 refactor(components): [splitter] format class (#21502)
* refactor(components): [splitter] format class

* fix(components): update

* fix(components): rerun ci

* Revert "fix(components): update"

This reverts commit 8f1ac267d5.

* Update packages/components/splitter/src/split-bar.vue

Co-authored-by: btea <2356281422@qq.com>

---------

Co-authored-by: btea <2356281422@qq.com>
2025-07-27 20:52:14 +08:00
Zhong
e488f951d9 fix(components): [splitter] ensure cacheCollapsedSize is set (#21259) 2025-07-21 17:09:34 +08:00
Zhong
dd69d738ec test(components): [splitter] add tests for component events (#21328) 2025-07-12 16:59:28 +02:00
yuhengshen
cfc661c626 feat(types): [components] add public prop types (#21222)
* feat(types): [utils] add ExtractPublicPropTypes type

* feat(types): [components] add props public type

* chore(types): use type-only import for Prop from 'vue'

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-07 00:51:32 +08:00
Zhong
58a5852d2d refactor(components): improve component boolean type (#21260) 2025-07-06 14:56:17 +02:00
w2xi
a37b793fae fix(components): [tabs] update tabs order correctly when reordering (#21064)
* fix(components): [tabs] update tabs order correctly when reordering

* fix

* perf: reorder only if child components have been moved

* chore: tweak the test

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
2025-07-04 19:00:39 +08:00
dopamine
d05f87b6fd refactor(hooks): [useOrderedChildren] sort child components on patch (#21124) 2025-06-26 17:17:02 +08:00
Zhong
073441d21b feat(components): [splitter] add collapse event (#21035)
* feat(components): [splitter] add collapse event

* docs(components): [splitter] add version tag
2025-06-17 21:54:52 +08:00
Noblet Ouways
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288.

* Revert "chore: fix"

This reverts commit 69c82a90c0.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
Gnalvin
d720e5c31c feat(components): [splitter] new component (#20145)
* feat(components): [splitter] new component

* docs(components): [splitter] update docs

* feat(components): [splitter] add export ElSplitter ElSplitterPanel types

* feat(components): [splitter] support touch even

* Update docs/.vitepress/crowdin/en-US/pages/component.json

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* docs: update

* docs: update

* chore: update docs & code

* chore: update docs & fix code type error

* fix: use slot show error

* refactor(components): [splitter] modify props use

* refactor(components): [splitter] use native event listener to drag

* fix(components): [splitter] panel bind attrs

* refactor: use `useOrderedChildren`

* chore: fix types

* feat: add icon

* chore: translate comments and add beta tag

* docs: add default-size api

* docs: remove demo lang="scss"

* refactor: remove default-size api

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: kooriookami <bingshuanglingluo@163.com>
2025-06-03 23:01:28 +08:00