Commit Graph

18 Commits

Author SHA1 Message Date
zz
f5af4c84fd
refactor(components): [popover] use JSX in Unit test (#8337) 2022-08-27 16:59:38 +00:00
Xc
ef22e5db62
feat(components): [tooltip] adjust controlled mode (#8762)
* feat(components): [tooltip] adjust controlled mode
2022-07-17 23:14:51 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
zz
ed174ff73f
refactor(components): [popover] switch to script-setup syntax (#8273) 2022-06-22 01:01:11 +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
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
啝裳
dafc701af8
fix: replenish popover missing types (#5958)
* fix: replenish popover missing types

* fix: update
2022-02-11 17:56:21 +08:00
三咲智子
b80e5c69e9
refactor(hooks): refactor popup manager to useZIndex (#5701) 2022-02-09 16:31:31 +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
C.Y.Kun
e62e29ef5b
fix(components): [popover] after-enter/leave events not trigger (#5681) 2022-01-31 23:07:09 +08:00
msidolphin
3037fdc8c5
fix(components): [el-popover] revert hide method (#5344)
fix #5334
2022-01-18 10:42:21 +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
三咲智子
4335b01d6c
refactor(utils)!: refactor global config (#4793)
* refactor(utils)!: remove global config

* refactor(utils): named export PopupManager

* fix tests
2021-12-30 19:31:35 +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
Sanxiaozhizi
0617cdf9f8
test: fix test (#3109) 2021-08-27 19:13:37 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00