n-input
'ssuffix
to the back ofloading
, close #4685.- Fix
n-log
'ssilent
attribute spelling problem, closes #4875.
- Fix
n-radio
exportradioProps
dosen't not includestheme-overrides
. - Fix
n-description-item
'sspan
doesn't work whenn-descriptions
'slabel-placement
is'top'
if there's only single line, closes #4874. - Fix
n-upload
'sdata
prop type can't includeBlob
element. - Fix
n-select
allows option to be created with existed label, closes #4703 - Fix
n-upload
'srender-icon
prop's type. - Fix
n-auto-complete
'sonSelect
type, closes #4617. - Fix
n-grid-item
's suffix prop won't work with responsive config, closes #4635 - Fix
n-tabs
'spaneWrapperStyle
prop missing height after animation - Fix
n-tree
should check all items instead of uncheck all if indeterminate checkbox is clicked, closes #4941. - Fix the Popover was not displayed when the
n-internal-selection
was disabled and the mouse was moved over the '+n' tag. closes #4789 - Fix
n-input
doesn't display the horizontal scroll bar whentype
istextarea
, closes #4570. - Fix
n-alert
's content style problem, when there is no title and use closable, closes #4588. - Fix
n-select
'sempty
slot action then it is an interactive component, closes #4700. - Fix
n-data-table
header and body's scrolling are not sync when using the keyboard, closes #3941. - Fix
n-data-table
drag column causing text selection in Safari, closes #4957. - Fix
n-data-table
ellipsis content in table cell would wrap with expand button when using tree data, closes #3755. - Fix
useLoadingBar
can't finish loading when calledfinish
method, closes #4965. - Fix
n-select
can still trigger focus and blur event in the disabled state, closes #4454. - Fix
n-steps
may have line wrap issue if step is more than 9. - Fix
n-grid
v-show reports errors when switching multiple times, closes #4422. - Fix
n-tree
'sTreeOption
'scheckboxDisabled
prop doesn't work whencheck-on-click
istrue
. - Fix rapid clicks on
n-date-input
's buttons triggering a text select for the rest of the website. - Fix
n-auto-complete
's autocomplete menu's unexpected open when clicking the clear icon with the input not focused, closes #4658. - Fix
n-input
'son-keyup
prop type, closes #5101
n-drawer
addsmax-height
,min-height
,max-width
andmax-width
props.n-progress
supports indicator slot when theindicator-placement
is set to'inside'
in the'line'
type, closes #4888.n-image-preview
addsdownaload
button, closes #4302.n-transfer
addsselect-all-text
andclear-text
prop, closes #4910.n-tree
addsscrollbar-props
prop, closes #4021.n-select
addsfocusInput
blurInput
methods.n-tree-select
addsfocusInput
blurInput
methods.n-image-group
addson-preview-prev
on-preview-next
propn-tree
addsshow-line
prop, closes #3796, #4554n-tree
adds node information forrender-switcher-icon
props, closes #4815.n-input-number
export theselect
method.n-data-table
addsn-data-table-tr--expanded
class to expanded rows, andn-data-table-tr n-data-table-tr--expand
class to the additional row, closes #4420.
- Update
zhTW
locale. - Add
svSE
locale.
- Fix
n-notification
'sdescription
does not wrap when there is English, closes #4609. - Fix
n-dynamic-input
can't accessvalue[index]
byindex
passed inon-remove
prop. - Fix
n-dynamic-input
doesn't return correctindex
inon-create
callback. - Fix
trTR
i18n, closes #4231. - Fix
n-input
's show password icon is offset when use bothpassword
anddisabled
, closes #4364. - Fix
n-image
setfallback-src
prop and lazy loading dosen't work, closes#4480. - Fix
n-upload
warning cause by extraneous non-props attributes were passed to vue componentTransitionGroup
but could not be automatically inherited, closes #4447. - Fix
n-menu
show
default
attribute spelling problem, closes #4750. - Fix
n-icon-wrapper
's theme error, closes #4768. - Fix
n-popconfirm
's action button should not be triggered multiple times,closes #4687.
n-dynamic-input
addsaction
slot, closes #3981.n-dynamic-input
adddisabled
prop, closes #4055.n-data-table
addstitleAlign
prop, closes #3954.n-rate
exposesindex
in the default slot, closes #4413.n-scrollbar
addssize
prop, closes #3896.n-data-table
'srender-expand-icon
addexpanded
param, closes #4439.n-tabs
addspane-wrapper-class
pane-wrapper-style
prop.n-collapse
addstitlePadding
theme variable, closes #4728.n-tabs
addsplacement
prop.n-spin
addsdelay
prop.
- Update
zhTW
locale. - Add
faIR
locale.
- Fix
n-progress
'sindicator-text-color
prop doesn't work whenindicator-placement
is'inside'
. - Fix
n-image
error while operating the previewed image, closes #4157. - Fix
n-tree
cannot accessmergedFilterRef
before initialization error, closes #4134. - Fix
n-menu
can't override submenu dropdown'strigger
bydropdown-props
, closes #4147. - Fix
n-ellipsis
cannot be closed when usingkeep-alive
, closes #4079. - Fix
n-upload
doesn't show thumbnail for file with image type file name, closes #4198. - Fix
n-input
style bug of tiny size with autosize prop, closes #4167. - Fix
n-image
&n-avatar
inlazy
mode, after setting theintersection-observer-options
rootMargin
attribute, the preload does not take effect.
n-tree
addsget-children
prop, closes #4128.n-badge
addsoffset
prop, closes #4149.n-card
addstag
prop.- demos can now use
<script setup />
. n-pagination
addsselect-props
prop, closes #4199.n-select
addsshow-on-focus
prop, closes #4191.n-pagination
addsgoto
prop, closes #4133.n-upload
won't setfile
field of file info tonull
after file is uploaded, closes #3868.n-form
addslabelFontWeight
theme variable, closes #3516.n-radio
addslabelFontWeight
theme variable, closes #3516.n-checkbox
addslabelFontWeight
theme variable, closes #3516.n-tree
'son-load
prop allows returned promise to resolvefalse
to finish loading effect, closes #4038.
- Update koKr locale.
- Fix
n-config-provider
's katex type issue. - Fix
n-image
error in toolbar operation during preview, closes #4144.
- Fix
n-select
will print useless content in console in multiple select mode. - Fix
n-tree
missesgetCheckedData
andgetIndeterminateData
methods, closes #4064. - Fix
n-data-table
's column'salign
doesn't work for table header, closes #4063.
- Wrap a
div
container around the columns ofn-data-table
to optimize the layout of filter button, closes #3853.
- 'themeOverRides' provide
labelFontWeight
forn-form
,n-radio
,n-checkbox
, closes#3516 n-avatar-group
exportsAvatarGroupOption
type, closes #3879.n-transfer
addsshow-selected
prop, closes #3711.n-data-table
addsloading
slot, closes #3865.n-mention
addson-update:show
prop, closes #3882.n-tree
adds trigger node information foron-update:expanded-keys
,on-update:checked-keys
andon-update:selected-keys
props, closes #3885.n-tree-select
adds trigger node information foron-update:expanded-keys
andon-update:value
props, closes #3885.n-tree
addsgetCheckedData
method.n-tree
addsgetIndeterminateData
method.n-tree-select
addsgetCheckedData
method.n-tree-select
addsgetIndeterminateData
method.n-tree-select
addsfocus
method.n-tree-select
addsblur
method.n-cascader
addsgetCheckedData
method.n-cascader
addsgetIndeterminateData
method.n-input
addscount-graphemes
prop, closes #3967.n-cascader
addsnot-found
slot, closes #3862.n-avatar
addsimg-props
prop, closes #3963.n-data-table
addsspin-props
prop, closes #3649.n-button
addsrender-icon
prop, closes #4007.- Add
n-equation
component. n-image
addspreviewed-img-props
prop.n-data-table
addsscrollbar-props
prop, closes #4021.n-upload
addsshould-use-thumbnail-url
prop, closes #3861.n-upload
addsrender-icon
prop.n-tree
'srender-switcher-icon
prop is passed withexpanded
&selected
state.useDialog
's option supporttransformOrigin
, closes #3901.
- Fix
n-image
can be dragged by any button on mouse in preview mode, closes #3950. - Fix
n-form-item
's label text is in wrong position whenlabel-align="left"
andrequire-mark-placement="left"
andlabel-placement="left"
, closes #3871. - Fix
n-tree
's dragging causes partial white screen in Chrome and Edge with version 106, closes #3909. - Fix
n-select
shows wrong value in select box aftervalue-field
is set andmax-tag-count="responsive"
and remove selected option in overflow tag's popover, closes #3869. - Fix
n-ellipsis
won't overflow inn-card
's title, closes #3935. - Fix
n-timeline-item
'sline-type="dashed"
not working whenn-timeline
'shorizontal
is set, closes #4014. - Fix
n-popover
doesn't wrap line if word is too long. - Fix
n-date-picker
can't delete all input content in some cases, closes #3922. - Fix
n-input
'sautosize
prop doesn't work properly if there are multiple spaces, closes #4027. - Fix
n-pagination
'sendIndex
maybe incorrect in last page, closes #4057. - Fix
n-image
doesn't prevent space pressing scroll behavior in preview mode, closes #3919.
- Add arDZ locale.
- Add trTR locale.
- Fix
n-data-table
throws error on tree data check action, closes #3832.
- Fix
n-timeline-item
'stitle
'smargin-bottom
can't be set by theme variable, closes #3722. - Fix
n-timeline-item
'smeta
part'smargin-bottom
is overrided when nested in horizontal and vertical mode. - Fix
n-tree-select
would remove selected first option if it's clicked when placed inlabel
tag, closes #3715. - Fix
n-popover
will show afterdisabled
is set totrue
thenfalse
if it's shown at first. - Fix
n-select
's overflow popover won't hide after removing all options in it whenmaxTagCount="responsive"
, closes #3801. - Fix
n-upload
may only allow selecting directory in Firefox, closes #3798. - Remove
package.json
'sexports
field due to its poor compatibility, closes #3786. - Fix
createDiscreteApi
throws error in SSR environment, closes #3813. - Fix
n-tree-select
has wrong focus behavior whenfilterable
and in single select mode. - Fix
n-input-number
may not update input when value is set inon-blur
callback.
n-collapse-item
'sheader-extra
&header
slots supportcollapsed
param, closes #3723.n-loading-bar-provider
addsto
prop, closes #3724.n-data-table
'son-update:checked-row-keys
will pass current row data and state, closes #3626.n-data-table
column addsresizable
prop, closes #3165.createDiscreteApi
contains Vue app in returned value.- Export
LayoutContentInst
type, closes #3743. - Export
CarouselInst
type, closes #3742. n-collapse
addsitemMargin
theme variable, closes #3788.n-select
addsignore-composition
prop, closes #3789.n-card
exportsCardSegmented
type, closes #3775.n-date-picker
addsnext-month
slot, closes #3570.n-date-picker
addsnext-year
slot, closes #3570.n-date-picker
addsprev-month
slot, closes #3570.n-date-picker
addsprev-year
slot, closes #3570.n-pagination
addsto
prop, closes #3773.n-avatar
addsrender-placeholder
prop, closes #3751.n-avatar
addsrender-fallback
prop, closes #3751.n-avatar
addsfallback
slotn-transfer
addsrender-target-list
prop.n-select
addsshow-checkmark
prop, closes #3749.n-tree
addsanimated
prop, closes #3784.n-slider
addsmarkFontSize
theme variable, closes #3820.n-avatar-group
addsgap
theme variable, closes #3819.
n-dialog
addsonAfterLeave
in DialogOptions Properties, closes #3662.n-dynamic-tags
exportDynamicTagsOption
type, closes #3677.n-upload
addsresponseType
prop, closes #3666.n-dropdown
'sDropdownOption
addsshow
prop, closes #3703.n-data-table
addssummary-placement
prop, closes #3681.n-tabs
will scroll to active tab, closes #3683.
- Fix
n-menu
'svalue
will cause useless rendering of menu item, closes #3670.
- Fix
n-date-picker
's style is unexpected ininline-theme-disabled
mode, closes #3655. - Fix
n-data-table
can't setn-dropdown
'stheme-overrides
, closes #3613. - Fix
n-carousel
displays abnoramlly iftransform: scale
style is set, closes #3684. - Fix
n-tree
's node is disabled aftercheckboxDisabled
is set, closes #3620. - Fix
n-tree
's switcher won't work when:show-irrelevant-nodes="false"
is set & being searched, closes #3647. - Fix
n-progress
's graph may overflow iftype="circle"
andstroke-width
is too large, closes #3638.
- Fix UMD bundle doesn't work, closes #3642.
- Fix
n-calendar
's displayed month doesn't followdefault-value
, closes #3645. - Fix
n-form-item
'srequire-mark-placement
prop not working when set toleft
, closes #3628. - Fix
n-upload
'sOnBeforeUpload
return type can only bePromise<boolean>
.
n-radio
addscolorActive
theme variable, closes #3610.
- Fix could not resolve "@vicons/ionicons5" error, closes #3616.
n-rate
'sdefault-value
prop's default value is changed from0
tonull
.
- Fix
n-select
's menu missing option check mark in SSR mode, closes 07akioni/naive-ui-nuxt-demo#4 - Fix
n-card
'sembedded
prop not work inn-dialog
, closes #3592. - Fix
n-radio
warning when value prop type is boolean, closes #3540. - Fix
n-tree
content width may overflow container, closes #3561. - Fix
n-form-item
label text may overflow when it's left placement, closes #3593.
n-menu
addsdisabled-field
prop.n-rate
addsclearable
prop.n-slider
addskeyboard
prop, closes #3528.- Add
useDialogReactiveList
method, closes #2041. DialogReactive
supportsonAfterEnter
prop, closes #3569.DialogOptions
supportsclass
prop, closes #3591.
- Fix
n-menu
extra not working in submenu, closes #3390. - Fix
n-tree
can't expand node withtype='group'
, closes #3388. - Fix
n-pagination
's'default-page-size
prop doesn't followspage-sizes
prop, closes #3369. - Added
exports
field in package.json #3410. - Fix
n-dropdown
option prefix & suffix's z-index, closes #3433. - Fix
n-input-number
's peers theme can't be configured, closes #3422. - Fix
n-tag
pointer should be not allow when disabled, closes #3494. - Fix
n-transfer
throws error if value has no corresponding option, closes #3406. - Fix
n-data-table
columnonSelect
's type, closes #3430. - Fix
n-pagination
don't trigger quick jumper on quick jumper blur, closes #3387. - Fix some components works abnormally in open mode shadow DOM, closes #3281.
- Fix
n-carousel
inloop='true'
andeffect='slide'
, When there are only two elements, the transition switching effect of the rotation is opposite, closes #3414. - Fix
n-input
can't input value after compositing is interrupted by rerender, closes #3503. - Fix
n-layout
'sembedded
prop not working aftern-config-provider
has setinline-theme-disabled
, closes #3500. - Fix
n-input
has duplicate placeholder if disabled, closes #3467. - Fix
n-date-picker
'siconColor
theme variable not working, closes #3501. - Fix
n-time-picker
'siconColor
theme variable not working, closes #3501. - Fix
n-select
'snode-props
prop doesn't work. - Fix Nuxt report
CSSRender is not a function
error on preview, closes #3506. - Fix
n-data-table
's rows disabled bycolumn.expandable
can still be expanded, closes #3373. - Fix
n-input-number
click add or minus button quickly may trigger value change loop, closes #3329. - Fix
n-switch
some theme variables can't use non-px value, closes #2938. - Fix
n-input
withresize
&type="textarea"
set can't be resized in some cases, closes #3479. - Fix
n-countdown
'sreset
method doesn't work inonFinish
callback, closes #3536.
n-menu
'sMenuOption
addshow
prop to set whether the Menu option is displayed, closes #3334.n-alert
addsbordered
prop, closes #3358.n-tag
addtrigger-click-on-close
prop, closes #3343.n-cascader
addsdisabled-field
prop, closes #3338.n-list
addsclickable
prop.n-list
addshoverable
prop.n-list
addsshow-divider
prop.n-thing
addscontent-style
prop.n-thing
addsdescription-style
prop.n-data-table
addsrender-expand-icon
prop.n-tree
addsdisabled-field
prop.n-tree
addskeyboard
prop, closes #3438.n-tree-select
addsdisabled-field
prop.n-collapse-item
addsdisabled
prop, closes #3408.n-pagination
addssimple
prop.n-cascader
addsarrow
slot, closes #3459.n-transfer
addssource-filterable
prop, closes #3407.n-transfer
addstarget-filterable
prop, closes #3407.n-transfer
'sfilter
prop addsfrom
param.n-list
supports RTL.n-drawer
supports RTL.n-input
addsrender-count
prop.n-input
addscountTextColorDisabled
theme variable, closes #3481.n-statistic
addsvalueFontSize
theme variable, closes #3510.n-data-table
addssticky-expanded-rows
to allow expanded content remains sticky, closes #3485.n-tree
addsscrollTo
method, closes #3480.n-pagination
addsdisplay-order
prop, closes #3466.n-grid
addslayout-shift-disabled
prop, closes #3301.
- Fix
n-drawer
's warning when usingstring
indefault-height
prop, closes #3377. - Fix
n-transfer
'son-update:value
is not triggered when uncheck options, closes #3393.
n-steps
supports RTL.
n-transfer
's UI is totally refactored. The original transfer component is renamed asn-legacy-transfer
and will be removed in next major version.
- Fix
n-date-picker
will cancel selecting in range mode if click at disabled confirm button, closes #3254. - Fix
n-button
'sfocusable
prop doesn't work, closes #3292. - Fix
n-upload
'son-error
&on-finish
props don't allow() => void
type, closes #3290. - Fix
n-select
's placeholder may overflow if it's long. - Fix
n-input
has is no indent at the prefix iftype="textarea"
and:autosize="true"
, closes #3238. - Fix
n-select
focus loss when clickaction
slot infilterable
andmultiple
, closes #3247. - Fix
n-carousel
'sautoplay
prop betrue
hover
can't stop the play, closes #3304. - Fix
n-tree
may throw error on node selectionexpanded-keys
, closes #3319. - Fix
n-avatar
shows placeholder after load fails, closes #3315. - Fix
n-input-number
registermouseup
event multiple times when hold on button. - Fix all components' exported props type's prop is
readonly
. - Fix
n-tree
'scheck-on-click
prop sometimes doesn't work. - Fix
n-progress
'soffset-degree
prop behaves incorrectly.
n-checkbox-group
'son-update:value
prop adds trigger checkbox's value to params, closes #3277.n-tree
supports RTL.n-input
addsscrollTo
method, closes #3280.n-legacy-grid
supports RTL.n-statistic
supports RTL.n-thing
supports RTL.n-transfer
addrender-source-label
prop.n-transfer
addrender-target-label
prop.n-transfer
addrender-source-list
prop.n-scrollbar
supports RTL.useDialog
supportsonEsc
prop.n-watermark
addsglobal-rotate
prop.n-notification
addkeepAliveOnHover
props to control whether the notification will be closed when mouse hover, closes #3249.
n-date-picker
'sclearable
will control visibility of clear button if noaction
is set, closes #1196.n-button
'snative-focus-behavior
prop default value is changed to 'not on Safari'.
- Fix
n-data-table
's columnrender
prop'sindex
param sequence exception when in expandable row, closes #3153. - Fix
n-data-table
column'scolSpan
doesn't work correctly in virtual scroll mode, closes #3052. - Fix
n-data-table
doesn't showsummary
row in virtual scroll mode, closes #3202. - Fix
n-carousel
has wrong hierarchical relationship between wheneffect
isfade
, closes #3227. - Fix
n-carousel
cannot slide under IOS, closes #3106. - Fix
n-carousel
losing the size of content elements when rendering, closes #3078. - Fix
n-cascader
's filter menu doesn't show option path, closes #3220. - Fix
n-cascader
'sfilter
prop may not get correctpath
. - Fix
n-date-picker
menu's quarter text isn't same havingtype="quarterrange"
andtype="quarter"
, closes #3217. - Fix
n-notification
's leave animation if content height overflows screen. - Fix
n-dropdown
's disabled option has hover style. - Fix
n-dropdown
's menu may shift when it's entering. - Fix
n-dropdown
's transform origin may not be correct in Chrome. - Fix
n-radio-button
may not have correct cursor style, closes #3243. - Fix
n-input
's text color is too shallow with disabled state in Safari, closes #3241. - Fix
n-input
's separator may have line wrap. - Fix all components'
user-select
style prop's effect on Safari. - Fix
n-data-table
will prevent page scroll in virtual scroll mode. - Fix
n-button
doesn't have pressed effect on Firefox.
n-avatar
addslazy
prop.n-avatar
addsintersection-observer-options
prop.n-number-animation
addson-finish
prop.n-notification
supports RTL.- Export all components' props object.
n-popover
addsfooter-style
prop.n-popover
addsfooter
slot, closes #3188.n-dropdown
addsmenu-props
prop, closes #2885.n-data-table
addsmultiple
prop, closes #3056.n-date-picker
would disable confirm button if end date is not selected, closes #3226.n-tree
addscheck-on-click
prop to controlchecked
status, closes #2968.n-tree
addsaccrodion
prop, closes #3129.n-countdown
addsreset
method, closes #3228.n-drawer
addsresizable
prop.n-drawer
addsdefault-width
prop.n-drawer
addsdefault-height
prop.n-drawer
addson-update:width
prop.n-drawer
addson-update:height
prop.- Update ukUA locale.
n-message
supports RTL.
- Fix
n-select
's menu transition style, closes #3211.
- Fix
n-tabs
'sbar-width
props invalid when0
set, closes #3171. - Fix
n-drawer
has log warnings of console when useshow-mask
prop, closes #3172. - Fix
n-button
doesn't omit content if content is wrapped in ellipsis container, closes #3178. - Fix
n-select
will remove select value in multiple mode inform
if Enter key is pressed in input element. Closes #3169. - Fix
n-select
's filter prop not working, closes #3175. - Fix
n-modal
's mask may overlay over content if no preset is used, closes #3204. - Fix
n-button
's icon doesn't align correctly if it's too big or small. - Fix
n-select
's created options may repeat multiple times in menu, closes #3206.
n-date-picker
'stype
prop supports'quarterrange'
and'yearrange'
.n-tree-select
addsrender-prefix
prop.n-tree-select
addsrender-suffix
prop.n-tree-select
addsrender-switcher-icon
prop.n-tree-select
addsnode-props
prop.n-tree-select
addsrender-label
prop, closes #3197.n-tree-select
addsrender-tag
prop.n-notification
addstitleFontSize
,metaFontSize
,descriptionFontSize
theme variables.
- Fix
n-color-picker
can't input alpha value correctly manually. - Fix some components don't work correctly if
__VUE_OPTIONS_API__
is set tofalse
, closes #3146. - Fix
n-grid
doesn't adjust it's content to fit responsive config in SSR page, closes #2462. - Fix
n-modal
when many instances are activated at same time,on-mask-click
will be triggered on every modal even only one mask is clicked #3147. - Fix
n-data-table
's columnellipsis
prop's type doesn't allowstyle
prop. - Fix
n-data-table
's column will lose box shadow when set toellipsis
&fixed
simultaneously, closes #3145. - Fix
n-image
'slazy
prop doesn't work on Safari & Firefox.
- Fix
n-input-group-label
's content is abnormal inn-drawer-content
, closes #3115. - Fix
n-back-top
has log warnings of console when useshow
prop, closes #3122. - Fix
volar.d.ts
components' type isany
. - Fix
n-grid-item
may not display correctly ifv-show
is used, closes #3123. - Fix
n-select
clears input value on mouse enter when it's clearable and using IME.
- 🌟
n-image
addslazy
prop, closes #3055. n-image
addsintersection-observer-options
prop.n-image
addsplaceholder
slot.- Exports
NTooltipInst
type. n-data-table
addsrender-cell
prop, closes #3095.n-space
addswrap-item
prop.n-data-table
'son-update:checked-row-keys
will pass row data, closes #2215, closes #2265
- Fix
n-button
is focused after click with:focusable="false"
, closes #3071. - Fix
n-data-table
fixed selection may overlap with other fixed columns if it's width is not default, closes #3067. - Fix
n-popselect
doesn't triggeron-update:show
when it select value then menu is closed. - Fix
n-popselect
's width can't be set viastyle
. - Fix
n-date-picker
's year & month quick jump may be disabled afteris-date-disabled
is set, closes #3068. - Fix
n-layout
won't keep scroll state inkeep-alive
component, closes #3054. - Fix
n-layout-sider
won't keep scroll state inkeep-alive
component. - Fix
n-tree
may trigger loading multiple times. - Fix
n-tree
throws error on async expanding data with:expand-on-click="true"
, closes #3089. - Fix
n-slider
's tooltip has no enter transition when it's triggered by keyboard. - Fix
n-slider
mark text's line wrap isn't correct when it appears at right-most position. - Fix
n-upload
's inner anchor element may show focus-visible outline style. - Fix
n-upload
shows slot warning whenlist-type="image-card"
. - Fix
n-upload
image's corner may overflow item whenlist-type="image-card"
. - Fix
n-dynamic-tags
'son-create
prop not working. - Fix virtual scroll stucking issue introduced by Chrome 102, closes #3048.
- Fix
n-upload-dragger
is almost transparent if disabled.
- 🌟
n-pagination
adds dropdown menu for fast jump button. - 🌟
n-input
addsallow-input
prop. - 🌟
n-data-table
addsdefault-expand-all
prop, closes #3073. - 🌟
n-modal
with inner popup component liken-select
can handle esc key pressing correctly, closes #2973. n-tree-select
addsarrow
slot, closes #3084.n-cascader
will show corresponding submenu after checkbox is clicked, closes #3079.n-upload
will disable dragger when maximum number of files was reached.n-select
addsnode-props
prop.n-popselect
addsnode-props
prop.n-popselect
addsvirtual-scroll
prop.n-data-table
addsscrollTo
method, closes #2570.n-slider
addsthumb
slot.
- Fix
n-cascader
's overflow count tag's popover can't scroll afterfilterable
is set, closes #3061. - Fix
n-drawer
'sshow-mask
prop will warn if'transparent'
is passed. - Fix
n-calendar
doesn't callon-panel-change
when date of other months is clicked, closes #3063.
- 🌟 UMD usage is supported.
n-cascader
will expand menu to selected value, closes #3058.n-space
will usegap
CSS property if possible, closes #3053.
- Fix
n-select
recomputed options on menu close, improves performance.
n-menu
addsarrowColorChildActiveHover
,itemIconColorChildActiveHoverHorizontal
,itemIconColorChildActiveHover
,itemTextColorChildActiveHoverHorizontal
,itemTextColorChildActiveHover
,arrowColorChildActiveHoverInverted
,itemIconColorChildActiveHoverHorizontalInverted
,itemIconColorChildActiveHoverInverted
,itemTextColorChildActiveHoverHorizontalInverted
,itemTextColorChildActiveHoverInverted
theme variables, closes #2929
- Fix
n-menu
node-props
is not applied to element withrole="menuitem"
but a inner element. - Fix
n-menu
node-props
doesn't work withtype="group"
option.
- Theme variable
closeColor
,closeColorHover
,closeColorPressed
are renamed tocloseIconColor
,closeIconColorHover
,closeIconColorPressed
.closeColorHover
,closeColorPressed
still exist, controlling background color of close button. n-tag
'scolorXxx
theme variables are renamed tocolorBorderedXxx
.colorXxx
still exists, controlling background color of borderless tag.
- Fix
createDiscreteApi
not working with'loadingBar'
. - Fix
n-popover
background color shifts when closed on theme changing. - Fix
n-select
's menu position doesn't sync with select box when select box's size is changed. - Fix
n-scrollbar
can't show horizontal scrollbar, closes #3047. - Fix
n-tree
node's pressed style is prior to selected style when:block-line="true"
and:selectable="true"
. - Fix
n-slider
may leak event handler on edga case. - Fix
n-data-table
doesn't restore scroll state when it's reactivated insidekeep-alive
component, closes #2522. - Fix
n-image
zoom level doesn't fit ultra large image. - Fix
n-menu
's dropdown option text style when some of it's descendants is activated. - Fix
n-input
'sinput-props
prop'sclass
&style
not working.
- 🌟
n-time-picker
addstime-zone
prop, closes #293. - 🌟
n-input-number
addsparse
prop. - 🌟
n-input-number
addsformat
prop. - 🌟
n-input-number
addsprecision
prop, closes #2068, #1859 - 🌟
n-image
adds a switch to display the original size of the picture, closes #3023. - 🌟 All components' close buttons use new style and are focusable.
- All components' select menu & dropdown menu's options use new style.
n-tag
addsicon
slot.n-tag
addsstrong
prop.n-tag
adds background color in dark theme when:bordered="false"
, closes #1699.n-time
addstime-zone
prop.n-breadcrumb-item
addsclickable
prop.n-breadcrumb-item
uses new style, addsitemLineHeight
,itemBorderRadius
,itemColorHover
,itemColorPressed
theme variables.n-notification
optimizes title style when it's too long.n-drawer
optimizes title style when it's too long.n-dialog
optimizes title style when it's too long.n-card
optimizes title style when it's too long.
- Fix
n-tree
throw error when usepattern
prop filter the tree node, closes #2960. - Fix
n-watermark
not working whencls-prefix
is set. - Fix
n-dropdown
's incorrect render arrow when:show-arrow="true"
#2977 - Fix
n-upload-dragger
doesn't take full width. - Fix
n-global-style
doesn't clear body element's padding and margin. - Fix
n-modal
won't clear document body's overflow style if it's unmounted when it is shown, closes #3015. - Fix keyboard operation doesn't work in some specific old browsers.
- Fix
n-tabs
lacks tab padding whenjustify-content
is'start'
,'end'
or'center'
. - Fix
n-tabs
doesn't update bar's position afterjustify-content
orsize
is updated. - Fix
n-switch
has no transition effect when toggledisabled
. - Fix
n-modal
&n-drawer
will be closed on esc pressed during IME input, closes #2989. - Fix
n-date-picker
can select time when is selecting date in date time range picker, closes #3004. - Fix
n-pagination
has display issue when:page-count="0"
, closes #2970. - Fix
n-date-picker
'sshortcuts
will be overrided bydefault-time
whentype="datetimerange"
, closes #3020. - Fix
n-image-group
switch pictures doesn't work in SSR mode. - Fix
n-tabs
's height transition sometimes not applied whendisplay-directive="show"
and:animated="true"
, closes #3035. - Fix
n-select
's filter font size is a bit small in single select mode. - Fix
n-select
's count tag's popover is too high when overflow tag's count is small. - Fix
n-date-picker
's first time scroll state of items is not aligned whentype="monthrange"
. - Fix
n-form-item
's asterisk in required mode can be selected. - Fix
n-list
's color is incorrect insiden-popover
in dark mode.
- 🌟
n-select
addslabel-field
prop, closes #3018. - 🌟
n-select
addsvalue-field
prop, closes #3018. - 🌟
n-steps
addson-update:current
prop. - 🌟
n-date-picker
addspanel
prop. - 🌟
n-data-table
addson-scroll
prop, closes #3025. - 🌟
FormItemRule
addsrenderMessage
prop, closes #2525. - 🌟 Add
createDiscreteApi
to create message, notification, dialog, loading bar outside setup. n-scrollbar
addstrigger
prop.n-input-number
addsbutton-placement
prop.n-select
addschildren-field
prop, closes #3018.n-upload
addstrigger-style
prop.n-dropdown
addsnode-props
prop.n-dropdown
addsrender-option
prop.n-upload
addsis-error-state
prop, closes #2975.n-date-picker
'sshortcuts
prop supports readonly tuple type.n-step
addsdisabled
prop.n-calendar
addsheader
slot, closes #3036.n-tree
addsexpand-on-click
prop, #2949.
- Since
n-pagination
supportssize
prop, some theme variables ofn-pagination
are changed.
- Fix
n-menu
userender-icon
function render incorrect when returnstrue
. - Fix
n-tabs
'stabFontWeightActive
theme varialbe applies to all tabs, closes #2926. - Fix
n-tree-select
'sdefault-expand-all
not working. - Fix
n-upload
'saccept
prop doesn't work in drag & drop mode, closes #2919 - Fix
n-calendar
'son-panel-change
returning wrong month value when clicking Today. - Fix
n-time
throws error caused bygetTimezoneOffset
in SSR mode, closes #2545. - Fix
n-transfer
's search box's box-shadow is truncated. - Fix
n-time-picker
's input box's invalid value won't be cleared after blur.
n-notification-provider
'splacement
prop supports'top'
and'bottom'
, closes #2930.n-pagination
addsize
prop, closes #2888.n-config-provider
addspreflight-style-disabled
prop.n-pagination
's quick jumper only allow integer input, closes #2928.n-pagination
will jump to the first / last page when its value is out of range, closes #2928.n-color-picker
addson-confirm
prop.n-input
addsclear-icon
slot.n-date-picker
addsdate-icon
slot, closes #2668.n-date-picker
addsseparator
slot, closes #2668.
- Add nlNL locale.
- Fix
n-theme-editor
's content can't be scrolled.
- Fix
n-menu
'sdropdown-props
prop can't overriden-dropdown
'ssize
prop, closes #2868. - Fix
n-switch
abnormal loading animation when switching state, closes #2870 - Fix
n-data-table
doesn't show content when page is more than data's page, closes #2840. - Fix
n-data-table
'scellProps
doesn't has correct generic type. - Fix
n-data-table
'swork-break
isn'tbreak-word
. - Fix
n-list
's css variablen-merged-color
is not correct. - Fix
MessageReactive
'sdestroy
method throws error if message has disappeared. - Fix
n-ellpisis
can't show tooltip if content width is very close to container width, closes #1393, #2899. - Fix
n-tree
can't usewidth: fit-content;
style, closes #2875. - Fix
n-dropdown
'son-update:show
prop will be triggered twice, closes #2905. - Fix
n-select
can select option by pressing enter after options are cleared. - Fix
n-data-table
'sselection
andexpand
column can't set width. - Fix
n-checkbox
contains selectable whitespace. - Fix
DescriptionsProps
is misspelled asDescriptionProps
. - Fix
n-icon
missesIconProps
. - Fix
n-icon-wrapper
missesIconWrapperProps
. - Fix
n-countdown
's display value is 1s faster than actual left time whenprecision=0
, closes #2910.
n-menu
addsnode-props
prop.n-switch
addsrubber-band
prop.n-space
'sjustify
prop supports'space-evenly'
.n-popover
addscontent-style
prop.n-popover
addsheader-style
prop.n-popover
addsscrollable
prop.n-select
&n-cascader
&n-tree-select
's overflow count tag's popover is scrollable.n-data-table
addspagination-behavior-on-filter
prop.n-date-picker
'stype
prop supportsmonthrange
option.n-date-picker
addson-clear
prop.n-date-picker
addson-confirm
prop, closes #2852.n-data-table
'scolumns
's element supportsminWidth
prop.n-tree
addscheckbox-placement
prop.n-tree-select
addsloading
prop, closes #2857.n-modal
addsblock-scroll
prop, closes #2556.n-drawer
addsblock-scroll
prop, closes #2556.n-drawer
addsshow-mask
prop, closes #2556.useDialog().xxx
supportsblockScroll
option, closes #2556.useDialog().xxx
supportsautoFocus
option.n-button
addsnative-focus-behavior
prop, closes #2882.n-time-picker
addson-confirm
prop.n-time-picker
addson-clear
prop.n-time-picker
addson-update:show
prop.n-time-picker
addsshow
prop.n-date-picker
addson-update:show
prop.n-date-picker
addsshow
prop.n-date-picker
addsdefault-calendar-start-time
prop, closes #2732.n-date-picker
addsdefault-calendar-end-time
prop, closes #2732.n-date-picker
addsbind-calendar-months
prop, closes #2751.n-upload
addsdirectory
prop.n-upload
addsdirectory-dnd
prop.UploadFileInfo
addsfullPath
andbatchId
attrs.DataTableBaseColumn
addstree
attr, closes #2757.
- Fix
date-picker
actions
's type can't benull
. - Fix
time-picker
actions
's type can't benull
. - Fix
n-tree-select
's meaningless warning. - Fix
n-tree-select
'sallow-checking-not-loaded
prop doesn't work. - Fix
n-tree-select
's menu position may not sync with trigger box if:allow-checking-not-loaded="true"
. - Fix
n-cascader
's menu position may not sync with trigger box if:allow-checking-not-loaded="true"
.
- Fix
notification
icon won't show after first notification is emitted in SSR mode, closes #2793. - Fix
dialog
icon won't show after first dialog is displayed in SSR mode. - Fix
n-drawer
&n-modal
may overflow screen on opening if:autofocus="true"
. - Fix
n-tree-select
's filter not working correctly whenchildren-field
is not set, closed #2789. - Fix
n-tree-select
's matched style is not cleared after filter value is cleared. - Fix
n-tree-select
's parent items in tree are selectable whencheck-strategy="child"
and:cascade="false"
, closes #2780. - Fix
n-select
'sempty
slot can't letn-input
focus inside, closes #2812. - Fix
n-select
's menu is invisible in fullscreen mode, closes #2722. - Fix
n-color-picker
'svalue
prop can't benull
. - Fix
n-table
's border color shifts when switch bewteen different props.
n-input-number
addsadd-icon
andminus-icon
slots, closes #2668.n-dynamic-input
addsRTL
support.n-table
addsRTL
support.n-collapse-transition
addsRTL
support.n-tree
addsshow-irrelevant-nodes
prop, closes #2764.n-tree-select
addsallow-checking-not-loaded
prop.n-cascader
addsallow-checking-not-loaded
prop.n-tree
addsallow-checking-not-loaded
prop.n-button-group
addsRTL
support.
- Add ptBR locale.
- Add koKR locale.
n-time
usesformatDistanceStrict
rather thanformatDistance
indate-fns
, closes #2703.
- Fix
n-tabs
has unexpected line animation when nested withn-tabs
, closes #2689. - Fix
n-popconfirm
with no body content has wrong margin top, closes #2690. - Fix
n-tree-select
unexpected warning. - Fix
n-calendar
's disabled cells are clickable, closes #2686. - Fix message icon won't show after first message is emitted in SSR mode, closes #2721.
- Fix
n-popconfirm
'spositive-button-props
andnegative-button-props
props lack reactivity, closes #2753. - Fix
n-step
has unexpected theme variable class. - Fix
n-steps
displays uncorrectly when nested in vertical & horizontal mode. - Fix
n-popconfirm
'spositive-text
&negetive-text
props don't allownull
type. - Fix
n-color-picker
can't be closed if mousedown.stop is set when click outside, closes #2709. - Fix
n-tabs
switch animation is incorrect whendisplay-directive='show'
, closes #2718.
n-radio
addslabel
prop, closes #2707.n-drawer
addson-after-enter
andon-after-leave
props, closes #2698.n-data-table
addspaginate-single-page
prop , closes #2043.n-pagination
addRTL
support.n-alert
addRTL
support.n-data-table
addsallow-checking-not-loaded
prop, closes #2758.
n-menu
has some style changes.
- Fix
n-data-table
‘s row disorder when usingexpand
type, closes #2631. - Fix
n-popconfirm
doesn't hassetShow
&syncPosition
methods. - Fix
n-popselect
doesn't hassetShow
&syncPosition
methods. - Fix
n-menu
theme's peers missingDropdown
. - Fix
n-color-picker
can't input 0 as unit's value, closes #2680. - Fix
n-tree
's scrollbar overflows in virtual scroll mode, closes #2673. - Fix
n-layout-sider
'scontent-style
can't overrideoverflow: auto
prop, closes #2671. - Fix
n-date-picker
displays panel item abnormally withmonth
andquarter
type in dark mode. - Fix
n-dropdown
onUpdateShow
not working. - Fix
n-auto-complete
onSelect
is triggered afteronUpdate:value
. - Fix
n-data-table
initiatorColumn
inonUpdate:filters
's type is an optional parameter.
n-tree-select
addson-load
prop, closes #2550.n-data-table
addson-load
prop.n-cascader
addsmenu-props
prop, closes #2600.n-cascader
addsfilter-menu-props
prop, closes #2600.n-badge
addsvalue
slot.n-form
addsvalidate-messages
prop.n-data-table
's column supportscellProps
prop, closes #2625.n-step
adds class to distinguish status.n-popconfirm
addsnegative-button-props
props, closes #2642.n-popconfirm
addspositive-button-props
props, closes #2642.n-pagination
addsgoto
slot.n-input
addspassword-visible-icon
slot.n-input
addspassword-invisible-icon
slot.n-select
addsstatus
prop.n-input-number
addsstatus
prop.n-auto-complete
addsstatus
prop.n-cascader
addsstatus
prop.n-date-picker
addsstatus
prop.n-time-picker
addsstatus
prop.n-mention
addsstatus
prop.n-tree-select
addsstatus
prop.n-menu
addsshowOption
method, closes #2562.n-dynamic-tags
'svalue
support object typed option.n-dynamic-tags
addsrender-tag
prop, closes #2526.n-dynamic-tags
addson-create
prop, closes #2576.n-date-picker
addstime-picker-props
props, closes #2660.n-tabs
addstrigger
prop, closes #2679.n-menu
addsitemColorHover
,itemColorActiveHover
,itemTextColorActiveHover
,itemTextColorHorizontal
,itemTextColorHoverHorizontal
,itemTextColorActiveHorizontal
,itemTextColorActiveHoverHorizontal
,itemTextColorChildActiveHorizontal
,itemIconColorActiveHover
,itemIconColorHorizontal
,itemIconColorHoverHorizontal
,itemIconColorActiveHorizontal
,itemIconColorActiveHoverHorizontal
,itemIconColorChildActiveHorizontal
,arrowColorActiveHover
,itemColorHoverInverted
,itemColorActiveHoverInverted
,itemTextColorActiveHoverInverted
,itemTextColorHorizontalInverted
,itemTextColorHoverHorizontalInverted
,itemTextColorChildActiveHorizontalInverted
,itemTextColorActiveHorizontalInverted
,itemTextColorActiveHoverHorizontalInverted
,itemIconColorActiveHoverInverted
,itemIconColorHorizontalInverted
,itemIconColorHoverHorizontalInverted
,itemIconColorActiveHorizontalInverted
,itemIconColorActiveHoverHorizontalInverted
,itemIconColorChildActiveHorizontalInverted
,arrowColorActiveHoverInverted
theme variables, closes #2598.n-carousel
addsnext-slide-style
andprev-slide-style
props, closes #2340.n-dialog
addsnegative-button-props
prop.n-dialog
addspositive-button-props
prop.n-tabs
addsanimated
prop.
- Add thTH locale.
- Fix
n-tree-select
s inmultiple
mode cannot delete options whosedefault-value
attribute contains parent node, closes #2605. - Fix
n-tree
may throw error when node is removed, closes #2597. - Fix
useDialog
renders component with popup content with unexpected focus management behavior, closes #2612. - Fix
n-tree-select
's node sometimes can't be clicked whencheck-strategy
is'child'
. - Fix
n-tree-select
's emitted value can be not corresponding tocheck-strategy
when delete option in select box withcheck-strategy
is not'all'
.
useDialog
supportscloseOnEsc
prop.n-data-table
exportsDataTableFilterState
type.n-data-table
exportsDataTableSortState
type.
- Fix
n-button
's loading icon shifts.
- Fix
n-cascader
arrow's loading animation last for too long time. - Fix
n-select
menu doesn't follow theme. - Fix
n-tabs
throws error without child, closes #809. - Fix
n-menu
's font color is not changed after theme is changed in chrome 99, closes #2563. This is actual a bug of chrome, however we used a workaround and fixed it. - Fix
n-date-picker
's date item click trigger area is as large as cell size only in'date'
mode.
n-dynamic-tags
input
slot adddeactivate
prop, closes #2575.n-space
addRTL
support.n-avatar-group
addRTL
support.n-badge
addRTL
support.n-radio
addRTL
support.n-auto-complete
addsfocus
method.n-auto-complete
addsblur
method.
- Fix
base-loading
use css transition rather than svg animateTrantion to prevent js blocking, close #2506. - Fix
n-time
throws error caused bygetTimezoneOffset
, closes #2545. - Fix
n-modal
's mask doesn't have enter & leave transition. - Fix
n-timeline
has style conflict when vertical & horizontaln-timeline
are nested, closes #2549. - Fix
n-tree
's arrow & loading switch animation isn't complete.
n-time-line-item
addsline-type
prop, closes #2548.n-step
addsicon
slot, closes #2547.n-input-number
addsautofocus
prop, closes #2551.n-date-picker
's date item click trigger area is as large as cell size, closes #2552.
- Fix
n-tooltip
's gap between arrow and body.n-tooltip
can't be translucent anymore.
n-popover
addsarrow-point-to-center
prop.n-config-provider
addsinline-theme-disabled
prop.
- Fix
useMessage
loses styles.
- Fix
n-time-picker
still shows action bar when:actions="null"
. - Fix
n-input
's content may overflow whentype="text"
andautosize
is enabled, closes #2505. - Fix
n-upload
putfile
field before otherFormData
fields, closes #2504 - Fix
n-button
rtl support. - Fix
n-form-item-row
can't calln-form-item
's methods.
n-collapse
addRTL
support.useMessage
addscreate
methods.useMessage
addsshowIcon
prop, closes #2495.useMessage
supports'default'
type
.n-checkbox
supports label line wrap, closes #2419.n-radio
supports label line wrap, closes #2419.n-checkbox
addRTL
support.n-input
addRTL
support.n-input-number
addRTL
support.
- Fix
n-col
can't be wrapped correctly whenspan=6
, closes #2497. - Fix
n-tabs
doesn't display border-bottom in scroll area on large number of tabs, closes #2500.
- Fix
n-switch
can't use keyboard operation when checked value is customized. - Fix
n-data-table
's fixed column is covered by scroll content when placed inside popover. - Fix
n-data-table
when thefilterOptions
value is 0, the filter will not take effect, closes #2392. - Fix
n-data-table
cannot click selection checkbox if the selection column is a column's child. - Fix
n-table
'sborder-color
abnormal style when this added dynamically, closes #2403. - Fix
n-tree
'sdefault-expand-all
prop doesn't work for dynamic data. - Fix
n-form
whenmodel.xxx
isundefined
, validator will usenull
as validation value, closes #2486. - Fix
n-input
focus style's priority is lower than hover style, closes #2480. - Fix
n-data-table
display issue when placed inside keep-alive component with virtual scroll, closes #2183. - Fix
notification
enter & leave animation.
n-tree-select
addsclear-filter-after-select
prop.n-cascader
addsclear-filter-after-select
prop.n-switch
addsicon
slot.n-switch
addschecked-icon
slot.n-switch
addsunchecked-icon
slot.n-tabs
usesn
as CSS vars prefix.- Add
n-watermark
component, closes #1745. n-scrollbar
addsscrollBy
method, closes #2435.n-data-table
'ssummary
'svalue
supportsVNodeChild
, closes #2339.n-input-number
adds hold click to increment, closes #1293.n-description
addstitleTextColor
theme variable.
- Add skSK locale.
- Fix frFR locale.
- Remove useless
console.log
inresolveSlot
. - Fix
n-tag
misses background color whencheckable=true
. - Fix
n-tree
throwsImage
error inhappydom
testing environment. - Fix
n-select
max-tag-count
tag size doesn't follow select size.
n-progress
propstype
add typedashboard
.n-progress
addsgap-degree
prop.n-progress
addsgap-offset-degree
prop.n-select
addsclear-filter-after-select
prop, closes #2352.
- Add plPL locale, closes #2354.
- Add eo locale.
- Add enGB locale.
- Fix deDE locale.
- Refactor
n-carousel
's style whenshow-arrow
is true.
- Fix
n-color-picker
's hue & alpha slider handle are influenced by rail's box-shadow. - Fix
n-form-item
prevent feedback padding when empty. - Fix
n-button
has extra margin in safari. - Fix
n-form
's rules andn-form-item
's rule aboutvalidator
andasyncValidator
'srule
type is notFormItemRule
, closes #2299. - Fix
n-log
doesn't break line when line is too long, closes #2298. - Fix
n-log
doesn't exportLogInst
type. - Fix
n-popselect
action slot & empty slot now working. - Fix
n-data-table
can't use percent as column width. - Fix
n-select
trigger shows blank for a while whenfilterable=true
and menu is closing. - Fix
n-select
's being created option is not cleared after menu is closed. - Fix
n-select
can't input content whenshow=false
andfilterable=true
, closes #1723. - Fix
n-dropdown
has extra margin whentrigger="manual"
. - Fix
web-types.json
'sn-h1
~n-h6
name. - Fix
n-select
deletes option on backspace pressed while compisiting. - Fix
n-select
uses disabled option as pending option after menu is opened.
n-tabs
propsjustify-content
add typesstart
center
end
.n-auto-complete
addsplacement
prop.n-cascader
addsplacement
prop.n-color-picker
addsplacement
prop.n-date-picker
addsplacement
prop.n-mention
addsplacement
prop.n-select
addsplacement
prop.n-slider
addsplacement
prop.n-time-picker
addsplacement
prop.n-tree-select
addsplacement
prop.n-card
addsheader-extra-style
prop.n-popover
addskeep-alive-on-hover
prop, closes #2326.n-input
addsstatus
prop.- Add
n-icon-wrapper
component. n-popover
exportsPopoverPlacement
type.n-drawer
exportsDrawerPlacement
type.n-dynamic-tags
addsinput-props
prop.n-notification-provider
addscontainer-style
prop.n-notification-provider
exportsNotificationPlacement
type.n-notification-provider
exportsNotificationType
type.n-tabs
addbar-width
prop.n-dynamic-input
addscreate-button-props
props.n-dynamic-input
addscreate-button-default
slot.n-dynamic-input
addscreate-button-icon
slot.n-dynamic-input
addsshow-sort-button
prop, closes #2121.n-select
can be used as tag input.n-select
exportsSelectRenderLabel
type.n-select
exportsSelectRenderOption
type.n-select
exportsSelectRenderTag
type.n-tree
addsnode-props
prop.
n-popselect
doesn't work withwidth="trigger"
.
- Update jaJP locale.
- Update deDE locale.
n-icon
addcomponent
prop.
- Fix
n-dynamic-input
can add item when max is 0, closes #2271. - Fix
n-dialog
uselessconsole.log
.
n-input
placeholder has no line-wrap intextarea
type.n-date-picker
lacks space between panel year & month.
n-color-picker
addsdisabled
prop.n-date-picker
adds trigger area for year & month quick jump.
- Update vueuc version.
- Fix
n-layout-sider
has no border transition.
- Fix
n-layout-sider
still occupies 1px after collapsed. - Fix
n-code
doesn't break word whenword-wrap=true
. - Fix
n-tab-pane
's tab label area inheritsattrs
, closes #2221. - Fix
n-image
preview popup background can still be scrolled, closes #2241. - Fix
n-input
shows placeholder when browser auto completes it, closes #2234. - Fix
n-input
placeholder word break issue withtype="textarea"
. - Fix
n-avatar-group
extra count not correct aftermax
is set, closes #2244. - Fix
n-calendar
doesn't triggeron-panel-change
on today button clicked. - Fix
n-drawer
can't be closed by esc key whenmask-closable=false
, closes #2233.
n-page-header
addsback
slot, closes #2176.n-select
addsreset-menu-on-options-change
prop, closes #2168.n-select
addsarrow
slot, closes #2201.n-carousel
effect supports'card'
.n-input
doesn't use native scrollbar whentype="textarea"
, closes #2242, #1172.n-number-animation
addlocale
prop, closes #2181.n-number-animation
's locale follows config provider.- Expose
lightTheme
. n-time-picker
addsicon
slot, closes #2228.n-tab-pane
addstab-props
prop, closes #2221.- Add
CustomThemeCommonVars
to customizeuseThemeVars
. n-slider
addsshow-tooltip
prop, closes #2212.n-select
addson-update:show
prop.n-select
addsfocus
method, closes #2202.n-select
addsblur
method, closes #2202.n-date-picker
addsfocus
method, closes #2202.n-date-picker
addsblur
method, closes #2202.n-time-picker
addsfocus
method, closes #2202.n-time-picker
addsblur
method, closes #2202.n-checkbox
addsfocus
method, closes #2202.n-checkbox
addsblur
method, closes #2202.n-cascader
addsfocus
method, closes #2202.n-cascader
addsblur
method, closes #2202.n-upload
addsinput-props
prop, closes #2204.n-data-table
col addsrender-sorter-icon
prop, closes #1785.n-data-table
col addsrender-sorter
prop, closes #1785.n-date-picker
easy navigation to specific month and year fordate
anddatetime
anddaterange
anddatetimerange
type.n-modal
addsclose-on-esc
prop.n-modal
addsauto-focus
prop.n-modal
addstrap-focus
prop.n-modal
addson-esc
prop.n-drawer
addsclose-on-esc
prop.n-drawer
addsauto-focus
prop.n-drawer
addstrap-focus
prop.n-drawer
addson-esc
prop.n-upload
addsclear
method, closes #2247.- Add volar types.
- Add esAR locale.
- Add itIT locale.
- Fix install error.
- Fix
type PageHeaderProps
name. It was mispelled asPageHeaderPorps
before. n-image
'siconColor
theme variable is renamed astoolbarIconColor
.
- Fix
n-carousel
when Carousel is a single picture dot still existence, closes #1777. - Fix
n-upload
on-finish
prop'sevent
parameter type should beProgressEvent
. - Fix
n-upload
doesn't allow 2xx status code except 200. - Fix
n-form
whenvalidate
usevalidateCallback
, cannot call Promise method. - Fix
n-input-number
input integer end with 0 cannot update, closes #2115. - Fix
n-back-top
allow document to be passed tolisten-to
prop. - Fix
n-data-table
's content can be clicked when loading, closes #2134. - Fix
n-checkbox
doesn't show indeterminate icon in safari. - Fix
n-progress
's inner text ofline
type not aligned in center, closes#2138. - Fix
n-message
'sMessageReactive
type lackstype
parameter. - Fix
n-select
has differentpadding
withn-input
, closes #2149. - Fix
n-tooltip
log errors in console when used inn-select
'srender-option
, closes #1436. - Fix
n-select
log ResizeObserver errors when usingrender-option
in safari, closes #1671. - Fix
n-carousel
can't respond quickly and repeatedly on touch, closes #1892. - Fix
n-carousel
style of boundary, closes #1866. - Fix
n-carousel
cannot be clicked on the touchscreen, closes #1882. - Fix
n-color-picker
default mode can only be rgb is default value is empty.
n-code
addsword-wrap
prop, closes #2111.n-modal
addsz-index
prop, closes #2088.n-drawer
addsz-index
closes.n-drawer
adds wai-aria support.useMessage
's option supportrender
prop.n-data-table
TableColumn
supportsstring
typedwidth
, closes #2102.n-calendar
addson-panel-change
prop, closes #2082.n-upload
addson-error
prop.n-pagination
addslabel
slot.n-tabs
addssyncBarPosition
method, closes #2120.n-form
,n-form-item
'slabel-width
prop supportauto
option, closes #2087.n-result
addsicon
slot, closes #2130.n-date-picker
addsvalue-format
prop, closes #2076.n-date-picker
addsformatted-value
prop.n-date-picker
addsdefault-formatted-value
prop.n-date-picker
addson-update:formatted-value
prop.n-date-picker
'son-update:value
prop will pass formatted value out.n-image
addsshow-toolbar-tooltip
prop.n-image
adds more theme variables, closes #1531.n-upload
addsimage-group-props
prop.n-progress
addsoffset-degree
prop, closes #2010.n-form-item
addsfeedback
slot, closes #1142.n-form-item
'srequire-mark-placement
prop adds'right-hanging'
option, closes #2094.n-cascader
addsrender-label
prop, closes #2048.n-auto-complete
addsrender-option
prop, closes #1629.n-auto-complete
addsrender-label
prop, closes #1629.n-tree
addsrender-switcher-icon
prop, closes #1551.n-message
exportsMessageType
type.n-time-picker
addsvalue-format
prop.n-time-picker
addsformatted-value
prop.n-time-picker
addson-update:formatted-value
prop.n-time-picker
addsdefault-formatted-value
prop.n-carousel
addsdefault-index
prop.n-carousel
addscurrent-index
prop.n-carousel
addsshow-arrow
prop.n-carousel
addsdot-type
prop, closes #1931.n-carousel
addsdot-placement
prop, closes #1462.n-carousel
addsslides-per-view
prop.n-carousel
addsspace-between
prop.n-carousel
addscentered-slides
prop.n-carousel
addsdirection
prop, closes #1931.n-carousel
addsloop
prop.n-carousel
addseffect
prop, closes #1159.n-carousel
addstransition-props
prop, closes #1159.n-carousel
addstransition-style
prop, closes #1159.n-carousel
addsdraggable
prop.n-carousel
addstouchable
prop.n-carousel
addsmousewheel
prop.n-carousel
addskeyboard
prop.n-carousel
addsshow-dots
prop.n-carousel
addson-update:current-index
prop.n-carousel
addsarrow
slot.n-carousel
addsdots
slot.n-form-item
addsfor
prop.n-color-picker
addslabel
slot.n-color-picker
addsrender-label
prop.n-form-item
addslabel-props
prop.
<meta name="naive-ui-style" />
can be used to controll the component style's position.n-empty
addsshow-icon
prop.n-modal
adds a11y support, closes #1877.- Add
n-avatar-group
component. n-input-number
supportsloading
state.- Add
n-countdown
component. - Add
n-number-animation
component, closes #1465. n-statistic
addstabular-nums
prop.n-pagination
will giveitemCount
a approximate value derived frompageSize
andpageCount
if it's not set, closes #2044.n-cascader
addson-update:show
prop, closes #2049.n-scrollbar
usesn
as CSS vars prefix.n-popconfirm
usesn
as CSS vars prefix.n-gradient-text
usesn
as CSS vars prefix.n-form
usesn
as CSS vars prefix.n-pagination
usesn
as CSS vars prefix.n-loading-bar
usesn
as CSS vars prefix.n-empty
usesn
as CSS vars prefix.n-list
usesn
as CSS vars prefix.n-layout
usesn
as CSS vars prefix.n-message
usesn
as CSS vars prefix.n-mention
usesn
as CSS vars prefix.n-menu
usesn
as CSS vars prefix.n-popover
usesn
as CSS vars prefix.n-transfer
usesn
as CSS vars prefix.n-table
usesn
as CSS vars prefix.n-statistic
usesn
as CSS vars prefix.n-code
usesn
as CSS vars prefix.n-breadcrumb
usesn
as CSS vars prefix.n-slider
usesn
as CSS vars prefix.n-spin
usesn
as CSS vars prefix.n-select
usesn
as CSS vars prefix.n-result
usesn
as CSS vars prefix.n-calendar
usesn
as CSS vars prefix.n-card
usesn
as CSS vars prefix.n-cascader
usesn
as CSS vars prefix.n-color-picker
usesn
as CSS vars prefix.n-checkbox
usesn
as CSS vars prefix.n-data-table
usesn
as CSS vars prefix.n-date-picker
usesn
as CSS vars prefix.n-descriptions
usesn
as CSS vars prefix.n-drawer
usesn
as CSS vars prefix.n-dropdown
usesn
as CSS vars prefix.n-rate
usesn
as CSS vars prefix.n-radio
usesn
as CSS vars prefix.n-progress
usesn
as CSS vars prefix.n-skeleton
usesn
as CSS vars prefix.n-collapse
usesn
as CSS vars prefix.n-collapse-transition
usesn
as CSS vars prefix.n-thing
usesn
as CSS vars prefix.n-carousel
usesn
as CSS vars prefix.n-page-header
usesn
as CSS vars prefix.n-image
usesn
as CSS vars prefix.n-input
usesn
as CSS vars prefix.n-icon
usesn
as CSS vars prefix.n-modal
usesn
as CSS vars prefix.n-notification
usesn
as CSS vars prefix.
- Fix
n-form-item-gi
'svalidate
doesn't work, closes #1901. - Fix
n-card
action's border-radius style. - Fix
n-code
's content is repeatly appended if language is not set, closes #2034. - Fix
n-tabs
'stabTextColorActiveSegment
andtabTextColorHoverSegment
theme variables not working, closes #2038. - Fix
n-image
may keep keyboard handler after mounted. - Fix
n-image
can't exit preview after esc is pressed when there's only 1 image, closes #2042. - Fix
n-drawer-content
's content doesn't scroll by default, ref #2003. - Fix
n-popover
log warnings to console when manually set same zindex on multile instances and closes them, closes #2050. - Fix
n-transfer
has no scrollbar in virtual scroll mode. - Fix
n-input-number
cannot input decimals end with 0.
- Fix
n-transfer
list doesn't follow container height when style.height is set, closes #1879. - Fix
n-skeleton
&n-gradient-text
cause runtime error in some old browsers, closes #1867. - Fix
n-data-table
ellipsis
prop in column doesn't support alln-ellipsis
's props, closes #1891. - Fix
n-form
'sblankHeightXxx
theme var doesn't followcommon.heightXxx
, closes #1880. - Fix
n-date-picker
's panel doesn't usedateFormat
in locale, closes #1793. - Fix
n-log
text color transition in theme switching.
n-back-top
usesn
as CSS vars prefix.n-steps
usesn
as CSS vars prefix.n-switch
usesn
as CSS vars prefix.n-auto-complete
usesn
as CSS vars prefix.n-log
usesn
as CSS vars prefix.n-timeline
usesn
as CSS vars prefix.n-time-picker
usesn
as CSS vars prefix.n-avatar
usesn
as CSS vars prefix.n-dynamic-tags
usesn
as CSS vars prefix.n-tag
usesn
as CSS vars prefix.n-dialog
usesn
as CSS vars prefix.n-upload
usesn
as CSS vars prefix.n-tree
usesn
as CSS vars prefix.n-tree-select
usesn
as CSS vars prefix.
n-switch
can no longer be clicked underloading
status, closes #1853.
- Fix
n-data-table
's horizontal scrollbar disappears when max-height is not set, closes #1857. - Fix
n-input-number
cannot input negative decimals value, closes #1858. - Fix
n-dialog
open new dialog again when pressingenter
key, closes #1559.
n-divider
usesn
as CSS vars prefix.typography
usesn
as CSS vars prefix.n-badge
usesn
as CSS vars prefix.
n-button
can no longer be clicked underloading
status, closes #1628.
- Fix
n-alert
'sheader
slot unable to display normally. - Fix
n-data-table
's paginationonUpdatePageSize
prop does't trigger, closes #1774. - Fix
n-data-table
can select rows when table is loading, closes #1812. - Fix
n-tag
line-height is too low that clamps the content. - Fix
n-select
displays with mistake in input iffilterable
istrue
, closes #1823. - Fix
n-page-header
's content has margin-top when header is not displayed, closes #1795. - Fix
n-avatar
color
prop not working. - Fix
n-avatar
's inner icon has wrong size. - Fix
n-image
lacks scoped style's scope-id, closes #1788. - Fix
n-radio
click event will be triggered twice, closes #1680. - Fix
n-data-table
layout display incorrect when the table is empty and min-height set, closes #1809. - Fix
n-data-table
's summary has hover style. - Fix
n-data-table
fixed group column box-shadow error and right fixed column order error, closes #1832. - Fix
n-anchor
's hover & active style. - Fix
n-data-table
's header fixed column style on data is empty.
n-tree-select
addsmenu-props
prop.n-tree-select
addsaction
slot, closes #1765.n-tree-select
addsempty
slot.n-cascader
addsempty
slot.n-popselect
addsaction
slot.n-popselect
addsempty
slot.n-data-table
will check all if indeterminate header checkbox is clicked, closes #1827.n-button
usesn
as CSS vars prefix, closes #1808.n-date-picker
addsdefault-time
prop.n-alert
usesn
as CSS vars prefix.n-date-picker
'stype
prop supportquarter
option.n-anchor
usesn
as CSS vars prefix.
- Add zhTW locale.
- Fix
n-input
click clear icon does't triggerchange
event, closes #1754. - Fix
n-input-number
the cursor moves when press arrow keys to change value, closes #1759.
n-date-picker
's default format follows i18n.
- Add frFR locale.
- Fix
n-date-picker
has no placeholder whentype
isyear
. - Fix
n-element
doesn't exportNEl
alias name. - Fix
n-upload
still shows upload trigger when max limit is reached inimage-card
mode, closes #1744. - Fix
n-form
'sFormValidate
type lacksshouldRuleBeApplied
parameter, closes #1747. - Fix
n-upload
is displayed vertically inn-form
inimage-card
mode, closes #1746. - Fix
n-upload
's file list's top margin if trigger is hidden. - Fix
n-upload
shows normal file status when response has 4xx status, closes #1741.
n-upload
addsshow-trigger
prop.n-data-table
will ignorechildren
with length 0 in tree data mode, closes #1703.
- Fix
n-theme-editor
throw error when click button component, closes #1708. - Fix
n-input
's color is abnormal in Android WeChat, closes #1705. - Fix
n-input
'sborderHover
theme variable doesn't work, closes #1704. - Fix
n-dialog
'scontent
word-break. - Fix
n-input-number
cannot input decimals value. - Fix
n-data-table
's header & body may have wrong border radius, closes #1712. - Fix
n-button
'scolorOpacityXxx
theme vars are not string typed.
n-switch
addsrail-style
prop, closes #1718.n-image
addspreview-disabled
props, closes #1647.n-image
addson-load
&on-error
prop.n-image
addsfallback-src
prop.n-data-table
addson-update:expanded-row-keys
prop.n-tree
addswatch-props
prop.
- Fix
n-slider
disabled tooltip at the wrong time. - Fix
n-slider
incorrect fill color style, closes #1670. - Fix
n-data-table
's paginationonUpdatePage
prop trigger twice, closes #1666. - Fix
n-log
'strim
prop not being independent when used. - Fix
n-slider
processing of step value precision. - Fix
n-date-picker
throw error whentime-picker
input is empty, closes #1678. - Fix
n-popover
not working whentrigger
isfocus
. - Fix
n-scrollbar
's scrollbar will vanish if clicked. - Fix
n-popover
has an invalid line in style. - Fix
n-popover
flip=false
doesn't work. - Fix
n-input-number
can't accept indeterminate input value whenmax
ormin
is set, closes #1664. - Fix
n-input-number
's input value is not changed to a valid value if it's input exceeds min or max multiple times.
n-input-number
addskeyboard
prop.- Add
tableColorStriped
theme variable, closes #1686. n-notification-provider
addsmax
&placement
prop.n-notification
addsdestroyAll
method, closes #333.n-layout-sider
addson-after-enter
andon-after-leave
props, closes #1241.n-upload
addscustom-request
prop, closes #1389.n-data-table
addsexpanded-row-keys
prop.n-popover
provides better auto position adjustment, closes #1520, #1643.n-input-number
addsupdate-value-on-input
prop, closes #1662.n-auto-complete
addsprefix
&suffix
slot.
- Fix
n-image
drag the picture to move the position incorrectly when the zoom is large. - Fix
n-data-table
style glitches after some rows are expanded. - Fix
n-data-table
doesn't expand tree data correctly, closes #1644.
NButton.fontWeightText
&NButton.fontWeightGhost
theme vars are removed. If you want to change font weight, you can usestrong
prop ofn-button
instead.
n-tag
addsavatar
slot.n-data-table
addsstriped
prop, closes #1552.n-table
addsstriped
prop, closes #1552.n-slider
addsvertical
prop, closes #1468.n-slider
addsreverse
prop.n-slider
'sstep
prop supportmark
option.- Bypass Vitejs bug on string extrapolation, ref #636.
n-button
addsstrong
prop.n-button
addssecondary
prop.n-button
addstertiary
prop.n-button
addsquaternary
prop.n-auto-complete
addsinput-props
prop, closes #1610.n-avatar
addsfallback-src
prop, closes #702.n-avatar
addson-error
prop.n-input
addsselect
methods, closes #1328.- Add
n-tab
component, closes #1630. n-switch
addsround
prop, closes #1469.n-step
addstitle
slot.n-menu
supportdivider
type option.
- Fix the default value of the
suffix
internal component'sloading
property. - Fix
n-space
is shown when it has no children, closes #1605. - Fix
n-radio
has noonUpdateChecked
prop. - Fix
n-dropdown
animation flicker problem, closes #1600. - Fix
n-data-table
’sclearSorter
method isn't exported properly. - Fix
n-global-style
throws error in SSR. - Fix
n-button
will trigger click event twice if pressed, closes #1626.
- Fix
n-grid
suffix NGridItem does not set right span when collapsed, closes #1530. - Fix
n-button
to shrink abnormally in certain scenarios when using thecircle
prop, closes #1557. - Fix
input-props
does affecttype
prop, closes #1553
n-menu
adds a color distinction between selected and unselected arrow, closes #1535.n-menu
addswatch-props
prop, closes #1536.n-date-picker
'stype
prop supportyear
option.
- Add
createLocale
to make locale customizable, closes #1525.
- Fix
n-alert
contentTextColor
andtitleTextColor
type theme variable not working, closes #1495. - Fix
n-time-picker
not trigger blur event when the panel is closed by ok button, closes #1499. - Fix
n-upload
UploadFileInfo
'sthumbnailUrl
field not working, closes #1495. - Fix
n-button
keyboard
prop does not work, closes #1508. - Fix
n-upload
instance missesopenOpenFileDialog
method.
- Add deDE locale.
- Add nbNO locale.
- Fix
n-tabs
switch tab does not work when adding a new tab, closes #1417. - Fix
n-tree
'sfilter
prop does not work when assignedchildren-field
, closes #1477. - Fix
n-cascader
can't remove options when using customized fields in multiple mode. - Fix
n-select
's option created byon-create
doesn't show correct label in trigger, closes #1482 - Fix
n-select
menu height shifts on close infilterable
mode.
n-select
addsmenu-props
prop, closes #1475.n-image
'stoolbar
adds close icon, closes #1412.n-tree
'son-load
prop is triggered when theexpanded-keys
prop changes inremote
mode, closes #1339.
n-collapsed-transition
'scollapsed
prop is deprecated, please useshow
instead, closes #1407.
- Fix
n-log
font-size
prop not working, closes #1416. - Fix
n-loading-bar
will show once even ifstart
is not called whenloading-bar-style
is set. - Fix
n-date-picker
separator
prop not working, closes #1456
n-data-table
optimize the logic of underlying rendering and improve component performance.n-date-picker
'sshortcuts
prop supports functional value.n-tab-pane
'sdisplay-directive
props supports theshow:lazy
option, closes #1374.n-input
of text type supportscount
slots, closes #1440.
- Add idID locale.
- Fix
n-upload
's file can't be removed when file count limit is reached, closes #1401.
n-tabs
addson-before-leave
prop, closes #1337.n-color-picker
addsshow-preview
prop, closes #1281.n-tab-pane
'sdisplay-directive
prop supportshow:lazy
option, closes #1374.
- Fix
n-collapse
's expanded status is lost when usingv-if
withn-collapse-item
, closes #1387. - Fix
n-dialog
's close button will be overlayed with content, closes #1381. - Fix
n-upload
file is set tonull
after upload failure, closes #1316. - Fix
n-cascader
'sfilter
prop not working. - Fix
n-cascader
'slabel-field
prop breaks filter. - Fix
n-cascader
'sseparator
prop isn't appiled to filter select menu.
n-menu
addsdropdown-props
prop, closes #1345.n-input
addscount
slot, closes #1314.n-time-picker
addsuse-12-hours
prop, closes #547.n-input-number
addsfocus
&blur
methods.
- Fix
n-data-table
fixed style does not work in group header table, closes #1341. - Fix
n-data-table
has duplicate right border when it has multiple level headers. - Fix
n-scrollbar
doesn't supportscrollTo
, closes #1346. - Fix
n-ellipsis
'sexpand-trigger
prop not showpointer
cursor when content is short whentooltip = false
, closes #1299. - Fix
n-upload
'sdisabled
prop's style not working, closes #1237. n-config-provider
addsbreakpoints
prop, closes #1379.
n-auto-complete
addsget-show
prop, closes #1292.n-select
addsinput-props
prop, closes #1351.n-color-picker
addsswatches
prop, ref #1281.n-upload
addsmax
prop.
- Add jaJP locale.
- Fix
n-ellipsis
'sexpand-trigger
prop not showpointer
cursor when content is short, closes #1299. - Fix
n-select
'sfallback-option
prop's type, closes #1327. - Fix
n-modal
'son-after-enter
prop not working.
- Fix
n-menu
's incorrect warning ondefault-expanded-keys
. - Fix
useThemeVars
is sometimes unusable, closes #1309. - Fix the
list-style
style of the<ul>
element.
n-cascader
provide all options paths inupdate:value
callback function, closes #1235.n-layout
andn-layout-sider
addson-scroll
prop, closes #1232.n-config-provider
addspreflight-style-disabled
prop.
- Fix
n-form-item
's content is too long and the width is incorrect - Fix
n-layout-sider
'sarrow-circle
's icon style. - Fix
n-upload
'sshow-preview-button
prop not working, closes #1238. - Fix
n-date-picker
'sdate
type ofaction
validate error. - Fix
n-data-table
throws error when usingselection
andsummary
together, closes #1276. - Fix
n-data-table
selection column's width is collapsed when it is set to fixed, closes #1283. - Fix
n-popconfirm
can't be nested inn-tooltip
, closes #872. - Fix
n-popselect
checkmark overlays on option text, closes #1282. - Fix
n-pagination
buttonColor
theme variable not working.
n-breadcrumb-item
addshref
prop.n-descriptions
addsseparator
prop, closes #1263.n-dropdown
addskey-field
prop.n-dropdown
addslabel-field
prop.n-dropdown
addschildren-field
prop.n-menu
addskey-field
prop.n-menu
addslabel-field
prop.n-menu
addschildren-field
prop.n-data-table
supports using path of the property to get as column key, closes #1271.n-switch
addschecked-value
prop, closes #1234.n-switch
addsunchecked-value
prop, closes #1234.n-checkbox
addschecked-value
prop, closes #1234.n-checkbox
addsunchecked-value
prop, closes #1234.- Add
n-collapse-transition
component, closes #829. - Add
n-scrollbar
component. n-dropdown
support options withtype='render'
.n-data-table
supports multiple column sorting.n-date-picker
addsfirst-day-of-week
prop.n-date-picker
'stype
prop supportmonth
option.n-popover
addsto
prop.n-tree
'son-update:indeterminateKeys
prop adds option info.n-tree
'son-update:expandedKeys
prop adds option info.n-tree
'son-update:checkedKeys
prop adds option info.n-tree
'son-update:selectedKeys
prop adds option info.
- Fix
n-data-table
ellipsis not show when last column not set ellipsis, closes #934. - Fix
n-grid-item
won't work with responsive config. - Fix
n-tabs
's scroll shadow is not updated when it's resized, closes #1224.
n-grid-item
won't display whenspan
is 0, closes #1220.n-grid
addsitem-responsive
prop.
- Add ukUA locale.
- Fix
n-global-style
applies style transition on first mount. - Fix
n-drawer
border transition, closes #1211. - Fix
n-input-number
'svalue
prop can't benull
type. - Fix components with rtl support throws error in SSR.
- Fix components with popover throws error in SSR.
- Fix global theme overrides not working for
n-select
trigger, closes #1229.
n-checkbox
adds aria support.n-alert
aria support.
- Fix
DialogReactive
props are readonly. - Fix
n-tree-select
setscheck-strategy='child'
not working in single select mode. - Fix
n-upload
's trigger is compressed inimage-card
mode when it's the only item in the row. - Fix
n-upload-dragger
has no border transition. - Fix
n-upload
can't upload files. - Fix
n-tree
'scheckable
prop doesn't work whencascade
isfalse
. - Fix
n-tree-select
'scheckable
prop doesn't work whencascade
ormultiple
isfalse
.
n-layout-sider
'sarrow-circle
trigger is changed into new style.
n-layout-sider
addscollapsed-trigger-style
prop.n-menu
addsaccordion
prop , closes #917.n-input-number
addsreadonly
prop , closes #1198.n-spin
addsdescription
prop and slot.n-anchor
addstype
prop.n-upload
addsabstract
prop, addsn-upload-trigger
和n-upload-file-list
component, closes #1102.n-tree
addsindeterminate-keys
prop.n-tree-select
addsindeterminate-keys
prop.n-tree
addson-update:indeterminate-keys
prop.n-tree-select
addson-update:indeterminate-keys
prop.n-tabs
type
prop adds'segment'
option, closes #1133.n-popover
addsz-index
prop, closes #764.n-modal
addson-after-enter
prop.n-modal
addson-after-leave
prop.
- Fix
n-select
focus input when closing tag withfilterable
, closes #1170. - Fix
n-button
border on hover conflicts withn-badge
, closes #1195. - Fix
n-upload
propv-model:file-list
dosen't work well when propmultiple
istrue
, closes #418. - Fix
useThemeVars
doesn't apply theme overrides, closes #1194, #1176. - Fix
n-tabs
's left shadow isn't displayed in card type.
n-cascader
showEmpty
component whenoptions
prop is empty, closes #1092.n-cascader
'son-update:value
prop adds option info.n-tree
addscheck-strategy
prop.n-date-picker
addsinput-readonly
prop, closes #1120.n-time-picker
addsinput-readonly
prop, closes #1120.n-config-provider
adds global config of theEmpty
component, closes #1092.n-select
addson-update:show
prop.n-auto-complete
exportsAutoCompleteOption
andAutoCompleteGroupOption
types.n-page-header
addsRTL
support.n-select
support variadic height option rendering.n-tree-select
'son-update:value
prop adds option info.n-select
'son-update:value
prop adds option info.n-popselect
'son-update:value
prop adds option info.n-card
addsembedded
prop.
- Fix
n-p
warns whendepth
is number. - Fix
n-date-picker
‘s type ofactions
prop. - Fix
n-select
can't overriden-empty
's theme variables. - Fix
n-dynamic-tags
adds button is not disabled when it is disabled. - Fix
n-select
closes menu when enter key is pressed in filterable mode without options data. - Fix
n-auto-complete
'schildren
prop can't useAutoCompleteOption
type. - Fix
n-gi
'scollapsed
does not work inn-form-item-gi
, closes #1160.
useDialog
option addsstyle
prop, closes #1054.n-timeline
addsicon
slot, closes #1096.n-timeline
addsicon-size
prop.
- Fix
n-step
doesn't work withv-for
children. - Fix
n-input-number
cannot enter decimals whenstep
is not a decimal.
n-form
&n-form-item
splitshow-require-mark
intoshow-require-mark
andrequire-mark-placement
.
n-drawer
addson-mask-click
prop.n-for
addsrequire-mark-placement
prop, closes #1055.n-form-item
addsrequire-mark-placement
prop, closes #1055.
- Fix
n-step
must be passed withinternal-index
. - Fix
n-radio-group
'son-update:value
andon-update-value
can't be array. - Fix
n-cascader
check-strategy="child"
doesn't behaves the same as previousleaf-only
.
- Fix
n-tree-select
shows key not label whenshow-path=true
, closes #1095.
- Fix
n-cascader
menu not showing correct checked keys.
n-tree-select
'sleaf-only
prop is deprecated, please usecheck-strategy="child"
instead.n-cascader
'sleaf-only
prop is deprecated, please usecheck-strategy="child"
instead.n-input
'sshow-password-toggle
is deprecated, please useshow-password-on="click"
instead.
- Fix
n-cascader
click tag to delete the sub option in multi selection mode, and the tree option is not updated. - Fix
n-input
chinese input method not correct while mouse leave the input inclearable
is true, closes #905. - Fix
n-description
's warning caused byv-if
that should not appear, closes #1083. - Fix
n-layout
'ssider-placement
doesn't work after build, closes #978. - Fix
n-input-number
'sstep
calculate error when the value is decimal, closes #1007. - Fix
n-popselect
' s default placement and padding. - Fix
n-calendar
's text color of disabled date.
n-cascader
addsonUpdateValue
prop.n-auto-complete
addsonUpdateValue
prop.n-data-table
's column'srenderFilterMenu
addshide
param.n-tree
addskey-field
prop.n-tree
addslabel-field
prop.n-tree
addschildren-field
prop.n-tree-select
addskey-field
prop.n-tree-select
addslabel-field
prop.n-tree-select
addschildren-field
prop.n-cascader
addskey-field
prop.n-cascader
addslabel-field
prop.n-cascader
addschildren-field
prop.n-dropdown
option addsprops
prop, closes #813.n-data-table
supports multi-selection by holding downshift
, closes #554.n-tree-select
addscheck-strategy
prop, closes #624.n-cascader
addscheck-strategy
prop.n-message
option addskeepAliveOnHover
, closes #1036.n-message-provider
addskeep-alive-on-hover
prop, closes #1036.n-upload
exportUploadFile
type.n-cascader
exportCascaderOption
type.n-mention
exportMentionOption
type.n-transfer
exportTransferOption
type.n-pagination
exportPaginationInfo
type.n-data-table
exportDataTableCreateSummary
type.n-code
addsinline
prop, closes #834n-collapse
addsheader-extra
slot, closes #1046.n-input
addsshow-password-on
prop.n-upload
addslist-type
,show-preview-button
,on-preview
andcreate-thumbnail-url
prop.
n-mention
addsfocus
andblur
methods.
- Fix
n-mention
's menu is too far from text in input mode. - Fix
n-tree
node can not expanded.
n-timeline
addshorizontal
prop, closes #887.n-image
addspreview-src
prop, closes #922n-dynamic-tags
addsinput
andadd
slot, closes #499.n-timeline-item
addscolor
prop.
- Fix
n-image
not initializingrotate
after switching images, closes #921. - Fix
n-data-table
's loading is not centered, closes #929. - Fix
n-tree
throws an exception when onLoad callback does not adds children, closes #772. - Fix
n-input
will show placeholder and 0 simultaneously while passingvalue=ref(0)
in n-input, closes #914. - Fix
n-data-table
flex-height
not working withoutscroll-x
, closes #952.
n-input-number
addsclearable
prop.n-form
addsshow-label
prop, closes #858.
- Fix
n-notification
's exportedNotificationReactive
type is not writable, closes #876. - Fix
n-tabs
style glitches when different types tabs are nested, closes #850. - Fix
n-dropdown
's inner link click trigger area is not the entire option, closes #823. - Fix
n-popover
arrow's misplacement when placed in nested popovers with different placement, closes #916. - Fix
n-ellpisis
doesn't work after content is updated, closes #776.
- Fix ruRU locale exports.
- Add ruRU locale #852.
n-message-provider
addscontainer-style
prop.n-message-provider
addsplacement
prop.n-message
adds class to distinguish type.n-date-picker
addsshortcuts
props, closes #280.
- Fix
n-rate
half star overlays star background in dark mode. - Fix
n-menu
renders unexpectly whenrender-icon
returnstrue
. - Fix
n-space
render empty placeholder while usev-if
, closes #824.
n-message-provider
addsclosable
prop, closes #795.n-tree-select
addsshow-path
prop, closes#625.n-layout
addssider-placement
prop, closes #566.
- Fix
n-avatar
's scale value is incorrect while use v-show, closes #779. - Fix
n-menu
show a blue background when click the menu on mobile phone, closes #799. - Fix
n-select
filterable select breaks, closes #510. - Fix
n-data-table
When selectAll is selected, the state display of selectAll should not contain disabled rows, closes #778. - Fix
n-color-picker
'son-complete
callback's argumentvalue
is incorrect, closes #748.
n-loading-bar-provider
addsloading-bar-style
props, closes #457.n-button
addstext-color
prop.n-form
exportFormValidationError
type.n-popconfirm
support not show action components, closes #770.
- Fix
n-slider
loss floating point decimal precision, closes #751. - Fix
n-data-table
onUpdatePage
andonUpdatePageSize
not triggered while using jsx. - Fix
n-progress
'spercentage
prop default value doesn't work with different types. - Fix
n-select
hide close icon when option is disabled. - Fix
n-modal
can't be closed when using custom content, closes #788.
useLoadingBar
'sfinish
method won't work if nostart
is called.n-input
'stype='input'
is renamed totype='text'
.
n-scrollbar
addsscrollbarWidth
,scrollbarHeight
andscrollbarBorderRadius
common theme variables, closes #649.n-menu
doesn't should icon placeholder whenrender-icon
returns falsy value, closes #722.n-menu
addsrender-extra
prop.n-select
addson-clear
prop.n-form
addsdisabled
prop, closes #538.n-dynamic-tags
addsmax
prop.
- Fix
n-dropdown
click exception when using v-for. - Fix
n-modal
cannot customize classes when use preset, closes #744. - Fix
n-cascader
menu width shifts in virtual scroll mode, closes #728.
- Fix
n-data-table
pagination's error.
n-pagination
addsprev
andnext
slots, ref #648.n-tag
addscolor
prop, closes #693.n-dynamic-tags
addscolor
, closes #693.n-time-picker
optimization the now button logic, closes #401.n-pagination
PaginationInfo
addsitemCount
prop, closes #585.n-select
addson-clear
prop.
- Fix
n-message
'sdestroyAll
method doesn't work. - Fix
n-timeline
's header slot is invalid when using alone. - Fix
n-select
incorrect style when props hasdisabled
andfilterable
, closes #698. - Fix
n-upload
operation buttons displayed when hasfile-list
&disabled
props, closes #668.
n-message
addsdestroyAll
method.n-input-number
addsprefix
,suffix
slots, closes #609.
- Fix
n-message
options'duration
prop doesn't work.
n-menu
addsexpand-icon
prop, closes #414.n-descriptions
,n-descriptions-item
addslabel-style
andcontent-style
props, closes #536.
- Fix
n-data-table
the style penetration of then-spin
, closes #663.
n-dropdown
addsshow-arrow
prop, closes #647.n-time-picker
addsactions
prop, closes #401.n-mention
addsrender-label
prop.n-switch
addschecked
,unchecked
slots.n-switch
addsloading
prop, closes #301.n-select
pressing arrow down can open menu, ref #300.n-tree-select
pressing arrow down can open menu, ref #300.n-cascader
pressing arrow down can open menu, ref #300.n-popover
'strigger
prop support'focus'
, closes #477.n-message-provider
addsduration
andmax
props.n-data-table
addsflex-height
prop, closes #596.
- Fix
n-carousel
arrow buttons cannot be displayed in a specific browser, closes #625. - Fix
n-layout-sider
'swidth
prop can't be string, closes #607. - Fix
n-slider
propdisabled
doesn't work, closes #641. - Fix
n-input
show clear button when readonly. - Fix
n-data-table
doesn't show scrollbar when table-layout is auto, closes #518. - Fix
n-data-table
's header checkbox always displays checked when data is empty. - Fix
n-data-table
header and body's scrollings are not sync.
n-menu
addsrender-icon
prop.n-upload
addsshow-file-list
prop.n-dropdown
addsrender-icon
prop.n-checkbox-group
addsmin
andmax
prop.n-mention
addsempty
slot.useDialog
option addson-mask-click
prop, closes #419.n-space
justify
prop supportscenter
,space-around
andspace-between
.n-date-picker
addsclose-on-select
prop, closes #541.n-dialog
addsaction
prop, closes #550.n-mention
’soption.label
support render function.n-color-picker
addsactions
prop, closes #319.
- Fix
n-space
's innerdisplay: grid
element breaks item height, closeshttps://github.com/tusen-ai/naive-ui/issues/546
. - Fix
n-dropdown
'srender-label
prop is invalid for group type option. - Fix
n-datatable
'sscroll-x
prop is setted, the table content width is not full of the container width, closes #518. - Fix
n-descriptions
doesn't work withv-for
children. - Fix
n-dialog
display an empty button whenpositive-text
is not set, closes #549. - Fix
n-pagination
PaginationInfo
'sendIndex
data error, closes #584. - Fix
n-data-table
rowClassName
doesn't work when type is string, closes #582.
n-tree
addsrender-label
,render-prefix
andrender-suffix
props.n-rate
addsallow-half
prop.n-carousel
addsshow-arrow
prop.n-slider
addsformat-tooltip
prop.n-upload
addsevent
inon-finish
callback params.n-rate
addsreadonly
prop.n-time-picker
addsseconds
,minutes
,hours
props.n-notification
exportNotificationApi
,NotificationOptions
andNotificationReactive
type.n-avatar
addson-error
prop, closes #394.n-image
addson-error
prop, closes #394.n-image
addsobject-fit
prop, closes #394.n-avatar
addsobject-fit
prop, closes #394.n-menu
expands all the ascendant of selected item by default, closes #481.
- Fix
n-calendar
'sdefault-value
prop cannot be used. - Fix
n-pagination
page count is not correct whenitem-count
is 0. - Fix
n-scrollbar
content-style
can not override the default width of style. - Fix
n-select
placeholder transition. - Fix
n-loading-bar
useLoadingBar
's return type can be undefined. - Fix
n-tag
'stype
prop addsprimary
type. - Fix
n-dynamic-tags
'stype
prop addsprimary
type.
n-steps
adds icon customization in'finish'
and'error'
status.n-tree
exportsTreeDragInfo
&TreeDropInfo
type.n-empty
exporticon
slot.useDialog
option addsmaskClosable
prop, closes #420.
- Fix
n-data-table
fixed column box-shadow doesn't update when there is only on side fixed. - Fix
n-data-table
fixed column box-shadow doesn't update whenprops.scrollX
is not set but each column's width is set. - Fix
n-result
image doesn't show on Safari and mobile phone. - Fix
n-drawer-content
'sheader-style
style not applied to header. - Fix
n-dialog
instance throws error when callingdestroy
. - Fix
n-image-group
initialize zoom scale when switching a picture #423. - Fix
n-select
bug in using custom label, closes #352. - Fix
n-carousel
whenautoplay
dot active status isn't displayed correctly, closes #434. - Fix
n-input
fixed clearable position, closes #428. - Fix
n-image
doesn't accept attributes. - Fix
n-image
set border-radius not working, closes #427. - Fix
n-tab-pane
throws error when there's no children. - Fix
n-select
clear button is too big inn-spin
, closes #454. - Fix
n-select
options are not updated properly, closes #441.
n-loading-bar
exportLoadingBarApi
type.n-image
addsimg-props
prop.- Add native
title
attributes to some components to enhance the experience. n-tree
addsprefix
andsuffix
in TreeOption.n-carousel
addsdot-placement
prop.n-auto-complete
addsloading
prop, closes #241.n-slider
addstooltip
prop, closes #362.n-input
addsloading
prop.
- Fix
n-upload
multiple=false
doesn't work for drag & drop, closes #363. - Fix
n-dropdown
's inner<a />
's style. - Fix
n-menu
tooltip's inner<a />
's style, closes #338. - Fix
n-carousel
doesn't work withv-for
children. - Fix
n-form
label-align
prop not working, closes #213 - Fix
n-data-table
fixed column shadow doesn't work whenmax-height
is set, closes #376.
n-carousel
addstrigger
prop.n-menu
addsdropdown-placement
prop.n-upload
addsbefore-upload
prop.n-image
addsalt
prop.- Support the enter key on the numeric keypad.
n-spin
supporticon
slot for icon customizing, closes#260.n-spin
addsrotate
prop fro slot icon to rotate.n-form
exportFormItemRule
&FormRules
type.n-select
addsrender-tag
prop.
- Fix
n-log
warn on highlight.js when no language is set, closes #327. - Remove
n-calendar
's uselessconsole.log
. - Fix loading-bar disappears unexpectl, closes #343.
- Fix
n-select
doesn't scroll to selected item when menu is opened, closes #346. - Fix
n-tab-pane
throws error when using v-if. - Fix
n-modal
still closes whenon-negative-click
returnsfalse
. - Fix
n-collapse
defaultExpandedNames
does not work in accordion mode, closes #350. - Fix
n-tag
lackson-update-checked
prop. - Fix
n-menu
render-label
not working for dropdown in collapsed mode.
- Fix no
web-types.json
.
n-select
'sSelectOption
'srender
no longer render label but the entire option.
n-carousel
supports touch operation, closes #271.n-input
addsinput-props
prop.n-message
optimize the error message ofuseMessage
when there is non-message-provider
, adds the related document link.- Add
web-types.json
for webstorm, however I recommend using VSCode and Volar.web-types.json
only provides limited information for coding. n-tree-select
addsleaf-only
prop.n-tree
addsleaf-only
prop.n-select
'sSelectOption
'slabel
supports render function.n-select
addsrender-option
prop.n-select
exportSelectOption
&SelectGroupOption
type.n-popover
addsheader
slot.n-dropdown
addsrender-label
prop.
- Fix
n-date-picker
n-provider
passdate-locale
not work, closes #250. - Fix
n-input
clear button placeholder prevent clicking on actual component #288 - Fix
n-carousel
click the at current item button, the component behaves abnormally. - Fix
n-menu
render-label
not working for tooltip in collapsed mode. - Fix
n-dropdown
can't rendern-popover
in option.
n-element
removesabstract
prop.n-element
doesn't return theme variables in default slot. Please useuseThemeVars
instead.
- Add
n-carousel
component. - Add
useThemeVars
composable to provide theme variables. n-upload
addson-update:file-list
prop, closes #135.n-date-picker
addsupdate-value-on-close
prop.
- Fix
n-select
can't input in filterable mode in single mode in iOS Safari, closes #230 - Fix
n-input-number
lackson-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. - Fix
n-data-table
expand trigger's cursor is not pointer, closes #261.
n-input-number
will focus directly, closes #244.
n-dropdown
addson-clickoutside
prop, closes #123.n-menu
addsrender-label
prop, closes #84n-tree
supports keyboard operations.- Add
n-tree-select
component.
- Fix
n-tree
drag over leaf node causes error, closes #200. - Fix
n-tree
misseson-update-expanded-keys
,on-update-selected-keys
,on-update-checked-keys
prop. - Fix
n-tree
'sselected-keys
prop influences original array. - Fix
n-select
's input has useless empty row in multiple filterable mode. - Fix
n-button
's loading icon doesn't show on iOS Safari, closes #219. - Fix
n-date-picker
doesn't show icon when clearable. - Fix
n-time-picker
icon mis-aligned when clearable, closes #222.
- Fix
n-form-item
always show require mark.
n-form
,n-form-item
enhanceshow-require-mark
prop, closes #171n-dropdown
support class attr, closes #180.n-input
addsshow-password-toggle
prop.n-popselect
support class attr.n-select
addsrender-label
prop.n-popselect
addsrender-label
prop.
- Fix
n-input
baseline shifts when mix Chinese and English characters in input, closes #174. - Fix
n-icon
use setup script,$parent
is an empty object by default, and access$parent.$options
will beundefined
. - Fix
n-notification
position not correct. - Fix
n-message
content & option type not correct.
n-a
'sto
prop is removed. Now if you want to usen-a
like a router link, you can follow the doc site.
n-tree
supportdisabled
&checkboxDisabled
on option.n-input-number
support keyboard events ArrowUp and ArrowDown operations.
- Fix
n-cascader
text blur in win10 Chrome. - Fix
n-tree
click on indent won't trigger select in block line mode.
n-drawer-content
addsclosable
prop, closes #139.n-element
passthemeVars
to default slot.n-element
addsabstract
prop.
- Fix
n-radio-group
doesn't trigger form item validation. - Fix
n-auto-complete
customizing input not working.
n-tag
addsRTL
support
- Move
vue
&vue-router
to peer dependencies to avoid redundant bundle.
n-space
supports wai-aria.n-button-group
supports wai-aria.n-progress
supports wai-aria.n-menu
supports use<a />
and<router-link />
as label, closes #84.n-input-number
addsshow-button
prop.n-rate
supportdefault
slot for icon customizing.n-rate
adds color prop.n-rate
adds size prop.
- Fix
n-card
'sheader-style
it not applied to header. #103 - Fix
n-dialog
missesdestroyAll
method. - Fix
n-data-table
misseson-update-sorter
,on-update-filters
,on-update-page
andon-update-page-size
props.
n-data-table
exportsDataTableCreateRowClassName
,DataTableCreateRowKey
andDataTableCreateRowProps
type.
- Fix
n-calendar
'son-update:value
prop type. - Fix
n-form-item
's style attributegrid-template-columns
influence on the layout of child elements. #93 - Fix
n-data-table
's prop types ofrowKey
,rowClassName
,rowProps
,summary
aren't compatible with expected value.
- Fix
n-slider
doesn't prevent scrolling when touchstart. - Fix
n-color-picker
's default value doesn't follow modes. - Fix not
lodash
&lodash-es
type.
n-spin
'ssize
prop support number.n-date-picker
addsfooter
slot.
- Fix
n-slider
doesn't support touch events - Fix
n-button
causes crash when it's imported in script inside head tag. #68 - Fix
n-spin
animation shifts. - Fix
n-menu
lackon-update-value
andon-update-expanded-keys
props. - Fix
n-popconfirm
icon slot not working. - Fix
n-tabs
logs useless info. - Fix
n-color-picker
setmodes
not working. #77
n-dropdown
addsdisabled
propn-card
adds:target
style
- Fix
n-popover
sometimes won't sync position in manual mode. - Fix
n-transfer
's empty icon is no toggling transition. - Fix
n-message
API option is not optional. - Fix
n-calendar
date calculate incorrectly. - Fix
n-input
misses thepassword
type declaration. - Fix
n-menu
the type definition ofextra
property of menu and submenu. - Fix
n-dropdown
mouse cursor is not pointer.
n-button
supports wai-aria.n-card
supports wai-aria.n-switch
supports wai-aria.n-menu
supports basic wai-aria.n-divider
supports basic wai-aria.n-data-table
addsrow-props
prop.n-date-picker
addsranges
prop.
- Fix
n-tab-pane
display-directive
not working. - Fix
n-drawer
animation. - Fix
n-scrollbar
's track may be overlayed in chrome windows.
- Fix
n-collapse
default-expanded-names
not working.
- Fix
n-dropdown
default placement is notbottom
. - Fix
n-date-picker
's input theme is not set indate
&datetime
type. - Fix
n-config-provider
doesn't merge inherited theme.
n-collapse
addsarrow
slot
Update package.json & README.md.
n-affix
'slisten-to
prop isdocument
by default (first scrollable parent before).
n-affix
'slisten-to
prop supportWindow | Document | HTMLElement
.n-anchor
addsoffset-target
prop.n-select
addsvirtual-scroll
prop.n-select
addsconsistent-menu-width
prop.n-date-picker
update value after confirm is clicked.
- Fix
n-date-picker
doesn't disable start date correctly when value is empty. - Fix
n-input-number
not restore valid value after blur. - Fix
n-date-picker
display selected date when value is null in date mode.
n-affix
'soffset-top
prop is deprecated, please usetrigger-top
instead.n-affix
'soffset-bottom
prop is deprecated, please usetrigger-bottom
instead.n-anchor
'slisten-to
prop is removed.
n-popover
'splacement
prop default value is set to'top'
.
n-tabs
addson-close
prop.n-tabs
addson-add
prop.n-tabs
addstab
slot.n-tab-pane
'stab
prop support render function & VNode.n-tabs
'stype
prop support'line'
option.n-tabs
adds box shadow to indicate scroll status.n-tabs
addspane-style
prop
- Fix
n-layout
'sscrollTo
not working when using native scrollbar.
n-tab-pane
'slabel
prop is deprecated. Please usetab
prop instead.
n-layout-sider
removedshow-content
prop. Please useshow-collapsed-content
instead.
n-data-table
support tree data.n-data-table
addscascade
prop.n-data-table
addschildren-key
prop.n-data-table
addsindent
prop.n-button
addstag
prop.n-data-table
addstable-layout
prop.n-tree
addsblock-line
prop.n-tree
support drag & drop.n-menu
addsinverted
prop.n-dropdown
addsinverted
prop.n-tabs
addsaddable
prop.n-tabs
addstab-style
prop.n-tabs
addstabs-padding
prop.n-tabs
addsdefault-value
prop.n-layout-sider
&n-layout-footer
&n-layout-header
addsinverted
prop.n-data-table
'smax-height
&min-height
prop accept CSS value.n-layout
&n-layout-content
addsembedded
prop.
n-layout
&n-layout-sider
'sscrollTo
not working with native scrollbar.n-layout-sider
'scollapse-mode
not working.- Internal selection component's theme peers has wrong key for popover.
- Optimize
n-data-table
init render count. - Optimize
n-select
open duration after first opening. - Optimize
n-anchor
scroll performance.
n-tree
addsvirtual-scroll
prop.n-data-table
addsvirtual-scroll
prop.n-cascader
addsvirtual-scroll
prop.n-pagination
addsitem-count
prop.n-pagination
addsprefix
prop.n-pagination
addsprefix
slot.n-pagination
addssuffix
prop.n-pagination
addssuffix
slot.n-input
addsshow-count
prop.
- Fix
n-layout-sider
doesn't show menu after collapsed. - Fix
n-input-number
doesn't reset to origin value when blur with invalid value. - Fix
n-pagination
doesn't update page in uncontrolled mode.
n-form-item
works withoutn-form
.
- Fix
n-checkbox
check mark not displayed. - Fix
n-date-picker
icon transition style in trigger. - Fix
n-p
,n-ol
,n-ul
margin bottom is not 0 when they are last child. - Fix
n-checkbox-group
not working in uncontrolled mode. - Fix
n-data-table
clear check all in table now working.
n-data-table
highlight sorted col.n-data-table
col addsrender-filter
prop.n-data-table
col addsrender-filter-icon
prop.
n-data-table
fixed column box-shadow more clear in dark theme.- Fix
n-color-picker
value has line wrap. - Fix
n-form
FormRuleItem.trigger types.
n-data-table
addssummary
prop.n-data-table
addsoptions
on'type=selection'
column.
- Fix
n-layout
overflow on horizontal direction.
n-checkbox
addsfocusable
prop.n-cascader
addsaction
slot.
- Fix
n-cascader
loading triggered when click checkbox. - Fix
n-cascader
menu mask style.
n-drawer
doesn't have padding by default.n-drawer-content
is provided to fill the drawer.
n-drawer
addscontent-style
prop.n-layout
addscontent-style
prop.n-layout-sider
addscontent-style
prop.
n-config-provider
Addcls-prefix
prop.
- Fix
n-popover
may influence other popover when static props is hoisted.
n-color-picker
addsshow-alpha
prop.
- Fix
n-select
defaultfallback-option
breaks the component.
- Add
n-skeleton
component. - Add
n-calendar
component. - Add
n-color-picker
component. n-date-picker
locale addsfirstDayOfWeek
.n-select
addsshowArrow
prop.
- Fix
n-date-picker
trigger has no focus style in focus is in panel. - Fix
n-button
loading's fade-in transtion drifts. - Fix
n-time-picker
close animation drifts inn-date-picker
. - Fix detached components in popover should stay in popover.
- Add
n-form-item-gi
component.
- Fix
n-ellipsis
&n-data-table
ellpisis cell mis-vertical-aligned. - Fix
n-select
filterable doesn't work with composite events.
- Fix
n-select
caret color in single filter mode. - Fix
n-select
menu action part can't be focused.
- Add
n-image
component. - Add
n-global-style
component. - Add
n-theme-editor
component. - Add
n-page-header
component. n-statistic
addslabel
slot.n-breadcrumb-item
addsseparator
slot & prop.n-button
addsbordered
prop.n-card
addsfooter-style
prop.
- Refactor
n-statistic
's style n-menu
addsoptions
prop to replaceitems
prop,items
prop is deprecated.
- Fix
n-anchor
ignore-gap
not working - Fix
n-collapse
content is truncated byoverflow: hidden
. - Fix
n-select
tag text overflow. - Fix
n-popover
doesn't hide as expected in mobile phone.
- Fix
n-layout-sider
horizontal content overflows.
- Collapsing won't work for
n-layout-sider
withposition="absolute"
. - For
n-layout
containsn-layout-sider
as a direct childhas-sider
must be set.
- Add
n-mention
component. n-data-table
supports expanding rows.
- Fix
n-input
focused background color not correct in warning & error status in dark theme. - Fix
n-input
caret color not correct in warning & error status. - Fix
n-select
's namespace not correct. - Fix
n-cascader
's namespace not correct. - Fix
n-input
in textarea mode can't select text. - Fix
n-input
in textarea mode has no box-shadow. - Fix
n-input
in textarea modeautosize
line not correct due to inconsistant font family. - Fix
n-input
in textarea modeautosize
rows not changed if props.value is changed from outside.
- Change
n-empty
's icon and make it size larger
- Fix
n-data-table
has no right border of non-last td. - Fix
n-data-table
header has no enough width when table width is more thanscroll-x
n-data-table
's column addscolSpan
androwSpan
prop.n-data-table
's column addstitleColSpan
prop.
- Fix
n-dropdown
withx
andy
set logs errors when mouse move outside it.
- Fix
n-select
selection overflow counter wrong popover trigger area
n-popover
defaultduration
is set to100
.n-popover
defaultdelay
is set to100
.n-tooltip
defaultshowArrow
is set totrue
.
n-config-provider
proptheme-overrides
support inheritance.n-card
addshoverable
prop.n-select
addsmax-tag-count
prop.n-cascader
addsmax-tag-count
prop.n-popover
addsget-disabled
prop.- adds
n-ellipsis
component. n-popover
'swidth
prop adds'trigger'
option.n-data-table
's columns'sellipsis
prop can be set as props ofn-ellipsis
. x
- Fix
n-cascader
menu appears after click clear button. - Fix
n-card
's action not placed at bottom after style height is set. - Fix
n-popover
'sduration
anddelay
prop works unexpectly.
n-layout-sider
addsdefault-collapsed
prop.n-modal
support custom position.
- Fix
n-menu
tooltip ofn-menu-item
won't show when vertical collapsed. - Fix
n-menu
collapsed-icon-size
not working. - Fix
n-menu
callback props validate array with error. - Fix
n-layout-sider
toggle button is covered.
See vue3.md
- Fix the problem that
n-auto-complete
's menu can't be closed when usetextarea
as input. - Fix the problem that nested
n-icon
is not flattened. - Fix the problem that
n-date-picker
has no year in panel when type isdate
anddatetime
.
n-button
addsdashed
props- Add
n-space
component. - Make
n-drawer
content scrollable.
- Add zhCN for
n-log
- Fix all typos of
separator
. (Originally it wasseperator
.)
- Fix the problem that when theme is not set, style errors will be logged.
- Fix the text color of
n-select
's placeholder whensingle
filterable
.
- Fix the problem that Message, Notification, Confirm doesn't follow theme change.
- Fix the problem that
n-select
display with mistakes whenplaceholder
is empty.
- Fix the problem that
n-radio
can not be focused. - Fix the problem that
n-data-table
'smax-height
style is broken. https://bugs.chromium.org/p/chromium/issues/detail?id=1107223
- Refactor
n-tag
styles.
- Add
disabled
forn-time-picker
.
- Fix the child elements of
n-radio
cannot focus.
- Refactor experimental setting primary color feature.
- Fix some style glitches.
- Add
autofocus
forn-select
.
n-menu
doesn't support slot API anymore.
- Add experimental setting primary color feature.
- Add
attr-type
forn-button
- Fix the problem that if
n-input
is too width, its inner input elements' width won't expand. - Fix style glitches of border of a
n-input-number
inside an-input-group
.
- Fix the problem that
n-a
'sto
prop can't be a object.
- Add
$NOs.theme
to get the current theme of the OS.
- Fix the problem that
n-log
's loading indicator uses monospace font. - Fix the problem that icon-related class name isn't applied properly.
- Fix the problem that checkbox in the selection column of
n-data-table
is not center aligned. - Fix the problem that header of
n-data-table
has no border-color transition. - Fix the problem that
show-icon
&closable
&bordered
props of$NConfirm
don't work.
- Add and adjust some colors in the style scheme of
n-config-consumer
.
- Default UI CSS bundle won't include external font files. If you need using it you should import it explicitly.
- Add
themed-style
prop onn-layout
.
- Fix the problem that round toggle button won't rotate
n-layout-sider
when collapsed status is changed. - Fix the problem that
n-form-item
's feedback has no leave animation if it is set at first. - Fix the problem that max-height related styles of
n-data-table
are applied all the time. - Fix some style glitches.
- Refactor some components' styles in the light theme.
- Fix the problem that
n-slider
tooltip has no z-index.
- Add
feedback
andvalidation-status
props forn-form-item
.
- Add
display-directive
prop forn-collapse
andn-collapse-item
. - Add
class
andstyle
prop forn-select
'soption
. - Add
debug
prop forn-select
.
- Fix the problem that
n-select
can still be cleared when disabled.
- Fix the problem that the input value of
n-select
may be modified directly.
- An UI instance can be install to a Vue instance for no more than once.
- Update css-render dependencies.
- Fix the problem that
n-transfer
's animation disorder when value changes.
- Add content slot for
n-step
. - Add
label
prop forn-checkbox
.
- All placeable components register listeners on demand.
- Use cache when finding scrollable parent node.
- Imporve performance of
n-button
's beforeDestroy. - Reduce the useless re-rendering of
n-checkbox
when checked status isn't changed. - Imporve performance of text typed
n-avatar
.
- Update css-render dependencies.
- Color of default typed button icon.
- Reduce useless re-renders of
n-menu-item
. - Reduce useless re-renders of doc page.
- Refactor the codes of
n-nimbus-service-layout
for performance reason, may be there will be some bugs.
n-button
now accepts custom color.
- Replace all $slots by $scopedSlots for better robustness.
- Move some static button styles inside button component to create dynamically.
- Fix the problem that
line
typedn-tabs
's line position stays still whenactiveName
changes. - Fix the problem that
n-tabs
scroll button is not triggered when tabs' width changes. - Fix the problem that height change of
n-tabs
will unexpectly trigger some re-render callbacks.
- Fix the problem that label slot of the
n-form-item-col
&n-form-item-row
cannot display.
- Fix the problem that some CSS length props are badly formated.
- Add
fallback-option
prop forn-select
to deal with the value with no corresponding option.
- Fix the problem that
max-height
andmin-height
are ill displayed onn-data-table
.
n-data-table
'smax-height
andmin-height
will be applied to the entire table part, not only body.n-select
will display value with no corrensponding option.
- Add
arrow-placement
prop onn-collapse
. - Add
arrow
slot onn-collapse-item
.
- Fix the problem that detachable components detached in wrong place when nested like
modal > drawer > component
.
- Add
autofocus
prop onn-input
. - Add
closable
option onNMessage
.
- Fix the problem that the default value of
n-tag
closable
is set totrue
. - Fix the problem that
n-data-table
can't use allpagination
's props. - Fix the problem that
n-pagination
'son-page-size-change
prop doesn't work.
- Add
n-dynamic-tags
. - Add
tableHeaderOverlayBackgroundColor
&inputOverlayBackgroundColor
tostyleScheme
- Add
filter-option-value
prop forn-data-table
'scolumn
to better deal with single filter mode.
- Fix the problem that
n-collpase-item
don't supportnumber
typedname
.
- Fix the problem that all the
console
statements are striped in the bundle.
- Change the data type of
n-data-table
's filters from Array to Object.
n-data-table
cannot be filtered correctly when there are multiple filtered columns.
- Filter menu in
n-data-table
is scrollable when there are too many items.
$NMessage
,$NNotification
,$NConfirm
's theme will be applied on their children components.
- View measuring element will confict when multiple naive-ui exist.
validate
method ofn-form-item
won't be resolved for some validator.$NConfirm
's theme doesn't follown-config-provider
's theme.
n-transfer
's options are not reinitialized after value changes.n-nimbus-service-layout
(deprecated) doesn't deal with the compatibility of Vue Router(under 3.1)'spush
method.
- Add
'bar'
&'arrow-circle'
onshow-trigger
prop ofn-layout-sider
.
- Rails of
n-scrollbar
shadow mouse event.
n-date-table
addsempty
slot. #86