Commit Graph

323 Commits

Author SHA1 Message Date
jeremywu
2d4348a827
fix(notification): export notification in the package (#453) 2020-10-22 14:31:15 +08:00
Caaalabash
b4c84cc00a
fix(autocomplete): popper usage (#429)
* fix(autocomplete): dropdownWidth

* fix: el-popper usage

* test: change test file

* fix: remove storybook doc dir

* test: sleep time
2020-10-22 14:02:28 +08:00
jeremywu
8e95db293c
fix(popper): remove clickouside listener when manual enabled (#450) 2020-10-22 14:00:33 +08:00
Mesamo
8d2d6be085 fix(message-box): binding confirmButtonDisabled property 2020-10-21 18:04:08 +08:00
zazzaz
2343ab1d90 fix: fix table type 2020-10-21 11:40:08 +08:00
hxp971130
c864b7d53e
fix(utils): isServer judgment error (#441) 2020-10-20 13:50:29 +08:00
zazzaz
ceae92fe7c
fix: fix table tooltip (#438) 2020-10-20 11:47:02 +08:00
hangzou
e8c162ea72
fix: fix rollup module (#434)
* fix(build): fix some export & import path

* fix(build): build utils

* fix: fix error import

* fix(build): fix import error

* fix(build): remove useless dependent

* fix(build): fix build command error
2020-10-20 11:45:44 +08:00
justwiner
2985a71751
feat(table): table (#407)
Co-authored-by: winerlu <winerlu@tencent.com>
Co-authored-by: zazzaz <izazzaz@hotmail.com>
2020-10-20 10:31:47 +08:00
jeremywu
f4f81af246
fix(message-box): - fix message box unit test error (#433) 2020-10-19 15:05:37 +08:00
余林夕
c2951875b3
feat(message-box): migrate MessageBox (#300)
* feat(message-box): migrate MessageBox

* refactor(message-box): import sleep from test-utils

* refactor(message-box): optimize props

* refactor(message-box): optimize message-box

* refactor(message-box): optimize message-box

* refactor(message-box): optimize message-box

* refactor(message-box): remove `removeClass` & `addClass`

* refactor(message-box): replace 'HTMLElement' with 'HTMLButtonElement'

* refactor(message-box): review optimize

* refactor(message-box): __test__ optimize

* refactor(message-box): replace addEvent with on and off

* refactor(message-box): remove doc

* feat(message-box): jest add @babel/plugin-proposal-class-properties

Co-authored-by: YuLinXi <yumengyuan@klicen.com>
2020-10-19 13:50:22 +08:00
jeremywu
73fb527f49
feat/Popover (#339)
* init popover

* feat(popover): component almost done. next `directive`

* modifications

* code finished

* partial complete testing code

* feat(popover): popover component

* fix linter complains
2020-10-19 13:44:50 +08:00
xiaoeyu
43d2b23676
feat(popconfirm): add Popconfirm component (#356) 2020-10-16 11:14:45 +08:00
晓枫
2ee313ab61
feat(input-number): add input-number component (#368) 2020-10-16 10:37:35 +08:00
Roland
07f2c75b6e
fix(collapse): fix/collapse type question (#394)
Co-authored-by: zazzaz <izazzaz@hotmail.com>
2020-10-16 10:34:10 +08:00
James Zhang
c396449ad3
fix(button): update prop 'size' type assertions to IButtonSize
fix(button): update prop 'size' type assertions to IButtonSize #420
2020-10-16 10:26:56 +08:00
Enguerrand des Vaux
fe79cd3061
fix: Scrollbar migration to TypeScript (#397) 2020-10-13 10:39:36 +08:00
zouhang
c6e8c5c45e build(core): fix some type error 2020-10-09 20:24:53 +08:00
zouhang
a14afae7c9 fix: fix some comp type erro & add rollup build 2020-10-09 20:24:53 +08:00
jeremywu
20458b7779
fix(popper): fix popper modifier overriding issue (#399) 2020-10-09 15:29:36 +08:00
PannanaAlex
cc2ab5c417
feat: add pagination (#195)
* feat(component): add type 'pagination' for form usage #120

* feat(pagination): optimize pagination code

* fix(pagination): optimize code

* feat(component): add type 'pagination' for form usage #120

* feat(pagination): optimize pagination code

* fix(pagination): optimize code

* feat(pagination): update component

Co-authored-by: pannana <pannana@ucloud.cn>
Co-authored-by: zouhang <zouhang@didiglobal.com>
2020-10-09 12:04:25 +08:00
Enguerrand des Vaux
37a5a9156d
Fix time select lint issue (#395)
* fix(popper): re-create popper if destroyed when updating

* fix(time-select): remove unused ref
2020-10-09 10:51:28 +08:00
Herrington Darkholme
dda8b97ddb
Fix/lint (#392)
* chore(core): fix linting

* fix(message): fix test

* fix(message): fix message test

* fix(select): remove unused

* fix(select): fix concurrent select test case

* fix(style): remove redundant type annotation

* fix(other): linting
2020-10-05 12:50:34 +08:00
Enguerrand des Vaux
b5ed49ae93
feat/TimeSelect (#329)
* feat(time-select): start of migration

* feat(time-select): fix typo

* feat(time-select): minor change

* feat(time-select): working Vue.js 2 time-select

* feat(time-select): migration to v3

* feat(time-select): add select element

* feat(time-select): migrate v-model

* feat(time-select): add type definition

* feat(time-select): add default value for minTime

* feat(time-select): fix documentation

* feat(time-select): export select to use it

* feat(time-select): fix form

* feat(time-select): export time-select to see it in the website

* feat(time-select): fix updateOptions methods

* fix(popper): re-create popper if destroyed when updating

* fix(select): fix options query event

* fix(select): fix checkDefaultFirstOption function

* feat(time-select): add update:modelValue to emit function

* fix(select): better naming

* feat(time-select): deprecated defautl value

* feat(select): support clear icon

* feat(select): add clear-icon documetnation
2020-10-04 19:57:49 +08:00
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