Commit Graph

119 Commits

Author SHA1 Message Date
bastarder
3832028775
fix(form-item): Fix form-item props undefined bug (#888)
Co-authored-by: bastarder <jie.qian@blockheaders.com>
2020-12-08 21:04:04 +08:00
jeremywu
2280dd5c5e
fix(project): fix/exporting-fix-for-volar (#849)
- Using `defineComponent` to wrap component up for Volar support, this should close #841
- Also made changes for some typing
- Removed `merge.ts` since `Object.assign` are now supported natively
2020-12-06 23:52:47 +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
jeremywu
79ce9ae5a2
fix(message): message covered by dialog (#701)
- Fix the bug that cause poppup-manager unable to use zIndex from global config
2020-11-26 19:56:10 +08:00
JeremyWuuuuu
62d0e8def9 fix(cascader): fix cascader initial binding not working 2020-11-24 10:48:10 +08:00
Square Coin
da81648df7
feat: add nav menu (#572) 2020-11-12 14:43:55 +08:00
jeremywu
f3d24d6109
fix(popper): fix popper related style (#562)
* fix(popper): fix popper related style

* fix(popper): restore `onMount` hook, rewrite `Teleport` usage

* fix(popper): fix failed tests due to change

* fix(popper): - Fix popper initialiation method

* fix(popper): - Replace unref with internal defined unwrap function
2020-11-10 14:55:03 +08:00
Simona
c5fc8b4e9a
build: optimize (#560)
* build: replace ts-loader with @babel/preset-typescript
2020-11-10 14:24:09 +08:00
hangzou
bb85d50cb4
feat(build): add build:locale & build:utils (#538) 2020-11-04 11:15:35 +08:00
Simona
4e8ea7e4c1
feat: unify form event dispatch and global config (#527) 2020-11-02 11:05:08 +08:00
JeremyWuuuuu
2163969059 refactor(radio): refactor radio components 2020-10-31 16:17:39 +08:00
hangzou
c408492b2b
build: build esm bundle & esm components (#518) 2020-10-30 23:26:57 +08:00
Simona
52ea214896
feat(cascader): refactor done (#435) 2020-10-30 23:26:33 +08:00
hxp971130
c864b7d53e
fix(utils): isServer judgment error (#441) 2020-10-20 13:50:29 +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
余林夕
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
zouhang
a14afae7c9 fix: fix some comp type erro & add rollup build 2020-10-09 20:24:53 +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
Caaalabash
128436214e
fix(tree): replace keyCode (#369)
* fix(tree): replace keyCode

* fix: loop error
2020-09-30 10:50:39 +08:00
bastarder
567da19429 feat(tree): tree component 2020-09-27 11:33:31 +08:00
zouhang
5000056c4e feat: add jsx support for test case 2020-09-24 17:36:44 +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
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
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
c2449ac16e partial fix 2020-09-16 11:12:55 +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
陈婉玉
e8c1b70d26 feat: inifinite scroll done 2020-09-14 23:43:45 +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
Ryan
45f2efe88d feat(utils): add change event constant to constants.ts 2020-09-08 20:57:15 +08:00
zouhang
cdaa5199e2 style(checkbox): optimize code 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
Ryan
88fafa8f3b refactor(utils): remove utils/jestMock.ts 2020-09-03 23:29:24 +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
e41142f49b feat(utils): add jestMock.ts 2020-09-01 22:16:58 +08:00
LongYinan
122c88c60c chore: upgrade all dependencies 2020-08-31 09:43:07 +08:00
hangzou
7931f2a2fb
Feat/dropdown (#199) 2020-08-28 11:44:04 +08:00
SunLn
9ca93eaa40
feat: add image component (#124) 2020-08-27 21:22:32 +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
bastarder
423feb1051 feat(tabs): Remove setupState 2020-08-25 10:19:26 +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
Herrington Darkholme
bd38e1994d fix(utils): remove unused types 2020-08-23 12:52:22 +08:00
Hanx
e2754a06cd
chore(project): upgrade vue to rc6 (#167) 2020-08-20 13:57:24 +08:00
jeremywu
2606158c38
fix(project): - Upgrade dependencies (#163)
- Update failed tests
2020-08-19 20:41:06 +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
4220cb92d0 chore(popper): replace lodash with lodash-es 2020-08-19 15:28:01 +08:00
zazzaz
81ded9d976 fix: fix bundle issue 2020-08-14 09:54:27 +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
JeremyWuuuuu
25d6bd4667 feat(notification): add new component notification 2020-08-06 21:15:20 +08:00
zazzaz
bbbe50e6b8 ci: add lint to ci 2020-08-06 01:10:03 +08:00
HerringtonDarkholme
66cc6aeb39 fix(style): fix eslint 2020-08-03 15:00:05 +08:00
HerringtonDarkholme
685cad4edb feat(core): add avatar components 2020-08-03 15:00:05 +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