Commit Graph

4912 Commits

Author SHA1 Message Date
XieZongChen
684d499e59
test(collapse): add collapse test (#317) 2021-06-29 02:19:42 +08:00
caoyugang
3642e57a01 Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-06-28 22:38:39 +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
caoyugang
ef0767468f Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-06-25 23:10: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
caoyugang
ebcfbd4843 Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-06-25 22:51:18 +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
caoyugang
59fff70fd3 Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-06-24 21:56:57 +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
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
caoyugang
6565f11dc2 Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-06-23 21:59:59 +08:00
07akioni
450b093fd9
docs(carousel): fix basic title (#268) 2021-06-23 15:56:55 +08:00
07akioni
8734681d3e
Merge pull request #267 from TuSimple/main
sync main
2021-06-23 15:41:25 +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
caoyugang
581b3dc504 Merge branch 'main' of github.com:TuSimple/naive-ui into main 2021-06-22 21:49:32 +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