88 Commits

Author SHA1 Message Date
WeiJian
266b13eca8 perf(components): [select-v2] performance enhancement for initStates (#12390)
closed #12274

Co-authored-by: weijian <wudizhanche1000@gmail.com>
2023-06-04 14:26:07 +08:00
btea
285f7c2195 fix(components): [select-v2] reset hoverindex when close dropdown list (#12090) 2023-03-20 09:51:16 +08:00
kooriookami
b112830d54 feat(components): [select-v2] Add max-collapse-tags prop (#11405)
* feat(components): [select-v2] Add max-collapse-tags prop

* feat(components): update

* feat: update

* feat: update
2023-03-10 15:01:40 +08:00
Jeremy
11925c8231 refactor(tokens) - [form] (#11743)
* refactor(tokens): [form] - remove tokens/form

* Move content in tokens/form to components/form.
* Replace token imports in components/form.

* chore: remove form/tokens and replace imports

* refactor(components): [form/form-item]

* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
Naeemo
702c71b352 refactor(tokens): use Symbol as injection key (#11251) 2023-02-05 13:10:33 +08:00
zz
4cb900bfc8 fix(components): [select-v2] initial value compatibility (#10759)
* fix(components): [select-v2] Initial value compatibility

* chore: simplify logic and add a test case
2022-11-27 22:34:48 +08:00
qiang
b456125431 fix(components): [tooltip] SSR hydration error caused by random ID (#10541) 2022-11-21 14:10:52 +08:00
Mrbigshot
1155f4ceaa fix(components): [select-v2] case-insensitive when filterable (#10575)
Co-authored-by: 叶晨 <cye2@leqee.com>
closes https://github.com/element-plus/element-plus/issues/10573
2022-11-13 17:49:52 +08:00
kooriookami
ed417d0fe0 style(components): [select-v2] Uniform style consistent with select (#10501) 2022-11-09 12:27:20 +08:00
zz
99fe8b2588 fix(components): [select-v2] empty value should be undefined (#10189) 2022-10-22 21:11:41 +08:00
btea
95c69fe88e fix(components): [select-v2] dynamic update popper (#9888)
* fix(components): [select-v2] dynamic update popper

* chore: update type
2022-10-03 15:21:28 +09:00
aei
88faef2763 fix(components): [select-v2] Test file code misspelled (#9978) 2022-09-30 17:24:08 +08:00
zz
051135e38e fix(components): [select-v2] improve placeholder display (#9835) 2022-09-20 03:58:30 +00:00
qiang
c2cec13bf7 fix(components): [select-v2] pressing the up key may cause errors (#9818) 2022-09-20 11:01:49 +08:00
Muyao
569d30f6c3 feat(components): [select-v2][tree-v2] add virtual-list style dependency (#7129)
Co-authored-by: qiang <qw13131wang@gmail.com>
2022-09-13 13:42:21 +08:00
zz
206ffbefd2 fix(components): [select-v2] fix placeholder style (#9707) 2022-09-08 15:14:28 +08:00
Xc
320b28bd20 feat(components): [select-v2] add placement (#9622)
* feat(components): [select-v2] add placement

* fix(components): [select-v2] type error

* fix(components): [select-v2] type error
2022-09-04 20:34:36 +08:00
Xc
b6bec165e9 fix(components): [select-v2] support empty string value (#9609)
* fix(components): [select-v2] support empty string

* fix(components): [select-v2] use isNil
2022-09-03 20:52:15 +08:00
sechi
d7709b0ecf fix(components): [select-v2] emit('blur') does not carry parameter (#9547) 2022-08-31 11:48:19 +08:00
Xc
251199e783 fix(components): [tooltip] related components are controlled (#9019) 2022-07-26 17:22:54 +08:00
ashun
20bdf09ea4 fix(components): [select-v2] add null check to filter method (#8537) (#8538)
When options of select-v2 contain null value in their label
Filterable feature won't work and let the web page get stuck
I add null value protection to the method and let it return false
when label includes null
2022-07-08 21:07:27 +08:00
Hefty
72d0bc2177 fix(components): add validate-event for form types component (#8173)
* fix(components): add validate-event for form types component

* chore: format code
2022-07-02 21:01:05 +08:00
Cheerwhy
5383ef9a0e fix(components): [select-v2] fix select-v2 dropdown width (#8442)
Co-authored-by: qinzz <qinzz@chint.com>
2022-06-24 22:24:22 +08:00
三咲智子
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
Xc
d536b7cb7a fix(components): [select] collapse-tags-tooltip drop first item (#8344)
* fix(components): [select] collapse-tag-tooltip drop first item

* fix(components): [select] collapse-tags-tooltip drop first item test
2022-06-18 18:38:15 +08:00
Carter Li
8413f8ea31 refactor(components): use useResizeObserver (#8124) 2022-06-08 02:04:48 +08:00
Jeremy
9f5aae64ea fix(components): [select-v2] remove private API (#8145)
* fix(components): [select-v2] remove private API

* Refactor `select-menu` to `tsx`.
* Remove usage for `h` renderer
* Fix write operation for readonly computed.

* chore: make select-dropdown as tsx

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-06-07 17:23:12 +08:00
Delyan Haralanov
c99592502f test: remove deprecated done callback (#7741)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-05-17 20:32:52 +08:00
云游君
f30b994d66 fix(components): select v2 remote method trigger reset value when blur (#7569) 2022-05-09 10:46:44 +08:00
JeremyWuuuuu
9a88fb4e46 fix(components): [popper] appendToBody API deprecation (#7534)
* fix(components): [popper] appendToBody API deprecation

- Remove `appendToBody` for components still using it.

* Remove duplicated attribute
2022-05-06 18:41:50 +08:00
JeremyWuuuuu
5daf53e8e1 refactor(components)!: remove deprecated warning (#7528) 2022-05-06 13:19:01 +08:00
joson
76297424cd fix(components): [el-select-v2] clear created options (#7305) 2022-04-26 09:13:56 +08:00
Delyan Haralanov
0a0241e54d test: fix console output errors and warnings (#7237) 2022-04-19 17:37:56 +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
白雾三语
c2ef5a82f5 fix: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object (#6888)
* fix: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object

* feat: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object,并增加单元测试
2022-03-31 20:45:50 +08:00
joson
cc9df6ea61 style: delete extra spaces (#6903)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-03-31 09:11:29 +08:00
三咲智子
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
xc
dba6a63e20 fix: selet-v2 value-key mode selected style and onClonse bug (#6602)
* fix: selet-v2 value-key mode selected style and onClonse bug

* style: format

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-03-15 19:36:41 +08:00
三咲智子
5d85fba20c chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
Herrington Darkholme
51aac2f630 fix(ci): clean up several warning (#6551) 2022-03-12 00:00:07 -05:00
Alan Wang
a3e3acc0fc feat(components): [select-v2]add collapse-tags-tooltip (#6532)
* feat(components): [select-v2]add collapse-tags-tooltip

* feat(components): [select-v2]set fallback-placements

* feat(components): [select-v2]add collapse-tags-tooltip

* feat(components): [select-v2]set fallback-placements

* feat(components): [select-v2]add v-if on tooltip
2022-03-11 15:56:35 +08:00
三咲智子
b8c38a9fe5 chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
msidolphin
166c5944d0 fix(components): [el-select] optimize prefix size & selected style (#6267)
* fix(components): [el-select] optimize prefix size & selected style

* fix: implement icon by mask

* chore: adjust multiple demo width
2022-03-07 16:13:05 +08:00
三咲智子
c72679e4e9 refactor(components)!: refactor form (#5401)
* refactor(components): refactor form

* refactor: resolve PR comments

* refactor(components): refactor isNested

* refactor: resolve PR comments
2022-03-06 22:20:56 +08:00
Carter Li
4412ace887 feat(components): export prop persistent in el-select (#6428)
Ref: https://github.com/element-plus/element-plus/issues/6378#issuecomment-1058968214
2022-03-04 17:52:10 +08:00
Alan Wang
dc7c54c741 fix(components): [select-v2] style error when form is set to disabled (#6391) 2022-03-04 08:56:37 +08:00
BeADre
99f378a63a feat(components): [el-select] add effect and close #5956 (#5976) 2022-02-11 23:13:33 +08:00
msidolphin
12eae347a1 chore: typo (#5979) 2022-02-11 18:57:20 +08:00
msidolphin
7569ccaf90 fix: namespace typo (#5972)
* chore: typo

* chore: typo

* chore: typo
2022-02-11 18:07:14 +08:00