Commit Graph

77 Commits

Author SHA1 Message Date
opengraphica
e1b88263e3
feat(components): [popper] focus trap and a11y (#7736)
* feat(components): [popper] fix focus traps

* feat(components): [popper] add focus trap tests

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-20 18:13:27 +08:00
Xc
07d934e29f
fix(components): [select] in form change size (#7599)
* fix: select in form change size

* fix: unuser
2022-05-11 08:21:52 +08:00
JeremyWuuuuu
5daf53e8e1
refactor(components)!: remove deprecated warning (#7528) 2022-05-06 13:19:01 +08:00
opengraphica
7173e402b7
feat(components): [form-item] auto attach labels to inputs (#7450)
* feat(components): [form-item] auto attach labels to inputs

* feat(components): [form-item] auto-attach up through select

* feat(components): [form-item] auto id complete for all inputs

* feat(components): [form-item] fix lint, remove unused usePopper hook

* feat(components): [form-item] PR comments
2022-05-05 22:04:32 +08:00
Xc
334117c2cb
fix(components): [select] The problem that the size changes and the height does not change (#7471)
* fix: select size height change

* fix: add select size test

* fix: del unuse
2022-05-05 09:49:07 +08:00
Herb Brewer
1700cdc05e
fix(components): [select]label is not shown when value is a object (#7054) 2022-05-03 00:01:08 +08:00
三咲智子
9de79794a3
refactor(utils): move function (#7336) 2022-04-23 21:59:17 +08:00
Zhongxiang Wang
de29873f40
fix(components): [select] not set input padding anymore (#7269) 2022-04-20 17:01:29 +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
Zhongxiang Wang
8307d109fd
refactor(components): [input] change to flex layout (#7179)
* Revert "fix(components): [input] improved when both `suffix` and `prefix` are displayed (#7001)"

This reverts commit 793ca8ae29.

* refactor(components): [input] change to flex layout
2022-04-18 23:18:13 +08:00
bqy_fe
2f38edd715
fix(components): [select] inner input height is inconsistent with select (#6979)
* fix(components): [select] inner input height is inconsistent with select

* Update packages/constants/size.ts

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-04-10 14:48:01 +08:00
btea
2e85acbf9e
fix(components): [select] value support object (#6933)
* fix(components): [select] value support object

* Update packages/components/select/src/select.vue

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-04-01 14:35:36 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
Muyao
7b61eba9f3
fix(components): [el-select] reset selectedLabel when toggle multiple (#6769)
fix #6766
2022-03-24 15:19:44 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
Alan Wang
57d08f9a78
feat(components): [select]add collapse-tags-tooltip (#6245)
* feat(components): [select]add collapse-tags-tooltip

* feat(components): [select] collapse-tags-tooltip set width

* feat(components): [select] collapse-tags-tooltip set fallback-placements

* feat(components): [select] resolve conflicts

* feat(components): [select] add v-if on tooltip
2022-03-11 15:56:23 +08:00
Alan Wang
e1447d9c7c
fix(components): [select] display error when setting persistent to false (#6522) 2022-03-11 14:36:15 +08:00
Alan Wang
73e60cd86a
test(components): [select] click icon twice (#6471) 2022-03-10 23:28:50 +08:00
gjfei
3cc4867f7a
fix(components): el-select-allow-dynamically-update-options (#6473)
* fix(components):[select] (#6458)

* fix(components): [select] allow create

* fix(components): [select] allow create code review
2022-03-10 15:50:46 +08:00
gjfei
593082ec65
fix(components):[select] namespace (#6486) 2022-03-10 15:39:42 +08:00
gjfei
68127aa442
fix(components):[select] (#6446) (#6474) 2022-03-08 14:09:37 +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
Alan Wang
a4679050ea
fix(components): [select] click icon not respond (#6441) 2022-03-06 18:00:00 +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
wzrove
40242b2730
style(components): [el-select] collapse-tags存在时,增加左边距 (#6037) 2022-02-15 11:14:29 +08:00
三咲智子
7abc200742
refactor(utils): improve escapeStringRegexp (#6013) 2022-02-13 22:48:42 +08:00
BeADre
99f378a63a
feat(components): [el-select] add effect and close #5956 (#5976) 2022-02-11 23:13:33 +08:00
jeremywu
1429a4e669
fix(components): [el-select] tag default theme (#5983)
- Fix the default theme for select tag
- Fix the input padding for inputable select
2022-02-11 19:55:34 +08:00
zeting
fc8291114e
fix(components): fix [el-select] infinite bounce (#5977)
修复了select组件  filterable 和multiple 属性激活是  当失去焦点后再次激活焦点会无限抖动的问题,并修复异常样式

# 5905

Co-authored-by: 袁泽庭 <chongyun@boomlink.com>
2022-02-11 18:18:39 +08:00
jeremywu
04df2a483a
fix(utils): restore scrollIntoView method (#5973) 2022-02-11 18:07:59 +08:00
msidolphin
7569ccaf90
fix: namespace typo (#5972)
* chore: typo

* chore: typo

* chore: typo
2022-02-11 18:07:14 +08:00
三咲智子
590538cd38
test: fix scrollIntoView (#5960) 2022-02-11 12:35:26 +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
btea
cb98b7cf97
fix(components): [select] change the tagType and style default value (#5884)
* fix(components): [select] change the tagType and style default value

* chore: update
2022-02-11 11:01:53 +08:00
JacBiank
e901c58c63
fix(components): [el-select] (#5952) 2022-02-11 10:28:18 +08:00
bqy
28b82a5ffe
fix(components): [select] define nsInput & rename ns to nsSelect (#5953) 2022-02-11 09:56:53 +08:00
bqy
b99fd42e07
refactor(components): [select] use useNamespace (#5733)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-11 03:58:02 +08:00
jeremywu
bcd5c8b848
test(components): removing mock folder (#5911)
- Remove mock folder from the project root
- Add mock for each component test file accordingly
2022-02-10 16:35:44 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
三咲智子
426a6a686c
feat: switch to lodash-unified (#5734)
* feat: switch to lodash-unified

* chore: move lodash mocks
2022-02-08 10:37:21 +08:00
jeremywu
44dc9a1cf5
test(components): remove all sleep statement in the tests (#5784) 2022-02-06 00:37:20 +08:00
jeremywu
dbb00ef4b6
fix(components): [el-popper] append to body compatability (#5755)
* fix(components): [el-popper] append to body compatability

- Add a new hook for deprecation warning
- Add deprecation warnings for previous used `append-to-body` API
- Add test for the API.

* Address PR comments

* Update documentations for deprecated

* Fix formatting issue
2022-02-04 14:59:58 +08:00
msidolphin
8322bcf843
refactor(components): [el-pagination] optimize component style (#5666) 2022-01-27 16:52:45 +08:00
Alan Wang
7f025e1efc
fix(components): [el-select] hover index (#4423) 2022-01-19 16:59:03 +08:00
Alan Wang
260e491011
docs: [el-select]change default of reserve-keyword (#5355) 2022-01-19 15:17:19 +08:00
kooriookami
c2ee36a7fc
fix: tooltip with compoents add persistent (#5250) 2022-01-09 17:38:51 +08:00
jeremywu
dd19cae2bc
refactor(components): popper composables (#5035)
* refactor(components): popper composables

- Refactor popper composables

* updates

* updates for tooltip

* Updates for popper. TODO: fix controlled tooltip animation

* Fix controlled mode popper animation issue

* Add new feature for customizing tooltip theme

* Fix popover and popconfirm error

* - Add Collection component for wrapping a collection of component
- Add FocusTrap component for trap focus for popups
- Add RovingFocus component for roving focus component type
- Adjust dropdown component based on these newly added components
- Add popper-trigger component for placing the trigger
- TODO: Finish current dropdown component, and all component's tests plus documents

* Refactor popper

* Complete organizing popper

* Almost finish dropdown

* Update popper tests

* update only-child test

* Finish focus trap component test

* Finish tooltip content test

* Finish tooltip trigger tests

* Finish tooltip tests

* finish tests for Collection and RovingFocusGroup

* Fix test cases for timeselect & select & popover

* Fix popover, popconfirm, menu bug and test cases

* Fix select-v2 test error caused by updating popper

* Fix date-picker test issue for updating popper

* fix test cases

* Fix eslint

* Rebase dev & fix tests

* Remove unused code
2022-01-04 09:15:15 +08:00