vue3.md
css
naive-ui/lib|es/styles/index.css has been removed, do not import it any more!fonts
naive-ui/lib|es/styles/fonts/* has been removed, use vfontsicons
naive-ui/lib|es/icons/* is deprecated (vue-loader is required).naive-ui/lib|es/icons/* is removed since v2.10.0n-nimbus-icon is moved to naive-ui/compat/nimbus-icon (vue-loader is required) n-nimbus-icon is removed since v2.10.0
n-nimbus-form-card is removed
locale & theme on n-config-provider doesn't accept string any more (not it accepts object).
form
show-feedback propaffix
target => listen-toalert
anchor
show-rail propsshow-background propstarget => listen-toauto-complete
v-model => v-model:valueon-input => on-update:valueon-bluron-focusavatar
back-top
show controlled showon-update:showto teleport targeton-show => on-update:showon-hide => on-update:showtarget => listen-tobadge
breadcrumb
button
button-group
card
cascader
v-model => v-model:valueon-load has different usageleaf-only has different meaningcascade propshow-path propdefault-value propon-change => on-update:valuecheckbox
value only supports stringon-change => on-update:checkeddefault-checked propvalue only supports string or nullon-change => on-update:valuecode
collapse
on-expanded-names-change => on-update:expanded-namesv-model => v-model:expanded-namesconfig-consumer (deprecated)
config-provider
theme use new theme from naive export$NOs.theme => useOsThemetheme => legacy-themeas => tagstyleScheme won't working in next versiondate-locale proplocale propuseOsTheme hook confirm => dialog
confirm to dialog$NConfirm, $NModal => useDialogdata-table
on-filters-change => on-update:filterson-sorter-change => on-update:sorteron-checked-row-keys-change => on-update:checked-row-keyson-page-change => on-update:pageon-page-size-change => on-update:page-sizedate-picker
v-model => v-model:valueon-change => on-update:valuedefault-value propdescriptions
divider
drawer
v-modelon-show => on-update:showon-hide => on-update:showtarget => todrawer-class => classdrawer-style => styledisplay-directive propdropdown
option.value => option.keysubmenu-widthsubmenu-min-widthsubmenu-max-widthoption.icondynamic-input
v-model => v-model:valueon-clear is removedon-input => on-update:valueitem-style propmin propdefault-value propdynamic-tags
v-model => v-model:valueelement
empty
gradient-text
grid
icon
input
v-model => v-model:valueon-update:value propdefault-value propinput-group
input-group-label
input-number
on-change => on-update:valuedefault-value proplayout
use-native-scrollbar => native-scrollbaruse-native-scrollbar => native-scrollbaron-expand => on-update:collapsedon-collapse => on-update:collapsedlist
loading-bar
$NLoadingBaruseLoadingBarn-loading-bar-providerlog
scrollToTop => scrollToscrollToBottom => scrollTomenu
on-expanded-names-change => on-update:expanded-keyson-select => on-update:valueexpanded-names => expanded-keysdefault-expanded-names => default-expanded-keysitem.name => item.keyitem.titleExtraoverlay-widthoverlay-min-widthmessage
n-message-provideruseMessageonHide => onLeaveonAfterHide => onAfterLeavemessage.hide => message.destroymodal
display-directivev-modelon-show => on-update:showon-hide => on-update:showoverlay-style => stylenotification
useNotificationopen => createonHide => onLeaveonAfterShow => onAfterEnteronAfterHide => onAfterHidepagination
on-change => on-update:pageon-page-size-change => on-update:page-sizepopconfirm
popover
default-showoverlap#activator => #triggeroverlay-xxx => body-xxxcontrollermax-widthwidthmin-widthmanual trigger is removed, use show to controll the popoverbody-class, use class insteadbody-style, use style insteadpopselect
v-model => v-model:valueon-change => on-update:valueprogress
radio
size 'small' => 'medium'string or nullon-change => on-update:valuestringchecked-value => checked
on-change => on-update:checked
on-change is now a native eventresult
scrollbar
select
v-model => v-model:valueon-scroll(event, container, content) => on-scroll(event)option.render(h, data) => option.render(data)on-change => on-update:valueslider
on-change => on-update:valuedefault-value propspace
spin
'in-small', 'in-medium' and 'in-large' size are removedspinning => showstatistic
steps
switch
value => valuechange => on-update:valuetable
tabs
active-name => valueon-active-name-change => on-update:valuetag
v-model => v-model:valueon-checked-change => on-update:checkedthing
time
type default from 'relative' to 'date-time'time-picker
v-model => v-model:valuetimeline
tooltip
#activator => #triggertransfer
v-model => v-model:valueon-change => on-update:valuedefault-value proptree
v-model => v-model:selected-keyson-selected-keys-change => on-update:selected-keyson-checked-keys-change => on-update:checked-keyson-expanded-keys-change => on-update:expanded-keystypography
depth from primary ... tertiary => 1, 2, 3as => tagupload
nimbus-service-layout
v-model => v-model:valueTODO
viconsvfontsuseNowpackage: tsx => es|lib => terse cssr => replace global vars => release
site: build package => move to node_modules => setup side effects => vite build => release
https://github.com/vuejs/vue-next/issues/2549 last cherry-picked commit: 6560ae34d71b81d584af79f810cb9dfa87119d1a