Commit Graph

90 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
a4cdb69638 fix(components): replace KeyboardEvent.code with getEventCode (#22268)
fix(components): replace `event.code` with `getEventCode`
2025-09-21 20:57:25 +08:00
qiang
9043e16d94 fix: the KeyboardEvent.code is always empty string on Android (#22228)
closed #20330
2025-09-21 01:23:38 +02:00
Zhong
d3dd793a4b fix(components): [tabs] give priority to the closable prop of tab-pane (#22187)
* fix(components): [tabs] give priority to the `closable` prop of tab-pane

* fix: resovle 22186

* fix: use strict equality

* test: add case
2025-09-17 16:41:22 +02:00
Zhong
0f5022a4f9 feat(components): [tabs] support scrolling via mouse wheel (#22024)
* feat(components): [tabs] support scrolling via mouse wheel

* ci: rerun ci
2025-09-10 09:05:41 +08:00
Kylin
81df371a02 refactor(components): [tabs] extract logical reuse (#22006) 2025-09-03 15:50:35 +08:00
thinkasany
2dc61ac5ea refactor(components): improve tab Observer name (#21413)
chore(components): improve tab Observer name
2025-07-20 08:02:06 +08:00
betavs
fee45e1b31 fix(components): [tab-pane] safely access value before schedule render (#21275) 2025-07-08 12:30:02 +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
dopamine
21a29c7b1c fix(components): [tabs] ensure label slot updates (#21231)
* fix(components): [tabs] ensure label slot updates

* fix: compatible with Vue 3.4+

* chore: comments
2025-07-04 19:30:02 +08: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
qiang
6eab313cf9 fix(components): [tabs] focus may still remain in pane when tabs changed (#19433)
* fix(components): [tabs] focus may still remain in pane when tabs changed

closed #19364

* fix: type

* chore: style

* fix: test
2025-07-01 11:45:06 +02:00
dopamine
d05f87b6fd refactor(hooks): [useOrderedChildren] sort child components on patch (#21124) 2025-06-26 17:17:02 +08:00
dopamine
f50222cb55 fix(components): [tabs] match visual order to source order (#21025)
* fix(components): [tabs] match visual order to source order

* fix
2025-06-17 09:50:00 +08:00
maicss
af97019b70 fix(components): [tabs] fix nav height for better display (#15600)
fix(components): [tabs] fix border UI
2025-06-16 15:55:11 +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
sea
6956491d94 feat(components): [tabs] update type and expose tabBarRef (#20670)
* feat(components): [tabs] update tabBarRef type and expose tabBarRef

* fix: update ins

* chore: update type

* docs: update

Co-authored-by: xingyixiang <452282988@qq.com>

---------

Co-authored-by: xingyixiang <452282988@qq.com>
2025-05-09 14:37:13 +08:00
xinconan
aa6c510282 feat(components): [tabs] expose tabNavRef and tabListRef (#20552) 2025-04-29 13:45:52 +08:00
DDDDD12138
9473f9dcb9 fix(components): [tabs] ensure correct event order (#20384) 2025-04-12 06:17:11 +08:00
dopamine
7be4a3765e chore: emits smaller declaration files (#20109)
* Revert "fix(types): packing unexpected types (#19419)"

This reverts commit 13506ffb81.

* Revert "chore: add explicit type annoation (#19352)"

* fix(typescript): borken import paths in declaration files

* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
DDDDD12138
f6c9fd54ca fix(components): [tabs] set modelValue synchronously if beforeLeave is not set or is synchronous (#19387)
* fix: [tabs] sync modelValue if beforeLeave is not set or is synchronous

* feat: add unit test
2025-01-06 23:37:17 +08:00
qiang
343cacf5cc fix(components): numpadEnter does not work like the Enter (#18855) 2024-11-14 21:14:51 +08:00
dopamine
a9f15b6f12 fix: downgrade vue-tsc to 2.0.28 (#18737) 2024-11-01 15:36:10 +08:00
btea
0760b06b18 fix(components): [tabs] active-bar not move with the tab label changes (#18165)
* fix(components): [tabs] active-bar not move with the tab label changes

* fix: update

* fix: update
2024-09-05 14:36:36 +08:00
dopamine
79938178dd build: use vue-tsc to generate dts (#16111)
* build: use vue-tsc to generate dts

* reduce inline type declaration

* fix: type checking failed

* apply suggestions from code review

* address PR comments
2024-08-07 12:01:46 +08:00
dopamine
f12b020338 fix(components):[tabs] reactive objects may lose reactivity in label slot (#14135) 2024-07-30 20:11:43 +08:00
dopamine
ae0439df9f fix(components): [tabs] optimize SSR (#15183) 2024-07-29 18:01:07 +08:00
wzc520pyfm
b7c9c1010b docs(components): [tabs] use new display tag (#15380) 2024-07-23 10:17:43 +08:00
Liao-js
92204e97f1 fix(components): [tabs] bar width is error when only one bar (#17016) 2024-07-22 17:02:28 +08:00
郭某人
1faeb5f314 fix(components): [tabs] add button misalignment in vertical layout (#16986)
* fix(components): [tabs] Layout issues

* fix(components): [tabs] Simplify code
2024-07-22 16:36:44 +08:00
kooriookami
d8a9f902b2 chore(components): clear deprecated API (#15922)
* chore(components): clear deprecated API

* docs: update
2024-02-28 12:42:17 +08:00
Xc
7fd6e4f453 fix(components): [tabs] slot name use kebab-case style (#15733)
* fix(components): [tabs] slot name use kebab-case style

* fix(components): [tabs] slot name use kebab-case style

* fix(components): [tabs] slot name use kebab-case style

* docs(components): [tabs] use deprecated tag
2024-02-02 15:24:13 +08:00
Hefty
bfff514f77 refactor(components): [tabs] enhance instance type (#14352)
* refactor(components): [tabs] enhance instance type

1. exports Tabs instance type

2. add expose type to TabNavInstanec

* chore: remove useless import
2023-09-22 10:20:46 +08:00
btea
db16e31489 feat(components): [tabs] add addIcon slot (#12970)
* feat(components): [tabs] add addIcon slot

* docs: add example

* docs: update tabs.md

* chore: add version tag
2023-09-19 13:33:33 +08:00
Mario34
35082b08ed fix(components): [tabs] Fix some events accidentally firing (#14224) 2023-09-19 08:01:45 +08:00
Jeremy
a30ae9d103 refactor(project): removing packages/tokens (#11769)
* refactor(tokens): remove tokens

* Remove tokens/breadcrumb.

* refactor(tokens): remove tokens/button

* refactor(tokens): remove tokens/carousel

* refactor(tokens): removing tokens/checkbox

* refactor(tokens): removing tokens/collapse

* refactor(tokens): removing tokens/dialog

* refactor(tokens): removing tokens/pagination

* refactor(tokens): removing tokens/radio

* refactor(tokens): removing tokens/row

* refactor(tokens): removing tokens/scrollbar

* refactor(tokens): removing tokens/slider

* refactor(tokens): removing tokens/tabs

* refactor(tokens): removing tokens/upload

* refactor(tokens): removing tokens/popper

* refactor(tokens): removing tokens/tooltip

* refactor(tokens): removing tokens/tooltip-v2

* refactor(tokens): removing tokens/date-picker

* refactor(project): removing tokens/experimentals

* Remove tokens/experimentals
* Remove package/tokens
* Remove tokens related parts

* refactor(project): removing packages/tokens completely

* chore: update import statement
2023-03-01 13:59:21 +08:00
Travis
be0ed4de68 fix(components): [tabs] tab-bar need to adapt to tabs width change (#11731)
* fix(components): [tabs] tab-bar need to adapt to tabs width change

closed #11722

* perf(components): [tabs] tabBar -> tabBarRef
2023-02-28 13:19:19 +08:00
qiang
3a1b683ee3 fix(components): [tabs] add deep attribute to watch (#11724) 2023-02-26 01:35:46 +08:00
RadiumAg
4019a83405 chore(components): [tabs] optimize code (#11261) 2023-01-12 11:07:14 +00:00
zz
a47bf23a02 fix(components): [tabs] correct active bar position (#10989) 2022-12-15 23:55:40 +08:00
zz
5d9142f5cd perf(components): [tabs] update test case (#10991) 2022-12-15 16:59:44 +08:00
Xc
b45346cc93 fix(utils): [vnode] flattedChildren support subTree (#10298) 2022-10-31 16:21:50 +08:00
zz
af874ea93e refactor(components): [tabs] simplify logic with hooks (#10224) 2022-10-26 13:01:22 +08:00
Xingjian Zhang
2985bd5188 fix(components): [tabs] fix typo of PaneName (#10006) 2022-10-13 11:20:30 +08:00
dopamine
268d87a03b fix(components): [tabs] prevent scroll tab into view after focusing it (#9990)
closed #9980
2022-10-04 09:51:57 +08:00
zz
b80cf5f095 fix(components): [tabs] correct the position of tab-bar when scaling (#9896)
* fix(components): [tabs] correct the position of tab-bar when scaling

* chore: improve type
2022-09-26 12:49:29 +08:00
三咲智子
861a7953b4 refactor(components): switch to vue macros (#9306) 2022-09-16 22:57:41 +08:00
三咲智子
ab19e8f2e6 perf(components): [tabs] improve order performance 2022-09-16 22:51:44 +08:00
仿生狮子
116c1daf05 fix(components): [tabs] tabs order
fixed: https://github.com/element-plus/element-plus/issues/9532
2022-09-16 22:51:44 +08:00
qiang
c4d0c6f90a refactor(components): [tabs] improve types (#9561)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-09-06 16:26:17 +00:00