Commit Graph

4814 Commits

Author SHA1 Message Date
07akioni
50dfc3b420
Merge pull request #360 from TuSimple/docs
Docs
2021-07-02 18:17:03 +08:00
dependabot[bot]
39bb34d72f
chore(deps-dev): bump @types/estree from 0.0.48 to 0.0.49 (#357)
Bumps [@types/estree](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/estree) from 0.0.48 to 0.0.49.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/estree)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-02 17:57:49 +08:00
07akioni
04e1a4b120 fix(tag): lacks on-update-checked prop 2021-07-02 17:54:37 +08:00
07akioni
16bd268aeb test(collapse): props.defaultExpandedNames 2021-07-02 17:22:36 +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
df9690487f fix(input-group): type error
https://github.com/vuejs/vue-next/issues/4051
2021-07-02 11:54:16 +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
07akioni
8ee2086182 deps: husky@7.0.0 2021-07-02 00:37:21 +08:00
07akioni
55f37d5005 test(spin): fix rotate 2021-07-02 00:23:51 +08:00
07akioni
930ecab4c8 refactor(spin): reimplement customize icon codes 2021-07-02 00:20:56 +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
caoyugang
71f0e7aa8a Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-07-01 22:25:34 +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
Danny Feliz
4e555a003c
feat: adds support for the enter key on the numeric keypad (#341) 2021-07-01 11:14:51 +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
XieZongChen
428101eda6
test(ellipsis): add ellipsis test (#342) 2021-07-01 11:09:44 +08:00
07akioni
b09818195d chore: fix lint 2021-07-01 01:03:45 +08:00
07akioni
0a3e60da6a fix: husky precommit permission 2021-07-01 00:55: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
Kev1nzh
8ae18e646d
feat(upload): add before-upload prop (#294)
* feat(upload): add before-upload method

* docs(upload): add before-upload demo and log (#291)

* Update src/upload/demos/enUS/before-upload.demo.md

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

* Update src/upload/demos/enUS/before-upload.demo.md

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

* Update src/upload/demos/enUS/before-upload.demo.md

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

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

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

* fix(upload): fix husky

* docs(upload): fix zhCN md as suggested

* fix(upload): replace file with copyFiles and remove console log

* docs(upload):  fix md method

* Update .husky/pre-commit

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

* Update src/upload/demos/enUS/index.demo-entry.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/Upload.tsx

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

* fix(upload):  rewrite with FileInfo

* docs(upload):  changelog  with FileInfo

* Update src/upload/demos/enUS/before-upload.demo.md

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

* Update src/upload/demos/zhCN/before-upload.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/Upload.tsx

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

* Update src/upload/src/Upload.tsx

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

* Update src/upload/src/Upload.tsx

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

* Update src/upload/src/interface.ts

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

* docs(upload): delete useless attr

* fix(upload): optimize some code

* Update src/upload/src/Upload.tsx

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

Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-07-01 00:48:00 +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
doom-9
4e3d993147
docs(image) (#336)
* doc(image)

* doc(image)
2021-07-01 00:09:54 +08:00
XieZongChen
ba36861413
fix(ellipsis): fix ellipsis word (#337) 2021-07-01 00:09:16 +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
ea4bb28f81 Merge branch 'main' into docs 2021-06-30 21:05:10 +08:00
07akioni
3dc4e7c8ba 2.15.1 2021-06-30 21:04:13 +08:00
07akioni
cc215e4b96 fix: no web-types 2021-06-30 21:01:56 +08:00
07akioni
29fe55b32d
Merge pull request #332 from TuSimple/main
sync main
2021-06-30 00:07:34 +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
3505549c32
Merge pull request #330 from TuSimple/docs
Docs
2021-06-29 23:29:11 +08:00
07akioni
a30d71f773 feat(tree): make leaf-only work with cascade 2021-06-29 23:18:56 +08:00
caoyugang
e466e2bee1 Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-06-29 23:17:57 +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
XieZongChen
524d508089
test(divider): add divider test (#326) 2021-06-29 22:26:24 +08:00
caoyugang
a38101e877 Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-06-29 22:01:07 +08:00
doom-9
427ed502e9
docs(input): Improve the documentation (#324) 2021-06-29 17:58:32 +08:00
07akioni
b28e98ecde deps: @vue/test-utils@2.0.0-rc.9 2021-06-29 15:41:01 +08:00