Commit Graph

22 Commits

Author SHA1 Message Date
三咲智子
31f530a06c
refactor(directives): [repeat-click] refactor (#9853) 2022-09-21 15:01:49 +08:00
Obaydur Rahman
e25df5408f
fix(directives): [repeat-click] Interval time is too short for single clicks (#9466)
* fix(directives): [repeat-click] time is too short for single clicks

* fix(test-utils): [repeat-click] increase sleep time

Updated times according to PR #9466

* fix(test-utils): [repeat-click] increase test time

Updated times according to PR #9466

* chore: update

* chore: improve test case

Co-authored-by: holazz <2418184580@qq.com>
2022-08-31 13:47:58 +08:00
zz
a3c8fda97a
fix(directives): [repeat-click] click handler is fired correctly (#8828) 2022-07-21 16:22:50 +08:00
zz
098c439ce8
refactor(directives): [trap-focus] use JSX in Unit test (#8819) 2022-07-17 20:34:15 +09:00
zz
83d1e2191e
refactor(directives): [trap-focus] refactor (#8818) 2022-07-16 10:12:21 +09:00
zz
16326d579b
refactor(directives): [click-outside] use JSX in Unit test (#8783)
* refactor(directives): [click-outside] use JSX in Unit test

* chore: update
2022-07-16 09:07:15 +09:00
zz
9fef09333f
refactor(directives): [repeat-click] use JSX in Unit test (#8785) 2022-07-12 20:42:38 +09:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
Delyan Haralanov
34f6f71042
test: enable clearMocks in vitest config (#7263) 2022-04-20 17:02:44 +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
三咲智子
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
三咲智子
0636e1e240
style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +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
netcon
93e50e147b
fix: can not binding multiple click-outside directives on a component (#2327)
* fix: can not binding multiple click-outside directives on a component

* test: add test for multiple click-outside directives
2021-06-25 17:10:29 +08:00
BelinChung
0bb128315b
feat(click-outside): return mousedown event (#2038)
* feat(click-outside):  return mousedown event

Return mousedown event for binding function.

* feat(click-outside): expose both mouseup and mousedown event

* feat(directives): add test cases for click-outside

* feat(directives):  clear the previously assigned event object
2021-05-24 17:29:19 +08:00
jeremywu
30f1947c47
fix(overlay): Fix overlay event triggering issue (#1235) 2021-01-14 17:01:37 +08:00
zazzaz
b01a6f4e81
feat: Feature/timepicker && repeat-click directive (#289)
* feat: Feature/datepicker && repeat-click directive (#288)

* style: fix lint

* test: fix local test

* test: update test

* fix: update api to disabledHours

* chore: update

* chore: fix lint
2020-09-16 14:49:21 +08:00
jeremywu
ef92b6c11c
### feat: add dialog (#197)
* Add overlay component; Dialog component almost done

* feat(dialog): add use-lockscreen

* feat(dialog): coding completed awaiting tests

* feat(dialog): finish writing test cases

* fix test failures

* Address PR comments

* fallback some changes
2020-09-09 21:18:08 +08:00
jeremywu
0d811ad714
feat(directives): v-trap-focus (#221)
* feat(directives): [WIP] v-trap-focus

#218

* feat(directives): new directive `v-trap-focus`

* feat(directives): - Address PR comments

* fix: fix typo
2020-09-02 10:26:32 +08:00
JeremyWuuuuu
1262b0c78b feat(directives): directive clickoutside helper for popper and modal
fix #157
2020-08-19 15:29:49 +08:00