mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-27 04:09:51 +08:00
4.3 KiB
4.3 KiB
last cherry-picked commit: 4c6b3822293252d461b0a0f3b18b7d2b40bdcf8b
zindexable 最好写成 directive placeable 进行了大调整
在很特殊的情况下,popover 的在 teleport 打开的时候 beforeUnmount 会被调用两次,具体没有研究出为什么。
- form
- affix
- deprecate
target
=>listen-to
- deprecate
- alert
- anchor
- auto-complete
- avatar
- back-top
- new
show
controlled showon-update:show
to
teleport target
- deprecate
on-show
=>on-update:show
on-hide
=>on-update:show
target
=>listen-to
- new
- badge
- breadcrumb
- button
- button-group
- card
- cascader
- checkbox
- deprecate
on-change
=>on-update:checked
- checkbox-group
- deprecate
on-change
=>on-update:value
- deprecate
- code
- collapse
- deprecate
on-expanded-names-change
=>on-update:expanded-names
- removed
v-model
=>v-model:expanded-names
- deprecate
- config-consumer
- config-provider
- break
$NOs.theme
=>useOsTheme
- deprecate
as
=>tag
- new
- provide
useOsTheme
hook
- provide
- break
- confirm =>
dialog
- break
- rename
confirm
todialog
- rename
- remove
$NConfirm
,$NModal
=>inject.dialog
- break
- data-table
- date-picker
- descriptions
- divider
- drawer
- break
v-model
- deprecate
on-show
=>on-update:show
on-hide
=>on-update:show
target
=>to
drawer-class
=>body-class
drawer-style
=>body-style
- new
display-directive
prop
- break
- dropdown
- dynamic-input
- dynamic-tags
- element
- empty
- gradient-text
- grid
- icon
- input
- break
v-model
- new
on-update:value
- break
- input-group
- input-group-label
- input-number
- layout
- layout-sider
- deprecate
on-expand
=>on-update:collapsed
on-collapse
=>on-update:collapsed
- deprecate
- layout-sider
- list
- loading-bar
- remove
$NLoadingBar
- new
n-loading-bar-provider
- remove
- log
- menu
- new
popover-body-style
- deprecate
on-expanded-names-change
=>on-update:expanded-keys
on-select
=>on-update:model-value
expanded-names
=>expanded-keys
default-expanded-names
=>default-expanded-keys
item.name
=>item.key
item.titleExtra
=>item.extra
- remove
overlay-width
overlay-min-width
- new
- message
- rewrite message using
n-message-provider
- deprecate
onHide
=>onLeave
onAfterHide
=>onAfterLeave
- remove
message.hide
=>message.destroy
- rewrite message using
- modal
- rewrite with teleport
- new
display-directive
- deprecate
v-model
on-show
=>on-update:show
on-hide
=>on-update:show
overlay-style
=>body-style
- remove
- default hide behavior for preset
- notification
- deprecate
open
=>create
onHide
=>onLeave
onAfterShow
=>onAfterEnter
onAfterHide
=>onAfterHide
- deprecate
- pagination
- deprecate
on-change
=>on-update:page
on-page-size-change
=>on-update:page-size
- deprecate
- popconfirm
- popover
- new
default-show
- deprecate
v-slot:activator
=>v-slot:trigger
overlay-xxx
=>body-xxx
- remove
controller
max-width
width
min-width
manual
trigger is removed, usenull
instead
- other
- set default trigger to
null
- set default trigger to
- new
- popselect
- progress
- radio
- radio-group
- break
- default
size
'small'
=>'medium'
- default
- deprecate
on-change
=>on-update:value
- break
- radio & radio-button
on-change
=>on-update:checked-value
- radio-group
- result
- scrollbar
- select
- slider
- spin
- statistic
- steps
- switch
- remove
value
=>model-value
change
=>on-update:model-value
- remove
- table
- tabs
- deprecate
active-name
=>value
on-active-name-change
=>on-update:value
- deprecate
- tag
- deprecate
on-checked-change
=>on-update:checked
- deprecate
- thing
- time
- time-picker
- timeline
- tooltip
- ref
- transfer
- tree
- typography
- upload