Commit Graph

4834 Commits

Author SHA1 Message Date
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
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
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
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
07akioni
d4740739a1 chore(tree): format 2021-06-29 15:27:33 +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
XieZongChen
684d499e59
test(collapse): add collapse test (#317) 2021-06-29 02:19:42 +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
五柳
7956fbf6fd
test(tag): add tag test (#309) 2021-06-28 00:04:08 +08:00
07akioni
ddd860064a chore(upload): fix lint 2021-06-27 22:08:23 +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
XieZongChen
3d48a7c711
fix(carousel): fix navigate to current item (#302)
* fix(carousel): fix carousel click triggering button bug

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-27 15:59:34 +08:00
Mr.Bai
4401d4954f
feat:(message): add useMessage usage link of prerequisite (#304)
* feat:(message): add useMessage usage link of prerequisite

* Update src/message/src/use-message.ts

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-27 15:51:57 +08:00
caoyugang_1
cf01833f1c
docs(descriptions): add description in api table (#297)
* docs: add descriptions doc

* feat: add descript docs

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

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

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

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

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

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

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

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

* fix: change zhCN docs

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-26 00:07:16 +08:00
07akioni
21a132241d
feat(select): rename option.render => option.renderLabel (#296) 2021-06-25 23:08:45 +08:00
Delowar Hossain
4cefd10bab
fix(input): clear button placeholder prevent clicking on actual component [#288] (#292)
* Fix: input clear button placeholder prevents clicking inside input #288

* changelog added

* Fix: input clear button placeholder prevents clicking inside input #288

* Fix: input clear button placeholder prevents clicking inside input #288

* TimePicer Fix #288
2021-06-25 22:57:36 +08:00
fa0a51ee14
feat(input): add input-props prop (#204)
* fix: add some lost form props

* chore: remove ts expect error

* feat: add `input-props`

* chore: update docs

* revert: clearable demo

* chore: typo

* chore: remove blank line

* fix: docs & props

* docs: update

* chore: changelog
2021-06-25 22:39:07 +08:00
07akioni
c371207c36 docs(data-table): narrow column type name 2021-06-25 11:17:18 +08:00
XieZongChen
7ce6b92e88
test(card): add card test (#290)
* test(card): add card test

* test(card): optimization
2021-06-25 10:39:15 +08:00
zhypower1997
84a5022c95
docs(common-issues): add an explanation in common-issues (#129)
* feat(doc): adds an explanation in common-issues

* Update demo/pages/docs/common-issues/zhCN/index.md

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

* Update demo/pages/docs/common-issues/zhCN/index.md

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

* Update demo/pages/docs/common-issues/enUS/index.md

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

* feat: add english common issue

Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: haiyan-zhu <haiyan.zhu@tusimple.ai>
2021-06-24 19:52:37 +08:00
Mr.Bai
287c804519
fix(date-picker): provider pass date-locale doesn't work (#286)
* fix(date-picker): provider pass date-locale not work

* changelog: update fix #250

Co-authored-by: tusimple <jiwen.bai@tusimple.ai>
2021-06-24 19:37:31 +08:00
XieZongChen
252eea4f91
test(button): optimization button test (#287) 2021-06-24 16:01:49 +08:00