三咲智子
cb3cfa06ad
chore: upgrade @vue/test-utils ( #7877 )
2022-05-25 12:05:50 +08:00
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
opengraphica
9c51dab123
feat(components): [dialog] a11y and focus trap on dialog components ( #7550 )
...
* feat(components): [dialog] a11y and focus trap on dialog components
* feat(components): [dialog] remove default browser focus style
* feat(components): [dialog] clean up async and comment
2022-05-10 17:58:18 +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
三咲智子
cb6300c739
refactor(components): [dialog] refactor ( #6300 )
...
* refactor(components): [dialog] refactor
- fix TS type.
- enhance prop type `beforeClose`
- move `token.ts` to `@element-plus/tokens`
* refactor: resolve review comments
* test: fix slots
2022-03-01 23:43:50 +08:00
JeremyWuuuuu
124bc0d03e
fix(components): [el-dialog] refactor left overs ( #6211 )
...
- Refactor left overs addressing
2022-02-22 16:44:43 +08:00
JeremyWuuuuu
d2e9de9511
feat(components): [el-dialog] enhancement for dialog a11y ( #6087 )
...
* feat(components): [el-dialog] enhancement for dialog a11y
- Refactor dialog to script setup
* Separates dialog and its content into different components
* Remove unused code & fix a potential bug in focus-trap component
* Update dialog-content.vue
Co-authored-by: bqy <1743369777@qq.com>
2022-02-22 12:49:28 +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
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