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
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
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
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
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
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
07akioni
870386ee38
feat(carousel): touch operation ( #275 )
...
* feat(carousel): touch operation
* chore: fix comment
2021-06-24 01:17:59 +08:00
07akioni
6309ca13e0
2.14.0
2021-06-23 15:31:24 +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
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
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
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
07akioni
1deb3fb023
2.13.0
2021-06-21 22:09:27 +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
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
07akioni
9d791cd56e
fix(tree): drag over leaf node causes error ( #203 )
2021-06-19 16:50:39 +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
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
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
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
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
6aa667d8e0
docs
2021-06-17 21:53:40 +08:00
07akioni
588b0699a6
docs
2021-06-17 21:51:11 +08:00
07akioni
8e89d1db4f
2.12.0
2021-06-16 23:49:38 +08:00
07akioni
1b7236ac1d
Merge branch 'main' into feat
2021-06-16 23:12:08 +08:00
07akioni
2317e1ea21
feat(n-a): remove to
prop ( #162 )
2021-06-16 23:06:21 +08:00
XieZongChen
47c8c08001
feat(input-number): support keyboard events ArrowUp and ArrowDown opera… ( #161 )
...
* feat: InputNumber support keyboard events ArrowUp and ArrowDown operations
* feat: Optimize code
2021-06-16 23:02:13 +08:00
07akioni
f18af1e3f9
feat(tree): support disabled
& checkboxDisabled
on option. fix click on indent won't trigger select in block line mode ( #160 )
2021-06-16 22:03:57 +08:00