Commit Graph

33 Commits

Author SHA1 Message Date
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
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
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
DDDDD12138
9473f9dcb9 fix(components): [tabs] ensure correct event order (#20384) 2025-04-12 06:17:11 +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
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
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
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
qiang
c4d0c6f90a refactor(components): [tabs] improve types (#9561)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-09-06 16:26:17 +00:00
qiang
f362df7792 fix(components): [tabs] nav offset error when use both number and string (#9222)
* fix(components): [tabs] nav offset error when use both number and string

closed #8565

* fix(components): [tabs] cancel change the id

* test(components): [tabs] add test
2022-08-31 13:50:20 +08:00
LIUCHAO
b4d16ea53f refactor(components): [tabs] use JSX in Unit test (#9050)
* refactor(components): [tabs] use JSX in Unit test

* style(components): [tabs] use v-model
2022-08-02 18:54:48 +09:00
qiang
4b0b051c53 fix(components): [tabs] disabled pane can still be focused (#8600)
* fix(components): [tabs] disabled pane can still be focused

* test(components): [tabs] modify the test

* fix(components): [tabs] hide close button when Tab is disabled

* chore(components): [tabs] optimize code

* fix(theme-chalk): [tabs] the disabled style error
2022-07-16 19:01:03 +08:00
Xc
08e02042b7 fix(components): [tabs] name is number 0 become a string (#8469) 2022-06-29 09:11:40 +08:00
三咲智子
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
LIUCHAO
32b68cccef fix(components): DOM update finished calculating navOffset (#8221)
closed #7672
2022-06-17 15:29:54 +08:00
三咲智子
84c0b6a37f refactor(components): [tabs] refactor register pane (#7449) 2022-05-02 15:13:34 +08:00
三咲智子
1d13ebb05d feat: drop jest (#7248)
* feat: drop jest

* test: remove ssr

* test: rename

* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0 test(components): switch all components to vitest (#7205)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
btea
fa35d9d179 Revert "fix(components): [el-tabs] label slot not update (#6738)" (#6871)
This reverts commit ae33485f5a.
2022-03-28 22:26:15 +08:00
Hefty
ae33485f5a fix(components): [el-tabs] label slot not update (#6738) 2022-03-22 17:01:13 +08:00
Zapic
525f61f8da fix(component): [el-tabs] the initial pane should only render for once (#6563)
* fix(component): [el-tabs] the initial pane should only render for once

* test(component): [el-tabs] improve test of lazy load pane

* test(component): [el-tabs] fix lint error

Co-authored-by: KawaiiZapic <kawaiizapic@zapic.moe>
2022-03-12 20:44:17 +08:00
三咲智子
6503e55277 refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
Kevin
a586e15a35 refactor(components): refactor tabs 2021-11-12 05:43:40 +08:00
Aex
4510816802 refactor(componentes): deprecate the icon font of some components (#4067)
* refactor(components): [el-breadcumb] icon

* refactor(components): el-tabs icon

* refactor(components): color picker icon

* refactor(components): menus icon

* refactor(components): loading spinner icon

* fix(components): panel-data-pick elicon import

* refactor(components): dropdown item icon

* refactor(components): tabs plus icon

* fix: message & tabs icon test

* fix(components): breadcrumb docs

* fix(components): colorPicker docs

* fix(components): loading docs

Co-authored-by: imswk <syfzxx@vip.qq.com>
2021-10-28 23:37:26 +08:00
Kevin
cd2bd26d63 test: upgrade @vue/test-utils to v2.0.0-rc.15 2021-10-06 17:19:00 +08:00
三咲智子
c86c2b0fe9 style: eslint enable prefer-template (#3414)
* style: eslint enable prefer-template

* chore: apply eslint rules
2021-09-17 09:18:24 +08:00
三咲智子
55348b30b6 style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
jeremywu
b0f4fc5f23 refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00