Commit Graph

5394 Commits

Author SHA1 Message Date
Yanming Deng
bb6839f04f
test(carousel): remove useless nextTick (#970)
* test(carousel): added autoplay and interval test

* 写法简化

* use sleep

* remove nextTick
2021-08-31 11:36:30 +08:00
songjianet
11b1be9ca7
docs(breadcrumb): Upgrade the use case of back-top component to Composition API (#1018) 2021-08-31 11:35:02 +08:00
XieZongChen
61f62801c5
test(popconfirm): add test (#1017) 2021-08-31 10:52:40 +08:00
Kev1nzh
da1646570d
feat(upload): add list type (#785)
* feat(upload): add `list-type`, `show-preview-button`, `on-preview` and `preview-file` props, thumbail style and some tests (#393)

* docs(upload): add thumbail api (#393)

* docs(upload): add CHANGELOG (#393)

* docs(upload): add fix CHANGELOG (#393)

* fix(upload): fix husky file

* Update .husky/pre-commit

* Update src/upload/demos/enUS/picture-style.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/upload/demos/zhCN/index.demo-entry.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/upload/src/Upload.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/upload/src/styles/index.cssr.ts

Co-authored-by: 07akioni <07akioni2@gmail.com>

* feat(upload): update variable name and fix style (#393)

* docs(upload): add preview-file prop api and fix CHANGELOG (#393)

* feat(upload): fix component attribute (#393)

* feat(upload):  change create thumnail url and fix bug

* feat(upload): change code location (#393)

* docs(upload): change demo and CHANGELOG (#393)

* feat(upload): fix husky(#393)

* Update src/upload/src/UploadFile.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/upload/demos/zhCN/picture-card-style.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* Update src/upload/demos/zhCN/picture-style.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>

* feat(upload): fix preview animation error, preview ref and picture style (#393)

* feat(upload): add image group to the file list (#393)

Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-31 01:12:38 +08:00
Yufan You
6cccf66461
docs(site): add distinct title for each documentation page (#1002)
* site: add distinct title for each documentation page

* perf: restore the script in HTML to load the first title faster

* refactor: remove duplicated codes

* fix: set document.title only once to prevent flicking

* fix: shorten the title
2021-08-30 23:40:17 +08:00
songjianet
0e0191535d
docs(loading-bar): use composition api (#1012) 2021-08-30 20:05:17 +08:00
songjianet
be22eddc23
docs(breadcrumb): use composition api (#1013) 2021-08-30 20:02:26 +08:00
XieZongChen
c791d5a96c
test(popconfirm): add test (#1011) 2021-08-30 10:46:01 +08:00
07akioni
2cd46a4890 feat(tree, tree-select): add label-field prop 2021-08-30 01:51:32 +08:00
kalykun
5f26ecf0e1
feat(tree, tree-select): add nodeKey prop (#998)
* feat(tree,tree-select): add nodeKey prop

* fix code

* docs: format
2021-08-30 01:01:25 +08:00
Yugang Cao
2d906f48ac
docs: add recruit (#1009) 2021-08-30 00:53:22 +08:00
kalykun
ed43daf9c4
test(space): add test case (#1006)
* test(space): add test case

* test(space): branch cover
2021-08-29 23:09:04 +08:00
kalykun
074a3936ac
test(ellipsis): add test case (#1010)
* test(ellipsis): add test case

* Update src/ellipsis/tests/Ellipsis.spec.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-29 23:06:26 +08:00
Keagan Chisnall
319dc4e234
docs(dynamic-tags, forms): improve en (#1001)
* NDynamicTags

* NForm

* PR fixes
2021-08-29 22:35:34 +08:00
songjianet
d476751fc9
docs(dialog): use composition api (#971)
* docs(dialog): 将对话框组件的示例更改为composition api

* docs(dialog): 修改return中的函数形式

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-29 22:25:49 +08:00
Yugang Cao
70fafa6e64
feat(data-table): add hide in renderFilterMenu (#985)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-28 00:42:08 +08:00
songjianet
ea59dde3ce
docs(steps): use composition api (#974)
* docs(steps): 将步骤组件的示例更改为composition api

* Apply suggestions from code review

* docs(steps): 更改变量名称

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-28 00:35:21 +08:00
songjianet
6acf388cbc
docs(message): use composition api (#969)
* docs(message): 将信息组件的示例更改为composition api

* docs(message): 修改return中的函数形式

* Apply suggestions from code review

* Update src/message/demos/enUS/about-theme.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-28 00:34:54 +08:00
songjianet
dff7f52765
docs(affix): fix bottom description (#990) 2021-08-28 00:19:38 +08:00
Thomas Klemm
92890ee4b5
docs(modal): Fix en demo (#980)
Switching the messages, so that the one you'd expect shows up when clicking on "Submit" and "Cancel"
2021-08-28 00:12:49 +08:00
Yugang Cao
32b30ff2e2
fix(layout-sider): placement right does not work (#996)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-28 00:06:08 +08:00
XieZongChen
1cfa229e89
feat(cascader): add onUpdateValue prop (#997)
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-28 00:00:35 +08:00
Yugang Cao
a018945240
feat(auto-complete): add onUpdateValue prop (#999) 2021-08-27 23:56:43 +08:00
songjianet
06ea659ed3
docs(pagination): use composition api (#991) 2021-08-27 22:02:22 +08:00
songjianet
89319928ac
docs(menu): use composition api (#994) 2021-08-27 22:00:04 +08:00
XieZongChen
376a88988d
test(select): update test (#983) 2021-08-27 21:55:01 +08:00
XieZongChen
58818f1301
Merge pull request #989 from TuSimple/main
chore: fix 'npm run lint' problem (#987)
2021-08-26 23:07:04 -05:00
XieZongChen
c032a56e19
chore: fix 'npm run lint' problem (#987) 2021-08-27 11:56:11 +08:00
07akioni
b731fb30fe
Merge pull request #982 from TuSimple/main
sync main
2021-08-27 00:50:29 +08:00
07akioni
aa029a61d7
Merge pull request #981 from TuSimple/docs
Docs
2021-08-27 00:50:04 +08:00
07akioni
ac9e0a219c 2.16.7 2021-08-27 00:49:05 +08:00
Mr.Bai
2e6f72feae
fix(tree): node can not be expanded (#975)
* fix(tree): node can not expanded

* Update CHANGELOG.zh-CN.md

* Update src/tree/src/Tree.tsx

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: XieZongChen <46394163+amadeus711@users.noreply.github.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-27 00:23:09 +08:00
07akioni
1c3da53ecd fix(mention): menu is too far from text in input mode 2021-08-27 00:17:29 +08:00
jesi
2b55b2c58d
feat(mention): add focus and blur methods (#973)
* feat(mention): add focus and blur methods

* test(mention): focus and blur methods
2021-08-26 23:56:40 +08:00
kalykun
f71965b04d
test(tabs): add some test case (#963)
* test(tabs): add some test case

* test(tabs): add some tese case

* code optimization

* code optimization
2021-08-26 23:45:36 +08:00
songjianet
a6247408ce
docs(badge): use composition api (#972) 2021-08-26 23:36:30 +08:00
songjianet
4126328bf6
docs(badge): use composition api (#972) 2021-08-26 23:36:03 +08:00
Yanming Deng
472f373ea5
docs(spin): improve docs a little bit (#967)
* docs(spin): improve docs a little bit

* already named
2021-08-26 23:32:13 +08:00
XieZongChen
26f3e1e95d
test(select): update test (#968) 2021-08-26 10:12:49 +08:00
07akioni
b8663a171a
Merge pull request #965 from TuSimple/main
sync main
2021-08-26 01:10:22 +08:00
07akioni
c39ac86833
Merge pull request #964 from TuSimple/docs
Docs
2021-08-26 01:09:48 +08:00
07akioni
529f63850f 2.16.6 2021-08-26 01:08:06 +08:00
07akioni
ede52ec472 chore(dynamic-tags, image): clean codes 2021-08-26 01:00:39 +08:00
07akioni
51633e5fe6 feat(timeline): n-timeline-item add color prop 2021-08-26 00:49:02 +08:00
07akioni
97150211aa fix(data-table): flex-height not working without scroll-x, closes #952 2021-08-26 00:34:36 +08:00
jesi
ed73168dcc
fix(tree): throw exception when onLoad callback does not add children (#786)
* fix(tree): throw exception when onLoad callback does not add children

* refactor(tree): not expand when node has no children

* refactor(tree): handle no-children expand error

* Update src/tree/src/Tree.tsx

* Update src/tree/src/TreeNode.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-26 00:11:12 +08:00
07akioni
aad74468ee chore(tabs): docs format 2021-08-26 00:06:25 +08:00
07akioni
ca31314619 docs(tabs): remove useless show-divider prop 2021-08-26 00:04:02 +08:00
doom-9
673a593eee
feat(image): add preview prop (#939) 2021-08-25 23:33:45 +08:00
Mr.Bai
97e4013008
feat(dynamic-tags): add input slot (#734)
* feat(dynamic-tags): support input and add slot

* feat(dynamic-tags): optimization

* optimization

* update changelog

* optimization

* fix: optimization

Co-authored-by: Jiwen Bai <56228105@qq.com>
2021-08-25 23:28:09 +08:00