同步操作将从 Gitee 极速下载/NaiveUI 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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 vfonts
icons
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-to
alert
anchor
show-rail
propsshow-background
propstarget
=> listen-to
auto-complete
v-model
=> v-model:value
on-input
=> on-update:value
on-blur
on-focus
avatar
back-top
show
controlled showon-update:show
to
teleport targeton-show
=> on-update:show
on-hide
=> on-update:show
target
=> listen-to
badge
breadcrumb
button
button-group
card
cascader
v-model
=> v-model:value
on-load
has different usageleaf-only
has different meaningcascade
propshow-path
propdefault-value
propon-change
=> on-update:value
checkbox
value
only supports string
on-change
=> on-update:checked
default-checked
propvalue
only supports string
or null
on-change
=> on-update:value
code
collapse
on-expanded-names-change
=> on-update:expanded-names
v-model
=> v-model:expanded-names
config-consumer (deprecated)
config-provider
theme
use new theme from naive export$NOs.theme
=> useOsTheme
theme
=> legacy-theme
as
=> tag
styleScheme
won't working in next versiondate-locale
proplocale
propuseOsTheme
hook confirm => dialog
confirm
to dialog
$NConfirm
, $NModal
=> useDialog
data-table
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
date-picker
v-model
=> v-model:value
on-change
=> on-update:value
default-value
propdescriptions
divider
drawer
v-model
on-show
=> on-update:show
on-hide
=> on-update:show
target
=> to
drawer-class
=> class
drawer-style
=> style
display-directive
propdropdown
option.value
=> option.key
submenu-width
submenu-min-width
submenu-max-width
option.icon
dynamic-input
v-model
=> v-model:value
on-clear
is removedon-input
=> on-update:value
item-style
propmin
propdefault-value
propdynamic-tags
v-model
=> v-model:value
element
empty
gradient-text
grid
icon
input
v-model
=> v-model:value
on-update:value
propdefault-value
propinput-group
input-group-label
input-number
on-change
=> on-update:value
default-value
proplayout
use-native-scrollbar
=> native-scrollbar
use-native-scrollbar
=> native-scrollbar
on-expand
=> on-update:collapsed
on-collapse
=> on-update:collapsed
list
loading-bar
$NLoadingBar
useLoadingBar
n-loading-bar-provider
log
scrollToTop
=> scrollTo
scrollToBottom
=> scrollTo
menu
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
overlay-width
overlay-min-width
message
n-message-provider
useMessage
onHide
=> onLeave
onAfterHide
=> onAfterLeave
message.hide
=> message.destroy
modal
display-directive
v-model
on-show
=> on-update:show
on-hide
=> on-update:show
overlay-style
=> style
notification
useNotification
open
=> create
onHide
=> onLeave
onAfterShow
=> onAfterEnter
onAfterHide
=> onAfterHide
pagination
on-change
=> on-update:page
on-page-size-change
=> on-update:page-size
popconfirm
popover
default-show
overlap
#activator
=> #trigger
overlay-xxx
=> body-xxx
controller
max-width
width
min-width
manual
trigger is removed, use show
to controll the popoverbody-class
, use class
insteadbody-style
, use style
insteadpopselect
v-model
=> v-model:value
on-change
=> on-update:value
progress
radio
size
'small'
=> 'medium'
string
or null
on-change
=> on-update:value
string
checked-value
=> checked
on-change
=> on-update:checked
on-change
is now a native eventresult
scrollbar
select
v-model
=> v-model:value
on-scroll(event, container, content)
=> on-scroll(event)
option.render(h, data)
=> option.render(data)
on-change
=> on-update:value
slider
on-change
=> on-update:value
default-value
propspace
spin
'in-small'
, 'in-medium'
and 'in-large'
size are removedspinning
=> show
statistic
steps
switch
value
=> value
change
=> on-update:value
table
tabs
active-name
=> value
on-active-name-change
=> on-update:value
tag
v-model
=> v-model:value
on-checked-change
=> on-update:checked
thing
time
type
default from 'relative'
to 'date-time'
time-picker
v-model
=> v-model:value
timeline
tooltip
#activator
=> #trigger
transfer
v-model
=> v-model:value
on-change
=> on-update:value
default-value
proptree
v-model
=> v-model:selected-keys
on-selected-keys-change
=> on-update:selected-keys
on-checked-keys-change
=> on-update:checked-keys
on-expanded-keys-change
=> on-update:expanded-keys
typography
depth
from primary
... tertiary
=> 1
, 2
, 3
as
=> tag
upload
nimbus-service-layout
v-model
=> v-model:value
TODO
vicons
vfonts
useNow
package: 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。