Commit Graph

930 Commits

Author SHA1 Message Date
zazzaz
0ee70e64b5
fix: remove popper tabIndex (#486) 2020-10-28 11:20:41 +08:00
jeremywu
4454c75d63
fix(popper): fix popper tabindex error (#472)
- Move tabindex attr from trigger to popper
2020-10-27 14:36:41 +08:00
zazzaz
fc23a4ec04
Revert "fix(switch): fix switch has outline (#469)" (#474)
This reverts commit 3d7b298df3.
2020-10-27 14:36:34 +08:00
Ther-su
3d7b298df3
fix(switch): fix switch has outline (#469)
fix switch has outline, the class el-switch need to add outline:none

fix #468
2020-10-27 11:09:14 +08:00
jeremywu
b06352a43b
fix(popper): - Remove popper mask and event attaching strategy (#466) 2020-10-26 17:14:26 +08:00
Ryan2128
42d53eead7
Feat/slider: Integrate InputNumber (#451)
* feat(slider): Integrate `InputNumber`

* test(slider): add test about `InputNumber`

* docs(slider): fix error about parsing render
2020-10-26 10:56:14 +08:00
bastarder
ee3b42fb09
feat(loading): add loading component (#447)
* refactor(loading): refactored loading component

* refactor(loading): use render & createVNode instead of createApp

Co-authored-by: Ryan <ryanzhao2128@gmail.com>
2020-10-23 10:15:49 +08:00
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
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
hangzou
7931f2a2fb
Feat/dropdown (#199) 2020-08-28 11:44:04 +08:00
Hades-li
dec5d665a3
Feat/scss (#212)
* feat: change to import scss

Change the import css to import scss to facilitate style modification

* fix: fixed: storybook support scss file

fixed: storybook support scss file

* chore: remove redundant code in webpack.config.js

Remove redundant code in webpack.config.js
2020-08-28 11:09:05 +08:00
jeremywu
d0b37cdf5f
Feat/implementing trigger for popper (#214)
* feat/implementing-trigger-for-popper
- Implementing trigger for popper
- Refactors against click-outside

* feat(popper): implemented trigger for popper
2020-08-28 10:47:02 +08:00
SunLn
9ca93eaa40
feat: add image component (#124) 2020-08-27 21:22:32 +08:00
古海欢
2b2d085992 fix(popper): should check nested Fragment 2020-08-27 19:51:07 +08:00
JeremyWuuuuu
af45dbd070 feat(tooltip): tooltip component 2020-08-25 22:51:26 +08:00
JeremyWuuuuu
1584f07f0c [WIP]feat/tooltip
- Code done
- Awaiting test cases
2020-08-25 22:51:26 +08:00
zouhang
0d4e781272 test(checkbox): test dev push 2020-08-25 10:39:23 +08:00
zouhang
047090b127 fix(checkbox): fix prop's label default value 2020-08-25 10:30:03 +08:00
bastarder
423feb1051 feat(tabs): Remove setupState 2020-08-25 10:19:26 +08:00
bastarder
72daa4359d feat(tabs): optimize code 2020-08-25 10:19:26 +08:00
bastarder
a2f03be92a feat(tabs): Fix lint error 2020-08-25 10:19:26 +08:00
bastarder
18aa2638f6 feat(tabs): add tabs 2020-08-25 10:19:26 +08:00
zazzaz
c0acd11fe2 fix: revert locale change 2020-08-25 10:18:28 +08:00
zazzaz
9b0bec0cd7 feat: add website play 2020-08-25 10:18:28 +08:00
Jiaxun Li
02409b882a
fix(button): defineComponent for ButtonGroup (#188) 2020-08-24 18:38:05 +08:00
Caaalabash
dea58ffd09 chore(project): upgrade to vue rc7 2020-08-24 14:44:29 +08:00
jeremywu
44d7cc2426
fix(popper): fix popper's mechanism (#177)
- Rewrite popper's render method \
2020-08-24 00:00:20 +08:00
Che Guevara
24f2a83680 fix(header): use correct label semantic 2020-08-23 19:59:38 +08:00
Herrington Darkholme
bd38e1994d fix(utils): remove unused types 2020-08-23 12:52:22 +08:00
HelenYin
b7f090da8c
Fix: complete unit test for radio-button (#173) 2020-08-21 17:40:20 +08:00
Hanx
e2754a06cd
chore(project): upgrade vue to rc6 (#167) 2020-08-20 13:57:24 +08:00
hanx316
07d2beccfc chore(project): modify some lint rules
allow vue default props; disallow arrow parens when only one parameter; use rule words rather than
number; modify the sequences of rules; delete a duplicate field in tsconfig
2020-08-19 23:15:51 +08:00
jeremywu
2606158c38
fix(project): - Upgrade dependencies (#163)
- Update failed tests
2020-08-19 20:41:06 +08:00
HelenYin
3828c5c461
fix: fix eslint warn (#160)
Co-authored-by: zazzaz <izazzaz@hotmail.com>
2020-08-19 17:05:56 +08:00
JeremyWuuuuu
1262b0c78b feat(directives): directive clickoutside helper for popper and modal
fix #157
2020-08-19 15:29:49 +08:00
JeremyWuuuuu
ff92bb6238 fix(popper): address PR comments 2020-08-19 15:28:01 +08:00
JeremyWuuuuu
fb5f3ed98f fix(popper): fix linter issue & enhanded testing 2020-08-19 15:28:01 +08:00
JeremyWuuuuu
81d9037edd fix(popper): pR comments addressing 2020-08-19 15:28:01 +08:00
JeremyWuuuuu
4220cb92d0 chore(popper): replace lodash with lodash-es 2020-08-19 15:28:01 +08:00
JeremyWuuuuu
34ad8fe077 feat(popper): popper component 2020-08-19 15:28:01 +08:00
homer
54b5d94e47 feat: add alert 2020-08-18 00:05:47 +08:00
Caaalabash
10394abde0 fix(steps): add props validator 2020-08-17 22:09:19 +08:00
Caaalabash
4438a08aca feat(steps): add steps component 2020-08-17 22:09:19 +08:00
zazzaz
81ded9d976 fix: fix bundle issue 2020-08-14 09:54:27 +08:00
hangzou
dbaf83e2a4
Feat/checkbox (#131)
* feat(checkbox): init checkbox

* feat(checkbox): update checkbox-button checkbox-group

* feat(checkbox): init unit test

* feat(checkbox): update unit test

* fix(checkbox): improve some code

* test(checkbox): update test case
2020-08-13 15:16:38 +08:00
zazzaz
22338c7055 fix: update merge 2020-08-13 11:03:08 +08:00
zazzaz
6c3c6a03a8 fix: update review 2020-08-13 11:00:39 +08:00
zazzaz
d7f871ec7b fix: update rebase 2020-08-13 11:00:39 +08:00
zazzaz
f9626ec815 feat: add scrollbar 2020-08-13 11:00:39 +08:00
zazzaz
3647512e09 test: add test 2020-08-13 11:00:39 +08:00
zazzaz
7167ff2a54 feat: add scrollbar 2020-08-13 11:00:39 +08:00
bastarder
32f02bef0b feat(collapse): add transition package
fix #108
2020-08-13 10:56:07 +08:00
bastarder
c2341c72eb feat(collapse): add collapse 2020-08-13 10:56:07 +08:00
zazzaz
b7cb021561 fix: update 2020-08-11 14:49:40 +08:00
zazzaz
bf559f3d83 fix: update review 2020-08-11 14:49:40 +08:00
zazzaz
5c2dcab0de fix: update 2020-08-11 14:49:40 +08:00
zazzaz
bd88d935ec fix: update 2020-08-11 14:49:40 +08:00
zazzaz
6b9e0610ce fix: fix merge error 2020-08-11 14:49:40 +08:00
zazzaz
5a6307c248 fix: merge error 2020-08-11 14:49:40 +08:00
zazzaz
1b039f399e test: add test 2020-08-11 14:49:40 +08:00
zazzaz
72d598d0ab fix: add radio 2020-08-11 14:49:40 +08:00
zazzaz
4decbd7fe2 test: add test 2020-08-11 14:49:40 +08:00
zazzaz
51221005e2 style: update style 2020-08-11 14:49:40 +08:00
zazzaz
3af077453f fix: update radio button 2020-08-11 14:49:40 +08:00
zazzaz
dab50f24e0 fix: update radio 2020-08-11 14:49:40 +08:00
zazzaz
d6468c282c chore: init 2020-08-11 14:49:40 +08:00
陈婉玉
f4bf8df8f6 feat: add page-header 2020-08-08 20:43:00 +08:00
Caaalabash
ea9961087f fix(backtop): code style 2020-08-07 15:39:06 +08:00
Caaalabash
9dc7aeff28 fix(backtop): code style 2020-08-07 15:39:06 +08:00
Caaalabash
a109567281 style(backtop): indent & space 2020-08-07 15:39:06 +08:00
Caaalabash
548568abb0 feat(backtop): add backtop component 2020-08-07 15:39:06 +08:00
JeremyWuuuuu
df4fbb31b4 address PR issue 2020-08-06 21:15:20 +08:00
JeremyWuuuuu
0f04895881 address PR comments 2020-08-06 21:15:20 +08:00
JeremyWuuuuu
d296cfef05 [WIP] address PR comments 2020-08-06 21:15:20 +08:00
JeremyWuuuuu
25d6bd4667 feat(notification): add new component notification 2020-08-06 21:15:20 +08:00
Rachel
1dd262d316 perf(container): test code & doc indentation 2020-08-06 19:28:30 +08:00
Rachel
ea871546f8 style(container): fix lint 2020-08-06 19:28:30 +08:00
Rachel
00f9bc3256 chore(container): fix test lint 2020-08-06 19:28:30 +08:00
Rachel
fce6587bc4 chore(container): solve the warning 2020-08-06 19:28:30 +08:00
Rachel
eb27bf8650 test(container): finish test case 2020-08-06 19:28:30 +08:00
Rachel
61f6604d02 test(container): add test init 2020-08-06 19:28:30 +08:00
Rachel
dfe4a6176b test(container): container test routes 2020-08-06 19:28:30 +08:00
Rachel
ab808a7fd9 feat(container): add container component 2020-08-06 19:28:30 +08:00
zazzaz
2bb1d75972 fix: fix merge error 2020-08-06 01:10:03 +08:00
zazzaz
ad4631ce0f fix: update merge error 2020-08-06 01:10:03 +08:00
zazzaz
bbbe50e6b8 ci: add lint to ci 2020-08-06 01:10:03 +08:00
Herrington Darkholme
df0e1de1b1
fix(button): change test case text 2020-08-06 01:09:02 +08:00
zazzaz
2a3f5e747c fix: update text 2020-08-06 01:07:57 +08:00
zazzaz
277661d9d1 feat: add button group 2020-08-06 01:07:57 +08:00
JeremyWuuuuu
9ee4a188e4 remove redundant dependency time-line 2020-08-05 16:10:04 +08:00
bastarder
bc57317bea feat(switch): add switch & fix bug
fix #82
2020-08-05 16:10:04 +08:00
bastarder
72a0812632 feat(switch): fix lint error
fix #82
2020-08-05 16:10:04 +08:00
bastarder
a73dacc92b feat(switch): add switch component
fix #82
2020-08-05 16:10:04 +08:00
zouhang
77c9d91eea docs(rate): fix doc 2020-08-05 15:59:20 +08:00
zouhang
15537085dc fix(rate): improve test & code 2020-08-05 15:59:20 +08:00
zouhang
e5e71e02eb test(rate): update union test 2020-08-05 15:59:20 +08:00
zouhang
105417992f feat(rate): add rate component 2020-08-05 15:59:20 +08:00
JeremyWuuuuu
2aa90a4fa8 address PR comments 2020-08-05 14:46:30 +08:00
JeremyWuuuuu
2930afa650 feat(link): add link component and it's tests 2020-08-05 14:46:30 +08:00
Herrington Darkholme
9ead10d326
[WIP] Fix/eslint (#74)
* fix(style): apply eslint

* fix(breadcrumb): provide inection in test code
2020-08-04 16:08:14 +08:00
Caaalabash
f1a5a41210 feat(icon): add icon component 2020-08-04 11:51:01 +08:00
zazzaz
90ae785beb test: update test 2020-08-04 10:44:00 +08:00
zazzaz
6d06b83228 fix: update locale mixin 2020-08-04 10:44:00 +08:00
zazzaz
8f83b7c0a8 test: rm test 2020-08-04 10:44:00 +08:00
zazzaz
c3d42339f8 test: rm useless test 2020-08-04 10:44:00 +08:00
zazzaz
434229058b feat: add locale 2020-08-04 10:44:00 +08:00
Caaalabash
d6822b8af7 fix(breadcrumb): code style 2020-08-03 15:03:55 +08:00
Caaalabash
79e9bdfb38 feat(breadcrumb): add breadcrumb component 2020-08-03 15:03:55 +08:00
HerringtonDarkholme
2760994026 fix(core): fix types 2020-08-03 15:00:05 +08:00
HerringtonDarkholme
a3e2cf6c6f fix(core): tests 2020-08-03 15:00:05 +08:00
HerringtonDarkholme
66cc6aeb39 fix(style): fix eslint 2020-08-03 15:00:05 +08:00
HerringtonDarkholme
2c0fb72bbc feat(core): add avatar test 2020-08-03 15:00:05 +08:00
HerringtonDarkholme
685cad4edb feat(core): add avatar components 2020-08-03 15:00:05 +08:00
Caaalabash
6038a23bec
feat(progress): add progress component (#71)
* feat(progress): add progress component

* fix(progress): rename type
2020-08-02 15:27:24 +08:00
zazzaz
5fcd416cfb
feat: add Layout component (#50)
* feat: add row component

* feat: add col

* test: update test

* refactor: rename to layout

* chore: update
2020-07-31 18:20:03 +08:00
bastarder
55afacad18 feat(time-line): add time-line component
fix #56
2020-07-30 21:28:35 +08:00
JeremyWuuuuu
619dedb73e Address PR comments 2020-07-30 11:14:28 +08:00
JeremyWuuuuu
f84907ca3c feat/card
- add new component card and it's tests, docs
2020-07-30 11:14:28 +08:00
HerringtonDarkholme
1206c6c181 fix(other): fix test utils method 2020-07-29 21:23:02 +08:00
Caaalabash
eb9e7f77bd test: change test string 2020-07-29 20:39:54 +08:00
Caaalabash
c1c4121014 fix: type & vue3 2020-07-29 20:39:54 +08:00
Caaalabash
7ede28cbe5 test: divider test update 2020-07-29 20:39:54 +08:00
Caaalabash
77856770d3 feat: el-divider 2020-07-29 20:39:54 +08:00
JeremyWuuuuu
44b641c4a7 fix(project):fix gc.sh generating wrong format templates
fix(utils):fix utils linting issues
2020-07-29 15:23:55 +08:00
jeremywu
bde4eb190d Migrate utilities 2020-07-29 11:44:12 +08:00
JeremyWuuuuu
285c3378cc feat/migrate-utilities
- [WIP] migrate utility methods.
2020-07-29 11:44:12 +08:00
JeremyWuuuuu
8e1aa58c1f - migrate finished
- add aria.util test file
2020-07-29 11:44:12 +08:00
jeremywu
3bdc7a8496 Migrate utilities 2020-07-29 11:44:12 +08:00
JeremyWuuuuu
5b98819a85 feat/migrate-utilities
- [WIP] migrate utility methods.
2020-07-29 11:44:12 +08:00
HerringtonDarkholme
a9b8c37614 fix(docs): correct import defineComponent 2020-07-28 19:20:51 +08:00
zazzaz
2c80f15a81 style: update es-lint check 2020-07-28 13:59:49 +08:00
jeremywu
3a917bb228 chore/fix-linter-complains
- Fix type linting complains for serveral files
2020-07-28 11:26:41 +08:00
zazzaz
5cf4b14153 test: test update 2020-07-27 21:46:33 +08:00
zazzaz
9910afa7fc test: add 2020-07-27 21:46:33 +08:00
zazzaz
12abae4b08 test: add button test 2020-07-27 21:46:33 +08:00
Hanx
4e5b229308
Chore/eslint (#34)
* chore: add eslint support & some fixes

* chore: eslint basic support rules & some fixes; ignore yarn-error
2020-07-27 16:17:41 +08:00
bastarder
67c592c9ce
Feature/tag (#35)
* feat: add tag component

* feat: perfect tag test case

* feat: rename instance -> wrapper

* feat: el-tag resolve conversation

* Fix: instance -> wrapper & dependencies

Co-authored-by: bastarder <jie.qian@blockheaders.com>
2020-07-27 16:17:23 +08:00
bastarder
a26ab382e6 feat: el-tag resolve conversation 2020-07-27 13:27:01 +08:00
bastarder
1b3eadfd43 feat: rename instance -> wrapper 2020-07-27 13:27:01 +08:00
bastarder
ef8ae2efe0 feat: perfect tag test case 2020-07-27 13:27:01 +08:00
bastarder
4ee1c8b078 feat: add tag component 2020-07-27 13:27:01 +08:00
HerringtonDarkholme
09e0a05c19 fix(core): remove test code in test 2020-07-26 14:10:42 +08:00
Herrington Darkholme
7f82633322 feat: add story source 2020-07-26 14:10:42 +08:00
Herrington Darkholme
cb0b012fac feat: support re-export story from vue 2020-07-26 14:10:42 +08:00
Herrington Darkholme
fcba294463 fix: update test cases 2020-07-26 14:10:42 +08:00
Herrington Darkholme
00d0608d52 feat: add global components registry 2020-07-25 12:25:38 +08:00
Herrington Darkholme
2739b514da feat: add badge component 2020-07-24 22:22:21 +08:00
Herrington Darkholme
e2f7173c0a Merge branch 'dev' of github.com:element-plus/element-plus into feat/test 2020-07-24 20:23:14 +08:00
Herrington Darkholme
0c2c8ea3f2
Merge pull request #22 from element-plus/feat/storybook
feat/add-storybook
2020-07-24 19:49:16 +08:00
JeremyWuuuuu
b0984b0cbb - Restore doc folder 2020-07-24 19:44:48 +08:00
Herrington Darkholme
bf022e3862 feat: add tests dir to template 2020-07-24 19:28:18 +08:00
JeremyWuuuuu
63a6664a06 feat/add-storybook
- Add story book for component previewing
- Add custom preview method for renderering Vue3 Component
- Modify scripts for storybook boilerplate
- Add documentation in README for booting and previewing project

feat/storybook
- Add story book for component previewing
- Add custom preview method for renderering Vue3 Component
- Modify scripts for storybook boilerplate
- Add documentation in README for booting and previewing project
2020-07-24 19:20:37 +08:00
Herrington Darkholme
1ae9f46357 feat: move jest to rootdir 2020-07-24 18:58:15 +08:00
Herrington Darkholme
d24bbc9be9 Merge branch 'dev' of github.com:element-plus/element-plus into feat/test 2020-07-24 18:50:34 +08:00
Herrington Darkholme
f0c59af2be feat: add the first test case 2020-07-24 17:26:08 +08:00
Herrington Darkholme
b42f434c1e feat: add jest basic config 2020-07-24 16:44:56 +08:00
Herrington Darkholme
778113f2af fix: add dependencies to peer 2020-07-24 15:15:28 +08:00
HerringtonDarkholme
8e642a845f feat: add lerna basic config 2020-07-22 00:35:23 +08:00