Commit Graph

849 Commits

Author SHA1 Message Date
云游君
4676be7c47
refactor: button/radio/input size by sass map (#2502) 2021-07-12 18:13:02 +08:00
qige2016
f560b39ce7
fix(form): fix no effect when label-width prop is auto (#2480)
* chore(form-item): fix code style

* fix(form): fix no effect when label-width prop is auto

* fix(form): fix does not work when set label-position to left

* test(form): add a test case

* fix(form): replace CSSStyleDeclaration with CSSProperties

* chore(form): fix types import
2021-07-12 15:19:27 +08:00
kooriookami
f651dca37b
fix(time-picker): fix missing blur methods and spelling error (#2457)
* fix(time-picker): fix missing blur methods and spelling error

* fix: update
2021-07-12 11:07:23 +08:00
msidolphin
abd902acd2
fix: upload file-list is updated but without re-rendered (#2405) (#2460) 2021-07-12 11:03:00 +08:00
msidolphin
e2f8f382c3
fix: more than one component in table_column.spec.js (#2461) 2021-07-12 11:01:47 +08:00
云游君
5faa7ec530
feat(style): migrate checkbox css3 var (#2493) 2021-07-12 09:27:49 +08:00
Summer
d49a0e13df
ElDynamicSizeList: fix horizontal scrollbar bug (#2494)
* ElDynamicSizeList: fix horizontal scrollbar bug

* Scrollbar: delete never used var
2021-07-12 09:19:17 +08:00
ioslh
d334142d0d
refactor(pagination): pagination internal logic refactored (#2491)
* refactor(pagination): pagination internal logic refactored

* improvement(pagination): improve pr by better naming and misc
2021-07-11 13:12:22 +08:00
kooriookami
78ef773b36
fix(form): add default value of label-width (#2492)
fix #2490
2021-07-10 21:33:14 +08:00
云游君
7dc55a7576
feat(style): use css3 var refactor base variable (#2478)
* feat: add basic css3 var

* feat(style): migrate base style z-index
2021-07-10 20:49:06 +08:00
kooriookami
f44211da86
fix(time-select): fix missing blur method (#2477)
fix #1925
2021-07-10 20:46:51 +08:00
Zzm
3de8090628
chore: fix code style (#2463) 2021-07-07 15:28:51 +08:00
msidolphin
4622b12869
docs: improve description of date-picker value-format prop (#2416) (#2449) 2021-07-06 15:36:38 +08:00
kooriookami
3d161f785a
perf(descriptions): split type.ts file (#2447)
* perf(descriptions): split type.ts file

* fix: add type
2021-07-06 10:16:25 +08:00
qige2016
c34ffaa386
chore(avatar): let -> const (#2442)
* chore(avatar): let -> const

* fix(avatar): fix fit prop validator

* chore(avatar): remove fit prop validator
2021-07-06 10:10:59 +08:00
qige2016
7bc6baf495
refactor(breadcrumb): refactor the type definition of breadcrumb (#2443)
* refactor(breadcrumb): refactor the type definition of breadcrumb

* chore(breadcrumb): fix types import
2021-07-06 09:54:06 +08:00
jeremywu
6b4c04fd0a
feat(hooks): add use-timeout hook (#2439)
* feat(hooks): add use-timeout hook

- Add use timeout hook for register timeout callbacks
- Add test cases against add-timeout

* resolve linter issue
2021-07-06 07:49:49 +08:00
msidolphin
1989eed7f0
fix: add missing styles (#2423) (#2444) 2021-07-06 07:49:22 +08:00
msidolphin
627b1a941c
fix: table selectable callback index incorrect issue (#2393) 2021-07-05 10:47:08 +08:00
Hgwxxdd
1f6fc8c38b style(mixin): variable is assigned but never used 2021-07-05 10:17:03 +08:00
yanzhuang
4e9ddcdb53
Utils: fix isScroll (#2433) 2021-07-05 09:16:00 +08:00
kooriookami
e61d08ed29
feat(scrollbar): add always show props and control scrollbar methods (#2428)
* feat(scrollbar): add always show props and control scrollbar methods

re #1751 #2004

* feat: update for review
2021-07-05 09:10:50 +08:00
JeremyWuuuuu
b66044db84 Finish unfinished test case 2021-07-05 08:50:36 +08:00
JeremyWuuuuu
5f8b25bc31 feat(hooks): add use-model-toggle hook
- Add use model hook to the hooks for toggleable model common logic
2021-07-05 08:50:36 +08:00
JeremyWuuuuu
d970108d16 feat(hooks): add use-transition-fallthrough-hook
- Add transition-fallthrough-hook to get common logic extracted.
2021-07-05 08:49:45 +08:00
kooriookami
af88436258
chore(virtual-list): remove useless line (#2431) 2021-07-03 22:30:23 +08:00
Herrington Darkholme
a7df202724
fix: remove duplicate cell-contextmenu (#2426)
duplicate commits
2021-07-03 19:04:27 +08:00
jeremywu
913aaafabb
feat(hooks): add use-teleport hook (#2421)
* feat(hooks) add use-teleport hook
- Add teleport hook for teleported components
- Add teleport hooks hepler methods
- Add coresponding testing cases

* - add use teleport to the exporting entry
2021-07-03 19:04:03 +08:00
kooriookami
f2e3dcb68e
feat(descriptions): add new feature for customized style (#2358)
* feat(descriptions): add new feature for customized style

add props: width, min-width, align, label-align, class-name, label-class-name

re #1976 #2353

* feat: update docs

* feat: update docs

* feat: update

* feat: separate type
2021-07-03 15:01:55 +08:00
msidolphin
dae1d88e51 fix: warning in console when cell-contextmenu triggered (#2404) 2021-07-02 19:18:42 +08:00
0song
90ebffbcb1 fix(table): add cell-contextmenu emit event (#2074) 2021-07-02 19:18:00 +08:00
msidolphin
012c432816 fix: table-column rendered other component in hidden-columns (#2401) 2021-07-02 19:14:39 +08:00
波比小金刚
4a8ead95dd Update bar.vue 2021-07-02 19:08:45 +08:00
波比小金刚
4202e176c6 Update bar.vue 2021-07-02 19:08:45 +08:00
波比小金刚
721a3d2743 feat: add event type definition 2021-07-02 19:08:45 +08:00
msidolphin
e6c38e6d6f fix: menu hover color not change when background is changed (#2417) 2021-07-02 19:05:36 +08:00
ioslh
e1b5a85127 fix(table): empty data render bug 2021-07-02 19:00:59 +08:00
kooriookami
7daac762a7
feat(form): label-width supports number type (#2396)
* feat(form): label-width supports number type

* perf: update

* feat: update
2021-07-02 17:30:15 +08:00
qige2016
8cc2ff6977
style(space): fix code space (#2411) 2021-07-02 16:09:03 +08:00
msidolphin
ea3b74e4c4
fix: select_v2 asynchronous binding issue (#2368) (#2378) 2021-07-01 21:01:35 +08:00
kooriookami
1fe271549e
feat: add resize directive (#2167)
* feat: add resize directive

* fix: update
2021-07-01 09:29:00 +08:00
msidolphin
6700fbc855
docs: improve the document of form-item (#2372) (#2375) 2021-07-01 08:44:52 +08:00
msidolphin
e10071a430
fix: checkbox label auto convert to bool when label is empty (#2287) (#2380) 2021-07-01 08:12:47 +08:00
ioslh
eb5208efe4
feat(virtual-list): template string to render function (#2388) 2021-06-30 14:31:18 +08:00
kooriookami
de1e9bd5f8
fix(cascader): fix arrow position (#2356)
fix #2266
2021-06-28 18:41:38 +08:00
msidolphin
1347ee6360
fix: carousel not working when using v-show (#2361) 2021-06-28 18:41:12 +08:00
kooriookami
b3d92b8939
Revert "perf(scrollbar): scrollbar update when slot changed (#2322)" (#2354)
This reverts commit 87a23bbbbb.
2021-06-28 18:34:06 +08:00
kooriookami
e373bb4f04 perf: remove useless test 2021-06-26 16:42:15 +08:00
kooriookami
b8dccdc884 docs(row): add flex update tip, and remove type prop
re #2319
2021-06-26 16:42:15 +08:00
vb
748278905a
fix(message-box): messageBox should close when press enter (#2308)
Co-authored-by: vb <vb@itech8.net>
2021-06-25 17:21:47 +08:00
kooriookami
87a23bbbbb
perf(scrollbar): scrollbar update when slot changed (#2322)
re #2293
2021-06-25 17:10:55 +08:00
netcon
93e50e147b
fix: can not binding multiple click-outside directives on a component (#2327)
* fix: can not binding multiple click-outside directives on a component

* test: add test for multiple click-outside directives
2021-06-25 17:10:29 +08:00
Simona
e93f6f6984
style: add no-multi-spaces rule (#2345)
* style: add no-multi-spaces rule

* style: remove extra spaces
2021-06-25 16:25:54 +08:00
Xing.Wu
b9aa9045ab
fix(popover): v-popover can't work (#2341)
* fix: v-popover cant work

* fix: fix popover repeated registration

Co-authored-by: xing.wu <wuxing@bjca.org.cn>
2021-06-25 16:13:36 +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
Simona
98714cc3f1
Revert "fix: cascader panel expanded state revert (#1871) (#2298)" (#2325)
This reverts commit a57727bfa4.
2021-06-25 13:47:09 +08:00
qige2016
42ed0f1c74
fix(input-number): fix border color when disabled and hover over buttons (#2334) 2021-06-25 10:10:06 +08:00
Enoch Qin
77e64996e7
fix: @use "sass:math" repeat reference (#2336) 2021-06-25 09:39:06 +08:00
Simona
1fb35d43eb
fix(cascader-panel): default value doesn't work in lazy mode (#2338)
fix #2312
2021-06-25 09:38:09 +08:00
msidolphin
a57727bfa4
fix: cascader panel expanded state revert (#1871) (#2298) 2021-06-24 14:38:21 +08:00
jeremywu
5d980505f2
fix(virtual-list): fix #2294 module resolve issue (#2316)
- Replace @element-plus with relative path to avoid bundling issue

fix #2294

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-24 09:45:47 +08:00
jeremywu
e9ea4b4ee2
Fix/revert changes for fixing issue (#2313)
* Revert "fix(project): fix beta 49 build issue (#2310)"

This reverts commit 7d39b37f00.

* Revert "feat(hooks): feat: Encapsulate function for rendering teleport element"

This reverts commit 74ec002d23.

* Revert "refactor(popper): refactor extract common props for props (#2300)"

This reverts commit 45982cff8a.

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-23 21:08:31 +08:00
jeremywu
7d39b37f00
fix(project): fix beta 49 build issue (#2310)
- Fix the build issue caused by internal objects

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-23 19:58:02 +08:00
jeremywuuuuu
74ec002d23 feat(hooks): feat: Encapsulate function for rendering teleport element
- Add new function for rendering teleport element.
2021-06-23 16:41:13 +08:00
Enoch Qin
a9d6fe062f
refactor: col different size style (#2237) 2021-06-23 14:57:44 +08:00
jeremywu
45982cff8a
refactor(popper): refactor extract common props for props (#2300)
- Extract some common props out of prop

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
2021-06-23 14:35:42 +08:00
msidolphin
f91f709cff fix: descriptions not re-rendered when slots is updated (#2275) 2021-06-20 12:46:58 +08:00
yangyu8
9bce9ea2e7 fix: table index error issue (#1919) 2021-06-19 19:56:16 +08:00
kooriookami
09429fd69d style(form): use flex layout 2021-06-19 16:39:00 +08:00
kooriookami
47e1fe91cb perf: fix style 2021-06-19 15:41:16 +08:00
kooriookami
b2a78c1e50 fix: fix height 2021-06-19 15:41:16 +08:00
kooriookami
99db792df9 fix(cascader): fix style 2021-06-19 15:41:16 +08:00
kooriookami
3ea408216a
docs(docs): remove .native (#2272) 2021-06-19 02:33:00 +08:00
kooriookami
7c8ddf5167
perf(cascader): add fallback-placements in some components (#2267)
re #2259
2021-06-18 17:32:05 +08:00
云游君
7b58b4d3ff
style(message-box): rename some var --msgbox to --messagebox (#2241) 2021-06-15 15:19:07 +08:00
云游君
daa79d62f7
style(menu): add 569JNRXZghiklms-menu-border-color (#2240) 2021-06-15 15:18:11 +08:00
msidolphin
f9e4da734d
fix: Checkbox checked optional cannot control state issue (#2046) (#2122)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-14 20:20:02 +08:00
Herrington Darkholme
e2e3ace5db
WIP: refactor(table): refactor the test cases (#2232)
* fix(table): move common test util out of table

* refactor(table): move column test out of table

* refactor(table): remove unnecessary toArray

* refactor(table): use triggerEvent from test-util

* fix(utils): add types to triggerEvent

* fix(table): add commented test back

* refactor(table): remove done from async test

* refactor(table): remove unused expectArray

* fix(table): fix type error on triggerEvent

* refactor(table): use conciser array methods
2021-06-12 19:38:39 +08:00
yangyu8
e46e29c37f fix: ElTable index calculation issue (#2143) 2021-06-12 17:15:35 +08:00
Herrington Darkholme
0287d1a2b6
Fix/table test (#2229)
* fix(table): remove unnecessary test lib

we can safely use jest.fn

* fix(build): cleanup unused deps
2021-06-12 17:10:24 +08:00
Map1en_
9dd3249f28 fix(date-picker): default-time does not work when type is datetime
fix #1915
2021-06-12 11:08:58 +08:00
jeremywu
6182fd3b96
fix(project): fix/remove-console-log-statement (#2227)
- Remove unnecessary console.log statement
2021-06-12 08:38:55 +08:00
kooriookami
dbfcdcf361
perf(rate): update change event (#2181)
* perf(rate): update change event

re #2178

* perf: add test
2021-06-11 18:28:50 +08:00
云游君
17a6ca4b5d
fix(popconfirm): import missing popover.scss (#2207) 2021-06-11 18:22:04 +08:00
jeremywu
8206e34a66
fix(project): fix/upgrade-to-vue-3-1-1-and-with-bug-fix (#2220)
- Upgrade Vue to 3.1.1 and fix the bug alone with the upgrade
2021-06-11 18:20:49 +08:00
Enoch Qin
c77e570d1c
fix: Input style use show-password and clearable (#2168) (#2169)
* fix: Input style use show-password and clearable

* fix: replace Input classname
2021-06-08 14:37:38 +08:00
jeremywu
a99232f582
feat(select-v2): feat/integrate-virtual-list-with-select (#1906) 2021-06-08 14:12:16 +08:00
msidolphin
da622e10d1
fix: date picker support value-format (#2120)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-03 20:35:48 +08:00
msidolphin
77631999d1
feat: add himBH-popover-border-radius variable (element-plus#2094) (#2095)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-03 15:37:12 +08:00
msidolphin
e8fa016b46
fix: Cascader size issue when filterable and multiple are enabled (#2123)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-03 13:10:49 +08:00
Ryan2128
a1953ef7af
feat(input): add input-style prop (#2117)
* feat(input): add input-style prop

* test(input): add test case
2021-06-03 13:08:50 +08:00
波比小金刚
2f8a579967
feat: use built-in throwError function. (#2131)
* feat: use built-in throwError function.

* Update index.vue

* Update index.vue
2021-06-03 12:56:52 +08:00
好多大米
1a1804fa31
fix: week translations for hr locale (#2134)
Co-authored-by: wp178491 <wp178491@alibaba-inc.com>
2021-06-03 12:56:20 +08:00
bastarder
57e6e751ce
fix: tabindex prop type (#2130)
Co-authored-by: Qian Jie <jie.qian@blockheaders.com>
2021-06-03 12:55:51 +08:00
神楽坂みずき
7b8c4853a9
fix(col): col should hidden when span is zero (#1769) 2021-06-02 19:11:02 +08:00
msidolphin
e4a2245258
fix: ImageViewer isLast attribute calculation error issue (#1902) (#2125)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-06-02 18:36:03 +08:00
msidolphin
f29b188c84
fix: fix popper in dialog isn't enough space to position problem (#2102)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-05-31 14:29:25 +08:00
msidolphin
6cde2408f7
fix: hot reload (#2077) (#2097)
Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
2021-05-31 14:06:25 +08:00
mistery-li
2e8ef5e14b
fix(scrollbar): add scrollbar type's defination (#2057) 2021-05-28 13:58:14 +08:00
波比小金刚
a6b1483aab
fix: add specific type declaration (#1939)
* fix: add specific type declaration

* fix: add an empty string tyoe

* feat: add an empty string defination

Co-authored-by: huangteng02 <huangteng02@meituan.com>
2021-05-27 16:39:56 +08:00