Commit Graph

299 Commits

Author SHA1 Message Date
Herrington Darkholme
b5f08aa63a
fix flaky select test case (#391)
* chore(core): fix linting

* fix(message): fix test

* fix(message): fix message test

* fix(select): remove unused

* fix(select): fix concurrent select test case
2020-10-04 18:51:24 +08:00
Caaalabash
20728747c1
feat(autocomplete): add autocomplete component (#389)
* feat(autocomplete): add autocomplete component

* fix: package.json
2020-10-04 15:44:05 +08:00
Enguerrand des Vaux
1ffe913571
Select filtering is not working (#388)
* fix(popper): re-create popper if destroyed when updating

* fix(select): fix options query event

* fix(select): fix checkDefaultFirstOption function

* fix(select): better naming

* Update packages/select/src/useSelect.ts

Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2020-10-04 14:50:05 +08:00
Herrington Darkholme
8844187da6
chore(core): fix linting (#387) 2020-10-04 14:49:39 +08:00
Bruno Santos
e900aac6ea
Feat/message (#291)
* feat(message): add message component

- [WIP] Messages component
- TODOs: tests, VNode Bug

re #101

* test(message): add tests for message component

* fix(message): fix message z-index

Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2020-10-03 20:55:23 +08:00
Hades-li
47ebb19881
feat(color-picker): add color-picker component (#375)
* feat(color-picker): add color-picker component

finished component,unit tests

* fix: elment-plus/index.ts add color-picker

Co-authored-by: plus li <121318100@gmail.com>
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2020-10-03 20:48:29 +08:00
Enguerrand des Vaux
bd2d9b44dc
fix(popper): re-create popper if destroyed when updating (#385) 2020-10-03 20:35:26 +08:00
Enguerrand des Vaux
c5042f6d4c
add wrap label name and form setup (#383)
* fix(form): fix label-wrap impor

* fix(form): add name to label wrap

* fix(form): add from initialisation
2020-10-03 20:17:40 +08:00
Enguerrand des Vaux
2f5507a34e
fix(form): fix label-wrap impor (#382) 2020-10-03 20:13:56 +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
ff4d4d89da
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>
2020-10-03 19:07:02 +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
Caaalabash
128436214e
fix(tree): replace keyCode (#369)
* fix(tree): replace keyCode

* fix: loop error
2020-09-30 10:50:39 +08:00
jeremywu
9f8a1a4b8d
fix(popper): fix popper popsitioning error (#373) 2020-09-29 21:14:17 +08:00
jeremywu
55d368ccbe
fix: making use popper universal (#371)
* staging work

* refactor(popper): making usePopper portable
2020-09-29 16:44:48 +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
bastarder
12814a868a feat(tree): tree component optimize code 2020-09-27 11:33:31 +08:00
bastarder
567da19429 feat(tree): tree component 2020-09-27 11:33:31 +08:00
shlroland
4b7f671774
fix(dialog): fix closeDelay (#357)
issue #352

fix #352
2020-09-27 11:30:04 +08:00
hangzou
cecf4afdfc
fix(dropdown): fix dynamic default slot render error (#354) 2020-09-27 10:28:08 +08:00
zazzaz
5ed705667f chore: update 2020-09-25 18:26:21 +08:00
zazzaz
c2275aae30 fix: use new popper syntax to fix time-picker 2020-09-25 18:26:21 +08:00
zazzaz
8f9d488a0c fix: fix return property should not start "_"
fix #350
2020-09-25 17:28:22 +08:00
zazzaz
a5611000da
fix: el-input add mouseenter mouseleave event (#349) 2020-09-25 16:02:28 +08:00
zouhang
5000056c4e feat: add jsx support for test case 2020-09-24 17:36:44 +08:00
Simona
df2f990fc8
test(infinite-scroll): fix test failure above node 12 (#345) 2020-09-24 15:05:19 +08:00
jeremywu
7999433dd4
chore(core): deprecate storybook (#343) 2020-09-23 20:18:11 +08:00
Caaalabash
612847e9d0
refactor(project): replace keyCode (#337) 2020-09-22 21:01:10 +08:00
jeremywu
913b6fc9f2
fix(popper): fix popper styling bug/adding transition events (#334)
* ammend

* fix judgement
2020-09-22 13:02:05 +08:00
刘鹏龙
4fc0708389
fix: carousel style (#328) 2020-09-21 15:25:54 +08:00
Simona
e1add47603
feat(hooks): add useAttrs hook (#317)
* feat(hooks): add useAttrs hook

* feat(hooks): undo binding class and style automatically

* test: remove unused import statement
2020-09-19 20:44:07 +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
Lu
31d6a601a5
Feature/drawer (#248)
* feat(drawer): feature is done without test

* test(drawer): add unit test for drawer and fix drawer style

* fix(drawer): lint error for revert eslintrc

* feat(drawer): optimize appendtobody by use built-in teleport

* fix(drawer): resolve some review conservation

* fix(drawer): resolve nest drawer & use v-model for default visible prop

Co-authored-by: luxueyan <luxueyan@kaitongamc.com>
2020-09-18 16:37:18 +08:00
zazzaz
a900e375f2
chore: update readme (#325) 2020-09-18 16:15:30 +08:00
bastarder
3083c19232 fix(locale): i18n support params 2020-09-16 14:55:28 +08:00
zazzaz
8791908da7
feat: add calendar (#305)
* feat: add calendar

* chore: update doc

* chore: update

* chore: update
2020-09-16 14:49:47 +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
JeremyWuuuuu
37f5b6164b fix(popper): addressing comments 2020-09-16 11:12:55 +08:00
JeremyWuuuuu
9902c33dbf fix(dropdown): fix dropdown code based on popper's change 2020-09-16 11:12:55 +08:00
jeremywuuuuu
9389c16685 fix(popper): fix known bugs in popper 2020-09-16 11:12:55 +08:00
JeremyWuuuuu
c2449ac16e partial fix 2020-09-16 11:12:55 +08:00
zouhang
74f5dea703 style(dropdown): improve dropdown style 2020-09-15 21:27:33 +08:00
zazzaz
2f8c74078e chore: update 2020-09-15 18:59:58 +08:00
zazzaz
c57a6eaa53 build: init build script 2020-09-15 18:59:58 +08:00
lixianying
849bd4e7c0 fix(tag): fix click event of tag 2020-09-15 11:05:25 +08:00
Square Coin
1f8fc62d73
Feat/carousel (#151)
* feat: init carousel component

* feat(carousel): init carousel component

* chore: add global dependencies

* chore: use prettier formate code

* feat(carousel): transfer logic - progress 40%

* feat(carousel): migrate logic - progress 50%

* feat(carousel): migrate logic - progress 55%

* feat(carousel): replenish doc

* feat(carousel): add utils

* feat(carousel): finish component logi

* feat(carousel): fix type error

* feat(carousel): test case 80%

* feat(carousel): migrate finish

* feat(carousel): more test cases

* feat(carousel): test case passed

* feat(carousel): fix CI dependencies collides

* feat(carousel): update yarn.lock

* feat(carousel): merge sub component

* feat(carousel): fix lose ctx attribute in buid env

* feat(carousel): finish spec

* feat(carousel): optimize code

* chore: update yarn lock

* feat(carousel): fall back lock file

* chore(carousel): fallback dep

* feat(carousel): update vue dep

* feat(carousel): update spec file

* feat(carousel): use async test

* feat(carousel): revert eslint modify

Co-authored-by: liik <385211478@qq.com>
Co-authored-by: liik <linyunqianpp@126.com>
2020-09-15 10:50:32 +08:00
陈婉玉
34c248fe70 fix(infinite-scroll): should not trigger load when scroll up 2020-09-14 23:43:45 +08:00
陈婉玉
48d9192022 fix: merge error 2020-09-14 23:43:45 +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
liupl
afb62577b5 fix:Fit Avatar Container style 2020-09-12 00:50:59 +08:00
baimin
8b4be99610 fix(input): fix issues
https://github.com/ElemeFE/element/issues/18573
2020-09-11 14:04:22 +08:00
zazzaz
72274ed0ad fix: fix eslint && typescript-eslint issue 2020-09-11 10:44:39 +08:00
hangzou
e0708290b2
fix: fix lang type error (#299) 2020-09-10 13:54:19 +08:00
jeremywu
4019764625
fix(dialog): fix dialog exporting error (#298) 2020-09-10 10:43:15 +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
Simona
90ff286ac0
test: hoist up mocks (#294) 2020-09-09 18:31:56 +08:00
Ryan
4e8818e069 refactor(steps): replace indexOf with includes 2020-09-08 21:13:04 +08:00
Ryan
d28d0c30d8 refactor(steps): correct requested changes 2020-09-08 20:57:15 +08:00
Ryan
45f2efe88d feat(utils): add change event constant to constants.ts 2020-09-08 20:57:15 +08:00
Ryan
25c590783c refactor(steps): re-add change event 2020-09-08 20:57:15 +08:00
Ryan
fe88a7c072 fix(steps): fix error in deploy 2020-09-08 20:57:15 +08:00
Herrington Darkholme
8eafd4d32b fix(transfer): update test cases 2020-09-08 20:51:10 +08:00
Herrington Darkholme
b24f12cb3c fix(transfer): remove unused declare 2020-09-08 20:51:10 +08:00
Herrington Darkholme
25f894fc85 fix(transfer): rename d.ts to .ts 2020-09-08 20:51:10 +08:00
Ryan
6d53ef87c4 refactor(transfer): correct requested changes 2020-09-08 20:51:10 +08:00
Ryan
81d17d4cd5 test(transfer): add test file 2020-09-08 20:51:10 +08:00
Ryan
e7e3c740ba docs(transfer): add docs files 2020-09-08 20:51:10 +08:00
Ryan
3daf1cd6ab refactor(transfer): transfer component refactoring completed 2020-09-08 20:51:10 +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
zazzaz
2566bd4cd5 fix: Update El-Scrollbar default prop 2020-09-06 21:38:08 +08:00
Ryan
d5d7e8700e fix(checkbox): fix warn about lacking default value of inject 2020-09-05 20:32:10 +08:00
Ryan
6058363b6b fix(button): fix warn of validator when no type passed 2020-09-05 18:57:36 +08:00
Ryan
2dbc7a4307 fix(link): change default value of type to 'default' instead of '' 2020-09-05 18:54:37 +08:00
zouhang
21382d2ee0 style(checkbox): optimize code 2020-09-04 14:59:29 +08:00
zouhang
cdaa5199e2 style(checkbox): optimize code 2020-09-04 14:59:29 +08:00
zouhang
d235022f71 style(checkbox): improve code 2020-09-04 14:59:29 +08:00
zouhang
c53f79f94f fix(checkbox): change provided props to reactive 2020-09-04 14:59:29 +08:00
zouhang
244d5159de style(checkbox): improve code style 2020-09-04 14:59:29 +08:00
zouhang
ab8c77f0ff refactor(checkbox): refactor checkbox component 2020-09-04 14:59:29 +08:00
zouhang
a8d825bce8 feat(checkbox): optimize code logic 2020-09-04 14:59:29 +08:00
Hanx
869cec59ba
Feat/input (#216)
* feat(input): migrate input component simply

re #95

* feat(input): mainly complete input component & add more input tests

* fix: address pr comments

Co-authored-by: 陈婉玉 <simonaliachen@gmail.com>
2020-09-04 08:24:56 +08:00
baimin
ac2f477e44 feat(button): 添加validator类型校验 2020-09-03 23:31:16 +08:00
baimin
edb0326036 feat(button): 添加type,size,native-type类型限制 2020-09-03 23:31:16 +08:00
baimin
d9c238ae5f fix(link): modift link type error to danger 2020-09-03 23:31:16 +08:00
Ryan
88fafa8f3b refactor(utils): remove utils/jestMock.ts 2020-09-03 23:29:24 +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
zazzaz
dd82962a2d
fix: update scss to v2.13.2 (#246)
* fix: update scss to v2.13.2

* chore: update

* chore: update
2020-09-02 10:41:18 +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
Ryan
ab1a1546e0 docs(slider): add docs files 2020-09-01 22:16:58 +08:00
Ryan
c659d45d86 refactor(slider): refactor slider component completed 2020-09-01 22:16:58 +08:00
Ryan
e41142f49b feat(utils): add jestMock.ts 2020-09-01 22:16:58 +08:00
Ryan
2bd6cfe608 test(slider): add test files 2020-09-01 22:16:58 +08:00
陈婉玉
4e3d046f77 test: avoid mock the whole lodash but only debounce 2020-09-01 11:44:53 +08:00
ntnyq
bfe4a74fc3
docs(layout): fix invalid style syntax (#224) 2020-08-31 17:30:48 +08:00
Herrington Darkholme
12e5e93387 fix(checkbox): fix test cases in checkbox 2020-08-31 09:43:07 +08:00
LongYinan
122c88c60c chore: upgrade all dependencies 2020-08-31 09:43:07 +08:00
Simona
3d5e587938
build: replace gulp-sass with gulp-dart-sass (#219) 2020-08-28 13:38:08 +08:00