Commit Graph

38 Commits

Author SHA1 Message Date
qiang
f83761dd2a
style(eslint-config): add eslint rules to restrict the imports of lodash (#15773)
* style(eslint-config): add eslint rules to restrict the imports of lodash

* fix: lint error

* test(components): [infinite-scroll] test error

* test(components): [infinite-scroll] test error
2024-02-03 12:10:23 +08:00
zz
d45c2b95b2
fix(test-utils): fix type error (#8780)
* fix(test-utils): fix type error

* chore: update

* chore: update
2022-07-16 21:01:48 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +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
三咲智子
2ca93aabd7
feat: publish eslint config and metadata (#7063) 2022-04-09 04:32:01 +08:00
三咲智子
80d903771f
feat: extract eslint config to separate package (#6495) 2022-03-10 15:39:13 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
三咲智子
5f5248020c
chore(project): adjust dependency (#3595) 2021-09-24 09:28:21 +08:00
三咲智子
f9e192535f
refactor: replace yarn with pnpm (#3571)
* refactor: replace yarn with pnpm

* chore: install pnpm

* chore: disable cache

* ignore pnpm-lock.yaml

* resolve deps

* setup pnpm
2021-09-23 08:12:37 +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
Aex
7fc2d6bc7d
chore(project): upgrade dependencies to latest patch (#3241)
bump lodash from 4.17.20 to 4.17.21
bump url-loader from 4.1.0 to 4.1.1
bump chalk from 4.1.0 to 4.1.2
bump cross-env from 7.0.2 to 7.0.3
bump components-helper from 1.0.2 to 1.0.4
bump @vue/babel-plugin-jsx from 1.0.0 to 1.0.7
bump @vue/compiler-sfc from 3.2.6 to 3.2.8
bump @vue/component-compiler-utils 3.2.0 from to 3.2.2
2021-09-05 16:27: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
Sanxiaozhizi
e9e56d5938
chore: upgrade & improve eslint rule (#3105)
* chore: remove unused ts-node

* chore: upgrade lodash

* chore: upgrade eslint

* perf: remove side effects in computed

* refactor: follow eslint rules

* chore: remove vue-template-compiler

* style: enhance eslint format rule

* style: format code
2021-08-27 17:46:06 +08:00
Haoqun Jiang
5d9037a8b5
fix: stop pinning vue peer dependency version (#3051)
* fix: stop pinning vue peer dependency version

It should be safe to trust `vue` to follow semver.
Pinning a peer dependency version is a bad idea because any change in
peer dependency requirement should be considered a breaking change in
theory.

On the other hand, `@vue/compiler-sfc` has a strict peer dependency
version requirement.
So pinning the `vue` version is likely to causing issues like
https://github.com/vitejs/vite/issues/4573 in the future.

* chore: update lockfile
2021-08-25 17:34:57 +08:00
jeremywu
ef94ac1a70
fix(build): upgrade vue to 3.2.x (#3031)
* chore(build): upgrade vue to 3.2.x

- Update Vue related dependencies version

* update vue version
2021-08-25 00:18:06 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
msidolphin
60c13b6f6b
test(select-v2): add some test cases & fix selectLabel/multiple-limit issue (#2626) 2021-07-23 17:06:01 +08:00
msidolphin
270f4bc97a
refactor(container): header/footer/asdide size by css variables (#2526)
fix #2482
2021-07-14 22:00:15 +08:00
Herrington Darkholme
e2e3ace5db
WIP: refactor(table): refactor the test cases (#2232)
* fix(table): move common test util out of table

* refactor(table): move column test out of table

* refactor(table): remove unnecessary toArray

* refactor(table): use triggerEvent from test-util

* fix(utils): add types to triggerEvent

* fix(table): add commented test back

* refactor(table): remove done from async test

* refactor(table): remove unused expectArray

* fix(table): fix type error on triggerEvent

* refactor(table): use conciser array methods
2021-06-12 19:38:39 +08:00
jeremywu
8206e34a66
fix(project): fix/upgrade-to-vue-3-1-1-and-with-bug-fix (#2220)
- Upgrade Vue to 3.1.1 and fix the bug alone with the upgrade
2021-06-11 18:20:49 +08:00
jeremywu
ac0612965f
build(project): project/bumping-vue-version (#1702)
* build(project): project/bumping-vue-version

- Bumping vue to 3.0.9

* remove unnecessary dependency

* restore @vue/compiler-sfc
2021-03-28 12:46:58 +08:00
Ryan2128
c550bcfd27
fix(popper): fix popper error cause by vue version update (#1556)
* chore: update vue version

* fix(infinite-scroll): fix test case error

* fix(popper): fix popper error cause by vue version update
2021-03-03 11:43:31 +08:00
jeremywu
30f1947c47
fix(overlay): Fix overlay event triggering issue (#1235) 2021-01-14 17:01:37 +08:00
zazzaz
f15d61ddbc
fix: fix timepicker keyevent bug (#1151)
* fix: fix timepicker keyevent bug

fix #904

* chore: update

* chore: update

* chore: update
2020-12-31 11:12:52 +08:00
jeremywu
a58f0fab90
chore(project): chore/bumping-vue-version (#1159)
* chore(project): chore/bumping-vue-version

- Upgrade vue to 3.0.5

* chore(project): - revision dependencies
2020-12-31 11:11:45 +08:00
jeremywu
d16fbb66e5
feat(virtual-list): first implementation of virtual list (#790) 2020-12-15 11:42:21 +08:00
jeremywu
de0696b4f6
core/bumping-dependency-vue-version (#729)
* bumping version

* build(core): bumping vue version

- Bumping up vue version from ^3.0.0 to ^3.0.3 due to the change of `emitOptions`

* Remove transition mock/Add before-enter and before-leave hook emitter for popper
2020-12-01 10:28:42 +08:00
zazzaz
355a778a2c
Feat/datepicker && datetimepicker (#326)
* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* Feat/form (#342)

* feat(form): add form component

fix #125

* test(form): add test code

* docs(form): add form doc

* feat: add uitls merge

* fix(form): fix style

* test(form): add form test code

* refactor(form): review changes

* test(form): use idiomatic vue-test-util methods

* feat(core): bump vue version

* feat(form): rewrite label wrap

* feat(form): fix tons of bugs

* fix(form): reuse ts extension

* refactor(form): move out label width computation

* fix(form): fix tons of bugs

* fix(form): test

Co-authored-by: 286506460 <286506460@qq.com>

* Feat/select (#381)

* fix: resove conflict

* feat: select basic usage

* feat: select basic usage

* feat: select feature create item

* fix: fix option data insert

* refactor: select

* fix: fix parse error

* feat: select test

* fix: select add popper

* fix: update select option

* fix: add select dependency

* fix: add index.ts file

* fix(select): clean up

* fix(select): some refactor

* fix(select): some update

* fix(select): fix all test cases

Co-authored-by: helen <yinhelen.hlj@qq.com>

Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
Co-authored-by: 286506460 <286506460@qq.com>
Co-authored-by: helen <yinhelen.hlj@qq.com>
2020-10-03 20:13:19 +08:00
Herrington Darkholme
62f1135768
Feat/form (#342)
* feat(form): add form component

fix #125

* test(form): add test code

* docs(form): add form doc

* feat: add uitls merge

* fix(form): fix style

* test(form): add form test code

* refactor(form): review changes

* test(form): use idiomatic vue-test-util methods

* feat(core): bump vue version

* feat(form): rewrite label wrap

* feat(form): fix tons of bugs

* fix(form): reuse ts extension

* refactor(form): move out label width computation

* fix(form): fix tons of bugs

* fix(form): test

Co-authored-by: 286506460 <286506460@qq.com>
2020-10-03 16:02:53 +08:00
jeremywu
cce1b5a252
feat(upload): upload component (#168)
* feat(upload): upload component

* bump version

* fix(upload): fix typo & doc

\

Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2020-09-27 12:10:36 +08:00
Herrington Darkholme
f8da703a9a
feat: bump vue version (#330)
* feat(core): bump vue version

* fix(steps): remove the usage of setupState
2020-09-19 15:38:36 +08:00
陈婉玉
ccc1ec4dde fix(infinite-scroll): wipe out sleep 2020-09-14 23:43:45 +08:00
陈婉玉
e8c1b70d26 feat: inifinite scroll done 2020-09-14 23:43:45 +08:00
HerringtonDarkholme
9cd4de7e19 fix(test-utils): revert image patch 2020-09-07 20:50:44 +08:00
Herrington Darkholme
3b5c53994e refactor(test-utils): factor out mockImageLoad 2020-09-07 20:50:44 +08:00
陈婉玉
7be198906b fix: address pr comments 2020-09-03 21:35:38 +08:00
陈婉玉
fc718948bf feat: extract common test utils 2020-09-03 21:35:38 +08:00
HerringtonDarkholme
a3e2cf6c6f fix(core): tests 2020-08-03 15:00:05 +08:00