Commit Graph

818 Commits

Author SHA1 Message Date
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
Bios Sun
eeedac6cf7
build: bump sass from 1.26.10 to 1.34.0 (#2060)
# Conflicts:
#	packages/theme-chalk/src/common/var.scss
2021-05-27 16:39:04 +08:00
Xing.Wu
b7450ff21d
fix(pagination): bug #2025 (#2062)
* fix(pagination): fix parent #2025

* fix(pagination): add test case for pagination

Co-authored-by: xing.wu <wuxing@bjca.org.cn>
2021-05-27 16:38:54 +08:00
0song
35ae8f4a33
fix: allow clearable to control both of the clear button (#2072)
fix #2035
2021-05-26 16:31:04 +08:00
kooriookami
0d29cc444c
perf(scrollbar): perf behavior of bar click (#2066)
re #2064
2021-05-25 19:15:12 +08:00
kooriookami
a5ac641c08
style(style): remove useless style (#2058) 2021-05-25 09:29:14 +08:00
BelinChung
0bb128315b
feat(click-outside): return mousedown event (#2038)
* feat(click-outside):  return mousedown event

Return mousedown event for binding function.

* feat(click-outside): expose both mouseup and mousedown event

* feat(directives): add test cases for click-outside

* feat(directives):  clear the previously assigned event object
2021-05-24 17:29:19 +08:00
Zong
548eed72b1
fix(locale): translated ja (#2050) 2021-05-24 11:02:07 +08:00
ping
9ee93ddf81
fix(notification): fix notification component zIndex prop can not work (#2021)
fix notification component zIndex prop can not work

fix #2017

Co-authored-by: ping <1456687576@qq.com>
2021-05-24 09:58:59 +08:00
波比小金刚
42a4798976
feat: update the setCurrentName function. (#2030)
* feat: update the setCurrentName function.

* Update tabs.vue

* Update tabs.vue
2021-05-21 16:37:27 +08:00
波比小金刚
3846e2a8cd
fix: should test is-dot class existed. (#1992) 2021-05-21 16:29:31 +08:00
波比小金刚
f419b8c61c
fix: Remove unused type declarations (#1991) 2021-05-21 16:27:33 +08:00
mistery-li
980152c997
fix(button): fix: add button click type's defination (#2026)
Co-authored-by: tujin_li <tujin.li@gshopper.com>
2021-05-21 16:23:09 +08:00
ioslh
116f5294f7
fix: v-if patch bug on el-table-column (#1988) 2021-05-21 15:54:39 +08:00
波比小金刚
ce2a9b10c8
fix: use same throw error utils function. (#2022)
* fix: use same throw error utils function.

* Update tab-nav.vue

Update error message.

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-05-21 15:47:54 +08:00
Enoch Qin
79876b9733
refactor(date-picker): attribute 'type' add ts declare (#1979)
* refactor(date-picker): attribute 'type' add ts declare

* refactor(date-picker): add isValidDatePicktype utils

* style: date-picker code fix

* Update date-picker.ts

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-05-21 15:30:12 +08:00
Zong
3d7809cd75
fix(transfer): remove uesless button style (#1975) 2021-05-21 14:55:14 +08:00
justwiner
9b9eb65d44
fix(table): fix #1919 (#1983)
fix #1919

Co-authored-by: winerlu <winerlu@tencent.com>
2021-05-21 14:54:36 +08:00
波比小金刚
c23c57d2ba
feat: It should verify that text is inserted in the slot (#2000) 2021-05-21 14:45:46 +08:00
波比小金刚
b9db322037
fix: add tabs type's defination (#2020)
* fix: add tabs type's defination

* feat: add tab's type, tab-position defination

* Update tabs.vue

* Update tabs.vue

* Update tab-nav.vue
2021-05-21 14:42:49 +08:00
波比小金刚
60fd5a3b5f
fix: Remove unused code (#2019) 2021-05-21 14:42:33 +08:00
波比小金刚
24ef604db9
feat: remove meaningless parentheses (#2033) 2021-05-21 14:33:37 +08:00
Herrington Darkholme
8f519cfbef
fix: respect format props and default value (#2034)
* fix: respect format props and default value

Vue 3 props will always have all keys defined, regardless if users pass props when using the component.
So {format, ...props} will always overwrite the default format because props has format defined on it.
When users do not pass format, the code breaks.

* fix: null-coalescing operator(??) requires parens

* fix: capture reactivity
2021-05-20 16:15:40 +08:00
hangzou
83bc018598
fix: add addtional css in dropdown (#1998) 2021-05-13 18:12:52 +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
962772ffe1
fix(date-picker): fix/date-picker-popper-options-expose (#1982)
- Expose popper options API for date picker
2021-05-11 10:57:15 +08:00
jeremywu
05c17b9b52
fix(time-picker): fix/date-time-picker-positioning-issue (#1980)
* fix(time-picker): fix/date-time-picker-positioning-issue

- Make time-picker accepting popper-options injection

* update the providing strategy
2021-05-10 22:52:23 +08:00
Zong
f3b9ebf571
fix: use more reasonable type inference (#1963)
Use 'hasOwn' instead of 'hasOwnProperty' to complete more reasonable type inference and avoid possible bugs in the prototype chain.
2021-05-09 10:46:11 +08:00
kiloc
42ed6abbdf
fix(table): fixed checkbox not trigger oninput events in older browsers (#1945)
Co-authored-by: LAPTOP-IUOG0Q5G\chenq <chenqiang0620@gmail.com>
2021-05-09 10:45:51 +08:00
AndyLZC
955f7862d2
refactor(notification): avoid magic numbers (#1928)
* refactor(notification): avoid magic numbers

* refactor: refactor(pagination): simplify pagination logic

Co-authored-by: zc l <andylzce@gmail.com>
2021-05-09 10:40:33 +08:00
波比小金刚
fc95fc4c81
fix: judging by activeColor / inactiveColor (#1966)
If I didn’t miss anything, it should be related to the existence of activeColor or inactiveColor
2021-05-09 10:40:18 +08:00
Map1en_
0d877688cd
fix(button): wrong style when hovering the plain button (#1937)
close #1924
2021-05-09 10:36:16 +08:00