7.7 KiB
last cherry-picked commit: 6560ae34d71b81d584af79f810cb9dfa87119d1a
zindexable 最好写成 directive placeable 进行了大调整
在很特殊的情况下,popover 的在 teleport 打开的时候 beforeUnmount 会被调用两次,具体没有研究出为什么。
-
form
- form-item
- new
show-feedback
prop
- new
- form-item
-
affix
- deprecate
target
=>listen-to
- deprecate
-
alert
-
anchor
- deprecate
target
=>listen-to
- deprecate
-
auto-complete
- break
v-model
=>v-model:value
- deprecate
on-input
=>on-update:value
- new
on-blur
on-focus
- break
-
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
- break
v-model
=>v-model:value
on-load
has different usageleaf-only
has different meaning
- new
cascade
propshow-path
prop
- deprecated
on-change
=>on-update:value
- break
-
checkbox
- checkbox
- break
value
only supportsstring
- deprecate
on-change
=>on-update:checked
- new
default-checked
prop
- break
- checkbox-group
- break
value
only supportsstring
ornull
- deprecate
on-change
=>on-update:value
- break
- checkbox
-
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
- deprecate
on-filters-change
=>on-update:filters
on-sorter-change
=>on-update:sorter
on-checked-row-keys-change
=>on-update:checked-row-keys
on-page-change
=>on-update:page
on-page-size-change
=>on-update:page-size
- deprecate
-
date-picker
- break
v-model
=>v-model:value
- deprecate
on-change
=>on-update:value
- break
-
descriptions
-
divider
-
drawer
- break
v-model
- deprecate
on-show
=>on-update:show
on-hide
=>on-update:show
target
=>to
drawer-class
=>body-class
&body-wrapper-class
drawer-style
=>body-style
&body-wrapper-style
- new
display-directive
prop
- break
-
dropdown
- break
option.value
=>option.key
- item must have unique key
- submenu must have unique key
- remove
submenu-width
submenu-min-width
submenu-max-width
- new
option.icon
- break
-
dynamic-input
- break
v-model
=>v-model:value
- deprecate
on-input
=>on-update:value
- break
-
dynamic-tags
- break
v-model
=>v-model:value
- break
-
element
-
empty
-
gradient-text
-
grid
-
icon
-
input
- break
v-model
=>v-model:value
- new
on-update:value
- break
-
input-group
-
input-group-label
-
input-number
- deprecate
on-change
=>on-update:value
- deprecate
-
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
- deprecate
scrollToTop
=>scrollTo
scrollToBottom
=>scrollTo
- deprecate
-
menu
- new
popover-body-style
- deprecate
on-expanded-names-change
=>on-update:expanded-keys
on-select
=>on-update: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
- BUG:
- dialog preset slot (below vue 3.0.2)
-
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
- break
v-model
=>v-model:value
- deprecate
on-change
=>on-update:value
- break
-
progress
-
radio
- radio-group
- break
- default
size
'small'
=>'medium'
- value only supports
string
ornull
- default
- deprecate
on-change
=>on-update:value
- break
- radio & radio-button
- break
- value only supports
string
checked-value
=>checked
- It is change to conform html standard usage
on-change
=>on-update:checked
on-change
is now a native event
- value only supports
- break
- radio-group
-
result
-
scrollbar
-
select
- break
v-model
=>v-model:value
on-scroll(event, container, content)
=>on-scroll(event)
option.render(h, data)
=>option.render(data)
- deprecated
on-change
=>on-update:value
- break
-
slider
- deprecated
on-change
=>on-update:value
- bug
- vue refs https://github.com/vuejs/vue-next/issues/2283
- drag logic
- deprecated
-
space
-
spin
-
statistic
-
steps
-
switch
- remove
value
=>value
change
=>on-update:value
- remove
-
table
-
tabs
- deprecate
active-name
=>value
on-active-name-change
=>on-update:value
- deprecate
-
tag
- break
v-model
=>v-model:value
- deprecate
on-checked-change
=>on-update:checked
- break
-
thing
-
time
-
time-picker
- break
v-model
=>v-model:value
- break
-
timeline
-
tooltip
- ref
-
transfer
- break
v-model
=>v-model:value
- deprecate
on-change
=>on-update:value
- break
-
tree
- break
v-model
=>v-model:selected-keys
- deprecate
on-selected-keys-change
=>on-update:selected-keys
on-checked-keys-change
=>on-update:checked-keys
on-expanded-keys-change
=>on-update:expanded-keys
- break
-
typography
- deprecate
- text
as
=>tag
- text
- deprecate
-
upload
-
TODO
- vooks
- delegate with capture
- unify composition
- remove hollowoutable
- icons from
vicons
- fonts from
vfonts
- vite-build
- rollup-build
- wait for new version of rollup-plugin-vue, https://github.com/vuejs/rollup-plugin-vue/issues/408
- tusimple theme
- clean delegate
- site production tag (bug)
- demo scrollbar 的问题
- table x scroll 右侧阴影不消失
- log scrollTo 有点问题
- vooks
-
remove
- nimbus form card
- nimbus icon
naive-ui/lib/styles/fonts/X.css
=> naive-ui/fonts/X.css
deprecate
naive-ui/lib/icons
=> vicons
naive-ui/es/icons
=> vicons
vueuc
vooks
vicons
vfonts
css-render