Commit Graph

60 Commits

Author SHA1 Message Date
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
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
qiang
59392fa194 refactor(components): [tabs] add deprecated mark to activeName (#8590) 2022-07-02 22:06:40 +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
xiahouwei
1299d4a88f fix(components): [tabs] fix change acitve cannot scroll in view (#8332)
fix change active cannot scroll in view

closed #8114
2022-06-17 22:27:54 +08:00
LIUCHAO
32b68cccef fix(components): DOM update finished calculating navOffset (#8221)
closed #7672
2022-06-17 15:29:54 +08:00
JeremyWuuuuu
5daf53e8e1 refactor(components)!: remove deprecated warning (#7528) 2022-05-06 13:19:01 +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
bqy_fe
b863db272e feat(components): [tabs] add tab-change event (#6978) 2022-04-03 14:09:52 +08:00
blackie
cd0f5ace61 refactor(components): [tabs] switch to script-setup syntax (#6468)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-30 02:58: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
三咲智子
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
Hefty
ae33485f5a fix(components): [el-tabs] label slot not update (#6738) 2022-03-22 17:01:13 +08:00
三咲智子
5d85fba20c chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04: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
三咲智子
b8c38a9fe5 chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +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
啝裳
d5e586b51b feat: tabpane name support number type (#5915)
* feat: tabpane name support number type

* fix: update
2022-02-10 23:25:39 +08:00
三咲智子
c1e5d724d8 refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
三咲智子
5087026948 refactor: change icon package name (#4625) 2021-12-04 11:20:06 +08:00
周毓杰 (Oliver Zhou)
adc85619e0 perf(components): avoid unnecessary tab switch rerender (#4513)
Co-authored-by: 周毓杰 <xiake@xiaohongshu.com>
2021-11-24 13:55:00 +08:00
三咲智子
6de5aacce4 fix(components): [el-tabs] fix tab render (#4383) 2021-11-15 10:08:07 +08:00
Kevin
a586e15a35 refactor(components): refactor tabs 2021-11-12 05:43:40 +08:00
Chen
bb6fad313e refactor(components): refactor tabs 2021-11-12 05:43:40 +08:00
Aex
2036755e3c fix(components): h function children parameter usage (#4238)
* fix(components): `h` function children parameter usage

* fix: usage

* fix: icon align
2021-11-05 18:24:19 +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