Commit Graph

4860 Commits

Author SHA1 Message Date
07akioni
27b116982b ci: disable blank issue 2021-06-21 23:39:59 +08:00
07akioni
22a13e7510 docs(changelog): fix typo 2021-06-21 22:44:21 +08:00
07akioni
453639ab7b
Merge pull request #227 from TuSimple/main
sync main
2021-06-21 22:28:12 +08:00
07akioni
1deb3fb023 2.13.0 2021-06-21 22:09:27 +08:00
07akioni
cdb1ade28d docs(select): fix render-label has no selected arg 2021-06-21 22:03:39 +08:00
07akioni
571efa209e fix(date-picker, time-picker): icon doesn't work with clearable
Fix https://github.com/TuSimple/naive-ui/issues/222
2021-06-21 22:01:05 +08:00
07akioni
9a5d1a39f5
Merge pull request #226 from TuSimple/docs
Docs
2021-06-21 22:00:09 +08:00
XieZongChen
303eb71edc
feat: add button test (#221)
* feat: add button test

* feat: optimization
2021-06-21 21:43:03 +08:00
07akioni
da83b7a0d3 fix(button): loading icon doesn't show on iOS Safari
fix https://github.com/TuSimple/naive-ui/issues/219
2021-06-21 17:36:37 +08:00
07akioni
6ee3896319
feat(tree-select): component (#211)
* site: tree-select route

* refactor(internal-selection): remove useless remote prop & on-delete-last-option

* refactor(dropdown, popselect): set slots stable mark from true to 1

* fix(scrollbar): attributes applied multiple times

* wip(tree-select): add exports

* fix(tree): misses `on-update-expanded-keys`, `on-update-selected-keys`, `on-update-checked-keys` prop

* feat(tree): support keyboard operations

* feat(tree): scroll with keyboard target node

* fix(tree): `selected-keys` prop influences original array

* feat(tree): pending on selected node at first

* feat(tree): follow tree-select's pending status

* feat(tree): `internalCheckboxFocusable` prop

* refactor(tree): split treeMate to displayTreeMate & dataTreeMate to work with tree-select

* fix(tree): scrollbar won't sync in virtual scroll mode

* feat(tree-select)

* docs: changelog

* docs(tree-select)

* feat(tree-select): stricter type

* fix: typo

* fix(select): input blinks in filterable mode when click at menu and input has value

* fix(tree): multiple line style

* docs(tree-select)

* refactor(tree-select): disable tree expand animation on tree select

* feat(tree-select): change expanded keys on filter

* chore(tree): add comment about animation

* chore

* feat(tree-select): close on single select

* fix(base-selection): input has useless empty row in multiple filterable mode

* docs(tree-select): add clearable in filterable demo
2021-06-21 15:48:15 +08:00
XieZongChen
00ff423d62
feat(menu): add render-label prop (#191)
* feat: n-menu add renderLabel prop

* fix: optimization

* feat: add menu test and restructure menu renderLabel

* fix: optimization

* fix: optimization

* Apply suggestions from code review

* fix: optimization

* feat: Optimize code

* feat: Optimize demo docs

* fix: fixed path bug in site

* fix: fixed path bug in site

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-21 09:39:54 +08:00
caoyugang_1
82115e5c2d
feat(dropdown): add on-clickoutside prop (#199)
* fix: tsconfig support ts

* feat(dropdown) add onClickOutside:

* fix(dropdown): add clickoutside test

* fix: remove clickoutside demo

* fix: resolve conflict

* fix: change some error

* fix(PopoverBody): directives repeat

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-06-20 22:46:54 +08:00
djkloop
b9dd756875 docs(tabs): api error (#207)
fix tab docs error
2021-06-20 22:37:04 +08:00
Yanming Deng
6437446eac
test(message): fix typo (#210)
Fixed a typo
2021-06-20 19:48:45 +08:00
caoyugang
8cbee0d1eb Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-06-20 14:52:24 +08:00
caoyugang_1
d866c1b122
docs(date-picker): fulfill api table (#198)
* docs(DatePicker): add DatePicker docs

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-19 20:51:47 +08:00
07akioni
9d791cd56e
fix(tree): drag over leaf node causes error (#203) 2021-06-19 16:50:39 +08:00
07akioni
1662605688
Merge pull request #202 from TuSimple/main
sync main
2021-06-19 16:41:11 +08:00
07akioni
dbbfd41aae docs(changlog): add date 2021-06-19 16:40:46 +08:00
07akioni
e9d377a380 2.12.2 2021-06-19 16:28:23 +08:00
07akioni
dc2f2080ae
fix(form-item): always show require mark (#201)
* docs(changelog): typo

* fix(form-item): always show require mark.

* chore
2021-06-19 16:23:50 +08:00
caoyugang
287ee03b44 Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-06-19 12:21:58 +08:00
07akioni
446694b57b docs(changelog): typo 2021-06-19 02:48:16 +08:00
07akioni
eb727b1cbb
Merge pull request #197 from TuSimple/main
sync main
2021-06-19 02:38:27 +08:00
07akioni
58ee106560 2.12.1 2021-06-19 02:30:52 +08:00
07akioni
4a9e25c000
chore: sync doc branch (#195) 2021-06-19 02:23:16 +08:00
07akioni
cec295f3d1
feat(popselect): add render-label prop (#194) 2021-06-19 02:22:11 +08:00
TakaSoap
06127da334
docs(switch): fix typo (#196) 2021-06-19 02:11:33 +08:00
07akioni
4a767a4cff
Merge branch 'main' into docs 2021-06-19 02:07:28 +08:00
07akioni
59e02912a9 fix(message): content & option type not correct 2021-06-19 02:04:55 +08:00
07akioni
0fb8f0cc1e
refactor(input): reimplement icons, support press & hover (#193) 2021-06-19 02:03:22 +08:00
07akioni
3f1ebe119c
feat(select): add render-label prop (#190)
* feat(select): add `render-label` prop, `option.label` supports render function

* docs: changelog

* fix: type

* test: update snap
2021-06-19 01:08:54 +08:00
07akioni
1a39c06cf8
fix(notification): position not correct (#192) 2021-06-19 00:51:01 +08:00
07akioni
dbcf7a2b73
feat(popselect): support class attr (#189)
* feat(popselect): support class attr

* test: update snapshot
2021-06-18 22:28:22 +08:00
07akioni
4afacaa2b4 ci: revert codecov 2021-06-18 22:16:53 +08:00
07akioni
b6165ca1a7 chore(input): cssr style 2021-06-18 21:26:14 +08:00
07akioni
06521979ef docs(maintaining) 2021-06-18 21:25:20 +08:00
kalykun
96ae3a38dd
feat(input): add show-password-toggle prop to support show & hide password (#179)
* feat(n-input): add show-password attribute to support show & hide password

* feat(n-input): update show-password-toggle attribute

* docs: fix typos

* feat(n-input): remove unnecessary code

* feat(n-input): trigger click to show & hide password

* feat(n-input): add icon component prop onMouseup

* style(icon): add style to the eye icon

* style(n-input): modify css
2021-06-18 21:23:08 +08:00
Yiuman Kam
faee18c1d4
fix(input): baseline shifts when input mixed language(修复Input组件的行高问题)close#174 (#183)
* fix: Fixed Input Component line-heitgh issue(修复Input组件的行高问题)

* fix: Fixed Input Component line-height issue(修复Input组件的行高问题)

* style: 优化代码格式

* docs: add changelog for fixed input jitter (变更日志添加解决Input组件抖动问题)

* docs: 将fixes调整到pending中。

* Update CHANGELOG.zh-CN.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-18 15:21:52 +08:00
XieZongChen
874dbb8d29
docs: fix changelog time (#188) 2021-06-18 15:14:11 +08:00
doom-9
107dc136a2
feat(form): require-mark support left and right (#184)
* feat(form): support require-mark-placement(#171)

* feat(form): support require-mark-placement(#171)

* feat(form): support require-mark-placement(#171)

* feat(form): support require-mark-placement(#171)

* feat(form): support require-mark-placement(#171)

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-18 13:18:25 +08:00
五柳
e5d640f4d7
fix(icon): $parent.$options will be undefined in setup script (#185) 2021-06-18 10:55:56 +08:00
07akioni
51b43826cb fix: test warnings 2021-06-17 22:04:06 +08:00
07akioni
c92f862fb6
feat(dropdown): support class (#181) 2021-06-17 21:56:00 +08:00
07akioni
6aa667d8e0 docs 2021-06-17 21:53:40 +08:00
07akioni
588b0699a6 docs 2021-06-17 21:51:11 +08:00
07akioni
1a1df5bdee refactor: remove codecov actions 2021-06-17 21:48:21 +08:00
07akioni
06a0e18df3
ci: codecov (#176)
* ci: codecov

* fix: typo

* ci: add codecov token

* ci: set env
2021-06-17 17:14:06 +08:00
fae668b9ff
fix(form-item): custom width override (#175)
* fix: form-item custom width override

* chore: use `formatLength` instead of `pxfy`
2021-06-17 16:43:21 +08:00
五柳
bb74d13b56
docs(button): add tag prop document introduction (#169)
* docs(button): add tag prop document introduction

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-17 10:46:43 +08:00