Commit Graph

736 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
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
HakurouKen
848265cb9c
fix(time-select): input value not changed with v-model bindings (#1725)
* fix(time-select): input value not changed with v-model bindings

fix#1724

* test(time-select): add v-model test cases

* test(time-select): add test case of value updates
2021-04-06 11:47:31 +08:00
Summer
5c897bbbb8
tooltip:fix tooltip component tabindex prop (#1621)
* tooltip:fix tabindex

* tooltip:fix tabindex
2021-04-06 11:41:53 +08:00
KeiSei
5b4e6df405
fix(select): fix type of modelValue incompatible (#1719)
Co-authored-by: 贾希琦 <xiqi.jia@imart360.local>
2021-04-06 11:41:44 +08:00
inottn
7380b8131c
fix(utils): fix isIE logic (#1757) 2021-04-06 11:27:30 +08:00
神楽坂みずき
fe3807b4f7
refactor(card): remove needless div tag (#1732)
fix #1717
2021-04-01 09:27:38 +08:00
inottn
a02737a78a
fix(input): add keydown event listener for textarea (#1723) 2021-03-31 16:24:42 +08:00
inottn
c3d1d14bdd
fix(time-picker): update oldValue when visible change (#1635)
* fix(time-picker): update oldValue when visible change

* chore(time-picker): extract common logic
2021-03-31 16:14:45 +08:00
jeremywu
55a702ca22
fix(drawer): fix drawer close button outline issue when focusing(#1727)
- Fix drawer close button outline issue when focusing.
2021-03-31 16:14:12 +08:00
jeremywu
ac0612965f
build(project): project/bumping-vue-version (#1702)
* build(project): project/bumping-vue-version

- Bumping vue to 3.0.9

* remove unnecessary dependency

* restore @vue/compiler-sfc
2021-03-28 12:46:58 +08:00
kooriookami
4365ffb760
fix(notification): fix style of break word (#1701) 2021-03-28 10:34:45 +08:00
jeremywu
8f256b18f7
feat(tag): add new feature check-tag (#1696)
* feat(tag): add new feature check-tag

- Add new component `check-tag`

* feat(tag): - add check tag vetur support
2021-03-27 19:54:43 +08:00
Summer
3ac7c2c75f
fix (menu) component animation bug (#1690)
* fix: menu component animation bug

* fix: menu component animation bug
2021-03-27 19:19:10 +08:00
justwiner
ed3062d97d
fix(table): the current row render flashing when expanding line toggle (#1654)
Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-27 19:12:10 +08:00
Ryan2128
25868c2446
fix(message-box): fix incompatible migration (#1671)
* fix(message-box): fix incompatible migration

* docs(message-box): add docs of buttonSize
2021-03-27 19:11:38 +08:00
Ryan2128
99451a1ef6
fix(select): fix error position of input and tags (#1682) 2021-03-27 19:08:33 +08:00
Ryan2128
f916bf0cf6
fix(upload): fix transition error trigger when fileList is static (#1686) 2021-03-27 19:07:50 +08:00
xiejiahe
e7bff99ece
fix(notification): css word break (#1699) 2021-03-27 18:11:15 +08:00
Summer
e6594ea926
Fix (popover) tabindex prop (#1642)
* fix(popover): fix panel disappear when hover on panel

* popover: fix tabindex prop

* popover: fix popover directive

* add test case for popover

* tabindex prop does not specify a default value & update elpopover component docs

Co-authored-by: Ryan <ryanzhao2128@gmail.com>
2021-03-26 16:01:29 +08:00
justwiner
f8d5bd9270
fix(table): fix #1653 (#1665)
Fix table can not correctly calculate bug of cell width after sorting or filtering

fix #1653

Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-26 15:13:02 +08:00
inottn
d345e65296
fix(image): avoid onload to be overwritten (#1689) 2021-03-26 14:00:19 +08:00
inottn
178c39171a
fix(select): should reset placeholder after clear (#1679) 2021-03-24 22:54:35 +08:00
Ryan2128
2a5059b5c5
fix: fix tooltip's export (#1678) 2021-03-22 20:52:31 +08:00
justwiner
6822cafda8
fix(table): fix bug caused by dynamic rendering (#1640)
fix #1626

Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-22 09:22:35 +08:00
justwiner
8ea4c16e34
fix(table): fix bug in render column structure (#1664)
Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-22 09:14:21 +08:00
inottn
e45da7bddb
fix(form-item): return resetField & clearValidate methods (#1663) 2021-03-19 09:23:14 +08:00
Ernest
3faec50c22
fix(select): modelValue should be deep reactive in multiple mode (#1624) 2021-03-16 21:41:08 +08:00
jeremywu
184af0b56f
fix(hooks): fix use-lock-screen hook (#1651)
- Fix when unmounting `use-lock-screen` could cleanup the side effects
2021-03-16 21:40:45 +08:00
kooriookami
2299dcf399
fix(slider): fix model-value error when Slider rendered (#1645)
fix #1644
2021-03-15 21:22:07 +08:00
Ryan2128
4c3eb20b0b
fix(select): fix option-group error when groupQueryChange event trigger (#1639) 2021-03-15 20:13:31 +08:00
jeremywu
ea9aa0df24
build(project): fix-build-error (#1638)
- Fix type caused build error which stops the type generator producing type files
2021-03-15 11:22:34 +08:00
kooriookami
362431e0db
fix(slider): fix warning of modelValue (#1622) 2021-03-12 17:25:46 +08:00
Ernest
96ab675903
feat(tree): auto expand parent on set current key and node (#1502) (#1508)
* fix(tree): auto expand parent on set current key and node (#1502)

* feat: expose expand-on-highlight-node prop

* Revert "feat: expose expand-on-highlight-node prop"

This reverts commit 9694825e0132522f1a4907d0c7bd91c4bd73b5aa.

* feat: add shouldAutoExpandParent parameter

* test: add tests

* docs: add parameter

* fix: it should only expand parent

* docs: update

* fix: it should only expand parent
2021-03-11 20:51:27 +08:00
inottn
4d6b26ae7a
fix(avatar): watch invalid when src is missing from props (#1615)
* fix(avatar): watch invalid when src is missing from props

* test(avatar): add test case
2021-03-11 20:47:11 +08:00
神楽坂みずき
7b83c1569e
fix(select): tag can't close if the option is disabled (#1605)
* fix(select): tag can't close if the option is disabled

re #1594, #1595

* fix(select): same change on collapse tag

* test: add test for tag of disabled option is not closable

* fix: fix when select is clearable

* test: add test
2021-03-11 20:32:36 +08:00
justwiner
8b84f834dd
fix(table): fix the bug that cannot watch data (#1612)
fix #1606

Co-authored-by: winerlu <winerlu@tencent.com>
2021-03-11 20:32:01 +08:00
Vgbire
8e653df457
style(dropdown-item): when disabled its mouse style should be disabled (#1603) 2021-03-10 21:13:33 +08:00
Ernest
598b798555
fix(cascader-panel): no loaded nodes should not be checked (#1583)
* fix(cascader): no loaded nodes should not be checked

* fix(cascader): no loaded nodes should not be checked

* fix(cascader): it should be indeterminate if some child are not loaded
2021-03-10 20:30:28 +08:00
Summer
1655c2aa11
fix: pagination.scss (#1598)
* fix: pagination.scss

* add variable for pagination.scss
2021-03-10 20:30:04 +08:00