Commit Graph

686 Commits

Author SHA1 Message Date
波比小金刚
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