Commit Graph

535 Commits

Author SHA1 Message Date
07akioni
ac9e0a219c 2.16.7 2021-08-27 00:49:05 +08:00
Mr.Bai
2e6f72feae
fix(tree): node can not be expanded (#975)
* fix(tree): node can not expanded

* Update CHANGELOG.zh-CN.md

* Update src/tree/src/Tree.tsx

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: XieZongChen <46394163+amadeus711@users.noreply.github.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-27 00:23:09 +08:00
07akioni
1c3da53ecd fix(mention): menu is too far from text in input mode 2021-08-27 00:17:29 +08:00
jesi
2b55b2c58d
feat(mention): add focus and blur methods (#973)
* feat(mention): add focus and blur methods

* test(mention): focus and blur methods
2021-08-26 23:56:40 +08:00
07akioni
529f63850f 2.16.6 2021-08-26 01:08:06 +08:00
07akioni
51633e5fe6 feat(timeline): n-timeline-item add color prop 2021-08-26 00:49:02 +08:00
07akioni
97150211aa fix(data-table): flex-height not working without scroll-x, closes #952 2021-08-26 00:34:36 +08:00
jesi
ed73168dcc
fix(tree): throw exception when onLoad callback does not add children (#786)
* fix(tree): throw exception when onLoad callback does not add children

* refactor(tree): not expand when node has no children

* refactor(tree): handle no-children expand error

* Update src/tree/src/Tree.tsx

* Update src/tree/src/TreeNode.tsx

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-26 00:11:12 +08:00
doom-9
673a593eee
feat(image): add preview prop (#939) 2021-08-25 23:33:45 +08:00
Mr.Bai
97e4013008
feat(dynamic-tags): add input slot (#734)
* feat(dynamic-tags): support input and add slot

* feat(dynamic-tags): optimization

* optimization

* update changelog

* optimization

* fix: optimization

Co-authored-by: Jiwen Bai <56228105@qq.com>
2021-08-25 23:28:09 +08:00
Mr.Bai
dd928899f8
fix(input): placeholder glitch when value is 0 (#918)
* fix(input): placeholder bug

* update changelog

* update doc

* feat(input): optimization

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-25 13:14:59 +08:00
doom-9
3d2736fb61
feat(timeline): add horizontal prop (#932)
* feat(timeline): `item-placement` add `horizontal` prop

* feat: fix code

* feat: add test

* feat: fix code

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-23 00:17:10 +08:00
07akioni
b59975d7d6 fix(data-table): loading is not centered, closes #929 2021-08-21 00:24:40 +08:00
Kev1nzh
4d6f28eba7
fix(image): Initialize rotate before switching, closes #921 (#928)
Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
2021-08-21 00:17:48 +08:00
07akioni
e9fb97e87d 2.16.5 2021-08-20 03:51:27 +08:00
07akioni
7c03adccc5 fix(ellpisis): doesn't work after content is updated, closes #776 2021-08-20 03:39:41 +08:00
07akioni
fa063b9aec fix(popover): arrow's misplacement when placed in nested popovers with different placement, closes #916 2021-08-20 02:51:02 +08:00
07akioni
ee83140dd4 fix(dropdown): inner link click trigger area is not the entire option, closes #823 2021-08-20 02:40:10 +08:00
07akioni
74df68485f fix(tabs): style glitches when different types tabs are nested, closes #850 2021-08-20 02:29:42 +08:00
Kev1nzh
b401ff4793
feat(form): add show-label prop (#865)
* feat(form): add show-label prop and test (#858)

* docs(form): add show-label doc and fix form item label desc (#858)

* Update CHANGELOG.en-US.md

Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>

* feat(form): rewrite show-label and add tests (#858)

* docs(form): add show-label demo (#858)

* feat(form): change show-label computed  (#858)

* feat(form): fix show-label (#858)

* feat(form): fix bug (#858)

* feat(form): update show-label scripts (#858)

* docs(form): update show-label order and label description (#858)

* Apply suggestions from code review

Co-authored-by: kev1nzh <kev1nzh@app-ark.com>
Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
Co-authored-by: kev1nzh_ark <kevin@app-ark.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-20 01:39:44 +08:00
Yugang Cao
672ed322a3
fix(notification): NotificationReactive is not writable (#878)
* fix(notification): NotificationReactive cannot write

* fix: use mutable to remove readonly

* fix: notification test

Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-17 00:29:48 +08:00
XieZongChen
7ef5b8d0a8
feat(input-number): add clearable prop (#868)
* feat(NInputNumber): add clearable prop

* feat: optimization

* feat(NInputNumber): add on-clear

* feat: optimization
2021-08-17 00:09:35 +08:00
07akioni
3c68817b8b fix(locale): ruRU locale exports 2021-08-16 03:24:58 +08:00
07akioni
466d5a1419 2.16.3 2021-08-16 03:06:25 +08:00
07akioni
1484e0be2d docs(changelog): fix 2021-08-16 03:00:19 +08:00
07akioni
d8324b0133
Merge pull request #883 from TuSimple/docs
Docs
2021-08-16 02:47:54 +08:00
07akioni
608917b70c chore(date-picker): clean codes 2021-08-16 02:40:51 +08:00
07akioni
86156c2bb9 docs(changelog): message class change 2021-08-16 02:18:51 +08:00
Wanli Song
dd013ed8d1
feat(date-picker): add shortcuts prop (#444)
* feat(date-picker): add shortcuts prop

* doc(date-picker): remove ranges demo

Co-authored-by: wanli.song@tusimple.ai <wanli.song@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-16 02:17:59 +08:00
Mr.Bai
2cc526dcb2
fix(space): use v-if render a empty placeholder (#828)
* fix(space): use v-if render a empty placeholder

* fix(space): filter comment

* feat(space): add test

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-16 02:07:01 +08:00
doom-9
3d7f96dd00
feat(message-provider): add placement prop (#851)
* 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(message provider): add placement prop(wip)

* feat(message provider): add placement prop

* feat: add demo

* feat: fix demo code

* feat: fix code

* feat: fix code

* Update CHANGELOG.en-US.md

* feat: fix style code
2021-08-16 01:15:06 +08:00
Artem
a164170505
feat: ru-RU locale (#863)
* feat(locale): add Ru locale

* fix(locale): add export for ru locale

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-13 22:08:21 +08:00
Rafael Hengles
35d76dcf4d
feat(message): Add container-style prop to n-message-provider (#831)
* feat(message): Add `container-style` prop to `n-message-provider`

* Update CHANGELOG.zh-CN.md

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

* Remove default value from containerStyle

Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>

Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
2021-08-12 23:06:51 +08:00
07akioni
5dd5cc55fd
Merge pull request #846 from TuSimple/main
sync main
2021-08-12 00:30:27 +08:00
CJ
c5b440569e
docs(changelog): fix typos (#841) 2021-08-11 23:05:18 +08:00
doom-9
427003d82b
fix(rate): half star overlays star background in dark mode (#818)
* 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.

* Update index.cssr.ts

* feat: fix code

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-11 01:26:41 +08:00
Yugang Cao
1116c77280
fix(menu): renderIcon render error when return true (#827)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-11 01:21:41 +08:00
07akioni
58b92e30eb 2.16.2 2021-08-09 00:43:29 +08:00
07akioni
632a96dc6e docs(changelog): format 2021-08-09 00:33:37 +08:00
07akioni
843ac44fbd docs(changelog): color picker #749 2021-08-09 00:31:17 +08:00
aisen
91942e73ce
fix(color-picker): fix on-complete parameter value is not updated in time (#749)
* fix(ColorPicker): fix on-complete parameter value is not updated in time

* fix(ColorPicker): fix on-complete parameter value is not updated in time

* fix(ColorPicker): fix on-complete parameter value is not updated in time

* fix(ColorPicker): change setTimeout to nextTick
2021-08-09 00:29:06 +08:00
kalykun
b62bda5127
fix(data-table): When selectAll is selected, the state display of selectAll should not contain disabled rows (#781)
* fix(data-table): When selectAll is selected, the state display of selectAll should not contain disabled rows

* fix(data-table): code optimization

* fix(data-table): code optimization
2021-08-07 20:36:20 +08:00
zoomdong
60448314c2
feat(tree-select): support showPath (#805)
* feat: treeSelect support showPath

* chore: add CHANGELOG

* chore: add test case

* chore: update doc

* chore: update code

* chore: update type

* chore: upadte code

* chore: add dots

* chore: adjust code

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 20:27:10 +08:00
jesi
ccb0dedd1b
feat(layout): sider-position (#657)
* feat(layout): sider-position

* docs(layout): sider-position in en-US

* fix(layout): sider placement

* fix(layout): transform sider when sider is placed right

* fix(layout): set flex-direction of container

* fix(layout): remove useless computed property

* fix(layout): toggleBar, toggleButton style

* refactor(layout-sider): toggle style

* refactor(layout-sider): remove useless className

* fix(layout): transform width

* Update src/layout/src/styles/layout-sider.cssr.ts

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 16:35:02 +08:00
Mr.Bai
3d5daa517b
fix(select): filter break bug (#756)
* fix(select): filter break

* changelog update

* fix(select): use another way to solve this problem

* fix(select): optimization

Co-authored-by: Jiwen Bai <56228105@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 14:35:29 +08:00
sudongyu
593f940f75
fix(avatar): scale value is incorrect (#796)
* fix(avatar): scale value is incorrect while use v-show

* chore(avatar): docs format & code clean

* chore

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 14:16:51 +08:00
Yugang Cao
8d04c9b37d
fix(menu): click menu show background on mobile (#800)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-06 23:52:54 +08:00
jesi
079e0e25c6
feat(popconfirm): support no actions (#782)
* feat(popconfirm): add actions prop

* docs(popconfirm): remove useless props

* refactor(popconfirm): display actions  by judging positiveTest and negetiveTest
2021-08-06 23:22:29 +08:00
Yugang Cao
25cb8cb58c
feat(message-provider): add closable prop (#797)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-08-06 23:09:02 +08:00
07akioni
648392b8c4 2.16.1 2021-08-06 02:38:28 +08:00