Commit Graph

4688 Commits

Author SHA1 Message Date
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
XieZongChen
7ce6b92e88
test(card): add card test (#290)
* test(card): add card test

* test(card): optimization
2021-06-25 10:39:15 +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
07akioni
870386ee38
feat(carousel): touch operation (#275)
* feat(carousel): touch operation

* chore: fix comment
2021-06-24 01:17:59 +08:00
giwitty
729f19fa1a
test(empty): add unit test (#256)
* test(empty): add unit test

* style(empty): rename

Co-authored-by: 陈强 <chenqiang@wondersoft.cn>
2021-06-23 23:35:11 +08:00
Yanming Deng
3136bb72f0
docs: fix typo (#272) 2021-06-23 23:20:25 +08:00
kalykun
ec37e3eb9d
chore(avatar): remove unnecessary size prop type (#273)
* chore(avatar): remove unnecessary size prop type

* doc: changelog

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-23 23:15:51 +08:00
07akioni
6309ca13e0
2.14.0 2021-06-23 15:31:24 +08:00
07akioni
92462fbde8
Merge pull request #265 from TuSimple/docs
Docs
2021-06-23 14:56:16 +08:00
Wanli Song
fc955ff9d4
feat(upload): add on-update:file-list prop (#243)
* feat(upload): add v-model:file-list

* doc(changelog)

* fix(upload): change the timing of doUpdateFileList call

Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-23 14:50:19 +08:00
07akioni
44946ecc9a fix(data-table): expand trigger's cursor is not pointer, closes #261 2021-06-23 14:21:04 +08:00
07akioni
38dcf86ad5 docs(pagination): fix prefix demo 2021-06-23 14:17:57 +08:00
cyn
06d0387ebc
feat(date-picker): add update-value-on-close prop (#231)
* feat(date-picker): add update-value-on-close prop (#156)

* feat(date-picker): add update-value-on-close prop

* feat(date-picker): lint style

* feat(date-picker): optimazate demo & docs

* feat(date-picker): optimaze docs

* feat(date-picker): lint date-picker code

* feat(date-picker): update prop desc

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

* feat(date-picker): disable update-value-on-close when handle button click

* feat(date-picker): OnClose type

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-23 14:03:19 +08:00
07akioni
4ebecee456
fix(input-number): many fixes (#259)
* fix(input-number): many fixes

- Fix `n-input-number` lacks `on-update-value` prop.
- Fix `n-input-number`'s value can't be null.
- Fix `n-input-number`'s button doesn't work after value is cleared, closes [#251](https://github.com/TuSimple/naive-ui/issues/251).
- `n-input-number` will focus directly, closes [#244](https://github.com/TuSimple/naive-ui/issues/244).

* docs(input-number): fixes

* docs
2021-06-23 13:35:14 +08:00
Yanming Deng
6edf9db812
test(alert): add some tests (#253) 2021-06-23 13:26:59 +08:00
07akioni
fd23a30721 docs(element): add useThemeVars link 2021-06-23 09:08:40 +08:00
07akioni
315fd67a03 feat(use-theme-vars): add useThemeVars composable & remove n-element's abstract prop and theme vars from default slot 2021-06-23 09:03:24 +08:00
07akioni
d50755f4e7
feat(carousel): new component (#248)
* wip(carousel): add scaffold

* feat(carousel): component

* docs(changelog): carousel

* fix(carousel): handle edge case

* feat(carousel): basic a11y
2021-06-23 08:30:35 +08:00
Yanming Deng
54ea6c029d
docs: modified some word usages (#246) 2021-06-23 00:08:49 +08:00
djkloop
4c13451496
docs(modal): remove show-mask (#247) 2021-06-23 00:08:01 +08:00
XieZongChen
643ad413aa
test(button): add test (#237)
* fix: add button test

* feat: optimization
2021-06-22 23:00:04 +08:00
xrkffgg
2e5b988dee
docs(checkbox): fix default in props (#245)
* Update index.demo-entry.md

* Update index.demo-entry.md
2021-06-22 22:48:11 +08:00
07akioni
4316282619 fix(select): can't input in filterable mode in single mode in iOS Safari
ref https://github.com/TuSimple/naive-ui/issues/230
2021-06-22 17:18:39 +08:00
Mr.Bai
131a51ec75
docs(message): add use not int setup demo (#215)
* docs(message): use message outside of setup

* docs(message): use html

* Apply suggestions from code review

* docs(message): put use message outside setup to Q&A section

* Apply suggestions from code review

Co-authored-by: tusimple <jiwen.bai@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-22 14:54:16 +08:00
07akioni
bb284fe5ee docs(todo) 2021-06-22 14:04:52 +08:00
07akioni
53ce79e4ff docs(todo) 2021-06-22 12:59:39 +08:00
07akioni
e2612dd7fb docs(todo) 2021-06-22 12:09:42 +08:00
07akioni
f8918d1b6f docs(todo) 2021-06-22 11:39:08 +08:00
07akioni
2ece01e5a8 ci: close usage issue 2021-06-22 11:17:57 +08:00
07akioni
133c28e5af docs(todo) 2021-06-22 10:30:34 +08:00
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_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