Commit Graph

44 Commits

Author SHA1 Message Date
三咲智子
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
Kevin
cd2bd26d63 test: upgrade @vue/test-utils to v2.0.0-rc.15 2021-10-06 17:19:00 +08:00
jeremywu
3138dea797
fix(components): sub components no install issue (#3615)
- Add noop install for all sub components for supress the warning
2021-09-24 19:11:56 +08:00
三咲智子
0636e1e240
style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +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
三咲智子
2f23940152
refactor(utils): refactor throwError (#3301)
* refactor(utils): refactor error

* refactor(utils): remove default export
2021-09-10 10:01:17 +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
SongWuKong
12b5d76020
fix(components): tabs dynamic text (#3174) (#3180)
* fix(components): tabs dynamic text (#3174)

* fix(components): tabs dynamic text (#3174)
2021-09-03 08:19:28 +08:00
Sanxiaozhizi
0617cdf9f8
test: fix test (#3109) 2021-08-27 19:13:37 +08:00
Sanxiaozhizi
e9e56d5938
chore: upgrade & improve eslint rule (#3105)
* chore: remove unused ts-node

* chore: upgrade lodash

* chore: upgrade eslint

* perf: remove side effects in computed

* refactor: follow eslint rules

* chore: remove vue-template-compiler

* style: enhance eslint format rule

* style: format code
2021-08-27 17:46:06 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00