Commit Graph

23 Commits

Author SHA1 Message Date
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
Alan Wang
76735a6560
fix(components): [el-tooltip] close the dropdown after set disabled (#6467)
* fix(components): [el-tooltip] close the dropdown after set disabled

* fix(components): [el-tooltip] close the dropdown after set disabled

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

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

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-10 15:52:07 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
Carter Li
8a80bfea0c
fix(components): work around #6378 (#6380) 2022-03-02 23:08:28 +08:00
三咲智子
599dddb650
refactor(components): [slot] refactor (#6302) 2022-03-01 21:51:16 +08:00
bqy
cde87c5590
refactor(components): [autocomplete] refactor autocomplete (#6067)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-01 11:48:57 +08:00
weidehai
265a0b79cd
fix(components): [el-popper] fix #6152 bug (#6173) 2022-02-23 10:49:53 +08:00
啝裳
f5c2051bed
feat: [el-popover] add before-enter、before-leave (#6203) 2022-02-21 17:08:21 +08:00
weidehai
7e9ff25aea
test(components): [el-tooltip] add unit test about appendTo (#6178) 2022-02-21 09:12:29 +08:00
hhparty
c78afdd6ab
fix(components): pass through appendTo (#6146) 2022-02-19 20:49:06 +08:00
三咲智子
b712dd8466
refactor: fix buildProps (#5936) 2022-02-11 11:40:50 +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
bqy
09ebf1bed8
refactor(components): [tooltip] use useNamespace (#5752) 2022-02-11 00:06:05 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
msidolphin
3037fdc8c5
fix(components): [el-popover] revert hide method (#5344)
fix #5334
2022-01-18 10:42:21 +08:00
jeremywu
a2cfb64028
fix(components): [el-tooltip] restoring append-to API (#5296)
- Restore `append-to` API
- Add test against `append-to` API
2022-01-11 11:02:32 +08:00
msidolphin
82182a91aa
fix(components): [el-date-picker] panel position error after view switch (#5277)
* fix(components): [el-date-picker] panel position error after view switch

* fix: [el-popper] zIndex not update issue
2022-01-11 10:40:40 +08:00
jeremywu
df57ddfe39
fix(components): [el-dropdown] cannot be closed by clicking outside (#5287)
- Fix the issue that dropdown with trigger 'click' cannot be closed when clicking outside content
- Fix the same issue for popover popconfirm
- Remove useless code from `el-tooltip-content` which can be much simpler
- Use `onClick` to replace `onMousedown` because `onMousedown` is triggered prior than `onClick`
- Adjust test cases against these changes above
2022-01-11 10:24:48 +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
Alan Wang
60bdd14317
fix(components): [el-tooltip] fallback placement (#4771) 2021-12-10 18:32:30 +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
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00