- Wrap a
DIVcontainer around the columns ofn-data-tableto optimize the layout of filter button, closes #3853.
n-avatarexportsAvatarOptiontype, closes #3879.n-transferaddsshow-selectedprop, closes #3711.n-data-tableaddsloadingslot, closes #3865.n-mentionaddson-update:showprop, closes #3882.n-treeadds trigger node information foron-update:expanded-keys,on-update:checked-keysandon-update:selected-keysprops, closes #3885.n-tree-selectadds trigger node information foron-update:expanded-keysandon-update:valueprops, closes #3885.n-treeaddsgetCheckedKeysmethod.n-treeaddsgetIndeterminateKeysmethod.n-tree-selectaddsgetCheckedKeysmethod.n-tree-selectaddsgetIndeterminateKeysmethod.n-tree-selectaddsfocusmethod.n-tree-selectaddsblurmethod.n-cascaderaddsgetCheckedKeysmethod.n-cascaderaddsgetIndeterminateKeysmethod.n-inputaddscount-graphemesprop, closes #3967.n-cascaderaddsnot-foundslot, closes #3862.n-avataraddsimg-propsprop, closes #3963.n-data-tableaddsspin-propsprop, closes #3649.n-buttonaddsrender-iconprop, closes #4007.- Add
n-equationcomponent. n-imageaddspreviewed-img-propsprop.n-data-tableaddsscrollbar-propsprop, closes #4021.n-uploadaddsshould-use-thumbnail-urlprop, closes #3861.n-uploadaddsrender-iconprop.n-tree'srender-switcher-iconprop is passed withexpanded&selectedstate.
- Fix
n-imageto preview the image, press and drag the left mouse click,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-selectshows wrong value in select box aftervalue-fieldis set andmax-tag-count="responsive"and remove selected option in overflow tag's popover, closes #3869. - Fix
n-ellipsiswon't overflow inn-card's title, closes #3935. - Fix
n-timeline-item'sline-type="dashed"not working whenn-timeline'shorizontalis set, closes #4014. - Fix
n-popoverdoesn't wrap line if word is too long. - Fix
n-date-pickercan't delete all input content in some cases, closes #3922. - Fix
n-input'sautosizeprop doesn't work properly if there are multiple spaces, closes #4027.
- Add arDZ locale.
- Add trTR locale.
- Fix
n-data-tablethrows error on tree data check action, closes #3832.
- Fix
n-timeline-item'stitle'smargin-bottomcan't be set by theme variable, closes #3722. - Fix
n-timeline-item'smetapart'smargin-bottomis overrided when nested in horizontal and vertical mode. - Fix
n-tree-selectwould remove selected first option if it's clicked when placed inlabeltag, closes #3715. - Fix
n-popoverwill show afterdisabledis set totruethenfalseif 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-uploadmay only allow selecting directory in Firefox, closes #3798. - Remove
package.json'sexportsfield due to its poor compatibility, closes #3786. - Fix
createDiscreteApithrows error in SSR environment, closes #3813. - Fix
n-tree-selecthas wrong focus behavior whenfilterableand in single select mode. - Fix
n-input-numbermay not update input when value is set inon-blurcallback.
n-collapse-item'sheader-extra&headerslots supportcollapsedparam, closes #3723.n-loading-bar-provideraddstoprop, closes #3724.n-data-table'son-update:checked-row-keyswill pass current row data and state, closes #3626.n-data-tablecolumn addsresizableprop, closes #3165.createDiscreteApicontains Vue app in returned value.- Export
LayoutContentInsttype, closes #3743. - Export
CarouselInsttype, closes #3742. n-collapseaddsitemMargintheme variable, closes #3788.n-selectaddsignore-compositionprop, closes #3789.n-cardexportsCardSegmentedtype, closes #3775.n-date-pickeraddsnext-monthslot, closes #3570.n-date-pickeraddsnext-yearslot, closes #3570.n-date-pickeraddsprev-monthslot, closes #3570.n-date-pickeraddsprev-yearslot, closes #3570.n-paginationaddstoprop, closes #3773.n-avataraddsrender-placeholderprop, closes #3751.n-avataraddsrender-fallbackprop, closes #3751.n-avataraddsfallbackslotn-transferaddsrender-target-listprop.n-selectaddsshow-checkmarkprop, closes #3749.n-treeaddsanimatedprop, closes #3784.n-slideraddsmarkFontSizetheme variable, closes #3820.n-avatar-groupaddsgaptheme variable, closes #3819.
n-dialogaddsonAfterLeavein DialogOptions Properties, closes #3662.n-dynamic-tagsexportDynamicTagsOptiontype, closes #3677.n-uploadaddsresponseTypeprop, closes #3666.n-dropdown'sDropdownOptionaddsshowprop, closes #3703.n-data-tableaddssummary-placementprop, closes #3681.n-tabswill scroll to active tab, closes #3683.
- Fix
n-menu'svaluewill cause useless rendering of menu item, closes #3670.
- Fix
n-date-picker's style is unexpected ininline-theme-disabledmode, closes #3655. - Fix
n-data-tablecan't setn-dropdown'stheme-overrides, closes #3613. - Fix
n-carouseldisplays abnoramlly iftransform: scalestyle is set, closes #3684. - Fix
n-tree's node is disabled aftercheckboxDisabledis 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-widthis 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-placementprop not working when set toleft, closes #3628. - Fix
n-upload'sOnBeforeUploadreturn type can only bePromise<boolean>.
n-radioaddscolorActivetheme variable, closes #3610.
- Fix could not resolve "@vicons/ionicons5" error, closes #3616.
n-rate'sdefault-valueprop's default value is changed from0tonull.
- Fix
n-select's menu missing option check mark in SSR mode, closes 07akioni/naive-ui-nuxt-demo#4 - Fix
n-card'sembeddedprop not work inn-dialog, closes #3592. - Fix
n-radiowarning when value prop type is boolean, closes #3540. - Fix
n-treecontent width may overflow container, closes #3561. - Fix
n-form-itemlabel text may overflow when it's left placement, closes #3593.
n-menuaddsdisabled-fieldprop.n-rateaddsclearableprop.n-slideraddskeyboardprop, closes #3528.- Add
useDialogReactiveListmethod, closes #2041. DialogReactivesupportsonAfterEnterprop, closes #3569.DialogOptionssupportsclassprop, closes #3591.
- Fix
n-menuextra not working in submenu, closes #3390. - Fix
n-treecan't expand node withtype='group', closes #3388. - Fix
n-pagination's'default-page-sizeprop doesn't followspage-sizesprop, closes #3369. - Added
exportsfield in package.json #3410. - Fix
n-dropdownoption prefix & suffix's z-index, closes #3433. - Fix
n-input-number's peers theme can't be configured, closes #3422. - Fix
n-tagpointer should be not allow when disabled, closes #3494. - Fix
n-transferthrows error if value has no corresponding option, closes #3406. - Fix
n-data-tablecolumnonSelect's type, closes #3430. - Fix
n-paginationdon't trigger quick jumper on quick jumper blur, closes #3387. - Fix some components works abnormally in open mode shadow DOM, closes #3281.
- Fix
n-carouselinloop='true'andeffect='slide', When there are only two elements, the transition switching effect of the rotation is opposite, closes #3414. - Fix
n-inputcan't input value after compositing is interrupted by rerender, closes #3503. - Fix
n-layout'sembeddedprop not working aftern-config-providerhas setinline-theme-disabled, closes #3500. - Fix
n-inputhas duplicate placeholder if disabled, closes #3467. - Fix
n-date-picker'siconColortheme variable not working, closes #3501. - Fix
n-time-picker'siconColortheme variable not working, closes #3501. - Fix
n-select'snode-propsprop doesn't work. - Fix Nuxt report
CSSRender is not a functionerror on preview, closes #3506. - Fix
n-data-table's rows disabled bycolumn.expandablecan still be expanded, closes #3373. - Fix
n-input-numberclick add or minus button quickly may trigger value change loop, closes #3329. - Fix
n-switchsome theme variables can't use non-px value, closes #2938. - Fix
n-inputwithresize&type="textarea"set can't be resized in some cases, closes #3479. - Fix
n-countdown'sresetmethod doesn't work inonFinishcallback, closes #3536.
n-menu'sMenuOptionaddshowprop to set whether the Menu option is displayed, closes #3334.n-alertaddsborderedprop, closes #3358.n-tagaddtrigger-click-on-closeprop, closes #3343.n-cascaderaddsdisabled-fieldprop, closes #3338.n-listaddsclickableprop.n-listaddshoverableprop.n-listaddsshow-dividerprop.n-thingaddscontent-styleprop.n-thingaddsdescription-styleprop.n-data-tableaddsrender-expand-iconprop.n-treeaddsdisabled-fieldprop.n-treeaddskeyboardprop, closes #3438.n-tree-selectaddsdisabled-fieldprop.n-collapse-itemaddsdisabledprop, closes #3408.n-paginationaddssimpleprop.n-cascaderaddsarrowslot, closes #3459.n-transferaddssource-filterableprop, closes #3407.n-transferaddstarget-filterableprop, closes #3407.n-transfer'sfilterprop addsfromparam.n-listsupports RTL.n-drawersupports RTL.n-inputaddsrender-countprop.n-inputaddscountTextColorDisabledtheme variable, closes #3481.n-statisticaddsvalueFontSizetheme variable, closes #3510.n-data-tableaddssticky-expanded-rowsto allow expanded content remains sticky, closes #3485.n-treeaddsscrollTomethod, closes #3480.n-paginationaddsdisplay-orderprop, closes #3466.n-gridaddslayout-shift-disabledprop, closes #3301.
- Fix
n-drawer's warning when usingstringindefault-heightprop, closes #3377. - Fix
n-transfer'son-update:valueis not triggered when uncheck options, closes #3393.
n-stepssupports RTL.
n-transfer's UI is totally refactored. The original transfer component is renamed asn-legacy-transferand will be removed in next major version.
- Fix
n-date-pickerwill cancel selecting in range mode if click at disabled confirm button, closes #3254. - Fix
n-button'sfocusableprop doesn't work, closes #3292. - Fix
n-upload'son-error&on-finishprops don't allow() => voidtype, closes #3290. - Fix
n-select's placeholder may overflow if it's long. - Fix
n-inputhas is no indent at the prefix iftype="textarea"and:autosize="true", closes #3238. - Fix
n-selectfocus loss when clickactionslot infilterableandmultiple, closes #3247. - Fix
n-carousel'sautoplayprop betruehovercan't stop the play, closes #3304. - Fix
n-treemay throw error on node selectionexpanded-keys, closes #3319. - Fix
n-avatarshows placeholder after load fails, closes #3315. - Fix
n-input-numberregistermouseupevent multiple times when hold on button. - Fix all components' exported props type's prop is
readonly. - Fix
n-tree'scheck-on-clickprop sometimes doesn't work. - Fix
n-progress'soffset-degreeprop behaves incorrectly.
n-checkbox-group'son-update:valueprop adds trigger checkbox's value to params, closes #3277.n-treesupports RTL.n-inputaddsscrollTomethod, closes #3280.n-legacy-gridsupports RTL.n-statisticsupports RTL.n-thingsupports RTL.n-transferaddrender-source-labelprop.n-transferaddrender-target-labelprop.n-transferaddrender-source-listprop.n-scrollbarsupports RTL.useDialogsupportsonEscprop.n-watermarkaddsglobal-rotateprop.n-notificationaddkeepAliveOnHoverprops to control whether the notification will be closed when mouse hover, closes #3249.
n-date-picker'sclearablewill control visibility of clear button if noactionis set, closes #1196.n-button'snative-focus-behaviorprop default value is changed to 'not on Safari'.
- Fix
n-data-table's columnrenderprop'sindexparam sequence exception when in expandable row, closes #3153. - Fix
n-data-tablecolumn'scolSpandoesn't work correctly in virtual scroll mode, closes #3052. - Fix
n-data-tabledoesn't showsummaryrow in virtual scroll mode, closes #3202. - Fix
n-carouselhas wrong hierarchical relationship between wheneffectisfade, closes #3227. - Fix
n-carouselcannot slide under IOS, closes #3106. - Fix
n-carousellosing 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'sfilterprop may not get correctpath. - Fix
n-date-pickermenu'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-buttonmay 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-selectstyle prop's effect on Safari. - Fix
n-data-tablewill prevent page scroll in virtual scroll mode. - Fix
n-buttondoesn't have pressed effect on Firefox.
n-avataraddslazyprop.n-avataraddsintersection-observer-optionsprop.n-number-animationaddson-finishprop.n-notificationsupports RTL.- Export all components' props object.
n-popoveraddsfooter-styleprop.n-popoveraddsfooterslot, closes #3188.n-dropdownaddsmenu-propsprop, closes #2885.n-data-tableaddsmultipleprop, closes #3056.n-date-pickerwould disable confirm button if end date is not selected, closes #3226.n-treeaddscheck-on-clickprop to controlcheckedstatus, closes #2968.n-treeaddsaccrodionprop, closes #3129.n-countdownaddsresetmethod, closes #3228.n-draweraddsresizableprop.n-draweraddsdefault-widthprop.n-draweraddsdefault-heightprop.n-draweraddson-update:widthprop.n-draweraddson-update:heightprop.- Update ukUA locale.
n-messagesupports RTL.
- Fix
n-select's menu transition style, closes #3211.
- Fix
n-tabs'sbar-widthprops invalid when0set, closes #3171. - Fix
n-drawerhas log warnings of console when useshow-maskprop, closes #3172. - Fix
n-buttondoesn't omit content if content is wrapped in ellipsis container, closes #3178. - Fix
n-selectwill remove select value in multiple mode informif 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'stypeprop supports'quarterrange'and'yearrange'.n-tree-selectaddsrender-prefixprop.n-tree-selectaddsrender-suffixprop.n-tree-selectaddsrender-switcher-iconprop.n-tree-selectaddsnode-propsprop.n-tree-selectaddsrender-labelprop, closes #3197.n-tree-selectaddsrender-tagprop.n-notificationaddstitleFontSize,metaFontSize,descriptionFontSizetheme variables.
- Fix
n-color-pickercan't input alpha value correctly manually. - Fix some components don't work correctly if
__VUE_OPTIONS_API__is set tofalse, closes #3146. - Fix
n-griddoesn't adjust it's content to fit responsive config in SSR page, closes #2462. - Fix
n-modalwhen many instances are activated at same time,on-mask-clickwill be triggered on every modal even only one mask is clicked #3147. - Fix
n-data-table's columnellipsisprop's type doesn't allowstyleprop. - Fix
n-data-table's column will lose box shadow when set toellipsis&fixedsimultaneously, closes #3145. - Fix
n-image'slazyprop doesn't work on Safari & Firefox.
- Fix
n-input-group-label's content is abnormal inn-drawer-content, closes #3115. - Fix
n-back-tophas log warnings of console when useshowprop, closes #3122. - Fix
volar.d.tscomponents' type isany. - Fix
n-grid-itemmay not display correctly ifv-showis used, closes #3123. - Fix
n-selectclears input value on mouse enter when it's clearable and using IME.
- 🌟
n-imageaddslazyprop, closes #3055. n-imageaddsintersection-observer-optionsprop.n-imageaddsplaceholderslot.- Exports
NTooltipInsttype. n-data-tableaddsrender-cellprop, closes #3095.n-spaceaddswrap-itemprop.n-data-table'son-update:checked-row-keyswill pass row data, closes #2215, closes #2265
- Fix
n-buttonis focused after click with:focusable="false", closes #3071. - Fix
n-data-tablefixed selection may overlap with other fixed columns if it's width is not default, closes #3067. - Fix
n-popselectdoesn't triggeron-update:showwhen 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-disabledis set, closes #3068. - Fix
n-layoutwon't keep scroll state inkeep-alivecomponent, closes #3054. - Fix
n-layout-siderwon't keep scroll state inkeep-alivecomponent. - Fix
n-treemay trigger loading multiple times. - Fix
n-treethrows 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-slidermark 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-uploadshows slot warning whenlist-type="image-card". - Fix
n-uploadimage's corner may overflow item whenlist-type="image-card". - Fix
n-dynamic-tags'son-createprop not working. - Fix virtual scroll stucking issue introduced by Chrome 102, closes #3048.
- Fix
n-upload-draggeris almost transparent if disabled.
- 🌟
n-paginationadds dropdown menu for fast jump button. - 🌟
n-inputaddsallow-inputprop. - 🌟
n-data-tableaddsdefault-expand-allprop, closes #3073. - 🌟
n-modalwith inner popup component liken-selectcan handle esc key pressing correctly, closes #2973. n-tree-selectaddsarrowslot, closes #3084.n-cascaderwill show corresponding submenu after checkbox is clicked, closes #3079.n-uploadwill disable dragger when maximum number of files was reached.n-selectaddsnode-propsprop.n-popselectaddsnode-propsprop.n-popselectaddsvirtual-scrollprop.n-data-tableaddsscrollTomethod, closes #2570.n-slideraddsthumbslot.
- Fix
n-cascader's overflow count tag's popover can't scroll afterfilterableis set, closes #3061. - Fix
n-drawer'sshow-maskprop will warn if'transparent'is passed. - Fix
n-calendardoesn't callon-panel-changewhen date of other months is clicked, closes #3063.
- 🌟 UMD usage is supported.
n-cascaderwill expand menu to selected value, closes #3058.n-spacewill usegapCSS property if possible, closes #3053.
- Fix
n-selectrecomputed options on menu close, improves performance.
n-menuaddsarrowColorChildActiveHover,itemIconColorChildActiveHoverHorizontal,itemIconColorChildActiveHover,itemTextColorChildActiveHoverHorizontal,itemTextColorChildActiveHover,arrowColorChildActiveHoverInverted,itemIconColorChildActiveHoverHorizontalInverted,itemIconColorChildActiveHoverInverted,itemTextColorChildActiveHoverHorizontalInverted,itemTextColorChildActiveHoverInvertedtheme variables, closes #2929
- Fix
n-menunode-propsis not applied to element withrole="menuitem"but a inner element. - Fix
n-menunode-propsdoesn't work withtype="group"option.
- Theme variable
closeColor,closeColorHover,closeColorPressedare renamed tocloseIconColor,closeIconColorHover,closeIconColorPressed.closeColorHover,closeColorPressedstill exist, controlling background color of close button. n-tag'scolorXxxtheme variables are renamed tocolorBorderedXxx.colorXxxstill exists, controlling background color of borderless tag.
- Fix
createDiscreteApinot working with'loadingBar'. - Fix
n-popoverbackground 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-scrollbarcan't show horizontal scrollbar, closes #3047. - Fix
n-treenode's pressed style is prior to selected style when:block-line="true"and:selectable="true". - Fix
n-slidermay leak event handler on edga case. - Fix
n-data-tabledoesn't restore scroll state when it's reactivated insidekeep-alivecomponent, closes #2522. - Fix
n-imagezoom 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-propsprop'sclass&stylenot working.
- 🌟
n-time-pickeraddstime-zoneprop, closes #293. - 🌟
n-input-numberaddsparseprop. - 🌟
n-input-numberaddsformatprop. - 🌟
n-input-numberaddsprecisionprop, closes #2068, #1859 - 🌟
n-imageadds 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-tagaddsiconslot.n-tagaddsstrongprop.n-tagadds background color in dark theme when:bordered="false", closes #1699.n-timeaddstime-zoneprop.n-breadcrumb-itemaddsclickableprop.n-breadcrumb-itemuses new style, addsitemLineHeight,itemBorderRadius,itemColorHover,itemColorPressedtheme variables.n-notificationoptimizes title style when it's too long.n-draweroptimizes title style when it's too long.n-dialogoptimizes title style when it's too long.n-cardoptimizes title style when it's too long.
- Fix
n-treethrow error when usepatternprop filter the tree node, closes #2960. - Fix
n-watermarknot working whencls-prefixis set. - Fix
n-dropdown's incorrect render arrow when:show-arrow="true"#2977 - Fix
n-upload-draggerdoesn't take full width. - Fix
n-global-styledoesn't clear body element's padding and margin. - Fix
n-modalwon'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-tabslacks tab padding whenjustify-contentis'start','end'or'center'. - Fix
n-tabsdoesn't update bar's position afterjustify-contentorsizeis updated. - Fix
n-switchhas no transition effect when toggledisabled. - Fix
n-modal&n-drawerwill be closed on esc pressed during IME input, closes #2989. - Fix
n-date-pickercan select time when is selecting date in date time range picker, closes #3004. - Fix
n-paginationhas display issue when:page-count="0", closes #2970. - Fix
n-date-picker'sshortcutswill be overrided bydefault-timewhentype="datetimerange", closes #3020. - Fix
n-image-groupswitch 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-popoverin dark mode.
- 🌟
n-selectaddslabel-fieldprop, closes #3018. - 🌟
n-selectaddsvalue-fieldprop, closes #3018. - 🌟
n-stepsaddson-update:currentprop. - 🌟
n-date-pickeraddspanelprop. - 🌟
n-data-tableaddson-scrollprop, closes #3025. - 🌟
FormItemRuleaddsrenderMessageprop, closes #2525. - 🌟 Add
createDiscreteApito create message, notification, dialog, loading bar outside setup. n-scrollbaraddstriggerprop.n-input-numberaddsbutton-placementprop.n-selectaddschildren-fieldprop, closes #3018.n-uploadaddstrigger-styleprop.n-dropdownaddsnode-propsprop.n-dropdownaddsrender-optionprop.n-uploadaddsis-error-stateprop, closes #2975.n-date-picker'sshortcutsprop supports readonly tuple type.n-stepaddsdisabledprop.n-calendaraddsheaderslot, closes #3036.n-treeaddsexpand-on-clickprop, #2949.
- Since
n-paginationsupportssizeprop, some theme variables ofn-paginationare changed.
- Fix
n-menuuserender-iconfunction render incorrect when returnstrue. - Fix
n-tabs'stabFontWeightActivetheme varialbe applies to all tabs, closes #2926. - Fix
n-tree-select'sdefault-expand-allnot working. - Fix
n-upload'sacceptprop doesn't work in drag & drop mode, closes #2919 - Fix
n-calendar'son-panel-changereturning wrong month value when clicking Today. - Fix
n-timethrows error caused bygetTimezoneOffsetin 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'splacementprop supports'top'and'bottom', closes #2930.n-paginationaddsizeprop, closes #2888.n-config-provideraddspreflight-style-disabledprop.n-pagination's quick jumper only allow integer input, closes #2928.n-paginationwill jump to the first / last page when its value is out of range, closes #2928.n-color-pickeraddson-confirmprop.n-inputaddsclear-iconslot.n-date-pickeraddsdate-iconslot, closes #2668.n-date-pickeraddsseparatorslot, closes #2668.
- Add nlNL locale.
- Fix
n-theme-editor's content can't be scrolled.
- Fix
n-menu'sdropdown-propsprop can't overriden-dropdown'ssizeprop, closes #2868. - Fix
n-switchabnormal loading animation when switching state, closes #2870 - Fix
n-data-tabledoesn't show content when page is more than data's page, closes #2840. - Fix
n-data-table'scellPropsdoesn't has correct generic type. - Fix
n-data-table'swork-breakisn'tbreak-word. - Fix
n-list's css variablen-merged-coloris not correct. - Fix
MessageReactive'sdestroymethod throws error if message has disappeared. - Fix
n-ellpisiscan't show tooltip if content width is very close to container width, closes #1393, #2899. - Fix
n-treecan't usewidth: fit-content;style, closes #2875. - Fix
n-dropdown'son-update:showprop will be triggered twice, closes #2905. - Fix
n-selectcan select option by pressing enter after options are cleared. - Fix
n-data-table'sselectionandexpandcolumn can't set width. - Fix
n-checkboxcontains selectable whitespace. - Fix
DescriptionsPropsis misspelled asDescriptionProps. - Fix
n-iconmissesIconProps. - Fix
n-icon-wrappermissesIconWrapperProps. - Fix
n-countdown's display value is 1s faster than actual left time whenprecision=0, closes #2910.
n-menuaddsnode-propsprop.n-switchaddsrubber-bandprop.n-space'sjustifyprop supports'space-evenly'.n-popoveraddscontent-styleprop.n-popoveraddsheader-styleprop.n-popoveraddsscrollableprop.n-select&n-cascader&n-tree-select's overflow count tag's popover is scrollable.n-data-tableaddspagination-behavior-on-filterprop.n-date-picker'stypeprop supportsmonthrangeoption.n-date-pickeraddson-clearprop.n-date-pickeraddson-confirmprop, closes #2852.n-data-table'scolumns's element supportsminWidthprop.n-treeaddscheckbox-placementprop.n-tree-selectaddsloadingprop, closes #2857.n-modaladdsblock-scrollprop, closes #2556.n-draweraddsblock-scrollprop, closes #2556.n-draweraddsshow-maskprop, closes #2556.useDialog().xxxsupportsblockScrolloption, closes #2556.useDialog().xxxsupportsautoFocusoption.n-buttonaddsnative-focus-behaviorprop, closes #2882.n-time-pickeraddson-confirmprop.n-time-pickeraddson-clearprop.n-time-pickeraddson-update:showprop.n-time-pickeraddsshowprop.n-date-pickeraddson-update:showprop.n-date-pickeraddsshowprop.n-date-pickeraddsdefault-calendar-start-timeprop, closes #2732.n-date-pickeraddsdefault-calendar-end-timeprop, closes #2732.n-date-pickeraddsbind-calendar-monthsprop, closes #2751.n-uploadaddsdirectoryprop.n-uploadaddsdirectory-dndprop.UploadFileInfoaddsfullPathandbatchIdattrs.DataTableBaseColumnaddstreeattr, closes #2757.
- Fix
date-pickeractions's type can't benull. - Fix
time-pickeractions's type can't benull. - Fix
n-tree-select's meaningless warning. - Fix
n-tree-select'sallow-checking-not-loadedprop 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
notificationicon won't show after first notification is emitted in SSR mode, closes #2793. - Fix
dialogicon won't show after first dialog is displayed in SSR mode. - Fix
n-drawer&n-modalmay overflow screen on opening if:autofocus="true". - Fix
n-tree-select's filter not working correctly whenchildren-fieldis 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'semptyslot can't letn-inputfocus inside, closes #2812. - Fix
n-select's menu is invisible in fullscreen mode, closes #2722. - Fix
n-color-picker'svalueprop can't benull. - Fix
n-table's border color shifts when switch bewteen different props.
n-input-numberaddsadd-iconandminus-iconslots, closes #2668.n-dynamic-inputaddsRTLsupport.n-tableaddsRTLsupport.n-collapse-transitionaddsRTLsupport.n-treeaddsshow-irrelevant-nodesprop, closes #2764.n-tree-selectaddsallow-checking-not-loadedprop.n-cascaderaddsallow-checking-not-loadedprop.n-treeaddsallow-checking-not-loadedprop.n-button-groupaddsRTLsupport.
- Add ptBR locale.
- Add koKR locale.
n-timeusesformatDistanceStrictrather thanformatDistanceindate-fns, closes #2703.
- Fix
n-tabshas unexpected line animation when nested withn-tabs, closes #2689. - Fix
n-popconfirmwith no body content has wrong margin top, closes #2690. - Fix
n-tree-selectunexpected 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-propsandnegative-button-propsprops lack reactivity, closes #2753. - Fix
n-stephas unexpected theme variable class. - Fix
n-stepsdisplays uncorrectly when nested in vertical & horizontal mode. - Fix
n-popconfirm'spositive-text&negetive-textprops don't allownulltype. - Fix
n-color-pickercan't be closed if mousedown.stop is set when click outside, closes #2709. - Fix
n-tabsswitch animation is incorrect whendisplay-directive='show', closes #2718.
n-radioaddslabelprop, closes #2707.n-draweraddson-after-enterandon-after-leaveprops, closes #2698.n-data-tableaddspaginate-single-pageprop , closes #2043.n-paginationaddRTLsupport.n-alertaddRTLsupport.n-data-tableaddsallow-checking-not-loadedprop, closes #2758.
n-menuhas some style changes.
- Fix
n-data-table‘s row disorder when usingexpandtype, closes #2631. - Fix
n-popconfirmdoesn't hassetShow&syncPositionmethods. - Fix
n-popselectdoesn't hassetShow&syncPositionmethods. - Fix
n-menutheme's peers missingDropdown. - Fix
n-color-pickercan'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-stylecan't overrideoverflow: autoprop, closes #2671. - Fix
n-date-pickerdisplays panel item abnormally withmonthandquartertype in dark mode. - Fix
n-dropdownonUpdateShownot working. - Fix
n-auto-completeonSelectis triggered afteronUpdate:value. - Fix
n-data-tableinitiatorColumninonUpdate:filters's type is an optional parameter.
n-tree-selectaddson-loadprop, closes #2550.n-data-tableaddson-loadprop.n-cascaderaddsmenu-propsprop, closes #2600.n-cascaderaddsfilter-menu-propsprop, closes #2600.n-badgeaddsvalueslot.n-formaddsvalidate-messagesprop.n-data-table's column supportscellPropsprop, closes #2625.n-stepadds class to distinguish status.n-popconfirmaddsnegative-button-propsprops, closes #2642.n-popconfirmaddspositive-button-propsprops, closes #2642.n-paginationaddsgotoslot.n-inputaddspassword-visible-iconslot.n-inputaddspassword-invisible-iconslot.n-selectaddsstatusprop.n-input-numberaddsstatusprop.n-auto-completeaddsstatusprop.n-cascaderaddsstatusprop.n-date-pickeraddsstatusprop.n-time-pickeraddsstatusprop.n-mentionaddsstatusprop.n-tree-selectaddsstatusprop.n-menuaddsshowOptionmethod, closes #2562.n-dynamic-tags'svaluesupport object typed option.n-dynamic-tagsaddsrender-tagprop, closes #2526.n-dynamic-tagsaddson-createprop, closes #2576.n-date-pickeraddstime-picker-propsprops, closes #2660.n-tabsaddstriggerprop, closes #2679.n-menuaddsitemColorHover,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,arrowColorActiveHoverInvertedtheme variables, closes #2598.n-carouseladdsnext-slide-styleandprev-slide-styleprops, closes #2340.n-dialogaddsnegative-button-propsprop.n-dialogaddspositive-button-propsprop.n-tabsaddsanimatedprop.
- Add thTH locale.
- Fix
n-tree-selects inmultiplemode cannot delete options whosedefault-valueattribute contains parent node, closes #2605. - Fix
n-treemay throw error when node is removed, closes #2597. - Fix
useDialogrenders component with popup content with unexpected focus management behavior, closes #2612. - Fix
n-tree-select's node sometimes can't be clicked whencheck-strategyis'child'. - Fix
n-tree-select's emitted value can be not corresponding tocheck-strategywhen delete option in select box withcheck-strategyis not'all'.
useDialogsupportscloseOnEscprop.n-data-tableexportsDataTableFilterStatetype.n-data-tableexportsDataTableSortStatetype.
- Fix
n-button's loading icon shifts.
- Fix
n-cascaderarrow's loading animation last for too long time. - Fix
n-selectmenu doesn't follow theme. - Fix
n-tabsthrows 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-tagsinputslot adddeactivateprop, closes #2575.n-spaceaddRTLsupport.n-avatar-groupaddRTLsupport.n-badgeaddRTLsupport.n-radioaddRTLsupport.n-auto-completeaddsfocusmethod.n-auto-completeaddsblurmethod.
- Fix
base-loadinguse css transition rather than svg animateTrantion to prevent js blocking, close #2506. - Fix
n-timethrows error caused bygetTimezoneOffset, closes #2545. - Fix
n-modal's mask doesn't have enter & leave transition. - Fix
n-timelinehas style conflict when vertical & horizontaln-timelineare nested, closes #2549. - Fix
n-tree's arrow & loading switch animation isn't complete.
n-time-line-itemaddsline-typeprop, closes #2548.n-stepaddsiconslot, closes #2547.n-input-numberaddsautofocusprop, 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-tooltipcan't be translucent anymore.
n-popoveraddsarrow-point-to-centerprop.n-config-provideraddsinline-theme-disabledprop.
- Fix
useMessageloses styles.
- Fix
n-time-pickerstill shows action bar when:actions="null". - Fix
n-input's content may overflow whentype="text"andautosizeis enabled, closes #2505. - Fix
n-uploadputfilefield before otherFormDatafields, closes #2504 - Fix
n-buttonrtl support. - Fix
n-form-item-rowcan't calln-form-item's methods.
n-collapseaddRTLsupport.useMessageaddscreatemethods.useMessageaddsshowIconprop, closes #2495.useMessagesupports'default'type.n-checkboxsupports label line wrap, closes #2419.n-radiosupports label line wrap, closes #2419.n-checkboxaddRTLsupport.n-inputaddRTLsupport.n-input-numberaddRTLsupport.
- Fix
n-colcan't be wrapped correctly whenspan=6, closes #2497. - Fix
n-tabsdoesn't display border-bottom in scroll area on large number of tabs, closes #2500.
- Fix
n-switchcan'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-tablewhen thefilterOptionsvalue is 0, the filter will not take effect, closes #2392. - Fix
n-data-tablecannot click selection checkbox if the selection column is a column's child. - Fix
n-table'sborder-colorabnormal style when this added dynamically, closes #2403. - Fix
n-tree'sdefault-expand-allprop doesn't work for dynamic data. - Fix
n-formwhenmodel.xxxisundefined, validator will usenullas validation value, closes #2486. - Fix
n-inputfocus style's priority is lower than hover style, closes #2480. - Fix
n-data-tabledisplay issue when placed inside keep-alive component with virtual scroll, closes #2183. - Fix
notificationenter & leave animation.
n-tree-selectaddsclear-filter-after-selectprop.n-cascaderaddsclear-filter-after-selectprop.n-switchaddsiconslot.n-switchaddschecked-iconslot.n-switchaddsunchecked-iconslot.n-tabsusesnas CSS vars prefix.- Add
n-watermarkcomponent, closes #1745. n-scrollbaraddsscrollBymethod, closes #2435.n-data-table'ssummary'svaluesupportsVNodeChild, closes #2339.n-input-numberadds hold click to increment, closes #1293.n-descriptionaddstitleTextColortheme variable.
- Add skSK locale.
- Fix frFR locale.
- Remove useless
console.loginresolveSlot. - Fix
n-tagmisses background color whencheckable=true. - Fix
n-treethrowsImageerror inhappydomtesting environment. - Fix
n-selectmax-tag-counttag size doesn't follow select size.
n-progresspropstypeadd typedashboard.n-progressaddsgap-degreeprop.n-progressaddsgap-offset-degreeprop.n-selectaddsclear-filter-after-selectprop, closes #2352.
- Add plPL locale, closes #2354.
- Add eo locale.
- Add enGB locale.
- Fix deDE locale.
- Refactor
n-carousel's style whenshow-arrowis true.
- Fix
n-color-picker's hue & alpha slider handle are influenced by rail's box-shadow. - Fix
n-form-itemprevent feedback padding when empty. - Fix
n-buttonhas extra margin in safari. - Fix
n-form's rules andn-form-item's rule aboutvalidatorandasyncValidator'sruletype is notFormItemRule, closes #2299. - Fix
n-logdoesn't break line when line is too long, closes #2298. - Fix
n-logdoesn't exportLogInsttype. - Fix
n-popselectaction slot & empty slot now working. - Fix
n-data-tablecan't use percent as column width. - Fix
n-selecttrigger shows blank for a while whenfilterable=trueand menu is closing. - Fix
n-select's being created option is not cleared after menu is closed. - Fix
n-selectcan't input content whenshow=falseandfilterable=true, closes #1723. - Fix
n-dropdownhas extra margin whentrigger="manual". - Fix
web-types.json'sn-h1~n-h6name. - Fix
n-selectdeletes option on backspace pressed while compisiting. - Fix
n-selectuses disabled option as pending option after menu is opened.
n-tabspropsjustify-contentadd typesstartcenterend.n-auto-completeaddsplacementprop.n-cascaderaddsplacementprop.n-color-pickeraddsplacementprop.n-date-pickeraddsplacementprop.n-mentionaddsplacementprop.n-selectaddsplacementprop.n-slideraddsplacementprop.n-time-pickeraddsplacementprop.n-tree-selectaddsplacementprop.n-cardaddsheader-extra-styleprop.n-popoveraddskeep-alive-on-hoverprop, closes #2326.n-inputaddsstatusprop.- Add
n-icon-wrappercomponent. n-popoverexportsPopoverPlacementtype.n-drawerexportsDrawerPlacementtype.n-dynamic-tagsaddsinput-propsprop.n-notification-provideraddscontainer-styleprop.n-notification-providerexportsNotificationPlacementtype.n-notification-providerexportsNotificationTypetype.n-tabsaddbar-widthprop.n-dynamic-inputaddscreate-button-propsprops.n-dynamic-inputaddscreate-button-defaultslot.n-dynamic-inputaddscreate-button-iconslot.n-dynamic-inputaddsshow-sort-buttonprop, closes #2121.n-selectcan be used as tag input.n-selectexportsSelectRenderLabeltype.n-selectexportsSelectRenderOptiontype.n-selectexportsSelectRenderTagtype.n-treeaddsnode-propsprop.
n-popselectdoesn't work withwidth="trigger".
- Update jaJP locale.
- Update deDE locale.
n-iconaddcomponentprop.
- Fix
n-dynamic-inputcan add item when max is 0, closes #2271. - Fix
n-dialoguselessconsole.log.
n-inputplaceholder has no line-wrap intextareatype.n-date-pickerlacks space between panel year & month.
n-color-pickeraddsdisabledprop.n-date-pickeradds trigger area for year & month quick jump.
- Update vueuc version.
- Fix
n-layout-siderhas no border transition.
- Fix
n-layout-siderstill occupies 1px after collapsed. - Fix
n-codedoesn't break word whenword-wrap=true. - Fix
n-tab-pane's tab label area inheritsattrs, closes #2221. - Fix
n-imagepreview popup background can still be scrolled, closes #2241. - Fix
n-inputshows placeholder when browser auto completes it, closes #2234. - Fix
n-inputplaceholder word break issue withtype="textarea". - Fix
n-avatar-groupextra count not correct aftermaxis set, closes #2244. - Fix
n-calendardoesn't triggeron-panel-changeon today button clicked. - Fix
n-drawercan't be closed by esc key whenmask-closable=false, closes #2233.
n-page-headeraddsbackslot, closes #2176.n-selectaddsreset-menu-on-options-changeprop, closes #2168.n-selectaddsarrowslot, closes #2201.n-carouseleffect supports'card'.n-inputdoesn't use native scrollbar whentype="textarea", closes #2242, #1172.n-number-animationaddlocaleprop, closes #2181.n-number-animation's locale follows config provider.- Expose
lightTheme. n-time-pickeraddsiconslot, closes #2228.n-tab-paneaddstab-propsprop, closes #2221.- Add
CustomThemeCommonVarsto customizeuseThemeVars. n-slideraddsshow-tooltipprop, closes #2212.n-selectaddson-update:showprop.n-selectaddsfocusmethod, closes #2202.n-selectaddsblurmethod, closes #2202.n-date-pickeraddsfocusmethod, closes #2202.n-date-pickeraddsblurmethod, closes #2202.n-time-pickeraddsfocusmethod, closes #2202.n-time-pickeraddsblurmethod, closes #2202.n-checkboxaddsfocusmethod, closes #2202.n-checkboxaddsblurmethod, closes #2202.n-cascaderaddsfocusmethod, closes #2202.n-cascaderaddsblurmethod, closes #2202.n-uploadaddsinput-propsprop, closes #2204.n-data-tablecol addsrender-sorter-iconprop, closes #1785.n-data-tablecol addsrender-sorterprop, closes #1785.n-date-pickereasy navigation to specific month and year fordateanddatetimeanddaterangeanddatetimerangetype.n-modaladdsclose-on-escprop.n-modaladdsauto-focusprop.n-modaladdstrap-focusprop.n-modaladdson-escprop.n-draweraddsclose-on-escprop.n-draweraddsauto-focusprop.n-draweraddstrap-focusprop.n-draweraddson-escprop.n-uploadaddsclearmethod, closes #2247.- Add volar types.
- Add esAR locale.
- Add itIT locale.
- Fix install error.
- Fix
type PageHeaderPropsname. It was mispelled asPageHeaderPorpsbefore. n-image'siconColortheme variable is renamed astoolbarIconColor.
- Fix
n-carouselwhen Carousel is a single picture dot still existence, closes #1777. - Fix
n-uploadon-finishprop'seventparameter type should beProgressEvent. - Fix
n-uploaddoesn't allow 2xx status code except 200. - Fix
n-formwhenvalidateusevalidateCallback, cannot call Promise method. - Fix
n-input-numberinput integer end with 0 cannot update, closes #2115. - Fix
n-back-topallow document to be passed tolisten-toprop. - Fix
n-data-table's content can be clicked when loading, closes #2134. - Fix
n-checkboxdoesn't show indeterminate icon in safari. - Fix
n-progress's inner text oflinetype not aligned in center, closes#2138. - Fix
n-message'sMessageReactivetype lackstypeparameter. - Fix
n-selecthas differentpaddingwithn-input, closes #2149. - Fix
n-tooltiplog errors in console when used inn-select'srender-option, closes #1436. - Fix
n-selectlog ResizeObserver errors when usingrender-optionin safari, closes #1671. - Fix
n-carouselcan't respond quickly and repeatedly on touch, closes #1892. - Fix
n-carouselstyle of boundary, closes #1866. - Fix
n-carouselcannot be clicked on the touchscreen, closes #1882. - Fix
n-color-pickerdefault mode can only be rgb is default value is empty.
n-codeaddsword-wrapprop, closes #2111.n-modaladdsz-indexprop, closes #2088.n-draweraddsz-indexcloses.n-draweradds wai-aria support.useMessage's option supportrenderprop.n-data-tableTableColumnsupportsstringtypedwidth, closes #2102.n-calendaraddson-panel-changeprop, closes #2082.n-uploadaddson-errorprop.n-paginationaddslabelslot.n-tabsaddssyncBarPositionmethod, closes #2120.n-form,n-form-item'slabel-widthprop supportautooption, closes #2087.n-resultaddsiconslot, closes #2130.n-date-pickeraddsvalue-formatprop, closes #2076.n-date-pickeraddsformatted-valueprop.n-date-pickeraddsdefault-formatted-valueprop.n-date-pickeraddson-update:formatted-valueprop.n-date-picker'son-update:valueprop will pass formatted value out.n-imageaddsshow-toolbar-tooltipprop.n-imageadds more theme variables, closes #1531.n-uploadaddsimage-group-propsprop.n-progressaddsoffset-degreeprop, closes #2010.n-form-itemaddsfeedbackslot, closes #1142.n-form-item'srequire-mark-placementprop adds'right-hanging'option, closes #2094.n-cascaderaddsrender-labelprop, closes #2048.n-auto-completeaddsrender-optionprop, closes #1629.n-auto-completeaddsrender-labelprop, closes #1629.n-treeaddsrender-switcher-iconprop, closes #1551.n-messageexportsMessageTypetype.n-time-pickeraddsvalue-formatprop.n-time-pickeraddsformatted-valueprop.n-time-pickeraddson-update:formatted-valueprop.n-time-pickeraddsdefault-formatted-valueprop.n-carouseladdsdefault-indexprop.n-carouseladdscurrent-indexprop.n-carouseladdsshow-arrowprop.n-carouseladdsdot-typeprop, closes #1931.n-carouseladdsdot-placementprop, closes #1462.n-carouseladdsslides-per-viewprop.n-carouseladdsspace-betweenprop.n-carouseladdscentered-slidesprop.n-carouseladdsdirectionprop, closes #1931.n-carouseladdsloopprop.n-carouseladdseffectprop, closes #1159.n-carouseladdstransition-propsprop, closes #1159.n-carouseladdstransition-styleprop, closes #1159.n-carouseladdsdraggableprop.n-carouseladdstouchableprop.n-carouseladdsmousewheelprop.n-carouseladdskeyboardprop.n-carouseladdsshow-dotsprop.n-carouseladdson-update:current-indexprop.n-carouseladdsarrowslot.n-carouseladdsdotsslot.n-form-itemaddsforprop.n-color-pickeraddslabelslot.n-color-pickeraddsrender-labelprop.n-form-itemaddslabel-propsprop.
<meta name="naive-ui-style" />can be used to controll the component style's position.n-emptyaddsshow-iconprop.n-modaladds a11y support, closes #1877.- Add
n-avatar-groupcomponent. n-input-numbersupportsloadingstate.- Add
n-countdowncomponent. - Add
n-number-animationcomponent, closes #1465. n-statisticaddstabular-numsprop.n-paginationwill giveitemCounta approximate value derived frompageSizeandpageCountif it's not set, closes #2044.n-cascaderaddson-update:showprop, closes #2049.n-scrollbarusesnas CSS vars prefix.n-popconfirmusesnas CSS vars prefix.n-gradient-textusesnas CSS vars prefix.n-formusesnas CSS vars prefix.n-paginationusesnas CSS vars prefix.n-loading-barusesnas CSS vars prefix.n-emptyusesnas CSS vars prefix.n-listusesnas CSS vars prefix.n-layoutusesnas CSS vars prefix.n-messageusesnas CSS vars prefix.n-mentionusesnas CSS vars prefix.n-menuusesnas CSS vars prefix.n-popoverusesnas CSS vars prefix.n-transferusesnas CSS vars prefix.n-tableusesnas CSS vars prefix.n-statisticusesnas CSS vars prefix.n-codeusesnas CSS vars prefix.n-breadcrumbusesnas CSS vars prefix.n-sliderusesnas CSS vars prefix.n-spinusesnas CSS vars prefix.n-selectusesnas CSS vars prefix.n-resultusesnas CSS vars prefix.n-calendarusesnas CSS vars prefix.n-cardusesnas CSS vars prefix.n-cascaderusesnas CSS vars prefix.n-color-pickerusesnas CSS vars prefix.n-checkboxusesnas CSS vars prefix.n-data-tableusesnas CSS vars prefix.n-date-pickerusesnas CSS vars prefix.n-descriptionsusesnas CSS vars prefix.n-drawerusesnas CSS vars prefix.n-dropdownusesnas CSS vars prefix.n-rateusesnas CSS vars prefix.n-radiousesnas CSS vars prefix.n-progressusesnas CSS vars prefix.n-skeletonusesnas CSS vars prefix.n-collapseusesnas CSS vars prefix.n-collapse-transitionusesnas CSS vars prefix.n-thingusesnas CSS vars prefix.n-carouselusesnas CSS vars prefix.n-page-headerusesnas CSS vars prefix.n-imageusesnas CSS vars prefix.n-inputusesnas CSS vars prefix.n-iconusesnas CSS vars prefix.n-modalusesnas CSS vars prefix.n-notificationusesnas CSS vars prefix.
- Fix
n-form-item-gi'svalidatedoesn't work, closes #1901. - Fix
n-cardaction's border-radius style. - Fix
n-code's content is repeatly appended if language is not set, closes #2034. - Fix
n-tabs'stabTextColorActiveSegmentandtabTextColorHoverSegmenttheme variables not working, closes #2038. - Fix
n-imagemay keep keyboard handler after mounted. - Fix
n-imagecan'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-popoverlog warnings to console when manually set same zindex on multile instances and closes them, closes #2050. - Fix
n-transferhas no scrollbar in virtual scroll mode. - Fix
n-input-numbercannot input decimals end with 0.
- Fix
n-transferlist doesn't follow container height when style.height is set, closes #1879. - Fix
n-skeleton&n-gradient-textcause runtime error in some old browsers, closes #1867. - Fix
n-data-tableellipsisprop in column doesn't support alln-ellipsis's props, closes #1891. - Fix
n-form'sblankHeightXxxtheme var doesn't followcommon.heightXxx, closes #1880. - Fix
n-date-picker's panel doesn't usedateFormatin locale, closes #1793. - Fix
n-logtext color transition in theme switching.
n-back-topusesnas CSS vars prefix.n-stepsusesnas CSS vars prefix.n-switchusesnas CSS vars prefix.n-auto-completeusesnas CSS vars prefix.n-logusesnas CSS vars prefix.n-timelineusesnas CSS vars prefix.n-time-pickerusesnas CSS vars prefix.n-avatarusesnas CSS vars prefix.n-dynamic-tagsusesnas CSS vars prefix.n-tagusesnas CSS vars prefix.n-dialogusesnas CSS vars prefix.n-uploadusesnas CSS vars prefix.n-treeusesnas CSS vars prefix.n-tree-selectusesnas CSS vars prefix.
n-switchcan no longer be clicked underloadingstatus, closes #1853.
- Fix
n-data-table's horizontal scrollbar disappears when max-height is not set, closes #1857. - Fix
n-input-numbercannot input negative decimals value, closes #1858. - Fix
n-dialogopen new dialog again when pressingenterkey, closes #1559.
n-dividerusesnas CSS vars prefix.typographyusesnas CSS vars prefix.n-badgeusesnas CSS vars prefix.
n-buttoncan no longer be clicked underloadingstatus, closes #1628.
- Fix
n-alert'sheaderslot unable to display normally. - Fix
n-data-table's paginationonUpdatePageSizeprop does't trigger, closes #1774. - Fix
n-data-tablecan select rows when table is loading, closes #1812. - Fix
n-tagline-height is too low that clamps the content. - Fix
n-selectdisplays with mistake in input iffilterableistrue, closes #1823. - Fix
n-page-header's content has margin-top when header is not displayed, closes #1795. - Fix
n-avatarcolorprop not working. - Fix
n-avatar's inner icon has wrong size. - Fix
n-imagelacks scoped style's scope-id, closes #1788. - Fix
n-radioclick event will be triggered twice, closes #1680. - Fix
n-data-tablelayout 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-tablefixed 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-selectaddsmenu-propsprop.n-tree-selectaddsactionslot, closes #1765.n-tree-selectaddsemptyslot.n-cascaderaddsemptyslot.n-popselectaddsactionslot.n-popselectaddsemptyslot.n-data-tablewill check all if indeterminate header checkbox is clicked, closes #1827.n-buttonusesnas CSS vars prefix, closes #1808.n-date-pickeraddsdefault-timeprop.n-alertusesnas CSS vars prefix.n-date-picker'stypeprop supportquarteroption.n-anchorusesnas CSS vars prefix.
- Add zhTW locale.
- Fix
n-inputclick clear icon does't triggerchangeevent, closes #1754. - Fix
n-input-numberthe 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-pickerhas no placeholder whentypeisyear. - Fix
n-elementdoesn't exportNElalias name. - Fix
n-uploadstill shows upload trigger when max limit is reached inimage-cardmode, closes #1744. - Fix
n-form'sFormValidatetype lacksshouldRuleBeAppliedparameter, closes #1747. - Fix
n-uploadis displayed vertically inn-forminimage-cardmode, closes #1746. - Fix
n-upload's file list's top margin if trigger is hidden. - Fix
n-uploadshows normal file status when response has 4xx status, closes #1741.
n-uploadaddsshow-triggerprop.n-data-tablewill ignorechildrenwith length 0 in tree data mode, closes #1703.
- Fix
n-theme-editorthrow error when click button component, closes #1708. - Fix
n-input's color is abnormal in Android WeChat, closes #1705. - Fix
n-input'sborderHovertheme variable doesn't work, closes #1704. - Fix
n-dialog'scontentword-break. - Fix
n-input-numbercannot input decimals value. - Fix
n-data-table's header & body may have wrong border radius, closes #1712. - Fix
n-button'scolorOpacityXxxtheme vars are not string typed.
n-switchaddsrail-styleprop, closes #1718.n-imageaddspreview-disabledprops, closes #1647.n-imageaddson-load&on-errorprop.n-imageaddsfallback-srcprop.n-data-tableaddson-update:expanded-row-keysprop.n-treeaddswatch-propsprop.
- Fix
n-sliderdisabled tooltip at the wrong time. - Fix
n-sliderincorrect fill color style, closes #1670. - Fix
n-data-table's paginationonUpdatePageprop trigger twice, closes #1666. - Fix
n-log'strimprop not being independent when used. - Fix
n-sliderprocessing of step value precision. - Fix
n-date-pickerthrow error whentime-pickerinput is empty, closes #1678. - Fix
n-popovernot working whentriggerisfocus. - Fix
n-scrollbar's scrollbar will vanish if clicked. - Fix
n-popoverhas an invalid line in style. - Fix
n-popoverflip=falsedoesn't work. - Fix
n-input-numbercan't accept indeterminate input value whenmaxorminis 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-numberaddskeyboardprop.- Add
tableColorStripedtheme variable, closes #1686. n-notification-provideraddsmax&placementprop.n-notificationaddsdestroyAllmethod, closes #333.n-layout-sideraddson-after-enterandon-after-leaveprops, closes #1241.n-uploadaddscustom-requestprop, closes #1389.n-data-tableaddsexpanded-row-keysprop.n-popoverprovides better auto position adjustment, closes #1520, #1643.n-input-numberaddsupdate-value-on-inputprop, closes #1662.n-auto-completeaddsprefix&suffixslot.
- Fix
n-imagedrag the picture to move the position incorrectly when the zoom is large. - Fix
n-data-tablestyle glitches after some rows are expanded. - Fix
n-data-tabledoesn't expand tree data correctly, closes #1644.
NButton.fontWeightText&NButton.fontWeightGhosttheme vars are removed. If you want to change font weight, you can usestrongprop ofn-buttoninstead.
n-tagaddsavatarslot.n-data-tableaddsstripedprop, closes #1552.n-tableaddsstripedprop, closes #1552.n-slideraddsverticalprop, closes #1468.n-slideraddsreverseprop.n-slider'sstepprop supportmarkoption.- Bypass Vitejs bug on string extrapolation, ref #636.
n-buttonaddsstrongprop.n-buttonaddssecondaryprop.n-buttonaddstertiaryprop.n-buttonaddsquaternaryprop.n-auto-completeaddsinput-propsprop, closes #1610.n-avataraddsfallback-srcprop, closes #702.n-avataraddson-errorprop.n-inputaddsselectmethods, closes #1328.- Add
n-tabcomponent, closes #1630. n-switchaddsroundprop, closes #1469.n-stepaddstitleslot.n-menusupportdividertype option.
- Fix the default value of the
suffixinternal component'sloadingproperty. - Fix
n-spaceis shown when it has no children, closes #1605. - Fix
n-radiohas noonUpdateCheckedprop. - Fix
n-dropdownanimation flicker problem, closes #1600. - Fix
n-data-table’sclearSortermethod isn't exported properly. - Fix
n-global-stylethrows error in SSR. - Fix
n-buttonwill trigger click event twice if pressed, closes #1626.
- Fix
n-gridsuffix NGridItem does not set right span when collapsed, closes #1530. - Fix
n-buttonto shrink abnormally in certain scenarios when using thecircleprop, closes #1557. - Fix
input-propsdoes affecttypeprop, closes #1553
n-menuadds a color distinction between selected and unselected arrow, closes #1535.n-menuaddswatch-propsprop, closes #1536.n-date-picker'stypeprop supportyearoption.
- Add
createLocaleto make locale customizable, closes #1525.
- Fix
n-alertcontentTextColorandtitleTextColortype theme variable not working, closes #1495. - Fix
n-time-pickernot trigger blur event when the panel is closed by ok button, closes #1499. - Fix
n-uploadUploadFileInfo'sthumbnailUrlfield not working, closes #1495. - Fix
n-buttonkeyboardprop does not work, closes #1508. - Fix
n-uploadinstance missesopenOpenFileDialogmethod.
- Add deDE locale.
- Add nbNO locale.
- Fix
n-tabsswitch tab does not work when adding a new tab, closes #1417. - Fix
n-tree'sfilterprop does not work when assignedchildren-field, closes #1477. - Fix
n-cascadercan't remove options when using customized fields in multiple mode. - Fix
n-select's option created byon-createdoesn't show correct label in trigger, closes #1482 - Fix
n-selectmenu height shifts on close infilterablemode.
n-selectaddsmenu-propsprop, closes #1475.n-image'stoolbaradds close icon, closes #1412.n-tree'son-loadprop is triggered when theexpanded-keysprop changes inremotemode, closes #1339.
n-collapsed-transition'scollapsedprop is deprecated, please useshowinstead, closes #1407.
- Fix
n-logfont-sizeprop not working, closes #1416. - Fix
n-loading-barwill show once even ifstartis not called whenloading-bar-styleis set. - Fix
n-date-pickerseparatorprop not working, closes #1456
n-data-tableoptimize the logic of underlying rendering and improve component performance.n-date-picker'sshortcutsprop supports functional value.n-tab-pane'sdisplay-directiveprops supports theshow:lazyoption, closes #1374.n-inputof text type supportscountslots, closes #1440.
- Add idID locale.
- Fix
n-upload's file can't be removed when file count limit is reached, closes #1401.
n-tabsaddson-before-leaveprop, closes #1337.n-color-pickeraddsshow-previewprop, closes #1281.n-tab-pane'sdisplay-directiveprop supportshow:lazyoption, closes #1374.
- Fix
n-collapse's expanded status is lost when usingv-ifwithn-collapse-item, closes #1387. - Fix
n-dialog's close button will be overlayed with content, closes #1381. - Fix
n-uploadfile is set tonullafter upload failure, closes #1316. - Fix
n-cascader'sfilterprop not working. - Fix
n-cascader'slabel-fieldprop breaks filter. - Fix
n-cascader'sseparatorprop isn't appiled to filter select menu.
n-menuaddsdropdown-propsprop, closes #1345.n-inputaddscountslot, closes #1314.n-time-pickeraddsuse-12-hoursprop, closes #547.n-input-numberaddsfocus&blurmethods.
- Fix
n-data-tablefixed style does not work in group header table, closes #1341. - Fix
n-data-tablehas duplicate right border when it has multiple level headers. - Fix
n-scrollbardoesn't supportscrollTo, closes #1346. - Fix
n-ellipsis'sexpand-triggerprop not showpointercursor when content is short whentooltip = false, closes #1299. - Fix
n-upload'sdisabledprop's style not working, closes #1237. n-config-provideraddsbreakpointsprop, closes #1379.
n-auto-completeaddsget-showprop, closes #1292.n-selectaddsinput-propsprop, closes #1351.n-color-pickeraddsswatchesprop, ref #1281.n-uploadaddsmaxprop.
- Add jaJP locale.
- Fix
n-ellipsis'sexpand-triggerprop not showpointercursor when content is short, closes #1299. - Fix
n-select'sfallback-optionprop's type, closes #1327. - Fix
n-modal'son-after-enterprop not working.
- Fix
n-menu's incorrect warning ondefault-expanded-keys. - Fix
useThemeVarsis sometimes unusable, closes #1309. - Fix the
list-stylestyle of the<ul>element.
n-cascaderprovide all options paths inupdate:valuecallback function, closes #1235.n-layoutandn-layout-sideraddson-scrollprop, closes #1232.n-config-provideraddspreflight-style-disabledprop.
- 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-buttonprop not working, closes #1238. - Fix
n-date-picker'sdatetype ofactionvalidate error. - Fix
n-data-tablethrows error when usingselectionandsummarytogether, closes #1276. - Fix
n-data-tableselection column's width is collapsed when it is set to fixed, closes #1283. - Fix
n-popconfirmcan't be nested inn-tooltip, closes #872. - Fix
n-popselectcheckmark overlays on option text, closes #1282. - Fix
n-paginationbuttonColortheme variable not working.
n-breadcrumb-itemaddshrefprop.n-descriptionsaddsseparatorprop, closes #1263.n-dropdownaddskey-fieldprop.n-dropdownaddslabel-fieldprop.n-dropdownaddschildren-fieldprop.n-menuaddskey-fieldprop.n-menuaddslabel-fieldprop.n-menuaddschildren-fieldprop.n-data-tablesupports using path of the property to get as column key, closes #1271.n-switchaddschecked-valueprop, closes #1234.n-switchaddsunchecked-valueprop, closes #1234.n-checkboxaddschecked-valueprop, closes #1234.n-checkboxaddsunchecked-valueprop, closes #1234.- Add
n-collapse-transitioncomponent, closes #829. - Add
n-scrollbarcomponent. n-dropdownsupport options withtype='render'.n-data-tablesupports multiple column sorting.n-date-pickeraddsfirst-day-of-weekprop.n-date-picker'stypeprop supportmonthoption.n-popoveraddstoprop.n-tree'son-update:indeterminateKeysprop adds option info.n-tree'son-update:expandedKeysprop adds option info.n-tree'son-update:checkedKeysprop adds option info.n-tree'son-update:selectedKeysprop adds option info.
- Fix
n-data-tableellipsis not show when last column not set ellipsis, closes #934. - Fix
n-grid-itemwon't work with responsive config. - Fix
n-tabs's scroll shadow is not updated when it's resized, closes #1224.
n-grid-itemwon't display whenspanis 0, closes #1220.n-gridaddsitem-responsiveprop.
- Add ukUA locale.
- Fix
n-global-styleapplies style transition on first mount. - Fix
n-drawerborder transition, closes #1211. - Fix
n-input-number'svalueprop can't benulltype. - 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-selecttrigger, closes #1229.
n-checkboxadds aria support.n-alertaria support.
- Fix
DialogReactiveprops are readonly. - Fix
n-tree-selectsetscheck-strategy='child'not working in single select mode. - Fix
n-upload's trigger is compressed inimage-cardmode when it's the only item in the row. - Fix
n-upload-draggerhas no border transition. - Fix
n-uploadcan't upload files. - Fix
n-tree'scheckableprop doesn't work whencascadeisfalse. - Fix
n-tree-select'scheckableprop doesn't work whencascadeormultipleisfalse.
n-layout-sider'sarrow-circletrigger is changed into new style.
n-layout-sideraddscollapsed-trigger-styleprop.n-menuaddsaccordionprop , closes #917.n-input-numberaddsreadonlyprop , closes #1198.n-spinaddsdescriptionprop and slot.n-anchoraddstypeprop.n-uploadaddsabstractprop, addsn-upload-trigger和n-upload-file-listcomponent, closes #1102.n-treeaddsindeterminate-keysprop.n-tree-selectaddsindeterminate-keysprop.n-treeaddson-update:indeterminate-keysprop.n-tree-selectaddson-update:indeterminate-keysprop.n-tabstypeprop adds'segment'option, closes #1133.n-popoveraddsz-indexprop, closes #764.n-modaladdson-after-enterprop.n-modaladdson-after-leaveprop.
- Fix
n-selectfocus input when closing tag withfilterable, closes #1170. - Fix
n-buttonborder on hover conflicts withn-badge, closes #1195. - Fix
n-uploadpropv-model:file-listdosen't work well when propmultipleistrue, closes #418. - Fix
useThemeVarsdoesn't apply theme overrides, closes #1194, #1176. - Fix
n-tabs's left shadow isn't displayed in card type.
n-cascadershowEmptycomponent whenoptionsprop is empty, closes #1092.n-cascader'son-update:valueprop adds option info.n-treeaddscheck-strategyprop.n-date-pickeraddsinput-readonlyprop, closes #1120.n-time-pickeraddsinput-readonlyprop, closes #1120.n-config-provideradds global config of theEmptycomponent, closes #1092.n-selectaddson-update:showprop.n-auto-completeexportsAutoCompleteOptionandAutoCompleteGroupOptiontypes.n-page-headeraddsRTLsupport.n-selectsupport variadic height option rendering.n-tree-select'son-update:valueprop adds option info.n-select'son-update:valueprop adds option info.n-popselect'son-update:valueprop adds option info.n-cardaddsembeddedprop.
- Fix
n-pwarns whendepthis number. - Fix
n-date-picker‘s type ofactionsprop. - Fix
n-selectcan't overriden-empty's theme variables. - Fix
n-dynamic-tagsadds button is not disabled when it is disabled. - Fix
n-selectcloses menu when enter key is pressed in filterable mode without options data. - Fix
n-auto-complete'schildrenprop can't useAutoCompleteOptiontype. - Fix
n-gi'scollapseddoes not work inn-form-item-gi, closes #1160.
useDialogoption addsstyleprop, closes #1054.n-timelineaddsiconslot, closes #1096.n-timelineaddsicon-sizeprop.
- Fix
n-stepdoesn't work withv-forchildren. - Fix
n-input-numbercannot enter decimals whenstepis not a decimal.
n-form&n-form-itemsplitshow-require-markintoshow-require-markandrequire-mark-placement.
n-draweraddson-mask-clickprop.n-foraddsrequire-mark-placementprop, closes #1055.n-form-itemaddsrequire-mark-placementprop, closes #1055.
- Fix
n-stepmust be passed withinternal-index. - Fix
n-radio-group'son-update:valueandon-update-valuecan't be array. - Fix
n-cascadercheck-strategy="child"doesn't behaves the same as previousleaf-only.
- Fix
n-tree-selectshows key not label whenshow-path=true, closes #1095.
- Fix
n-cascadermenu not showing correct checked keys.
n-tree-select'sleaf-onlyprop is deprecated, please usecheck-strategy="child"instead.n-cascader'sleaf-onlyprop is deprecated, please usecheck-strategy="child"instead.n-input'sshow-password-toggleis deprecated, please useshow-password-on="click"instead.
- Fix
n-cascaderclick tag to delete the sub option in multi selection mode, and the tree option is not updated. - Fix
n-inputchinese input method not correct while mouse leave the input inclearableis true, closes #905. - Fix
n-description's warning caused byv-ifthat should not appear, closes #1083. - Fix
n-layout'ssider-placementdoesn't work after build, closes #978. - Fix
n-input-number'sstepcalculate 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-cascaderaddsonUpdateValueprop.n-auto-completeaddsonUpdateValueprop.n-data-table's column'srenderFilterMenuaddshideparam.n-treeaddskey-fieldprop.n-treeaddslabel-fieldprop.n-treeaddschildren-fieldprop.n-tree-selectaddskey-fieldprop.n-tree-selectaddslabel-fieldprop.n-tree-selectaddschildren-fieldprop.n-cascaderaddskey-fieldprop.n-cascaderaddslabel-fieldprop.n-cascaderaddschildren-fieldprop.n-dropdownoption addspropsprop, closes #813.n-data-tablesupports multi-selection by holding downshift, closes #554.n-tree-selectaddscheck-strategyprop, closes #624.n-cascaderaddscheck-strategyprop.n-messageoption addskeepAliveOnHover, closes #1036.n-message-provideraddskeep-alive-on-hoverprop, closes #1036.n-uploadexportUploadFiletype.n-cascaderexportCascaderOptiontype.n-mentionexportMentionOptiontype.n-transferexportTransferOptiontype.n-paginationexportPaginationInfotype.n-data-tableexportDataTableCreateSummarytype.n-codeaddsinlineprop, closes #834n-collapseaddsheader-extraslot, closes #1046.n-inputaddsshow-password-onprop.n-uploadaddslist-type,show-preview-button,on-previewandcreate-thumbnail-urlprop.
n-mentionaddsfocusandblurmethods.
- Fix
n-mention's menu is too far from text in input mode. - Fix
n-treenode can not expanded.
n-timelineaddshorizontalprop, closes #887.n-imageaddspreview-srcprop, closes #922n-dynamic-tagsaddsinputandaddslot, closes #499.n-timeline-itemaddscolorprop.
- Fix
n-imagenot initializingrotateafter switching images, closes #921. - Fix
n-data-table's loading is not centered, closes #929. - Fix
n-treethrows an exception when onLoad callback does not adds children, closes #772. - Fix
n-inputwill show placeholder and 0 simultaneously while passingvalue=ref(0)in n-input, closes #914. - Fix
n-data-tableflex-heightnot working withoutscroll-x, closes #952.
n-input-numberaddsclearableprop.n-formaddsshow-labelprop, closes #858.
- Fix
n-notification's exportedNotificationReactivetype is not writable, closes #876. - Fix
n-tabsstyle 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-popoverarrow's misplacement when placed in nested popovers with different placement, closes #916. - Fix
n-ellpisisdoesn't work after content is updated, closes #776.
- Fix ruRU locale exports.
- Add ruRU locale #852.
n-message-provideraddscontainer-styleprop.n-message-provideraddsplacementprop.n-messageadds class to distinguish type.n-date-pickeraddsshortcutsprops, closes #280.
- Fix
n-ratehalf star overlays star background in dark mode. - Fix
n-menurenders unexpectly whenrender-iconreturnstrue. - Fix
n-spacerender empty placeholder while usev-if, closes #824.
n-message-provideraddsclosableprop, closes #795.n-tree-selectaddsshow-pathprop, closes#625.n-layoutaddssider-placementprop, closes #566.
- Fix
n-avatar's scale value is incorrect while use v-show, closes #779. - Fix
n-menushow a blue background when click the menu on mobile phone, closes #799. - Fix
n-selectfilterable select breaks, closes #510. - Fix
n-data-tableWhen selectAll is selected, the state display of selectAll should not contain disabled rows, closes #778. - Fix
n-color-picker'son-completecallback's argumentvalueis incorrect, closes #748.
n-loading-bar-provideraddsloading-bar-styleprops, closes #457.n-buttonaddstext-colorprop.n-formexportFormValidationErrortype.n-popconfirmsupport not show action components, closes #770.
- Fix
n-sliderloss floating point decimal precision, closes #751. - Fix
n-data-tableonUpdatePageandonUpdatePageSizenot triggered while using jsx. - Fix
n-progress'spercentageprop default value doesn't work with different types. - Fix
n-selecthide close icon when option is disabled. - Fix
n-modalcan't be closed when using custom content, closes #788.
useLoadingBar'sfinishmethod won't work if nostartis called.n-input'stype='input'is renamed totype='text'.
n-scrollbaraddsscrollbarWidth,scrollbarHeightandscrollbarBorderRadiuscommon theme variables, closes #649.n-menudoesn't should icon placeholder whenrender-iconreturns falsy value, closes #722.n-menuaddsrender-extraprop.n-selectaddson-clearprop.n-formaddsdisabledprop, closes #538.n-dynamic-tagsaddsmaxprop.
- Fix
n-dropdownclick exception when using v-for. - Fix
n-modalcannot customize classes when use preset, closes #744. - Fix
n-cascadermenu width shifts in virtual scroll mode, closes #728.
- Fix
n-data-tablepagination's error.
n-paginationaddsprevandnextslots, ref #648.n-tagaddscolorprop, closes #693.n-dynamic-tagsaddscolor, closes #693.n-time-pickeroptimization the now button logic, closes #401.n-paginationPaginationInfoaddsitemCountprop, closes #585.n-selectaddson-clearprop.
- Fix
n-message'sdestroyAllmethod doesn't work. - Fix
n-timeline's header slot is invalid when using alone. - Fix
n-selectincorrect style when props hasdisabledandfilterable, closes #698. - Fix
n-uploadoperation buttons displayed when hasfile-list&disabledprops, closes #668.
n-messageaddsdestroyAllmethod.n-input-numberaddsprefix,suffixslots, closes #609.
- Fix
n-messageoptions'durationprop doesn't work.
n-menuaddsexpand-iconprop, closes #414.n-descriptions,n-descriptions-itemaddslabel-styleandcontent-styleprops, closes #536.
- Fix
n-data-tablethe style penetration of then-spin, closes #663.
n-dropdownaddsshow-arrowprop, closes #647.n-time-pickeraddsactionsprop, closes #401.n-mentionaddsrender-labelprop.n-switchaddschecked,uncheckedslots.n-switchaddsloadingprop, closes #301.n-selectpressing arrow down can open menu, ref #300.n-tree-selectpressing arrow down can open menu, ref #300.n-cascaderpressing arrow down can open menu, ref #300.n-popover'striggerprop support'focus', closes #477.n-message-provideraddsdurationandmaxprops.n-data-tableaddsflex-heightprop, closes #596.
- Fix
n-carouselarrow buttons cannot be displayed in a specific browser, closes #625. - Fix
n-layout-sider'swidthprop can't be string, closes #607. - Fix
n-sliderpropdisableddoesn't work, closes #641. - Fix
n-inputshow clear button when readonly. - Fix
n-data-tabledoesn'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-tableheader and body's scrollings are not sync.
n-menuaddsrender-iconprop.n-uploadaddsshow-file-listprop.n-dropdownaddsrender-iconprop.n-checkbox-groupaddsminandmaxprop.n-mentionaddsemptyslot.useDialogoption addson-mask-clickprop, closes #419.n-spacejustifyprop supportscenter,space-aroundandspace-between.n-date-pickeraddsclose-on-selectprop, closes #541.n-dialogaddsactionprop, closes #550.n-mention’soption.labelsupport render function.n-color-pickeraddsactionsprop, closes #319.
- Fix
n-space's innerdisplay: gridelement breaks item height, closeshttps://github.com/tusen-ai/naive-ui/issues/546. - Fix
n-dropdown'srender-labelprop is invalid for group type option. - Fix
n-datatable'sscroll-xprop is setted, the table content width is not full of the container width, closes #518. - Fix
n-descriptionsdoesn't work withv-forchildren. - Fix
n-dialogdisplay an empty button whenpositive-textis not set, closes #549. - Fix
n-paginationPaginationInfo'sendIndexdata error, closes #584. - Fix
n-data-tablerowClassNamedoesn't work when type is string, closes #582.
n-treeaddsrender-label,render-prefixandrender-suffixprops.n-rateaddsallow-halfprop.n-carouseladdsshow-arrowprop.n-slideraddsformat-tooltipprop.n-uploadaddseventinon-finishcallback params.n-rateaddsreadonlyprop.n-time-pickeraddsseconds,minutes,hoursprops.n-notificationexportNotificationApi,NotificationOptionsandNotificationReactivetype.n-avataraddson-errorprop, closes #394.n-imageaddson-errorprop, closes #394.n-imageaddsobject-fitprop, closes #394.n-avataraddsobject-fitprop, closes #394.n-menuexpands all the ascendant of selected item by default, closes #481.
- Fix
n-calendar'sdefault-valueprop cannot be used. - Fix
n-paginationpage count is not correct whenitem-countis 0. - Fix
n-scrollbarcontent-stylecan not override the default width of style. - Fix
n-selectplaceholder transition. - Fix
n-loading-baruseLoadingBar's return type can be undefined. - Fix
n-tag'stypeprop addsprimarytype. - Fix
n-dynamic-tags'stypeprop addsprimarytype.
n-stepsadds icon customization in'finish'and'error'status.n-treeexportsTreeDragInfo&TreeDropInfotype.n-emptyexporticonslot.useDialogoption addsmaskClosableprop, closes #420.
- Fix
n-data-tablefixed column box-shadow doesn't update when there is only on side fixed. - Fix
n-data-tablefixed column box-shadow doesn't update whenprops.scrollXis not set but each column's width is set. - Fix
n-resultimage doesn't show on Safari and mobile phone. - Fix
n-drawer-content'sheader-stylestyle not applied to header. - Fix
n-dialoginstance throws error when callingdestroy. - Fix
n-image-groupinitialize zoom scale when switching a picture #423. - Fix
n-selectbug in using custom label, closes #352. - Fix
n-carouselwhenautoplaydot active status isn't displayed correctly, closes #434. - Fix
n-inputfixed clearable position, closes #428. - Fix
n-imagedoesn't accept attributes. - Fix
n-imageset border-radius not working, closes #427. - Fix
n-tab-panethrows error when there's no children. - Fix
n-selectclear button is too big inn-spin, closes #454. - Fix
n-selectoptions are not updated properly, closes #441.
n-loading-barexportLoadingBarApitype.n-imageaddsimg-propsprop.- Add native
titleattributes to some components to enhance the experience. n-treeaddsprefixandsuffixin TreeOption.n-carouseladdsdot-placementprop.n-auto-completeaddsloadingprop, closes #241.n-slideraddstooltipprop, closes #362.n-inputaddsloadingprop.
- Fix
n-uploadmultiple=falsedoesn't work for drag & drop, closes #363. - Fix
n-dropdown's inner<a />'s style. - Fix
n-menutooltip's inner<a />'s style, closes #338. - Fix
n-carouseldoesn't work withv-forchildren. - Fix
n-formlabel-alignprop not working, closes #213 - Fix
n-data-tablefixed column shadow doesn't work whenmax-heightis set, closes #376.
n-carouseladdstriggerprop.n-menuaddsdropdown-placementprop.n-uploadaddsbefore-uploadprop.n-imageaddsaltprop.- Support the enter key on the numeric keypad.
n-spinsupporticonslot for icon customizing, closes#260.n-spinaddsrotateprop fro slot icon to rotate.n-formexportFormItemRule&FormRulestype.n-selectaddsrender-tagprop.
- Fix
n-logwarn 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-selectdoesn't scroll to selected item when menu is opened, closes #346. - Fix
n-tab-panethrows error when using v-if. - Fix
n-modalstill closes whenon-negative-clickreturnsfalse. - Fix
n-collapsedefaultExpandedNamesdoes not work in accordion mode, closes #350. - Fix
n-taglackson-update-checkedprop. - Fix
n-menurender-labelnot working for dropdown in collapsed mode.
- Fix no
web-types.json.
n-select'sSelectOption'srenderno longer render label but the entire option.
n-carouselsupports touch operation, closes #271.n-inputaddsinput-propsprop.n-messageoptimize the error message ofuseMessagewhen there is non-message-provider, adds the related document link.- Add
web-types.jsonfor webstorm, however I recommend using VSCode and Volar.web-types.jsononly provides limited information for coding. n-tree-selectaddsleaf-onlyprop.n-treeaddsleaf-onlyprop.n-select'sSelectOption'slabelsupports render function.n-selectaddsrender-optionprop.n-selectexportSelectOption&SelectGroupOptiontype.n-popoveraddsheaderslot.n-dropdownaddsrender-labelprop.
- Fix
n-date-pickern-providerpassdate-localenot work, closes #250. - Fix
n-inputclear button placeholder prevent clicking on actual component #288 - Fix
n-carouselclick the at current item button, the component behaves abnormally. - Fix
n-menurender-labelnot working for tooltip in collapsed mode. - Fix
n-dropdowncan't rendern-popoverin option.
n-elementremovesabstractprop.n-elementdoesn't return theme variables in default slot. Please useuseThemeVarsinstead.
- Add
n-carouselcomponent. - Add
useThemeVarscomposable to provide theme variables. n-uploadaddson-update:file-listprop, closes #135.n-date-pickeraddsupdate-value-on-closeprop.
- Fix
n-selectcan't input in filterable mode in single mode in iOS Safari, closes #230 - Fix
n-input-numberlackson-update-valueprop. - 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-tableexpand trigger's cursor is not pointer, closes #261.
n-input-numberwill focus directly, closes #244.
n-dropdownaddson-clickoutsideprop, closes #123.n-menuaddsrender-labelprop, closes #84n-treesupports keyboard operations.- Add
n-tree-selectcomponent.
- Fix
n-treedrag over leaf node causes error, closes #200. - Fix
n-treemisseson-update-expanded-keys,on-update-selected-keys,on-update-checked-keysprop. - Fix
n-tree'sselected-keysprop 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-pickerdoesn't show icon when clearable. - Fix
n-time-pickericon mis-aligned when clearable, closes #222.
- Fix
n-form-itemalways show require mark.
n-form,n-form-itemenhanceshow-require-markprop, closes #171n-dropdownsupport class attr, closes #180.n-inputaddsshow-password-toggleprop.n-popselectsupport class attr.n-selectaddsrender-labelprop.n-popselectaddsrender-labelprop.
- Fix
n-inputbaseline shifts when mix Chinese and English characters in input, closes #174. - Fix
n-iconuse setup script,$parentis an empty object by default, and access$parent.$optionswill beundefined. - Fix
n-notificationposition not correct. - Fix
n-messagecontent & option type not correct.
n-a'stoprop is removed. Now if you want to usen-alike a router link, you can follow the doc site.
n-treesupportdisabled&checkboxDisabledon option.n-input-numbersupport keyboard events ArrowUp and ArrowDown operations.
- Fix
n-cascadertext blur in win10 Chrome. - Fix
n-treeclick on indent won't trigger select in block line mode.
n-drawer-contentaddsclosableprop, closes #139.n-elementpassthemeVarsto default slot.n-elementaddsabstractprop.
- Fix
n-radio-groupdoesn't trigger form item validation. - Fix
n-auto-completecustomizing input not working.
n-tagaddsRTLsupport
- Move
vue&vue-routerto peer dependencies to avoid redundant bundle.
n-spacesupports wai-aria.n-button-groupsupports wai-aria.n-progresssupports wai-aria.n-menusupports use<a />and<router-link />as label, closes #84.n-input-numberaddsshow-buttonprop.n-ratesupportdefaultslot for icon customizing.n-rateadds color prop.n-rateadds size prop.
- Fix
n-card'sheader-styleit not applied to header. #103 - Fix
n-dialogmissesdestroyAllmethod. - Fix
n-data-tablemisseson-update-sorter,on-update-filters,on-update-pageandon-update-page-sizeprops.
n-data-tableexportsDataTableCreateRowClassName,DataTableCreateRowKeyandDataTableCreateRowPropstype.
- Fix
n-calendar'son-update:valueprop type. - Fix
n-form-item's style attributegrid-template-columnsinfluence on the layout of child elements. #93 - Fix
n-data-table's prop types ofrowKey,rowClassName,rowProps,summaryaren't compatible with expected value.
- Fix
n-sliderdoesn't prevent scrolling when touchstart. - Fix
n-color-picker's default value doesn't follow modes. - Fix not
lodash&lodash-estype.
n-spin'ssizeprop support number.n-date-pickeraddsfooterslot.
- Fix
n-sliderdoesn't support touch events - Fix
n-buttoncauses crash when it's imported in script inside head tag. #68 - Fix
n-spinanimation shifts. - Fix
n-menulackon-update-valueandon-update-expanded-keysprops. - Fix
n-popconfirmicon slot not working. - Fix
n-tabslogs useless info. - Fix
n-color-pickersetmodesnot working. #77
n-dropdownaddsdisabledpropn-cardadds:targetstyle
- Fix
n-popoversometimes won't sync position in manual mode. - Fix
n-transfer's empty icon is no toggling transition. - Fix
n-messageAPI option is not optional. - Fix
n-calendardate calculate incorrectly. - Fix
n-inputmisses thepasswordtype declaration. - Fix
n-menuthe type definition ofextraproperty of menu and submenu. - Fix
n-dropdownmouse cursor is not pointer.
n-buttonsupports wai-aria.n-cardsupports wai-aria.n-switchsupports wai-aria.n-menusupports basic wai-aria.n-dividersupports basic wai-aria.n-data-tableaddsrow-propsprop.n-date-pickeraddsrangesprop.
- Fix
n-tab-panedisplay-directivenot working. - Fix
n-draweranimation. - Fix
n-scrollbar's track may be overlayed in chrome windows.
- Fix
n-collapsedefault-expanded-namesnot working.
- Fix
n-dropdowndefault placement is notbottom. - Fix
n-date-picker's input theme is not set indate&datetimetype. - Fix
n-config-providerdoesn't merge inherited theme.
n-collapseaddsarrowslot
Update package.json & README.md.
n-affix'slisten-toprop isdocumentby default (first scrollable parent before).
n-affix'slisten-toprop supportWindow | Document | HTMLElement.n-anchoraddsoffset-targetprop.n-selectaddsvirtual-scrollprop.n-selectaddsconsistent-menu-widthprop.n-date-pickerupdate value after confirm is clicked.
- Fix
n-date-pickerdoesn't disable start date correctly when value is empty. - Fix
n-input-numbernot restore valid value after blur. - Fix
n-date-pickerdisplay selected date when value is null in date mode.
n-affix'soffset-topprop is deprecated, please usetrigger-topinstead.n-affix'soffset-bottomprop is deprecated, please usetrigger-bottominstead.n-anchor'slisten-toprop is removed.
n-popover'splacementprop default value is set to'top'.
n-tabsaddson-closeprop.n-tabsaddson-addprop.n-tabsaddstabslot.n-tab-pane'stabprop support render function & VNode.n-tabs'stypeprop support'line'option.n-tabsadds box shadow to indicate scroll status.n-tabsaddspane-styleprop
- Fix
n-layout'sscrollTonot working when using native scrollbar.
n-tab-pane'slabelprop is deprecated. Please usetabprop instead.
n-layout-siderremovedshow-contentprop. Please useshow-collapsed-contentinstead.
n-data-tablesupport tree data.n-data-tableaddscascadeprop.n-data-tableaddschildren-keyprop.n-data-tableaddsindentprop.n-buttonaddstagprop.n-data-tableaddstable-layoutprop.n-treeaddsblock-lineprop.n-treesupport drag & drop.n-menuaddsinvertedprop.n-dropdownaddsinvertedprop.n-tabsaddsaddableprop.n-tabsaddstab-styleprop.n-tabsaddstabs-paddingprop.n-tabsaddsdefault-valueprop.n-layout-sider&n-layout-footer&n-layout-headeraddsinvertedprop.n-data-table'smax-height&min-heightprop accept CSS value.n-layout&n-layout-contentaddsembeddedprop.
n-layout&n-layout-sider'sscrollTonot working with native scrollbar.n-layout-sider'scollapse-modenot working.- Internal selection component's theme peers has wrong key for popover.
- Optimize
n-data-tableinit render count. - Optimize
n-selectopen duration after first opening. - Optimize
n-anchorscroll performance.
n-treeaddsvirtual-scrollprop.n-data-tableaddsvirtual-scrollprop.n-cascaderaddsvirtual-scrollprop.n-paginationaddsitem-countprop.n-paginationaddsprefixprop.n-paginationaddsprefixslot.n-paginationaddssuffixprop.n-paginationaddssuffixslot.n-inputaddsshow-countprop.
- Fix
n-layout-siderdoesn't show menu after collapsed. - Fix
n-input-numberdoesn't reset to origin value when blur with invalid value. - Fix
n-paginationdoesn't update page in uncontrolled mode.
n-form-itemworks withoutn-form.
- Fix
n-checkboxcheck mark not displayed. - Fix
n-date-pickericon transition style in trigger. - Fix
n-p,n-ol,n-ulmargin bottom is not 0 when they are last child. - Fix
n-checkbox-groupnot working in uncontrolled mode. - Fix
n-data-tableclear check all in table now working.
n-data-tablehighlight sorted col.n-data-tablecol addsrender-filterprop.n-data-tablecol addsrender-filter-iconprop.
n-data-tablefixed column box-shadow more clear in dark theme.- Fix
n-color-pickervalue has line wrap. - Fix
n-formFormRuleItem.trigger types.
n-data-tableaddssummaryprop.n-data-tableaddsoptionson'type=selection'column.
- Fix
n-layoutoverflow on horizontal direction.
n-checkboxaddsfocusableprop.n-cascaderaddsactionslot.
- Fix
n-cascaderloading triggered when click checkbox. - Fix
n-cascadermenu mask style.
n-drawerdoesn't have padding by default.n-drawer-contentis provided to fill the drawer.
n-draweraddscontent-styleprop.n-layoutaddscontent-styleprop.n-layout-sideraddscontent-styleprop.
n-config-providerAddcls-prefixprop.
- Fix
n-popovermay influence other popover when static props is hoisted.
n-color-pickeraddsshow-alphaprop.
- Fix
n-selectdefaultfallback-optionbreaks the component.
- Add
n-skeletoncomponent. - Add
n-calendarcomponent. - Add
n-color-pickercomponent. n-date-pickerlocale addsfirstDayOfWeek.n-selectaddsshowArrowprop.
- Fix
n-date-pickertrigger has no focus style in focus is in panel. - Fix
n-buttonloading's fade-in transtion drifts. - Fix
n-time-pickerclose animation drifts inn-date-picker. - Fix detached components in popover should stay in popover.
- Add
n-form-item-gicomponent.
- Fix
n-ellipsis&n-data-tableellpisis cell mis-vertical-aligned. - Fix
n-selectfilterable doesn't work with composite events.
- Fix
n-selectcaret color in single filter mode. - Fix
n-selectmenu action part can't be focused.
- Add
n-imagecomponent. - Add
n-global-stylecomponent. - Add
n-theme-editorcomponent. - Add
n-page-headercomponent. n-statisticaddslabelslot.n-breadcrumb-itemaddsseparatorslot & prop.n-buttonaddsborderedprop.n-cardaddsfooter-styleprop.
- Refactor
n-statistic's style n-menuaddsoptionsprop to replaceitemsprop,itemsprop is deprecated.
- Fix
n-anchorignore-gapnot working - Fix
n-collapsecontent is truncated byoverflow: hidden. - Fix
n-selecttag text overflow. - Fix
n-popoverdoesn't hide as expected in mobile phone.
- Fix
n-layout-siderhorizontal content overflows.
- Collapsing won't work for
n-layout-siderwithposition="absolute". - For
n-layoutcontainsn-layout-sideras a direct childhas-sidermust be set.
- Add
n-mentioncomponent. n-data-tablesupports expanding rows.
- Fix
n-inputfocused background color not correct in warning & error status in dark theme. - Fix
n-inputcaret color not correct in warning & error status. - Fix
n-select's namespace not correct. - Fix
n-cascader's namespace not correct. - Fix
n-inputin textarea mode can't select text. - Fix
n-inputin textarea mode has no box-shadow. - Fix
n-inputin textarea modeautosizeline not correct due to inconsistant font family. - Fix
n-inputin textarea modeautosizerows not changed if props.value is changed from outside.
- Change
n-empty's icon and make it size larger
- Fix
n-data-tablehas no right border of non-last td. - Fix
n-data-tableheader has no enough width when table width is more thanscroll-x
n-data-table's column addscolSpanandrowSpanprop.n-data-table's column addstitleColSpanprop.
- Fix
n-dropdownwithxandyset logs errors when mouse move outside it.
- Fix
n-selectselection overflow counter wrong popover trigger area
n-popoverdefaultdurationis set to100.n-popoverdefaultdelayis set to100.n-tooltipdefaultshowArrowis set totrue.
n-config-providerproptheme-overridessupport inheritance.n-cardaddshoverableprop.n-selectaddsmax-tag-countprop.n-cascaderaddsmax-tag-countprop.n-popoveraddsget-disabledprop.- adds
n-ellipsiscomponent. n-popover'swidthprop adds'trigger'option.n-data-table's columns'sellipsisprop can be set as props ofn-ellipsis. x
- Fix
n-cascadermenu appears after click clear button. - Fix
n-card's action not placed at bottom after style height is set. - Fix
n-popover'sdurationanddelayprop works unexpectly.
n-layout-sideraddsdefault-collapsedprop.n-modalsupport custom position.
- Fix
n-menutooltip ofn-menu-itemwon't show when vertical collapsed. - Fix
n-menucollapsed-icon-sizenot working. - Fix
n-menucallback props validate array with error. - Fix
n-layout-sidertoggle button is covered.
See vue3.md
- Fix the problem that
n-auto-complete's menu can't be closed when usetextareaas input. - Fix the problem that nested
n-iconis not flattened. - Fix the problem that
n-date-pickerhas no year in panel when type isdateanddatetime.
n-buttonaddsdashedprops- Add
n-spacecomponent. - Make
n-drawercontent 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 whensinglefilterable.
- Fix the problem that Message, Notification, Confirm doesn't follow theme change.
- Fix the problem that
n-selectdisplay with mistakes whenplaceholderis empty.
- Fix the problem that
n-radiocan not be focused. - Fix the problem that
n-data-table'smax-heightstyle is broken. https://bugs.chromium.org/p/chromium/issues/detail?id=1107223
- Refactor
n-tagstyles.
- Add
disabledforn-time-picker.
- Fix the child elements of
n-radiocannot focus.
- Refactor experimental setting primary color feature.
- Fix some style glitches.
- Add
autofocusforn-select.
n-menudoesn't support slot API anymore.
- Add experimental setting primary color feature.
- Add
attr-typeforn-button
- Fix the problem that if
n-inputis too width, its inner input elements' width won't expand. - Fix style glitches of border of a
n-input-numberinside an-input-group.
- Fix the problem that
n-a'stoprop can't be a object.
- Add
$NOs.themeto 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-tableis not center aligned. - Fix the problem that header of
n-data-tablehas no border-color transition. - Fix the problem that
show-icon&closable&borderedprops of$NConfirmdon'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-styleprop onn-layout.
- Fix the problem that round toggle button won't rotate
n-layout-siderwhen 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-tableare applied all the time. - Fix some style glitches.
- Refactor some components' styles in the light theme.
- Fix the problem that
n-slidertooltip has no z-index.
- Add
feedbackandvalidation-statusprops forn-form-item.
- Add
display-directiveprop forn-collapseandn-collapse-item. - Add
classandstyleprop forn-select'soption. - Add
debugprop forn-select.
- Fix the problem that
n-selectcan still be cleared when disabled.
- Fix the problem that the input value of
n-selectmay 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
labelprop 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-checkboxwhen 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-layoutfor performance reason, may be there will be some bugs.
n-buttonnow 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
linetypedn-tabs's line position stays still whenactiveNamechanges. - Fix the problem that
n-tabsscroll button is not triggered when tabs' width changes. - Fix the problem that height change of
n-tabswill unexpectly trigger some re-render callbacks.
- Fix the problem that label slot of the
n-form-item-col&n-form-item-rowcannot display.
- Fix the problem that some CSS length props are badly formated.
- Add
fallback-optionprop forn-selectto deal with the value with no corresponding option.
- Fix the problem that
max-heightandmin-heightare ill displayed onn-data-table.
n-data-table'smax-heightandmin-heightwill be applied to the entire table part, not only body.n-selectwill display value with no corrensponding option.
- Add
arrow-placementprop onn-collapse. - Add
arrowslot onn-collapse-item.
- Fix the problem that detachable components detached in wrong place when nested like
modal > drawer > component.
- Add
autofocusprop onn-input. - Add
closableoption onNMessage.
- Fix the problem that the default value of
n-tagclosableis set totrue. - Fix the problem that
n-data-tablecan't use allpagination's props. - Fix the problem that
n-pagination'son-page-size-changeprop doesn't work.
- Add
n-dynamic-tags. - Add
tableHeaderOverlayBackgroundColor&inputOverlayBackgroundColortostyleScheme
- Add
filter-option-valueprop forn-data-table'scolumnto better deal with single filter mode.
- Fix the problem that
n-collpase-itemdon't supportnumbertypedname.
- Fix the problem that all the
consolestatements are striped in the bundle.
- Change the data type of
n-data-table's filters from Array to Object.
n-data-tablecannot be filtered correctly when there are multiple filtered columns.
- Filter menu in
n-data-tableis 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.
validatemethod ofn-form-itemwon'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)'spushmethod.
- Add
'bar'&'arrow-circle'onshow-triggerprop ofn-layout-sider.
- Rails of
n-scrollbarshadow mouse event.
n-date-tableaddsemptyslot. #86