Commit Graph

370 Commits

Author SHA1 Message Date
07akioni
e4af935c65 fix(data-table): fixed column box-shadow doesn't update
1. when there is only on side fixed
2. when `props.scrollX` is not set but each column's width is set
2021-07-06 17:07:17 +08:00
07akioni
b1075e01ae feat(tree): exports TreeDragInfo & TreeDropInfo type 2021-07-06 16:17:39 +08:00
07akioni
1593b37d10 chore 2021-07-05 17:14:06 +08:00
07akioni
e407d54a5a 2.15.3 2021-07-05 17:02:15 +08:00
07akioni
263bbf7b67
feat(input): add loading prop (#384)
* feat(input): add `loading` prop

* fix(input): type error
2021-07-05 16:28:12 +08:00
Wanli Song
f0a4b3c0fd
feat(auto-complete): add loading prop (#257)
* feat(auto-complete): add loading prop

* doc(changelog)

* test(auto-complete): add test

* fix(auto-complete): refact loading prop

Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-05 15:21:23 +08:00
07akioni
e8b1b4ad07 fix(data-table): fixed column shadow doesn't work when max-height is set, closes #376 2021-07-05 15:17:02 +08:00
Ryan Wang
5a25b0cfe3
fix(popconfirm): popover internalExtraClass prop type error in popconfirm. (#381)
* fix: popover internalExtraClass prop type error in popconfirm.

* doc: update CHANGELOG.zh-CN.md

Co-authored-by: wangruiyuan <wangruiyuan@dgg.net>
2021-07-05 14:50:21 +08:00
07akioni
6262b6fdf8 feat(slider): add tooltip prop, closes #362 2021-07-05 14:23:51 +08:00
Mr.Bai
b2d3816346
fix(form): label-align not work (#220)
* fix(form): label-align not work

* fix(form): label align when placement is top,align is right

* fix(form): naming problem

* changelog: update pending fix

* fix(form): label-align in cssvar

Co-authored-by: tusimple <jiwen.bai@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-05 13:07:57 +08:00
doom-9
85c0bae815
feat:(carousel): add dot-position prop (#366)
* feat:n-input Support hidden password

* feat(form): support require-mark-placement(#171)

* Revert "feat(form): support require-mark-placement(#171)"

This reverts commit 0627777693.

* Revert "feat:n-input Support hidden password"

This reverts commit ea6491783d.

* feat:(n-carousel): add dotPosition prop

* feat:(n-carousel): add test and fix code

* feat:(n-carousel): fix code

* feat:(n-carousel): fix code

* feat:(n-carousel): fix code and remove console
2021-07-05 12:45:57 +08:00
XieZongChen
ead038eb29
feat(tree): n-tree add prefix and suffix in TreeOption (#353)
* feat(tree):  add  and  in TreeOption

* feat(tree): add test for prefix and suffix

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization

* feat: optimization
2021-07-04 20:27:14 +08:00
07akioni
58897a73bf fix(carousel): doesn't work with v-for children 2021-07-04 20:16:33 +08:00
07akioni
8aef306a10 fix(menu): tooltip's inner <a />'s style 2021-07-04 01:00:58 +08:00
07akioni
cba70a3c3f fix(dropdown): inner <a />'s style 2021-07-04 00:30:55 +08:00
Pengsha Ying
0c2489e0a2
feat: Add native title attributes where necessary (#365)
* feat(Link): add the title attribute

* feat(Badge): Add the title attribute

* feat(Calendar): Add the title attribute

* feat(Transfer): Add the title attribute

* feat(Upload): Add the title attribute

* feat(Selection): Add the title attribute

* Replace the title assignment with `getTitleAttribute`

* fix(UploadFile): remove UploadFile title attribute

* update ChangeLog
2021-07-04 00:04:56 +08:00
cyn
4e994cc37f
fix(menu): render-label not working for dropdown in collapsed mode (#364)
* fix(menu): render-label not working for dropdown in collapsed mode

* feat(menu): typo demo
2021-07-04 00:02:35 +08:00
07akioni
616003762b
fix(upload): multiple=false doesn't work for drag & drop (#369) 2021-07-03 23:41:15 +08:00
doom-9
4191aaeb54
feat:(image): add img-props prop (#349)
* feat:n-input Support hidden password

* feat(form): support require-mark-placement(#171)

* Revert "feat(form): support require-mark-placement(#171)"

This reverts commit 0627777693.

* Revert "feat:n-input Support hidden password"

This reverts commit ea6491783d.

* feat:(image): add test

* feat:(image): add test

* WIP

* WIP

* feat(image): add imgProps prop and add test

* feat(image): add imgProps type
2021-07-03 11:35:17 +08:00
seafronthu
3b6f4219fa
feat(loading-bar): export LoadingBarApi (#354)
* 对外导出 LoadingBarApiInjection

* changlog

* change log  export  type

* 修改为LoadingBarApi

* Apply suggestions from code review

* Update CHANGELOG.en-US.md

Co-authored-by: hhf <1170533231@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-03 00:08:53 +08:00
07akioni
1fd2a6d919 2.15.2 2021-07-02 18:23:17 +08:00
07akioni
04e1a4b120 fix(tag): lacks on-update-checked prop 2021-07-02 17:54:37 +08:00
07akioni
d7c9e8b751 docs(changelog): fix 2021-07-02 17:15:59 +08:00
07akioni
aea1a71870 fix(modal): still closes when on-negative-click returns false 2021-07-02 17:14:36 +08:00
小魔王
27e703f465
fix(collapse): defaultExpandedNames doesn't work in accrodion mode (#351) 2021-07-02 17:14:23 +08:00
07akioni
49c3f587c5 fix(tab-pane): throws error when using v-if 2021-07-02 10:59:22 +08:00
07akioni
30d0299e0d
fix(select): doesn't scroll to selected item when menu is opened (#348) 2021-07-02 01:35:10 +08:00
cyn
8564f95031
feat(dropdown): add render-label prop (#321)
* feat(dropdown): add render-label prrop

* feat(dropdown): opt code

* feat(dropdown): add render-label test

* feat(dropdown): update snapshot

* feat(dropdown): optimaze test case

* Update src/dropdown/tests/Dropdown.spec.ts

* Update src/dropdown/tests/Dropdown.spec.ts

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-02 00:43:46 +08:00
Wanli Song
21698de271
feat(spin): icon slot, rotate prop (#289)
* feat(spin): add icon slot

* doc(changelog

* fix(spin): icon slot logic

* test(spin): add icon slot test

* fix(spin): refact code

* feat(spin): add rotate prop

Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-01 23:57:16 +08:00
07akioni
1a354081ba
fix(loading-bar): disappears unexpectly (#347)
* fix(loading-bar): disappears unexpectly

* docs: changelog
2021-07-01 23:52:57 +08:00
doom-9
322bf2ca33
feat(image): add alt prop (#335)
* feat:n-input Support hidden password

* feat(form): support require-mark-placement(#171)

* Revert "feat(form): support require-mark-placement(#171)"

This reverts commit 0627777693.

* Revert "feat:n-input Support hidden password"

This reverts commit ea6491783d.

* feat(input): add alt prop

* feat(input): add alt prop

* feat(input): add alt prop
2021-07-01 23:45:00 +08:00
caoyugang_1
efc0ba1e58
feat(form): export FormItemRule and FormRules (#345)
* fix: tsconfig support ts

* feat: form export FormItemRule and FormRules type
2021-07-01 22:41:29 +08:00
XieZongChen
cff915f954
feat(select): add render-tag prop (#270)
* feat: select add render-tag prop

* feat: fix changelog

* feat: add select render tag prop test

* feat: optimization

* feat: optimization

* feat: optimization
2021-07-01 11:32:08 +08:00
07akioni
0442b4fa39 docs(changelog): numeric keypad enter 2021-07-01 11:16:36 +08:00
kalykun
362d2c29e7
feat(carousel): add trigger prop (#339)
* feat(carousel): add trigger prop

* chore(carousel): use onMouseenter instead of onMouseover
2021-07-01 11:12:54 +08:00
07akioni
df8600f4d3 docs(changelog): n-upload before-upload prop 2021-07-01 00:55:01 +08:00
07akioni
e7cadff23d refactor(menu): rename placement to dropdown-placement 2021-07-01 00:52:41 +08:00
Nic_
7b3821eb08
feat(menu): add placement prop (#316)
* feat(menu): add placement prop

* feat(menu): add placement prop

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-01 00:47:10 +08:00
07akioni
83ecc1870b docs(changelog): fix 2021-07-01 00:12:48 +08:00
liicos
8920de8cef
fix(calendar): remove useless console.log (#334)
* 去除calendar组件的console.log

* 更新changelog.md

Co-authored-by: liaojinping <liaojinping@mail>
2021-07-01 00:11:18 +08:00
07akioni
846c339d9b fix(log): warn on highlight.js when no language is set, closes #327 2021-07-01 00:03:21 +08:00
07akioni
3dc4e7c8ba 2.15.1 2021-06-30 21:04:13 +08:00
07akioni
f50976ad83 2.15.0 2021-06-29 23:56:28 +08:00
07akioni
c1b0fe12a3
feat(select): add render-option prop, label support render function (#325)
* feat(select): add `render-option` prop, `label` support render function

* fix: type

* docs(data-table): fix caveat

* fix: type & test

* chore

* test

* fix(cascader, auto-complete, mention): related types
2021-06-29 23:40:50 +08:00
07akioni
0104a280c6 refactor(popover): remove title prop & fix docs 2021-06-29 23:03:38 +08:00
caoyugang_1
dc46ba15dd
feat:(popover): popover add header slot (#274)
* fix: tsconfig support ts

* feat(popover): add header slot

* fix: change some comment and add test

* fix: change test

* fix: change header paddingTop

* fix: spec

* fix: remove spec async

* fix: change popoverBody hasHeader

* fix: hasHeader remove ref

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-06-29 22:31:14 +08:00
doom-9
a379334f00
feat(tree, tree-select): add leaf-only prop (#313)
* feat(tree and tree-select): add leaf-only prop

* feat(tree and tree-select): add leaf-only prop

* feat(tree and tree-select): add leaf-only prop

* feat(tree and tree-select): add leaf-only prop

* feat(tree and tree-select): add leaf-only prop

* feat(tree and tree-select): add leaf-only prop

* feat(tree and tree-select): add leaf-only prop

* feat(tree and tree-select): add leaf-only prop

* Update src/tree/src/TreeNode.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-29 15:26:09 +08:00
07akioni
6433a0d783
fix(dropdown): can't render n-popover in option (#311) 2021-06-28 01:17:36 +08:00
07akioni
fb0d3b0758
feat(web-types): add web-types.json (#310) 2021-06-28 00:29:29 +08:00
cyn
c47bd3fd09
fix(menu): tooltip content doesn't follow render-label when collapsed (#308)
* fix(menu): render-label on collapsed

* docs: add changelog

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-27 21:30:25 +08:00