Commit Graph

5158 Commits

Author SHA1 Message Date
07akioni
71ec0cb47a fix(form): lint 2021-08-12 00:00:49 +08:00
Yugang Cao
b44901e111
deps(form): update async-validator (#842) 2021-08-11 23:41:08 +08:00
Yugang Cao
6341f54971
test(element): add element test case (#843) 2021-08-11 23:26:33 +08:00
XieZongChen
13e0ce9e26
test(utils): add utils color test (#832) 2021-08-11 22:22:18 +08:00
doom-9
427003d82b
fix(rate): half star overlays star background in dark mode (#818)
* 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.

* Update index.cssr.ts

* feat: fix code

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-11 01:26:41 +08:00
XieZongChen
2beb412d1d
test(grid): add test (#830) 2021-08-11 01:23:21 +08:00
Yugang Cao
1116c77280
fix(menu): renderIcon render error when return true (#827)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-11 01:21:41 +08:00
Yugang Cao
a2fdd11e0d
test(data-table): add itemCount test case (#826)
* test(data): add itemCount test case

* fix: CI failed

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-11 01:17:24 +08:00
汪磊
7d1040d3b6
test(menu): fix menu render-icon test cases (#733)
* test(NMenu): fix menu render-icon test cases

* docs(menu): simplify advanced usage of render-icon

* docs(menu): update render-icon demos

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

* docs(menu): update render-icon demos

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

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-09 23:57:08 +08:00
07akioni
a4e0aafb51
Merge pull request #820 from TuSimple/dependabot/npm_and_yarn/treemate-0.3.0
chore(deps): bump treemate from 0.2.12 to 0.3.0
2021-08-09 23:16:19 +08:00
XieZongChen
97a40ac2d9
test(layout): update test (#822) 2021-08-09 21:34:33 +08:00
dependabot[bot]
470fb916e7
chore(deps): bump treemate from 0.2.12 to 0.3.0
Bumps [treemate](https://github.com/07akioni/treemate) from 0.2.12 to 0.3.0.
- [Release notes](https://github.com/07akioni/treemate/releases)
- [Commits](https://github.com/07akioni/treemate/compare/v0.2.12...v0.3.0)

---
updated-dependencies:
- dependency-name: treemate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 09:23:10 +00:00
07akioni
2e014c190e
Merge pull request #816 from TuSimple/docs
Merge pull request #792 from TuSimple/main
2021-08-09 00:46:12 +08:00
07akioni
58b92e30eb 2.16.2 2021-08-09 00:43:29 +08:00
07akioni
632a96dc6e docs(changelog): format 2021-08-09 00:33:37 +08:00
07akioni
843ac44fbd docs(changelog): color picker #749 2021-08-09 00:31:17 +08:00
aisen
91942e73ce
fix(color-picker): fix on-complete parameter value is not updated in time (#749)
* fix(ColorPicker): fix on-complete parameter value is not updated in time

* fix(ColorPicker): fix on-complete parameter value is not updated in time

* fix(ColorPicker): fix on-complete parameter value is not updated in time

* fix(ColorPicker): change setTimeout to nextTick
2021-08-09 00:29:06 +08:00
zmtlwzy
18b66f5d56 fix(icon): duplicate attrs (#814) 2021-08-09 00:21:03 +08:00
XieZongChen
79eabff54c
test(NLayout): add test (#815) 2021-08-08 22:58:17 +08:00
Yugang Cao
8febb56c99
test(result): add result statue test (#812) 2021-08-08 22:51:08 +08:00
XieZongChen
018688cef1
test(NSpin): add spin test (#808) 2021-08-07 23:00:02 +08:00
Yugang Cao
aeb4f553ab
test(message): add message provider closable test (#806) 2021-08-07 20:37:09 +08:00
kalykun
b62bda5127
fix(data-table): When selectAll is selected, the state display of selectAll should not contain disabled rows (#781)
* fix(data-table): When selectAll is selected, the state display of selectAll should not contain disabled rows

* fix(data-table): code optimization

* fix(data-table): code optimization
2021-08-07 20:36:20 +08:00
07akioni
bf56a4c668 refactor(tree-select): show path 2021-08-07 20:33:49 +08:00
zoomdong
60448314c2
feat(tree-select): support showPath (#805)
* feat: treeSelect support showPath

* chore: add CHANGELOG

* chore: add test case

* chore: update doc

* chore: update code

* chore: update type

* chore: upadte code

* chore: add dots

* chore: adjust code

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 20:27:10 +08:00
07akioni
3f8e640f82 refactor(layout-sider): sider placement right 2021-08-07 17:35:11 +08:00
jesi
ccb0dedd1b
feat(layout): sider-position (#657)
* feat(layout): sider-position

* docs(layout): sider-position in en-US

* fix(layout): sider placement

* fix(layout): transform sider when sider is placed right

* fix(layout): set flex-direction of container

* fix(layout): remove useless computed property

* fix(layout): toggleBar, toggleButton style

* refactor(layout-sider): toggle style

* refactor(layout-sider): remove useless className

* fix(layout): transform width

* Update src/layout/src/styles/layout-sider.cssr.ts

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 16:35:02 +08:00
Mr.Bai
3d5daa517b
fix(select): filter break bug (#756)
* fix(select): filter break

* changelog update

* fix(select): use another way to solve this problem

* fix(select): optimization

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 14:35:29 +08:00
07akioni
56edac00be feat: set -webkit-tap-highlight-color to transparent 2021-08-07 14:32:46 +08:00
07akioni
489a5b664e test(avatar): update snap 2021-08-07 14:29:50 +08:00
sudongyu
593f940f75
fix(avatar): scale value is incorrect (#796)
* fix(avatar): scale value is incorrect while use v-show

* chore(avatar): docs format & code clean

* chore

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 14:16:51 +08:00
Yugang Cao
8d04c9b37d
fix(menu): click menu show background on mobile (#800)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-06 23:52:54 +08:00
07akioni
fbc12e0011 refactor(popconfirm): showing action's logic 2021-08-06 23:30:21 +08:00
jesi
079e0e25c6
feat(popconfirm): support no actions (#782)
* feat(popconfirm): add actions prop

* docs(popconfirm): remove useless props

* refactor(popconfirm): display actions  by judging positiveTest and negetiveTest
2021-08-06 23:22:29 +08:00
Yugang Cao
25cb8cb58c
feat(message-provider): add closable prop (#797)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-06 23:09:02 +08:00
XieZongChen
9c187b9c1c
test(NSkeleton): add test (#804) 2021-08-06 22:35:45 +08:00
07akioni
5021deae87
Merge pull request #792 from TuSimple/main
sync main
2021-08-06 02:39:34 +08:00
07akioni
648392b8c4 2.16.1 2021-08-06 02:38:28 +08:00
07akioni
9caa3ebc27
Merge pull request #791 from TuSimple/docs
Docs
2021-08-06 02:38:12 +08:00
07akioni
d129cf2476 docs(changelog): fixes 2021-08-06 02:28:51 +08:00
07akioni
4d926eecd4 fix(modal): can't be closed when using custom content, closes #788 2021-08-06 02:25:40 +08:00
小魔王
149481e420
fix(select): tag should hide close icon when option is disabled (#784)
* fix(select): tag should hide close icon when option is disabled

* fix(select): update log

* Update CHANGELOG.zh-CN.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-06 00:09:14 +08:00
Yugang Cao
76793a389c
docs(input): update input code docs (#774)
* docs(input): update input code docs

* fix: remove v-model

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-06 00:04:05 +08:00
XieZongChen
cf46ee4d8f
test(NProgress): add test (#790) 2021-08-05 23:19:32 +08:00
Wanli Song
af7fc160cd
Merge pull request #777 from songjianet/docs-dropdown
docs(dropdown): 下拉菜单组件增加针对图标使用的用例
2021-08-05 10:54:46 +08:00
songjian
77142dea58 docs(dropdown): 下拉菜单组件增加针对图标使用的用例 2021-08-05 09:46:05 +08:00
XieZongChen
2de677dd58
fix(progress): fix percentage prop exception in default (#767)
* fix(NProgress): fix percentage prop exception in default

* feat: optimize
2021-08-04 23:35:32 +08:00
XieZongChen
5ae1538ac4
feat(button): add text-color prop (#762)
* feat(NButton): add text-color prop

* feat: optimization

* feat: optimization

* feat: optimize

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-04 23:28:05 +08:00
Yugang Cao
cf38115b80
feat(form): export ValidationError (#755)
* feat(form): export ValidationError

* fix: export FormValidationError

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-04 23:23:33 +08:00
Spenser Black
6a2a5d6975
docs(anchor): Add show-rail & show-background (#771) 2021-08-04 22:58:53 +08:00