Commit Graph

774 Commits

Author SHA1 Message Date
云游君
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
Genesis
b9212870d4
SCSS Variables: Add missing !default modifiers (#1969) 2021-05-09 10:35:56 +08:00
kooriookami
0e593a95c6
fix(icon): fix icons (#1950)
fix #1936
2021-05-09 10:34:32 +08:00
Zong
d5215ce242
fix(transfer): remove uesless button style (#1953) 2021-05-09 10:34:08 +08:00
zouhang
13cc5fd0e9 fix: add additional css in popover 2021-05-07 22:58:51 +08:00
Black
5844f9cd39
fix(drawer): add modal false div class (#1932) 2021-05-06 19:35:29 +08:00
Yexk_M
48299068e6 [fixed] validate types error
根据 `form/index.js` 源码 124行, 发现types类型声明错误。在此修正。
2021-05-06 19:20:54 +08:00
波比小金刚
58646285c7
fix: keep the same with property name (#1940) 2021-05-06 19:06:51 +08:00
Eyes22798
c790aeb19f
fix(rate): remove the confusing this (#1910) 2021-05-01 23:09:47 +08:00
hearsay
a87c8c3fe5
fix(image): fix image Add the dom of the preview picture to the body (#1577) 2021-04-26 11:54:22 +08:00
Summer
a1f521edec
switch: add beforeChange hook (#1878) 2021-04-26 11:53:09 +08:00
kooriookami
045ea5df41
fix(icon): fix icon (#1896) 2021-04-25 21:18:38 +08:00
kooriookami
c5e72c801b
feat(page-header): add icon props and slots (#1882) 2021-04-25 21:17:39 +08:00
kooriookami
b86b360a9b
feat(scrollbar): perf behavior of scrollbar (#1869)
* feat(scrollbar): perf behavior of  scrollbar

when mousedown and move out of the scrollbar, the bar can still be scroll

* feat: add test

* feat: update test
2021-04-21 15:28:46 +08:00
Enoch Qin
2cef7566c1
refactor(Button): setup props add type (#1879)
* refactor(Button): setup props add type

* refactor(Button): IButtonProps type
2021-04-21 15:13:40 +08:00
滑威
9a577d65cb
feat(progress): indeterminate progress bar (#1832)
* feat: indeterminate-progress

* docs: 补充属性

* fix: 更新单元测试用例

* chore: 优化性能

* docs: Indeterminate progress other lang

* chore: progress bem classname && docs

* docs: speed -> duration

* docs: progress docs
2021-04-21 13:47:29 +08:00
inottn
63ac60a478
fix(upload): expose abort method (#1877) 2021-04-21 10:54:18 +08:00
kooriookami
7a1457bce0
feat(scrollbar): add docs and params (#1859)
* feat(scrollbar): add docs and params

* fix: fix wrapStyle

* feat: add test

* feat: update
2021-04-20 10:44:10 +08:00
kooriookami
0d676acbc2
fix(dropdown): fix click disabled still trigger (#1865)
fix #1864
2021-04-20 10:39:17 +08:00
kooriookami
f48c497703
Feat/descriptions (#1856)
* feat(descriptions): new component Descriptions

* feat: update

* feat: update

* feat: update

* feat: update

* fix: revert readme.md

* feat: update

* feat: update provide key
2021-04-19 18:05:48 +08:00
jeremywu
94b410b647
feat(virtual-list): enhance-virtual-list (#1813)
* feat(virtual-list): enhance-virtual-list

- Enhance virtual list with generic list generator and variable size list

* finish enhancement, tests awaits

* feat(virtual-list): - finalize the tests
2021-04-16 11:18:39 +08:00
jeremywu
68c8dc8e46
fix(space): fix/1839-el-space-string-spacer-style-issue (#1845)
- Fix the issue causing horizontal layout spacer styling weird
2021-04-15 11:33:52 +08:00
xiejiahe
f3bf10cffa
fix(Checkbox): activeStyle boxShadow error (#1829) 2021-04-14 15:49:00 +08:00
kooriookami
cb29649c7f
fix(table): fix variable spelling (#1837) 2021-04-14 11:47:37 +08:00
jeremywu
cc988f9ac1
fix(table): fix table column rerendered whenever table updates
- Fix table column rerendered whenever table updates
2021-04-14 11:21:04 +08:00
kooriookami
634448d756
feat(result): new componet Result (#1818)
* feat(result): new componet Result

re #1137

* feat: fix docs

* feat: perf slot

* feat: use svg icon

* feat: update variable name

* feat: update style
2021-04-14 10:18:29 +08:00
0song
041d36242d
fix: time picker change event bug (#1828) 2021-04-14 10:16:36 +08:00
xiejiahe
62cffd67a4
style: using 'Array.prototype.forEach()' (#1826) 2021-04-13 17:52:51 +08:00
xiejiahe
d2ce2604c8
style(date-picker): date-picker-com conditional judgment (#1823) 2021-04-13 15:03:40 +08:00
siam
834147c1cc
fix(date-picker): date-picker daterange panel clear value and view not update (#1816)
Co-authored-by: liao-zhi-peng <liaozhipeng@weis-inc.com>
2021-04-13 12:14:38 +08:00
xubo leng
3359d7b193
fix(image-viewer): fix image src attribute error #1791 (#1819)
Co-authored-by: Xubo Leng <xubo.leng@thoughtworks.com>
2021-04-13 10:40:03 +08:00
xiejiahe
ee7e9c0a00
fix(talbe): null check error (#1807) 2021-04-13 10:31:38 +08:00
张宇
6582b7cdbc
fix(avatar): fix src attributes default value (#1770) 2021-04-11 21:06:38 +08:00
Sleepy Five
4ef5439e77
fix(alert.scss carousel.scss switch.scss): v-enter(vue2) to v-enter(vue3) (#1803)
Co-authored-by: 709299853@qq.com <709299853@qq.com>
2021-04-11 21:01:57 +08:00
justwiner
44fbd9f39f
fix(table): fix: fix bug of table crash under complex data (#1805)
fix #1733

Co-authored-by: winerlu <winerlu@tencent.com>
2021-04-11 21:01:01 +08:00
inottn
77ab8ae0d8
fix(select): fix select with filterable has wrong dropdown options (#1811) 2021-04-11 20:58:58 +08:00
Mike Saprykin
fbf34667a6
fix(time-picker): added popperRef in picker to Fix issue #1809 (#1812)
Added usage of popperRef arg in clickoutside directive in picker to fix issue #1809

fix ##1809
2021-04-11 20:58:25 +08:00
justwiner
270a4f96ad
fix(table): fix: page resize event not monitor (#1790)
Monitor the page size change event, update the table layout

fix #1691

Co-authored-by: winerlu <winerlu@tencent.com>
2021-04-11 20:58:13 +08:00
0song
996c405b7f
fix: fix utils (#1792) 2021-04-09 13:45:21 +08:00
kooriookami
a17088d5eb
fix(slider): fix input event and style (#1786)
* fix(slider): fix input event and style

fix #1781

* fix: update

* fix: fix indent
2021-04-09 10:40:50 +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
jeremywu
76f6a65a42
fix(input): fix/1754-input-prefix-icon-incorrect-height (#1766)
- Fix the incorrect style rule for input prefix icon
2021-04-07 10:46:24 +08:00
inottn
a35b7b5d1f
fix(select): fix filter method is not called when input first letter (#1711)
* fix(select): fix filter method is not called when input first letter

* chore(select): remove empty line

* test(select): add test case
2021-04-06 16:21:40 +08:00
0song
c81d8a30e8
fix: lint (#1760) 2021-04-06 15:56:01 +08:00
BeADre
1c4928890b
fix(picker): add focus (#1475) 2021-04-06 13:28:57 +08:00