Commit Graph

973 Commits

Author SHA1 Message Date
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