mawi1512
129a2d72e5
fix(components): [el-dropdown] use custom attributes for dropdown items ( #5779 )
...
* fix(components): [el-dropdown] use custom attributes for dropdown items
* fix: forward props and attrs
2022-02-09 15:07:20 +08:00
Alan Wang
db41ec5d5e
feat(components): [el-dropdown]add handleOpen and handleClose methods ( #5444 )
...
* feat(components): [el-dropdown]add handleOpen and handleClose methods
* feat(components): [el-dropdown]add handleOpen and handleClose methods
* feat(components): [el-dropdown]add handleOpen and handleClose methods
2022-01-19 15:04:44 +08:00
kooriookami
57e0d1d1bb
fix(style): [el-dropdown] fix doc style ( #5266 )
...
* fix: update style
* style: update
* feat: update test
2022-01-11 10:29:25 +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
João Gonçalves
0a43be5939
feat(components): [el-dropdown] add new "popper-class" prop ( #4909 )
...
Co-authored-by: João Gonçalves <joaogoncalves@pixelmatters.com>
2021-12-21 09:44:37 +08:00
三咲智子
3e8409cd45
refactor(dev): drop babel ( #3678 )
...
* refactor(dev): drop babel
* test: fix test
* drop babel
* refactor: drop nodejs 14 support
2021-09-27 15:25:58 +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