Commit Graph

5312 Commits

Author SHA1 Message Date
equt
424f1cd1c0
feat: add missing export types in documentation (#1066)
* feat: export UploadFile

* doc(upload): update CHANGELOG

* feat(dropdown): export `DropdownDivider` type

* feat(cascader): alias CascaderOption option

* feat(mention): export `MentionOption` type

* feat(transfer): export `TransferOption` type

* feat(pagination): add `PaginationInfo` type

* feat(data-table): add `CreateSummary` type

* fix: export missing `DropdownDivider`

* feat(dropdown): add `DropdownGroup` & `DropdownSubmenu` type

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-04 14:12:34 +08:00
07akioni
b61363c882 refactor(code): clean codes 2021-09-04 14:11:46 +08:00
afocus
02b8d0ccad
feat(code): xadd inline prop (#1000)
* feat(code): options add inline prop

* fix(code): option inline default prop

* optimize code

* docs(code) Upgrade the use case of code component to Composition API

* docs(code) Upgrade the use case of code component to Composition API

* Apply suggestions from code review

* fix(code):修复非高亮下inline无效的问题,修复inline下css强制block的问题

* Apply suggestions from code review

Co-authored-by: wangyinliang <wangyinliang@parkingwang.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-04 14:01:30 +08:00
07akioni
4b51a4629d refactor: flatten remove comment node by default 2021-09-04 13:43:14 +08:00
doom-9
25b8b9fde1
feat(description): remove warning on v-if (#1084) 2021-09-04 13:31:11 +08:00
kalykun
73293192c2
test(steps): add some test case (#1065) 2021-09-04 10:43:47 +08:00
XieZongChen
8caa813c48
test(cascader): update test (#1085) 2021-09-04 10:24:59 +08:00
XieZongChen
9e46d51879
test(cascader): add test (#1061) 2021-09-03 07:35:07 +08:00
07akioni
b51124d729 chore: update ts & vue 2021-09-03 03:19:34 +08:00
equt
29696c1913
chore: let eslint respect prettier config (#1058)
* chore: let eslint respect prettier config

* style: run code linting
2021-09-03 02:13:12 +08:00
dependabot[bot]
fb83c44619
chore(deps-dev): bump @types/jest from 26.0.24 to 27.0.1 (#866)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.24 to 27.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-03 02:05:05 +08:00
07akioni
140bbace41 fix(tree-select): clean code related to check strategy 2021-09-03 01:59:24 +08:00
小魔王
6ccbe869c1
feat(tree-select): add check-strategy prop (#758)
* feat(tree-select): 增加勾选指定中策略属性

* feat(tree-select): 更新日志

* feat(tree): update treemate to add check strategy

* feat(select): disabled option hide close iocn

* feat(tree): 兼容合并leaf-only与子策略属性

* feat: 回显值跟随策略优化

* feat: 优化回显结果

* Update TreeSelect.tsx

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-03 01:16:57 +08:00
07akioni
29577a22d2 refactor(table): clean code 2021-09-03 01:10:54 +08:00
doom-9
a715dfd545
feat(data-table): support shiftKey check (#1026)
* 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(data-table): wip

* feat: fix code

* feat: fix code

* feat: update changelog

* feat: update changelog

* feat: fix code

* feat: fix code
2021-09-03 01:00:20 +08:00
kalykun
bbddd13084
feat(tree, tree-select): add children-field prop (#1040)
* feat(tree&tree-select): add children-field prop

* chore: update docs & deps
2021-09-03 00:42:47 +08:00
kalykun
69a30f10fe
test(progress): add some test case (#1059) 2021-09-03 00:01:20 +08:00
Yugang Cao
5dff16c411
test(code): add code test case (#1045)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-09-02 22:10:00 +08:00
kalykun
c328991b31
test(skeleton): add some test case (#1056) 2021-09-02 22:07:17 +08:00
CJ
6250d128b6
type(select): update value type (#1051) 2021-09-02 19:43:59 +08:00
XieZongChen
174377efb9
test(popconfirm): update test (#1041) 2021-09-02 10:08:10 +08:00
07akioni
0c1bb8e825 refactor(dropdown): clean codes 2021-09-02 00:59:56 +08:00
jesi
499c9a1b7d
feat(dropdown): options add on-click prop (#951)
* feat(dropdown): options add onClick prop

* refactor(dropdown): options add props prop

* refactor(dropdown): add props prop to options

* fix(dropdown): changelog docs

* fix(dropdown): trigger both methods

* docs(dropdown): rename demo

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-02 00:50:18 +08:00
07akioni
3db73a53f5 fix(input): Chinese input method not correct while mouse leave the input in clearable is true, closes #905, closes #979 2021-09-02 00:40:47 +08:00
daipeng
5b65408400
fix(cascader): click tag to delete the sub option in multi selection mode, and the tree option is not updated (#1038)
* fix(cascader):fixed handleDeleteOption.the tree option is not updated

* Apply suggestions from code review

* Update CHANGELOG.zh-CN.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-09-02 00:26:36 +08:00
07akioni
c6e817dfab chore: fail to registered github sponsor, just keep the file here 2021-09-02 00:13:08 +08:00
07akioni
db0bc329bc chore 2021-09-01 23:06:13 +08:00
07akioni
329e2367de
Create FUNDING.yml 2021-09-01 23:04:41 +08:00
XieZongChen
25d4a748e2
test(popconfirm): add test (#1031) 2021-09-01 09:54:39 +08:00
dependabot[bot]
35221c2d2e
chore(deps-dev): bump eslint-config-standard-with-typescript (#1025)
Bumps [eslint-config-standard-with-typescript](https://github.com/standard/eslint-config-standard-with-typescript) from 20.0.0 to 21.0.1.
- [Release notes](https://github.com/standard/eslint-config-standard-with-typescript/releases)
- [Changelog](https://github.com/standard/eslint-config-standard-with-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/standard/eslint-config-standard-with-typescript/compare/v20.0.0...v21.0.1)

---
updated-dependencies:
- dependency-name: eslint-config-standard-with-typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 00:01:44 +08:00
Yugang Cao
aa47a1dfe7
fix(input-number): precision (#1008)
* fix: input-number add error

* fix: floating point decimal precision

* fix: add test

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-31 18:58:35 +08:00
Yanming Deng
1ef0dc71b3
test(radio): added some tests (#1022) 2021-08-31 17:58:24 +08:00
Yanming Deng
5e219eb8c6
test(slider): add tests (#1021) 2021-08-31 15:15:50 +08:00
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
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
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
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
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
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
XieZongChen
376a88988d
test(select): update test (#983) 2021-08-27 21:55:01 +08:00
XieZongChen
c032a56e19
chore: fix 'npm run lint' problem (#987) 2021-08-27 11:56:11 +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