Commit Graph

47 Commits

Author SHA1 Message Date
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size (#4730) 2021-12-10 17:21:01 +08:00
jeremywuuuuu
3786ba9993 fix(utils): remove $ from util
- Replace $ with unref from vue
- Remove $ from `@element-plus/utils/util` to prevent ref sugar issue
2021-10-20 06:14:18 -04:00
波比小金刚
fdfe38deb0
refactor(utils): use built-in throwError function (#3916) 2021-10-18 16:30:45 +08:00
三咲智子
12bf28e8c8
refactor(components): refactor image-viewer (#3810)
* refactor(components): refactor image-viewer

* fix: remove unused

* refactor: improve type
2021-10-18 16:24:52 +08:00
deepthan
e8043abca8
fix: capitalize the first letter of the error message (#3882)
* Fix: fix erros message typo

Co-authored-by: linkun.he <helinkun@ithinkdt.com>
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 17:51:15 +08:00
三咲智子
3b9e63d587
refactor(components): refactor space (#3757) 2021-10-06 19:34:32 +08:00
三咲智子
c86c2b0fe9
style: eslint enable prefer-template (#3414)
* style: eslint enable prefer-template

* chore: apply eslint rules
2021-09-17 09:18:24 +08:00
jectychen
4d3a499fa6
feat(utils): getPropByPath function adjust (#1276)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2021-09-13 03:14:47 +08:00
三咲智子
200effa261
refactor(utils): drop ie support (#3304)
* refactor(utils): drop ie support

* fix(utils): remove unused
2021-09-10 15:00:39 +08:00
Aex
03f02b5554
refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
三咲智子
55348b30b6
style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
jeremywu
7c97bc5283
fix(project): node is not exporting issue (#2827)
- Fix issue that caused ts definition file not generating
2021-08-04 18:28:08 +08:00
JeremyWuuuuu
a7a8f29a19 refactor(popper): use-popper-hook for popper
- Add new use popper hook into the codebase for replacing the current `use-popper`
2021-07-13 17:49:00 +08:00
Simona
5c4a3cb27b
fix(cascader-panel): should not re-init when props's value not change (#2344)
* fix(cascader-panel): should not re-init when props's value not change

fix #2317 #1871

* style: extra space
2021-06-25 16:08:00 +08:00
justwiner
6e23b46289
refactor(table): refactored the type definition of table (#1997)
Co-authored-by: winerlu <winerlu@tencent.com>
2021-05-13 17:55:04 +08:00
jeremywu
06731d8e70
fix(project): fix/1778-import-on-demand-not-working (#1788)
* fix(project): fix/1778-import-on-demand-not-working

- Fix the issue that when building utils the functions are inlined

* - remove unnecessary variable
2021-04-09 10:00:21 +08:00
inottn
7380b8131c
fix(utils): fix isIE logic (#1757) 2021-04-06 11:27:30 +08:00
kooriookami
540a02bea5
feat(other): add addUnit util (#1382) 2021-01-28 22:10:45 +08:00
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
JeremyWuuuuu
62d0e8def9 fix(cascader): fix cascader initial binding not working 2020-11-24 10:48:10 +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
JeremyWuuuuu
2163969059 refactor(radio): refactor radio components 2020-10-31 16:17:39 +08:00
Simona
52ea214896
feat(cascader): refactor done (#435) 2020-10-30 23:26:33 +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
zouhang
a14afae7c9 fix: fix some comp type erro & add rollup build 2020-10-09 20:24:53 +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
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
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
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
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
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
jeremywu
44d7cc2426
fix(popper): fix popper's mechanism (#177)
- Rewrite popper's render method \
2020-08-24 00:00:20 +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
HerringtonDarkholme
66cc6aeb39 fix(style): fix eslint 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
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