Skip to content

Latest commit

 

History

History
3066 lines (2202 loc) · 139 KB

CHANGELOG.en-US.md

File metadata and controls

3066 lines (2202 loc) · 139 KB

CHANGELOG

NEXT_VERSION

Feats

  • n-dialog adds onAfterLeave in DialogOptions Properties, closes #3662.
  • n-daynamic-tags export DynamicTagsOption type, closes #3677.
  • n-upload adds responseType prop, closes #3666.
  • n-dropdown's DropdownOption adds show prop, closes #3703.
  • n-data-table adds summary-placement prop, closes #3681.
  • n-tabs will scroll to active tab, closes #3683.

Performance

  • Fix n-menu's value will cause useless rendering of menu item, closes #3670.
  • Fix n-date-picker's style is unexpected in inline-theme-disabled mode, closes #3655.
  • Fix n-data-table can't set n-dropdown's theme-overrides, closes #3613.
  • Fix n-carousel displays abnoramlly if transform: scale style is set, closes #3684.
  • Fix n-tree's node is disabled after checkboxDisabled is set, closes #3620.

2.33.2

Fixes

  • Fix UMD bundle doesn't work, closes #3642.
  • Fix n-calendar's displayed month doesn't follow default-value, closes #3645.
  • Fix n-form-item's require-mark-placement prop not working when set to left, closes #3628.
  • Fix n-upload's OnBeforeUpload return type can only be Promise<boolean>.

Feats

  • n-radio adds colorActive theme variable, closes #3610.

2.33.1

Fixes

  • Fix could not resolve "@vicons/ionicons5" error, closes #3616.

2.33.0

Breaking Changes

  • n-rate's default-value prop's default value is changed from 0 to null.

Fixes

  • Fix n-select's menu missing option check mark in SSR mode, closes 07akioni/naive-ui-nuxt-demo#4
  • Fix n-card's embedded prop not work in n-dialog, closes #3592.
  • Fix n-radio warning when value prop type is boolean, closes #3540.
  • Fix n-tree content width may overflow container, closes #3561.
  • Fix n-form-item label text may overflow when it's left placement, closes #3593.

Feats

  • n-menu adds disabled-field prop.
  • n-rate adds clearable prop.
  • n-slider adds keyboard prop, closes #3528.
  • Add useDialogReactiveList method, closes #2041.
  • DialogReactive supports onAfterEnter prop, closes #3569.
  • DialogOptions supports class prop, closes #3591.

2.32.2

Fixes

  • Fix n-menu extra not working in submenu, closes #3390.
  • Fix n-tree can't expand node with type='group', closes #3388.
  • Fix n-pagination's' default-page-size prop doesn't follows page-sizes prop, closes #3369.
  • Added exports field in package.json #3410.
  • Fix n-dropdown option prefix & suffix's z-index, closes #3433.
  • Fix n-input-number's peers theme can't be configured, closes #3422.
  • Fix n-tag pointer should be not allow when disabled, closes #3494.
  • Fix n-transfer throws error if value has no corresponding option, closes #3406.
  • Fix n-data-table column onSelect's type, closes #3430.
  • Fix n-pagination don't trigger quick jumper on quick jumper blur, closes #3387.
  • Fix some components works abnormally in open mode shadow DOM, closes #3281.
  • Fix n-carousel in loop='true' and effect='slide', When there are only two elements, the transition switching effect of the rotation is opposite, closes #3414.
  • Fix n-input can't input value after compositing is interrupted by rerender, closes #3503.
  • Fix n-layout's embedded prop not working after n-config-provider has set inline-theme-disabled, closes #3500.
  • Fix n-input has duplicate placeholder if disabled, closes #3467.
  • Fix n-date-picker's iconColor theme variable not working, closes #3501.
  • Fix n-time-picker's iconColor theme variable not working, closes #3501.
  • Fix n-select's node-props prop doesn't work.
  • Fix Nuxt report CSSRender is not a function error on preview, closes #3506.
  • Fix n-data-table's rows disabled by column.expandable can still be expanded, closes #3373.
  • Fix n-input-number click add or minus button quickly may trigger value change loop, closes #3329.
  • Fix n-switch some theme variables can't use non-px value, closes #2938.
  • Fix n-input with resize & type="textarea" set can't be resized in some cases, closes #3479.
  • Fix n-countdown's reset method doesn't work in onFinish callback, closes #3536.

Feats

  • n-menu's MenuOption add show prop to set whether the Menu option is displayed, closes #3334.
  • n-alert adds bordered prop, closes #3358.
  • n-tag add trigger-click-on-close prop, closes #3343.
  • n-cascader adds disabled-field prop, closes #3338.
  • n-list adds clickable prop.
  • n-list adds hoverable prop.
  • n-list adds show-divider prop.
  • n-thing adds content-style prop.
  • n-thing adds description-style prop.
  • n-data-table adds render-expand-icon prop.
  • n-tree adds disabled-field prop.
  • n-tree adds keyboard prop, closes #3438.
  • n-tree-select adds disabled-field prop.
  • n-collapse-item adds disabled prop, closes #3408.
  • n-pagination adds simple prop.
  • n-cascader adds arrow slot, closes #3459.
  • n-transfer adds source-filterable prop, closes #3407.
  • n-transfer adds target-filterable prop, closes #3407.
  • n-transfer's filter prop adds from param.
  • n-list supports RTL.
  • n-drawer supports RTL.
  • n-input adds render-count prop.
  • n-input adds countTextColorDisabled theme variable, closes #3481.
  • n-statistic adds valueFontSize theme variable, closes #3510.
  • n-data-table adds sticky-expanded-rows to allow expanded content remains sticky, closes #3485.
  • n-tree adds scrollTo method, closes #3480.
  • n-pagination adds display-order prop, closes #3466.
  • n-grid adds layout-shift-disabled prop, closes #3301.

2.32.1

Fixes

  • Fix n-drawer's warning when using string in default-height prop, closes #3377.
  • Fix n-transfer's on-update:value is not triggered when uncheck options, closes #3393.

Feats

  • n-steps supports RTL.

2.32.0

Breaking Changes

  • n-transfer's UI is totally refactored. The original transfer component is renamed as n-legacy-transfer and will be removed in next major version.

Fixes

  • Fix n-date-picker will cancel selecting in range mode if click at disabled confirm button, closes #3254.
  • Fix n-button's focusable prop doesn't work, closes #3292.
  • Fix n-upload's on-error & on-finish props don't allow () => void type, closes #3290.
  • Fix n-select's placeholder may overflow if it's long.
  • Fix n-input has is no indent at the prefix if type="textarea" and :autosize="true", closes #3238.
  • Fix n-select focus loss when click action slot in filterable and multiple, closes #3247.
  • Fix n-carousel's autoplay prop be true hover can't stop the play, closes #3304.
  • Fix n-tree may throw error on node selection expanded-keys, closes #3319.
  • Fix n-avatar shows placeholder after load fails, closes #3315.
  • Fix n-input-number register mouseup event multiple times when hold on button.
  • Fix all components' exported props type's prop is readonly.
  • Fix n-tree's check-on-click prop sometimes doesn't work.
  • Fix n-progress's offset-degree prop behaves incorrectly.

Feats

  • n-checkbox-group's on-update:value prop adds trigger checkbox's value to params, closes #3277.
  • n-tree supports RTL.
  • n-input adds scrollTo method, closes #3280.
  • n-legacy-grid supports RTL.
  • n-statistic supports RTL.
  • n-thing supports RTL.
  • n-transfer add render-source-label prop.
  • n-transfer add render-target-label prop.
  • n-transfer add render-source-list prop.
  • n-scrollbar supports RTL.
  • useDialog supports onEsc prop.
  • n-watermark adds global-rotate prop.
  • n-notification add keepAliveOnHover props to control whether the notification will be closed when mouse hover, closes #3249.

2.31.0

Breaking Changes

  • n-date-picker's clearable will control visibility of clear button if no action is set, closes #1196.
  • n-button's native-focus-behavior prop default value is changed to 'not on Safari'.

Fixes

  • Fix n-data-table's column render prop's index param sequence exception when in expandable row, closes #3153.
  • Fix n-data-table column's colSpan doesn't work correctly in virtual scroll mode, closes #3052.
  • Fix n-data-table doesn't show summary row in virtual scroll mode, closes #3202.
  • Fix n-carousel has wrong hierarchical relationship between when effect is fade, closes #3227.
  • Fix n-carousel cannot slide under IOS, closes #3106.
  • Fix n-carousel losing the size of content elements when rendering, closes #3078.
  • Fix n-cascader's filter menu doesn't show option path, closes #3220.
  • Fix n-cascader's filter prop may not get correct path.
  • Fix n-date-picker menu's quarter text isn't same having type="quarterrange" and type="quarter", closes #3217.
  • Fix n-notification's leave animation if content height overflows screen.
  • Fix n-dropdown's disabled option has hover style.
  • Fix n-dropdown's menu may shift when it's entering.
  • Fix n-dropdown's transform origin may not be correct in Chrome.
  • Fix n-radio-button may not have correct cursor style, closes #3243.
  • Fix n-input's text color is too shallow with disabled state in Safari, closes #3241.
  • Fix n-input's separator may have line wrap.
  • Fix all components' user-select style prop's effect on Safari.
  • Fix n-data-table will prevent page scroll in virtual scroll mode.
  • Fix n-button doesn't have pressed effect on Firefox.

Feats

  • n-avatar adds lazy prop.
  • n-avatar adds intersection-observer-options prop.
  • n-number-animation adds on-finish prop.
  • n-notification supports RTL.
  • Export all components' props object.
  • n-popover adds footer-style prop.
  • n-popover adds footer slot, closes #3188.
  • n-dropdown adds menu-props prop, closes #2885.
  • n-data-table adds multiple prop, closes #3056.
  • n-date-picker would disable confirm button if end date is not selected, closes #3226.
  • n-tree adds check-on-click prop to control checked status, closes #2968.
  • n-tree adds accrodion prop, closes #3129.
  • n-countdown adds reset method, closes #3228.
  • n-drawer adds resizable prop.
  • n-drawer adds default-width prop.
  • n-drawer adds default-height prop.
  • n-drawer adds on-update:width prop.
  • n-drawer adds on-update:height prop.
  • Update ukUA locale.
  • n-message supports RTL.

2.30.8

Fixes

  • Fix n-select's menu transition style, closes #3211.

2.30.7

Fixes

  • Fix n-tabs's bar-width props invalid when 0 set, closes #3171.
  • Fix n-drawer has log warnings of console when use show-mask prop, closes #3172.
  • Fix n-button doesn't omit content if content is wrapped in ellipsis container, closes #3178.
  • Fix n-select will remove select value in multiple mode in form if Enter key is pressed in input element. Closes #3169.
  • Fix n-select's filter prop not working, closes #3175.
  • Fix n-modal's mask may overlay over content if no preset is used, closes #3204.
  • Fix n-button's icon doesn't align correctly if it's too big or small.
  • Fix n-select's created options may repeat multiple times in menu, closes #3206.

Feats

  • n-date-picker's type prop supports 'quarterrange' and 'yearrange'.
  • n-tree-select adds render-prefix prop.
  • n-tree-select adds render-suffix prop.
  • n-tree-select adds render-switcher-icon prop.
  • n-tree-select adds node-props prop.
  • n-tree-select adds render-label prop, closes #3197.
  • n-tree-select adds render-tag prop.
  • n-notification adds titleFontSize, metaFontSize, descriptionFontSize theme variables.

2.30.6

Fixes

  • Fix n-color-picker can't input alpha value correctly manually.
  • Fix some components don't work correctly if __VUE_OPTIONS_API__ is set to false, closes #3146.
  • Fix n-grid doesn't adjust it's content to fit responsive config in SSR page, closes #2462.
  • Fix n-modal when many instances are activated at same time, on-mask-click will be triggered on every modal even only one mask is clicked #3147.
  • Fix n-data-table's column ellipsis prop's type doesn't allow style prop.
  • Fix n-data-table's column will lose box shadow when set to ellipsis & fixed simultaneously, closes #3145.
  • Fix n-image's lazy prop doesn't work on Safari & Firefox.

2.30.5

Fixes

  • Fix n-input-group-label's content is abnormal in n-drawer-content, closes #3115.
  • Fix n-back-top has log warnings of console when use show prop, closes #3122.
  • Fix volar.d.ts components' type is any.
  • Fix n-grid-item may not display correctly if v-show is used, closes #3123.
  • Fix n-select clears input value on mouse enter when it's clearable and using IME.

Feats

  • 🌟 n-image adds lazy prop, closes #3055.
  • n-image adds intersection-observer-options prop.
  • n-image adds placeholder slot.
  • Exports NTooltipInst type.
  • n-data-table adds render-cell prop, closes #3095.
  • n-space adds wrap-item prop.
  • n-data-table's on-update:checked-row-keys will pass row data, closes #2215, closes #2265

2.30.4

Fixes

  • Fix n-button is focused after click with :focusable="false", closes #3071.
  • Fix n-data-table fixed selection may overlap with other fixed columns if it's width is not default, closes #3067.
  • Fix n-popselect doesn't trigger on-update:show when it select value then menu is closed.
  • Fix n-popselect's width can't be set via style.
  • Fix n-date-picker's year & month quick jump may be disabled after is-date-disabled is set, closes #3068.
  • Fix n-layout won't keep scroll state in keep-alive component, closes #3054.
  • Fix n-layout-sider won't keep scroll state in keep-alive component.
  • Fix n-tree may trigger loading multiple times.
  • Fix n-tree throws error on async expanding data with :expand-on-click="true", closes #3089.
  • Fix n-slider's tooltip has no enter transition when it's triggered by keyboard.
  • Fix n-slider mark text's line wrap isn't correct when it appears at right-most position.
  • Fix n-upload's inner anchor element may show focus-visible outline style.
  • Fix n-upload shows slot warning when list-type="image-card".
  • Fix n-upload image's corner may overflow item when list-type="image-card".
  • Fix n-dynamic-tags's on-create prop not working.
  • Fix virtual scroll stucking issue introduced by Chrome 102, closes #3048.
  • Fix n-upload-dragger is almost transparent if disabled.

Feats

  • 🌟 n-pagination adds dropdown menu for fast jump button.
  • 🌟 n-input adds allow-input prop.
  • 🌟 n-data-table adds default-expand-all prop, closes #3073.
  • 🌟 n-modal with inner popup component like n-select can handle esc key pressing correctly, closes #2973.
  • n-tree-select adds arrow slot, closes #3084.
  • n-cascader will show corresponding submenu after checkbox is clicked, closes #3079.
  • n-upload will disable dragger when maximum number of files was reached.
  • n-select adds node-props prop.
  • n-popselect adds node-props prop.
  • n-popselect adds virtual-scroll prop.
  • n-data-table adds scrollTo method, closes #2570.
  • n-slider adds thumb slot.

2.30.3

Fixes

  • Fix n-cascader's overflow count tag's popover can't scroll after filterable is set, closes #3061.
  • Fix n-drawer's show-mask prop will warn if 'transparent' is passed.
  • Fix n-calendar doesn't call on-panel-change when date of other months is clicked, closes #3063.

Feats

  • 🌟 UMD usage is supported.
  • n-cascader will expand menu to selected value, closes #3058.
  • n-space will use gap CSS property if possible, closes #3053.

2.30.2

Fixes

  • Fix n-select recomputed options on menu close, improves performance.

2.30.1

Feats

  • n-menu adds arrowColorChildActiveHover, itemIconColorChildActiveHoverHorizontal, itemIconColorChildActiveHover,itemTextColorChildActiveHoverHorizontal, itemTextColorChildActiveHover, arrowColorChildActiveHoverInverted, itemIconColorChildActiveHoverHorizontalInverted, itemIconColorChildActiveHoverInverted,itemTextColorChildActiveHoverHorizontalInverted, itemTextColorChildActiveHoverInverted theme variables, closes #2929

Fixes

  • Fix n-menu node-props is not applied to element with role="menuitem" but a inner element.
  • Fix n-menu node-props doesn't work with type="group" option.

2.30.0

Breaking Changes

  • Theme variable closeColor, closeColorHover, closeColorPressed are renamed to closeIconColor, closeIconColorHover,closeIconColorPressed. closeColorHover, closeColorPressed still exist, controlling background color of close button.
  • n-tag's colorXxx theme variables are renamed to colorBorderedXxx. colorXxx still exists, controlling background color of borderless tag.

Fixes

  • Fix createDiscreteApi not working with 'loadingBar'.
  • Fix n-popover background color shifts when closed on theme changing.
  • Fix n-select's menu position doesn't sync with select box when select box's size is changed.
  • Fix n-scrollbar can't show horizontal scrollbar, closes #3047.
  • Fix n-tree node's pressed style is prior to selected style when :block-line="true" and :selectable="true".
  • Fix n-slider may leak event handler on edga case.
  • Fix n-data-table doesn't restore scroll state when it's reactivated inside keep-alive component, closes #2522.
  • Fix n-image zoom level doesn't fit ultra large image.
  • Fix n-menu's dropdown option text style when some of it's descendants is activated.
  • Fix n-input's input-props prop's class & style not working.

Feats

  • 🌟 n-time-picker adds time-zone prop, closes #293.
  • 🌟 n-input-number adds parse prop.
  • 🌟 n-input-number adds format prop.
  • 🌟 n-input-number adds precision prop, closes #2068, #1859
  • 🌟 n-image adds a switch to display the original size of the picture, closes #3023.
  • 🌟 All components' close buttons use new style and are focusable.
  • All components' select menu & dropdown menu's options use new style.
  • n-tag adds icon slot.
  • n-tag adds strong prop.
  • n-tag adds background color in dark theme when :bordered="false", closes #1699.
  • n-time adds time-zone prop.
  • n-breadcrumb-item adds clickable prop.
  • n-breadcrumb-item uses new style, adds itemLineHeight, itemBorderRadius, itemColorHover, itemColorPressed theme variables.
  • n-notification optimizes title style when it's too long.
  • n-drawer optimizes title style when it's too long.
  • n-dialog optimizes title style when it's too long.
  • n-card optimizes title style when it's too long.

2.29.1

Fixes

  • Fix n-tree throw error when use pattern prop filter the tree node, closes #2960.
  • Fix n-watermark not working when cls-prefix is set.
  • Fix n-dropdown's incorrect render arrow when :show-arrow="true" #2977
  • Fix n-upload-dragger doesn't take full width.
  • Fix n-global-style doesn't clear body element's padding and margin.
  • Fix n-modal won't clear document body's overflow style if it's unmounted when it is shown, closes #3015.
  • Fix keyboard operation doesn't work in some specific old browsers.
  • Fix n-tabs lacks tab padding when justify-content is 'start', 'end' or 'center'.
  • Fix n-tabs doesn't update bar's position after justify-content or size is updated.
  • Fix n-switch has no transition effect when toggle disabled.
  • Fix n-modal & n-drawer will be closed on esc pressed during IME input, closes #2989.
  • Fix n-date-picker can select time when is selecting date in date time range picker, closes #3004.
  • Fix n-pagination has display issue when :page-count="0", closes #2970.
  • Fix n-date-picker's shortcuts will be overrided by default-time when type="datetimerange", closes #3020.
  • Fix n-image-group switch pictures doesn't work in SSR mode.
  • Fix n-tabs's height transition sometimes not applied when display-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 when type="monthrange".
  • Fix n-form-item's asterisk in required mode can be selected.
  • Fix n-list's color is incorrect inside n-popover in dark mode.

Feats

  • 🌟 n-select adds label-field prop, closes #3018.
  • 🌟 n-select adds value-field prop, closes #3018.
  • 🌟 n-steps adds on-update:current prop.
  • 🌟 n-date-picker adds panel prop.
  • 🌟 n-data-table adds on-scroll prop, closes #3025.
  • 🌟 FormItemRule adds renderMessage prop, closes #2525.
  • 🌟 Add createDiscreteApi to create message, notification, dialog, loading bar outside setup.
  • n-scrollbar adds trigger prop.
  • n-input-number adds button-placement prop.
  • n-select adds children-field prop, closes #3018.
  • n-upload adds trigger-style prop.
  • n-dropdown adds node-props prop.
  • n-dropdown adds render-option prop.
  • n-upload adds is-error-state prop, closes #2975.
  • n-date-picker's shortcuts prop supports readonly tuple type.
  • n-step adds disabled prop.
  • n-calendar adds header slot, closes #3036.
  • n-tree adds expand-on-click prop, #2949.

2.29.0

Breaking Changes

  • Since n-pagination supports size prop, some theme variables of n-pagination are changed.

Fixes

  • Fix n-menu use render-icon function render incorrect when returns true.
  • Fix n-tabs's tabFontWeightActive theme varialbe applies to all tabs, closes #2926.
  • Fix n-tree-select's default-expand-all not working.
  • Fix n-upload's accept prop doesn't work in drag & drop mode, closes #2919
  • Fix n-calendar's on-panel-change returning wrong month value when clicking Today.
  • Fix n-time throws error caused by getTimezoneOffset in SSR mode, closes #2545.
  • Fix n-transfer's search box's box-shadow is truncated.
  • Fix n-time-picker's input box's invalid value won't be cleared after blur.

Feats

  • n-notification-provider's placement prop supports 'top' and 'bottom', closes #2930.
  • n-pagination add size prop, closes #2888.
  • n-config-provider adds preflight-style-disabled prop.
  • n-pagination's quick jumper only allow integer input, closes #2928.
  • n-pagination will jump to the first / last page when its value is out of range, closes #2928.
  • n-color-picker adds on-confirm prop.
  • n-input adds clear-icon slot.
  • n-date-picker adds date-icon slot, closes #2668.
  • n-date-picker adds separator slot, closes #2668.

i18n

  • Add nlNL locale.

2.28.4

Fixes

  • Fix n-theme-editor's content can't be scrolled.

2.28.3

Fixes

  • Fix n-menu's dropdown-props prop can't override n-dropdown's size prop, closes #2868.
  • Fix n-switch abnormal loading animation when switching state, closes #2870
  • Fix n-data-table doesn't show content when page is more than data's page, closes #2840.
  • Fix n-data-table's cellProps doesn't has correct generic type.
  • Fix n-data-table's work-break isn't break-word.
  • Fix n-list's css variable n-merged-color is not correct.
  • Fix MessageReactive's destroy method throws error if message has disappeared.
  • Fix n-ellpisis can't show tooltip if content width is very close to container width, closes #1393, #2899.
  • Fix n-tree can't use width: fit-content; style, closes #2875.
  • Fix n-dropdown's on-update:show prop will be triggered twice, closes #2905.
  • Fix n-select can select option by pressing enter after options are cleared.
  • Fix n-data-table's selection and expand column can't set width.
  • Fix n-checkbox contains selectable whitespace.
  • Fix DescriptionsProps is misspelled as DescriptionProps.
  • Fix n-icon misses IconProps.
  • Fix n-icon-wrapper misses IconWrapperProps.
  • Fix n-countdown's display value is 1s faster than actual left time when precision=0, closes #2910.

Feats

  • n-menu adds node-props prop.
  • n-switch adds rubber-band prop.
  • n-space's justify prop supports 'space-evenly'.
  • n-popover adds content-style prop.
  • n-popover adds header-style prop.
  • n-popover adds scrollable prop.
  • n-select & n-cascader & n-tree-select's overflow count tag's popover is scrollable.
  • n-data-table adds pagination-behavior-on-filter prop.
  • n-date-picker's type prop supports monthrange option.
  • n-date-picker adds on-clear prop.
  • n-date-picker adds on-confirm prop, closes #2852.
  • n-data-table's columns's element supports minWidth prop.
  • n-tree adds checkbox-placement prop.
  • n-tree-select adds loading prop, closes #2857.
  • n-modal adds block-scroll prop, closes #2556.
  • n-drawer adds block-scroll prop, closes #2556.
  • n-drawer adds show-mask prop, closes #2556.
  • useDialog().xxx supports blockScroll option, closes #2556.
  • useDialog().xxx supports autoFocus option.
  • n-button adds native-focus-behavior prop, closes #2882.
  • n-time-picker adds on-confirm prop.
  • n-time-picker adds on-clear prop.
  • n-time-picker adds on-update:show prop.
  • n-time-picker adds show prop.
  • n-date-picker adds on-update:show prop.
  • n-date-picker adds show prop.
  • n-date-picker adds default-calendar-start-time prop, closes #2732.
  • n-date-picker adds default-calendar-end-time prop, closes #2732.
  • n-date-picker adds bind-calendar-months prop, closes #2751.
  • n-upload adds directory prop.
  • n-upload adds directory-dnd prop.
  • UploadFileInfo adds fullPath and batchId attrs.
  • DataTableBaseColumn adds tree attr, closes #2757.

2.28.2

Fixes

  • Fix date-picker actions's type can't be null.
  • Fix time-picker actions's type can't be null.
  • Fix n-tree-select's meaningless warning.
  • Fix n-tree-select's allow-checking-not-loaded prop doesn't work.
  • Fix n-tree-select's menu position may not sync with trigger box if :allow-checking-not-loaded="true".
  • Fix n-cascader's menu position may not sync with trigger box if :allow-checking-not-loaded="true".

2.28.1

Fixes

  • Fix notification icon won't show after first notification is emitted in SSR mode, closes #2793.
  • Fix dialog icon won't show after first dialog is displayed in SSR mode.
  • Fix n-drawer & n-modal may overflow screen on opening if :autofocus="true".
  • Fix n-tree-select's filter not working correctly when children-field is not set, closed #2789.
  • Fix n-tree-select's matched style is not cleared after filter value is cleared.
  • Fix n-tree-select's parent items in tree are selectable when check-strategy="child" and :cascade="false", closes #2780.
  • Fix n-select's empty slot can't let n-input focus inside, closes #2812.
  • Fix n-select's menu is invisible in fullscreen mode, closes #2722.
  • Fix n-color-picker's value prop can't be null.
  • Fix n-table's border color shifts when switch bewteen different props.

Feats

  • n-input-number adds add-icon and minus-icon slots, closes #2668.
  • n-dynamic-input adds RTL support.
  • n-table adds RTL support.
  • n-collapse-transition adds RTL support.
  • n-tree adds show-irrelevant-nodes prop, closes #2764.
  • n-tree-select adds allow-checking-not-loaded prop.
  • n-cascader adds allow-checking-not-loaded prop.
  • n-tree adds allow-checking-not-loaded prop.
  • n-button-group adds RTL support.

i18n

  • Add ptBR locale.
  • Add koKR locale.

2.28.0

Breaking Changes

  • n-time uses formatDistanceStrict rather than formatDistance in date-fns, closes #2703.

Fixes

  • Fix n-tabs has unexpected line animation when nested with n-tabs, closes #2689.
  • Fix n-popconfirm with no body content has wrong margin top, closes #2690.
  • Fix n-tree-select unexpected warning.
  • Fix n-calendar's disabled cells are clickable, closes #2686.
  • Fix message icon won't show after first message is emitted in SSR mode, closes #2721.
  • Fix n-popconfirm's positive-button-props and negative-button-props props lack reactivity, closes #2753.
  • Fix n-step has unexpected theme variable class.
  • Fix n-steps displays uncorrectly when nested in vertical & horizontal mode.
  • Fix n-popconfirm's positive-text & negetive-text props don't allow null type.
  • Fix n-color-picker can't be closed if mousedown.stop is set when click outside, closes #2709.
  • Fix n-tabs switch animation is incorrect when display-directive='show', closes #2718.

Feats

  • n-radio adds label prop, closes #2707.
  • n-drawer adds on-after-enter and on-after-leave props, closes #2698.
  • n-data-table adds paginate-single-page prop , closes #2043.
  • n-pagination add RTL support.
  • n-alert add RTL support.
  • n-data-table adds allow-checking-not-loaded prop, closes #2758.

2.27.0

Breaking Changes

  • n-menu has some style changes.

Fixes

  • Fix n-data-table‘s row disorder when using expand type, closes #2631.
  • Fix n-popconfirm doesn't has setShow & syncPosition methods.
  • Fix n-popselect doesn't has setShow & syncPosition methods.
  • Fix n-menu theme's peers missing Dropdown.
  • Fix n-color-picker can't input 0 as unit's value, closes #2680.
  • Fix n-tree's scrollbar overflows in virtual scroll mode, closes #2673.
  • Fix n-layout-sider's content-style can't override overflow: auto prop, closes #2671.
  • Fix n-date-picker displays panel item abnormally with month and quarter type in dark mode.
  • Fix n-dropdown onUpdateShow not working.
  • Fix n-auto-complete onSelect is triggered after onUpdate:value.
  • Fix n-data-table initiatorColumn in onUpdate:filters's type is an optional parameter.

Feats

  • n-tree-select adds on-load prop, closes #2550.
  • n-data-table adds on-load prop.
  • n-cascader adds menu-props prop, closes #2600.
  • n-cascader adds filter-menu-props prop, closes #2600.
  • n-badge adds value slot.
  • n-form adds validate-messages prop.
  • n-data-table's column supports cellProps prop, closes #2625.
  • n-step adds class to distinguish status.
  • n-popconfirm adds negative-button-props props, closes #2642.
  • n-popconfirm adds positive-button-props props, closes #2642.
  • n-pagination adds goto slot.
  • n-input adds password-visible-icon slot.
  • n-input adds password-invisible-icon slot.
  • n-select adds status prop.
  • n-input-number adds status prop.
  • n-auto-complete adds status prop.
  • n-cascader adds status prop.
  • n-date-picker adds status prop.
  • n-time-picker adds status prop.
  • n-mention adds status prop.
  • n-tree-select adds status prop.
  • n-menu adds showOption method, closes #2562.
  • n-dynamic-tags's value support object typed option.
  • n-dynamic-tags adds render-tag prop, closes #2526.
  • n-dynamic-tags adds on-create prop, closes #2576.
  • n-date-picker adds time-picker-props props, closes #2660.
  • n-tabs adds trigger prop, closes #2679.
  • n-menu adds itemColorHover, itemColorActiveHover, itemTextColorActiveHover, itemTextColorHorizontal, itemTextColorHoverHorizontal, itemTextColorActiveHorizontal, itemTextColorActiveHoverHorizontal, itemTextColorChildActiveHorizontal, itemIconColorActiveHover, itemIconColorHorizontal, itemIconColorHoverHorizontal, itemIconColorActiveHorizontal, itemIconColorActiveHoverHorizontal, itemIconColorChildActiveHorizontal, arrowColorActiveHover, itemColorHoverInverted, itemColorActiveHoverInverted, itemTextColorActiveHoverInverted, itemTextColorHorizontalInverted, itemTextColorHoverHorizontalInverted, itemTextColorChildActiveHorizontalInverted, itemTextColorActiveHorizontalInverted, itemTextColorActiveHoverHorizontalInverted, itemIconColorActiveHoverInverted, itemIconColorHorizontalInverted, itemIconColorHoverHorizontalInverted, itemIconColorActiveHorizontalInverted, itemIconColorActiveHoverHorizontalInverted, itemIconColorChildActiveHorizontalInverted, arrowColorActiveHoverInverted theme variables, closes #2598.
  • n-carousel adds next-slide-style and prev-slide-style props, closes #2340.
  • n-dialog adds negative-button-props prop.
  • n-dialog adds positive-button-props prop.
  • n-tabs adds animated prop.

i18n

  • Add thTH locale.

2.26.4

Fixes

  • Fix n-tree-selects in multiple mode cannot delete options whose default-value attribute contains parent node, closes #2605.
  • Fix n-tree may throw error when node is removed, closes #2597.
  • Fix useDialog renders component with popup content with unexpected focus management behavior, closes #2612.
  • Fix n-tree-select's node sometimes can't be clicked when check-strategy is 'child'.
  • Fix n-tree-select's emitted value can be not corresponding to check-strategy when delete option in select box with check-strategy is not 'all'.

Feats

  • useDialog supports closeOnEsc prop.
  • n-data-table exports DataTableFilterState type.
  • n-data-table exports DataTableSortState type.

2.26.3

Fixes

  • Fix n-button's loading icon shifts.

2.26.2

Fixes

  • Fix n-cascader arrow's loading animation last for too long time.
  • Fix n-select menu doesn't follow theme.
  • Fix n-tabs throws error without child, closes #809.
  • Fix n-menu's font color is not changed after theme is changed in chrome 99, closes #2563. This is actual a bug of chrome, however we used a workaround and fixed it.
  • Fix n-date-picker's date item click trigger area is as large as cell size only in 'date' mode.

Feats

  • n-dynamic-tags input slot add deactivate prop, closes #2575.
  • n-space add RTL support.
  • n-avatar-group add RTL support.
  • n-badge add RTL support.
  • n-radio add RTL support.
  • n-auto-complete adds focus method.
  • n-auto-complete adds blur method.

2.26.1

Fixes

  • Fix base-loading use css transition rather than svg animateTrantion to prevent js blocking, close #2506.
  • Fix n-time throws error caused by getTimezoneOffset, closes #2545.
  • Fix n-modal's mask doesn't have enter & leave transition.
  • Fix n-timeline has style conflict when vertical & horizontal n-timeline are nested, closes #2549.
  • Fix n-tree's arrow & loading switch animation isn't complete.

Feats

  • n-time-line-item adds line-type prop, closes #2548.
  • n-step adds icon slot, closes #2547.
  • n-input-number adds autofocus prop, closes #2551.
  • n-date-picker's date item click trigger area is as large as cell size, closes #2552.

2.26.0

Breaking Changes

  • Fix n-tooltip's gap between arrow and body. n-tooltip can't be translucent anymore.

Feats

  • n-popover adds arrow-point-to-center prop.
  • n-config-provider adds inline-theme-disabled prop.

2.25.8

Fixes

  • Fix useMessage loses styles.

2.25.7

Fixes

  • Fix n-time-picker still shows action bar when :actions="null".
  • Fix n-input's content may overflow when type="text" and autosize is enabled, closes #2505.
  • Fix n-upload put file field before other FormData fields, closes #2504
  • Fix n-button rtl support.
  • Fix n-form-item-row can't call n-form-item's methods.

Feats

  • n-collapse add RTL support.
  • useMessage adds create methods.
  • useMessage adds showIcon prop, closes #2495.
  • useMessage supports 'default' type.
  • n-checkbox supports label line wrap, closes #2419.
  • n-radio supports label line wrap, closes #2419.
  • n-checkbox add RTL support.
  • n-input add RTL support.
  • n-input-number add RTL support.

2.25.5 (2022-02-24)

Fixes

  • Fix n-col can't be wrapped correctly when span=6, closes #2497.
  • Fix n-tabs doesn't display border-bottom in scroll area on large number of tabs, closes #2500.

2.25.3 (2022-02-23)

Fixes

  • Fix n-switch can't use keyboard operation when checked value is customized.
  • Fix n-data-table's fixed column is covered by scroll content when placed inside popover.
  • Fix n-data-table when the filterOptions value is 0, the filter will not take effect, closes #2392.
  • Fix n-data-table cannot click selection checkbox if the selection column is a column's child.
  • Fix n-table's border-color abnormal style when this added dynamically, closes #2403.
  • Fix n-tree's default-expand-all prop doesn't work for dynamic data.
  • Fix n-form when model.xxx is undefined, validator will use null as validation value, closes #2486.
  • Fix n-input focus style's priority is lower than hover style, closes #2480.
  • Fix n-data-table display issue when placed inside keep-alive component with virtual scroll, closes #2183.
  • Fix notification enter & leave animation.

Feats

  • n-tree-select adds clear-filter-after-select prop.
  • n-cascader adds clear-filter-after-select prop.
  • n-switch adds icon slot.
  • n-switch adds checked-icon slot.
  • n-switch adds unchecked-icon slot.
  • n-tabs uses n as CSS vars prefix.
  • Add n-watermark component, closes #1745.
  • n-scrollbar adds scrollBy method, closes #2435.
  • n-data-table's summary's value supports VNodeChild, closes #2339.
  • n-input-number adds hold click to increment, closes #1293.
  • n-description adds titleTextColor theme variable.

i18n

  • Add skSK locale.
  • Fix frFR locale.

2.25.2 (2022-02-11)

Fixes

  • Remove useless console.log in resolveSlot.
  • Fix n-tag misses background color when checkable=true.
  • Fix n-tree throws Image error in happydom testing environment.
  • Fix n-select max-tag-count tag size doesn't follow select size.

Feats

  • n-progress props type add type dashboard.
  • n-progress adds gap-degree prop.
  • n-progress adds gap-offset-degree prop.
  • n-select adds clear-filter-after-select prop, closes #2352.

i18n

  • Add plPL locale, closes #2354.
  • Add eo locale.

2.25.1 (2022-02-06)

i18n

  • Add enGB locale.
  • Fix deDE locale.

2.25.0 (2022-02-04)

Breaking Changes

  • Refactor n-carousel's style when show-arrow is true.

Fixes

  • Fix n-color-picker's hue & alpha slider handle are influenced by rail's box-shadow.
  • Fix n-form-item prevent feedback padding when empty.
  • Fix n-button has extra margin in safari.
  • Fix n-form's rules and n-form-item's rule about validator and asyncValidator's rule type is not FormItemRule, closes #2299.
  • Fix n-log doesn't break line when line is too long, closes #2298.
  • Fix n-log doesn't export LogInst type.
  • Fix n-popselect action slot & empty slot now working.
  • Fix n-data-table can't use percent as column width.
  • Fix n-select trigger shows blank for a while when filterable=true and menu is closing.
  • Fix n-select's being created option is not cleared after menu is closed.
  • Fix n-select can't input content when show=false and filterable=true, closes #1723.
  • Fix n-dropdown has extra margin when trigger="manual".
  • Fix web-types.json's n-h1 ~ n-h6 name.
  • Fix n-select deletes option on backspace pressed while compisiting.
  • Fix n-select uses disabled option as pending option after menu is opened.

Feats

  • n-tabs props justify-content add types start center end.
  • n-auto-complete adds placement prop.
  • n-cascader adds placement prop.
  • n-color-picker adds placement prop.
  • n-date-picker adds placement prop.
  • n-mention adds placement prop.
  • n-select adds placement prop.
  • n-slider adds placement prop.
  • n-time-picker adds placement prop.
  • n-tree-select adds placement prop.
  • n-card adds header-extra-style prop.
  • n-popover adds keep-alive-on-hover prop, closes #2326.
  • n-input adds status prop.
  • Add n-icon-wrapper component.
  • n-popover exports PopoverPlacement type.
  • n-drawer exports DrawerPlacement type.
  • n-dynamic-tags adds input-props prop.
  • n-notification-provider adds container-style prop.
  • n-notification-provider exports NotificationPlacement type.
  • n-notification-provider exports NotificationType type.
  • n-tabs add bar-width prop.
  • n-dynamic-input adds create-button-props props.
  • n-dynamic-input adds create-button-default slot.
  • n-dynamic-input adds create-button-icon slot.
  • n-dynamic-input adds show-sort-button prop, closes #2121.
  • n-select can be used as tag input.
  • n-select exports SelectRenderLabel type.
  • n-select exports SelectRenderOption type.
  • n-select exports SelectRenderTag type.
  • n-tree adds node-props prop.

2.24.7 (2022-01-28)

Fixes

  • n-popselect doesn't work with width="trigger".

i18n

  • Update jaJP locale.
  • Update deDE locale.

2.24.6 (2022-01-26)

Feats

  • n-icon add component prop.

Fixes

  • Fix n-dynamic-input can add item when max is 0, closes #2271.
  • Fix n-dialog useless console.log.

2.24.5 (2022-01-25)

Fixes

  • n-input placeholder has no line-wrap in textarea type.
  • n-date-picker lacks space between panel year & month.

Feats

  • n-color-picker adds disabled prop.
  • n-date-picker adds trigger area for year & month quick jump.

2.24.4 (2022-01-24)

Fixes

  • Update vueuc version.

2.24.3 (2022-01-24)

Fixes

  • Fix n-layout-sider has no border transition.

2.24.2 (2022-01-24)

Fixes

  • Fix n-layout-sider still occupies 1px after collapsed.
  • Fix n-code doesn't break word when word-wrap=true.
  • Fix n-tab-pane's tab label area inherits attrs, closes #2221.
  • Fix n-image preview popup background can still be scrolled, closes #2241.
  • Fix n-input shows placeholder when browser auto completes it, closes #2234.
  • Fix n-input placeholder word break issue with type="textarea".
  • Fix n-avatar-group extra count not correct after max is set, closes #2244.
  • Fix n-calendar doesn't trigger on-panel-change on today button clicked.
  • Fix n-drawer can't be closed by esc key when mask-closable=false, closes #2233.

Feats

  • n-page-header adds back slot, closes #2176.
  • n-select adds reset-menu-on-options-change prop, closes #2168.
  • n-select adds arrow slot, closes #2201.
  • n-carousel effect supports 'card'.
  • n-input doesn't use native scrollbar when type="textarea", closes #2242, #1172.
  • n-number-animation add locale prop, closes #2181.
  • n-number-animation's locale follows config provider.
  • Expose lightTheme.
  • n-time-picker adds icon slot, closes #2228.
  • n-tab-pane adds tab-props prop, closes #2221.
  • Add CustomThemeCommonVars to customize useThemeVars.
  • n-slider adds show-tooltip prop, closes #2212.
  • n-select adds on-update:show prop.
  • n-select adds focus method, closes #2202.
  • n-select adds blur method, closes #2202.
  • n-date-picker adds focus method, closes #2202.
  • n-date-picker adds blur method, closes #2202.
  • n-time-picker adds focus method, closes #2202.
  • n-time-picker adds blur method, closes #2202.
  • n-checkbox adds focus method, closes #2202.
  • n-checkbox adds blur method, closes #2202.
  • n-cascader adds focus method, closes #2202.
  • n-cascader adds blur method, closes #2202.
  • n-upload adds input-props prop, closes #2204.
  • n-data-table col adds render-sorter-icon prop, closes #1785.
  • n-data-table col adds render-sorter prop, closes #1785.
  • n-date-picker easy navigation to specific month and year for date and datetime and daterange and datetimerange type.
  • n-modal adds close-on-esc prop.
  • n-modal adds auto-focus prop.
  • n-modal adds trap-focus prop.
  • n-modal adds on-esc prop.
  • n-drawer adds close-on-esc prop.
  • n-drawer adds auto-focus prop.
  • n-drawer adds trap-focus prop.
  • n-drawer adds on-esc prop.
  • n-upload adds clear method, closes #2247.
  • Add volar types.

i18n

  • Add esAR locale.
  • Add itIT locale.

2.24.1 (2022-01-12)

Fixes

  • Fix install error.

2.24.0 (2022-01-12)

Breaking Changes

  • Fix type PageHeaderProps name. It was mispelled as PageHeaderPorps before.
  • n-image's iconColor theme variable is renamed as toolbarIconColor.

Fixes

  • Fix n-carousel when Carousel is a single picture dot still existence, closes #1777.
  • Fix n-upload on-finish prop's event parameter type should be ProgressEvent.
  • Fix n-upload doesn't allow 2xx status code except 200.
  • Fix n-form when validate use validateCallback, cannot call Promise method.
  • Fix n-input-number input integer end with 0 cannot update, closes #2115.
  • Fix n-back-top allow document to be passed to listen-to prop.
  • Fix n-data-table's content can be clicked when loading, closes #2134.
  • Fix n-checkbox doesn't show indeterminate icon in safari.
  • Fix n-progress's inner text of line type not aligned in center, closes#2138.
  • Fix n-message's MessageReactive type lacks type parameter.
  • Fix n-select has different padding with n-input, closes #2149.
  • Fix n-tooltip log errors in console when used in n-select's render-option, closes #1436.
  • Fix n-select log ResizeObserver errors when using render-option in safari, closes #1671.
  • Fix n-carousel can't respond quickly and repeatedly on touch, closes #1892.
  • Fix n-carousel style of boundary, closes #1866.
  • Fix n-carousel cannot be clicked on the touchscreen, closes #1882.
  • Fix n-color-picker default mode can only be rgb is default value is empty.

Feats

  • n-code adds word-wrap prop, closes #2111.
  • n-modal adds z-index prop, closes #2088.
  • n-drawer adds z-index closes.
  • n-drawer adds wai-aria support.
  • useMessage's option support render prop.
  • n-data-table TableColumn supports string typed width, closes #2102.
  • n-calendar adds on-panel-change prop, closes #2082.
  • n-upload adds on-error prop.
  • n-pagination adds label slot.
  • n-tabs adds syncBarPosition method, closes #2120.
  • n-form, n-form-item's label-width prop support auto option, closes #2087.
  • n-result adds icon slot, closes #2130.
  • n-date-picker adds value-format prop, closes #2076.
  • n-date-picker adds formatted-value prop.
  • n-date-picker adds default-formatted-value prop.
  • n-date-picker adds on-update:formatted-value prop.
  • n-date-picker's on-update:value prop will pass formatted value out.
  • n-image adds show-toolbar-tooltip prop.
  • n-image adds more theme variables, closes #1531.
  • n-upload adds image-group-props prop.
  • n-progress adds offset-degree prop, closes #2010.
  • n-form-item adds feedback slot, closes #1142.
  • n-form-item's require-mark-placement prop adds 'right-hanging' option, closes #2094.
  • n-cascader adds render-label prop, closes #2048.
  • n-auto-complete adds render-option prop, closes #1629.
  • n-auto-complete adds render-label prop, closes #1629.
  • n-tree adds render-switcher-icon prop, closes #1551.
  • n-message exports MessageType type.
  • n-time-picker adds value-format prop.
  • n-time-picker adds formatted-value prop.
  • n-time-picker adds on-update:formatted-value prop.
  • n-time-picker adds default-formatted-value prop.
  • n-carousel adds default-index prop.
  • n-carousel adds current-index prop.
  • n-carousel adds show-arrow prop.
  • n-carousel adds dot-type prop, closes #1931.
  • n-carousel adds dot-placement prop, closes #1462.
  • n-carousel adds slides-per-view prop.
  • n-carousel adds space-between prop.
  • n-carousel adds centered-slides prop.
  • n-carousel adds direction prop, closes #1931.
  • n-carousel adds loop prop.
  • n-carousel adds effect prop, closes #1159.
  • n-carousel adds transition-props prop, closes #1159.
  • n-carousel adds transition-style prop, closes #1159.
  • n-carousel adds draggable prop.
  • n-carousel adds touchable prop.
  • n-carousel adds mousewheel prop.
  • n-carousel adds keyboard prop.
  • n-carousel adds show-dots prop.
  • n-carousel adds on-update:current-index prop.
  • n-carousel adds arrow slot.
  • n-carousel adds dots slot.
  • n-form-item adds for prop.
  • n-color-picker adds label slot.
  • n-color-picker adds render-label prop.
  • n-form-item adds label-props prop.

2.23.2 (2021-12-29)

Feats

  • <meta name="naive-ui-style" /> can be used to controll the component style's position.
  • n-empty adds show-icon prop.
  • n-modal adds a11y support, closes #1877.
  • Add n-avatar-group component.
  • n-input-number supports loading state.
  • Add n-countdown component.
  • Add n-number-animation component, closes #1465.
  • n-statistic adds tabular-nums prop.
  • n-pagination will give itemCount a approximate value derived from pageSize and pageCount if it's not set, closes #2044.
  • n-cascader adds on-update:show prop, closes #2049.
  • n-scrollbar uses n as CSS vars prefix.
  • n-popconfirm uses n as CSS vars prefix.
  • n-gradient-text uses n as CSS vars prefix.
  • n-form uses n as CSS vars prefix.
  • n-pagination uses n as CSS vars prefix.
  • n-loading-bar uses n as CSS vars prefix.
  • n-empty uses n as CSS vars prefix.
  • n-list uses n as CSS vars prefix.
  • n-layout uses n as CSS vars prefix.
  • n-message uses n as CSS vars prefix.
  • n-mention uses n as CSS vars prefix.
  • n-menu uses n as CSS vars prefix.
  • n-popover uses n as CSS vars prefix.
  • n-transfer uses n as CSS vars prefix.
  • n-table uses n as CSS vars prefix.
  • n-statistic uses n as CSS vars prefix.
  • n-code uses n as CSS vars prefix.
  • n-breadcrumb uses n as CSS vars prefix.
  • n-slider uses n as CSS vars prefix.
  • n-spin uses n as CSS vars prefix.
  • n-select uses n as CSS vars prefix.
  • n-result uses n as CSS vars prefix.
  • n-calendar uses n as CSS vars prefix.
  • n-card uses n as CSS vars prefix.
  • n-cascader uses n as CSS vars prefix.
  • n-color-picker uses n as CSS vars prefix.
  • n-checkbox uses n as CSS vars prefix.
  • n-data-table uses n as CSS vars prefix.
  • n-date-picker uses n as CSS vars prefix.
  • n-descriptions uses n as CSS vars prefix.
  • n-drawer uses n as CSS vars prefix.
  • n-dropdown uses n as CSS vars prefix.
  • n-rate uses n as CSS vars prefix.
  • n-radio uses n as CSS vars prefix.
  • n-progress uses n as CSS vars prefix.
  • n-skeleton uses n as CSS vars prefix.
  • n-collapse uses n as CSS vars prefix.
  • n-collapse-transition uses n as CSS vars prefix.
  • n-thing uses n as CSS vars prefix.
  • n-carousel uses n as CSS vars prefix.
  • n-page-header uses n as CSS vars prefix.
  • n-image uses n as CSS vars prefix.
  • n-input uses n as CSS vars prefix.
  • n-icon uses n as CSS vars prefix.
  • n-modal uses n as CSS vars prefix.
  • n-notification uses n as CSS vars prefix.

Fixes

  • Fix n-form-item-gi 's validate doesn't work, closes #1901.
  • Fix n-card action's border-radius style.
  • Fix n-code's content is repeatly appended if language is not set, closes #2034.
  • Fix n-tabs's tabTextColorActiveSegment and tabTextColorHoverSegment theme variables not working, closes #2038.
  • Fix n-image may keep keyboard handler after mounted.
  • Fix n-image can't exit preview after esc is pressed when there's only 1 image, closes #2042.
  • Fix n-drawer-content's content doesn't scroll by default, ref #2003.
  • Fix n-popover log warnings to console when manually set same zindex on multile instances and closes them, closes #2050.
  • Fix n-transfer has no scrollbar in virtual scroll mode.
  • Fix n-input-number cannot input decimals end with 0.

2.23.1 (2021-12-20)

Fixes

  • Fix n-transfer list doesn't follow container height when style.height is set, closes #1879.
  • Fix n-skeleton & n-gradient-text cause runtime error in some old browsers, closes #1867.
  • Fix n-data-table ellipsis prop in column doesn't support all n-ellipsis's props, closes #1891.
  • Fix n-form's blankHeightXxx theme var doesn't follow common.heightXxx, closes #1880.
  • Fix n-date-picker's panel doesn't use dateFormat in locale, closes #1793.
  • Fix n-log text color transition in theme switching.

Feats

  • n-back-top uses n as CSS vars prefix.
  • n-steps uses n as CSS vars prefix.
  • n-switch uses n as CSS vars prefix.
  • n-auto-complete uses n as CSS vars prefix.
  • n-log uses n as CSS vars prefix.
  • n-timeline uses n as CSS vars prefix.
  • n-time-picker uses n as CSS vars prefix.
  • n-avatar uses n as CSS vars prefix.
  • n-dynamic-tags uses n as CSS vars prefix.
  • n-tag uses n as CSS vars prefix.
  • n-dialog uses n as CSS vars prefix.
  • n-upload uses n as CSS vars prefix.
  • n-tree uses n as CSS vars prefix.
  • n-tree-select uses n as CSS vars prefix.

2.23.0 (2021-12-17)

Breaking Changes

  • n-switch can no longer be clicked under loading status, closes #1853.

Fixes

  • Fix n-data-table 's horizontal scrollbar disappears when max-height is not set, closes #1857.
  • Fix n-input-number cannot input negative decimals value, closes #1858.
  • Fix n-dialog open new dialog again when pressing enter key, closes #1559.

Feats

  • n-divider uses n as CSS vars prefix.
  • typography uses n as CSS vars prefix.
  • n-badge uses n as CSS vars prefix.

2.22.0 (2021-12-15)

Breaking Changes

  • n-button can no longer be clicked under loading status, closes #1628.

Fixes

  • Fix n-alert's header slot unable to display normally.
  • Fix n-data-table's pagination onUpdatePageSize prop does't trigger, closes #1774.
  • Fix n-data-table can select rows when table is loading, closes #1812.
  • Fix n-tag line-height is too low that clamps the content.
  • Fix n-select displays with mistake in input if filterable is true, closes #1823.
  • Fix n-page-header's content has margin-top when header is not displayed, closes #1795.
  • Fix n-avatar color prop not working.
  • Fix n-avatar's inner icon has wrong size.
  • Fix n-image lacks scoped style's scope-id, closes #1788.
  • Fix n-radio click event will be triggered twice, closes #1680.
  • Fix n-data-table layout display incorrect when the table is empty and min-height set, closes #1809.
  • Fix n-data-table's summary has hover style.
  • Fix n-data-table fixed group column box-shadow error and right fixed column order error, closes #1832.
  • Fix n-anchor's hover & active style.
  • Fix n-data-table's header fixed column style on data is empty.

Feats

  • n-tree-select adds menu-props prop.
  • n-tree-select adds action slot, closes #1765.
  • n-tree-select adds empty slot.
  • n-cascader adds empty slot.
  • n-popselect adds action slot.
  • n-popselect adds empty slot.
  • n-data-table will check all if indeterminate header checkbox is clicked, closes #1827.
  • n-button uses n as CSS vars prefix, closes #1808.
  • n-date-picker adds default-time prop.
  • n-alert uses n as CSS vars prefix.
  • n-date-picker's type prop support quarter option.
  • n-anchor uses n as CSS vars prefix.

i18n

  • Add zhTW locale.

2.21.5 (2021-12-07)

Fixes

  • Fix n-input click clear icon does't trigger change event, closes #1754.
  • Fix n-input-number the cursor moves when press arrow keys to change value, closes #1759.

Feats

  • n-date-picker's default format follows i18n.

i18n

  • Add frFR locale.

2.21.4 (2021-12-06)

Fixes

  • Fix n-date-picker has no placeholder when type is year.
  • Fix n-element doesn't export NEl alias name.
  • Fix n-upload still shows upload trigger when max limit is reached in image-card mode, closes #1744.
  • Fix n-form's FormValidate type lacks shouldRuleBeApplied parameter, closes #1747.
  • Fix n-upload is displayed vertically in n-form in image-card mode, closes #1746.
  • Fix n-upload's file list's top margin if trigger is hidden.
  • Fix n-upload shows normal file status when response has 4xx status, closes #1741.

Feats

  • n-upload adds show-trigger prop.
  • n-data-table will ignore children with length 0 in tree data mode, closes #1703.

2.21.3 (2021-12-03)

Fixes

  • Fix n-theme-editor throw error when click button component, closes #1708.
  • Fix n-input's color is abnormal in Android WeChat, closes #1705.
  • Fix n-input 's borderHover theme variable doesn't work, closes #1704.
  • Fix n-dialog's content word-break.
  • Fix n-input-number cannot input decimals value.
  • Fix n-data-table's header & body may have wrong border radius, closes #1712.
  • Fix n-button's colorOpacityXxx theme vars are not string typed.

Feats

  • n-switch adds rail-style prop, closes #1718.
  • n-image adds preview-disabled props, closes #1647.
  • n-image adds on-load & on-error prop.
  • n-image adds fallback-src prop.
  • n-data-table adds on-update:expanded-row-keys prop.
  • n-tree adds watch-props prop.

2.21.2 (2021-11-29)

Fixes

  • Fix n-slider disabled tooltip at the wrong time.
  • Fix n-slider incorrect fill color style, closes #1670.
  • Fix n-data-table's pagination onUpdatePage prop trigger twice, closes #1666.
  • Fix n-log's trim prop not being independent when used.
  • Fix n-slider processing of step value precision.
  • Fix n-date-picker throw error when time-picker input is empty, closes #1678.
  • Fix n-popover not working when trigger is focus.
  • Fix n-scrollbar's scrollbar will vanish if clicked.
  • Fix n-popover has an invalid line in style.
  • Fix n-popover flip=false doesn't work.
  • Fix n-input-number can't accept indeterminate input value when max or min is set, closes #1664.
  • Fix n-input-number's input value is not changed to a valid value if it's input exceeds min or max multiple times.

Feats

  • n-input-number adds keyboard prop.
  • Add tableColorStriped theme variable, closes #1686.
  • n-notification-provider adds max & placement prop.
  • n-notification adds destroyAll method, closes #333.
  • n-layout-sider adds on-after-enter and on-after-leave props, closes #1241.
  • n-upload adds custom-request prop, closes #1389.
  • n-data-table adds expanded-row-keys prop.
  • n-popover provides better auto position adjustment, closes #1520, #1643.
  • n-input-number adds update-value-on-input prop, closes #1662.
  • n-auto-complete adds prefix & suffix slot.

2.21.1 (2021-11-23)

Fixes

  • Fix n-image drag the picture to move the position incorrectly when the zoom is large.
  • Fix n-data-table style glitches after some rows are expanded.
  • Fix n-data-table doesn't expand tree data correctly, closes #1644.

2.21.0 (2021-11-21)

Breaking Changes

  • NButton.fontWeightText & NButton.fontWeightGhost theme vars are removed. If you want to change font weight, you can use strong prop of n-button instead.

Feats

  • n-tag adds avatar slot.
  • n-data-table adds striped prop, closes #1552.
  • n-table adds striped prop, closes #1552.
  • n-slider adds vertical prop, closes #1468.
  • n-slider adds reverse prop.
  • n-slider's step prop support mark option.
  • Bypass Vitejs bug on string extrapolation, ref #636.
  • n-button adds strong prop.
  • n-button adds secondary prop.
  • n-button adds tertiary prop.
  • n-button adds quaternary prop.
  • n-auto-complete adds input-props prop, closes #1610.
  • n-avatar adds fallback-src prop, closes #702.
  • n-avatar adds on-error prop.
  • n-input adds select methods, closes #1328.
  • Add n-tab component, closes #1630.
  • n-switch adds round prop, closes #1469.
  • n-step adds title slot.
  • n-menu support divider type option.

Fixes

  • Fix the default value of the suffix internal component's loading property.
  • Fix n-space is shown when it has no children, closes #1605.
  • Fix n-radio has no onUpdateChecked prop.
  • Fix n-dropdown animation flicker problem, closes #1600.
  • Fix n-data-table’s clearSorter method isn't exported properly.
  • Fix n-global-style throws error in SSR.
  • Fix n-button will trigger click event twice if pressed, closes #1626.

2.20.3 (2021-11-15)

Fixes

  • Fix n-grid suffix NGridItem does not set right span when collapsed, closes #1530.
  • Fix n-button to shrink abnormally in certain scenarios when using the circle prop, closes #1557.
  • Fix input-props does affect type prop, closes #1553

Feats

  • n-menu adds a color distinction between selected and unselected arrow, closes #1535.
  • n-menu adds watch-props prop, closes #1536.
  • n-date-picker's type prop support year option.

i18n

  • Add createLocale to make locale customizable, closes #1525.

2.20.2 (2021-11-05)

Feats

  • n-modal adds transform-origin prop, closes #1498.
  • n-tabs adds pane-class prop, closes #1500.

Fixes

  • Fix n-alert contentTextColor and titleTextColor type theme variable not working, closes #1495.
  • Fix n-time-picker not trigger blur event when the panel is closed by ok button, closes #1499.
  • Fix n-upload UploadFileInfo's thumbnailUrl field not working, closes #1495.
  • Fix n-button keyboard prop does not work, closes #1508.
  • Fix n-upload instance misses openOpenFileDialog method.

i18n

  • Add deDE locale.
  • Add nbNO locale.

2.20.1 (2021-11-01)

Fixes

  • Fix n-tabs switch tab does not work when adding a new tab, closes #1417.
  • Fix n-tree's filter prop does not work when assigned children-field , closes #1477.
  • Fix n-cascader can't remove options when using customized fields in multiple mode.
  • Fix n-select's option created by on-create doesn't show correct label in trigger, closes #1482
  • Fix n-select menu height shifts on close in filterable mode.

Feats

  • n-select adds menu-props prop, closes #1475.
  • n-image's toolbar adds close icon, closes #1412.
  • n-tree's on-load prop is triggered when the expanded-keys prop changes in remote mode, closes #1339.

2.20.0 (2021-10-28)

Breaking Changes

  • n-collapsed-transition's collapsed prop is deprecated, please use show instead, closes #1407.

Fixes

  • Fix n-log font-size prop not working, closes #1416.
  • Fix n-loading-bar will show once even if start is not called when loading-bar-style is set.
  • Fix n-date-picker separator prop not working, closes #1456

Feats

  • n-data-table optimize the logic of underlying rendering and improve component performance.
  • n-date-picker's shortcuts prop supports functional value.
  • n-tab-pane's display-directive props supports the show:lazy option, closes #1374.
  • n-input of text type supports count slots, closes #1440.

i18n

  • Add idID locale.

2.19.11 (2021-10-21)

Fixes

  • Fix n-upload's file can't be removed when file count limit is reached, closes #1401.

Feats

  • n-tabs adds on-before-leave prop, closes #1337.
  • n-color-picker adds show-preview prop, closes #1281.
  • n-tab-pane's display-directive prop support show:lazy option, closes #1374.

2.19.9 (2021-10-18)

Fixes

  • Fix n-collapse's expanded status is lost when using v-if with n-collapse-item, closes #1387.
  • Fix n-dialog's close button will be overlayed with content, closes #1381.
  • Fix n-upload file is set to null after upload failure, closes #1316.
  • Fix n-cascader's filter prop not working.
  • Fix n-cascader's label-field prop breaks filter.
  • Fix n-cascader's separator prop isn't appiled to filter select menu.

Feats

  • n-menu adds dropdown-props prop, closes #1345.
  • n-input adds count slot, closes #1314.
  • n-time-picker adds use-12-hours prop, closes #547.
  • n-input-number adds focus & blur methods.

2.19.8 (2021-10-14)

Fixes

  • Fix n-data-table fixed style does not work in group header table, closes #1341.
  • Fix n-data-table has duplicate right border when it has multiple level headers.
  • Fix n-scrollbar doesn't support scrollTo, closes #1346.
  • Fix n-ellipsis's expand-trigger prop not show pointer cursor when content is short when tooltip = false, closes #1299.
  • Fix n-upload's disabled prop's style not working, closes #1237.
  • n-config-provider adds breakpoints prop, closes #1379.

Feats

  • n-auto-complete adds get-show prop, closes #1292.
  • n-select adds input-props prop, closes #1351.
  • n-color-picker adds swatches prop, ref #1281.
  • n-upload adds max prop.

i18n

  • Add jaJP locale.

2.19.7 (2021-10-12)

Fixes

  • Fix n-ellipsis's expand-trigger prop not show pointer cursor when content is short, closes #1299.
  • Fix n-select's fallback-option prop's type, closes #1327.
  • Fix n-modal's on-after-enter prop not working.

2.19.6 (2021-10-10)

Fixes

  • Fix n-menu's incorrect warning on default-expanded-keys.
  • Fix useThemeVars is sometimes unusable, closes #1309.
  • Fix the list-style style of the <ul> element.

Feats

  • n-cascader provide all options paths in update:value callback function, closes #1235.
  • n-layout and n-layout-sider adds on-scroll prop, closes #1232.
  • n-config-provider adds preflight-style-disabled prop.

2.19.5 (2021-10-07)

Fixes

  • Fix n-form-item's content is too long and the width is incorrect
  • Fix n-layout-sider's arrow-circle's icon style.
  • Fix n-upload's show-preview-button prop not working, closes #1238.
  • Fix n-date-picker's date type of action validate error.
  • Fix n-data-table throws error when using selection and summary together, closes #1276.
  • Fix n-data-table selection column's width is collapsed when it is set to fixed, closes #1283.
  • Fix n-popconfirm can't be nested in n-tooltip, closes #872.
  • Fix n-popselect checkmark overlays on option text, closes #1282.
  • Fix n-pagination buttonColor theme variable not working.

Feats

  • n-breadcrumb-item adds href prop.
  • n-descriptions adds separator prop, closes #1263.
  • n-dropdown adds key-field prop.
  • n-dropdown adds label-field prop.
  • n-dropdown adds children-field prop.
  • n-menu adds key-field prop.
  • n-menu adds label-field prop.
  • n-menu adds children-field prop.
  • n-data-table supports using path of the property to get as column key, closes #1271.
  • n-switch adds checked-value prop, closes #1234.
  • n-switch adds unchecked-value prop, closes #1234.
  • n-checkbox adds checked-value prop, closes #1234.
  • n-checkbox adds unchecked-value prop, closes #1234.
  • Add n-collapse-transition component, closes #829.
  • Add n-scrollbar component.
  • n-dropdown support options with type='render'.
  • n-data-table supports multiple column sorting.
  • n-date-picker adds first-day-of-week prop.
  • n-date-picker's type prop support month option.
  • n-popover adds to prop.
  • n-tree's on-update:indeterminateKeys prop adds option info.
  • n-tree's on-update:expandedKeys prop adds option info.
  • n-tree's on-update:checkedKeys prop adds option info.
  • n-tree's on-update:selectedKeys prop adds option info.

2.19.3 (2021-09-28)

Fixes

  • Fix n-data-table ellipsis not show when last column not set ellipsis, closes #934.
  • Fix n-grid-item won't work with responsive config.
  • Fix n-tabs's scroll shadow is not updated when it's resized, closes #1224.

Feats

  • n-grid-item won't display when span is 0, closes #1220.
  • n-grid adds item-responsive prop.

2.19.2 (2021-09-26)

i18n

  • Add ukUA locale.

Fixes

  • Fix n-global-style applies style transition on first mount.
  • Fix n-drawer border transition, closes #1211.
  • Fix n-input-number's value prop can't be null type.
  • Fix components with rtl support throws error in SSR.
  • Fix components with popover throws error in SSR.
  • Fix global theme overrides not working for n-select trigger, closes #1229.

Feats

  • n-checkbox adds aria support.
  • n-alert aria support.

2.19.1 (2021-09-21)

Fixes

  • Fix DialogReactive props are readonly.
  • Fix n-tree-select sets check-strategy='child' not working in single select mode.
  • Fix n-upload's trigger is compressed in image-card mode when it's the only item in the row.
  • Fix n-upload-dragger has no border transition.
  • Fix n-upload can't upload files.
  • Fix n-tree's checkable prop doesn't work when cascade is false.
  • Fix n-tree-select's checkable prop doesn't work when cascade or multiple is false.

2.19.0 (2021-09-19)

Breaking Changes

  • n-layout-sider's arrow-circle trigger is changed into new style.

Feats

  • n-layout-sider adds collapsed-trigger-style prop.
  • n-menu adds accordion prop , closes #917.
  • n-input-number adds readonly prop , closes #1198.
  • n-spin adds description prop and slot.
  • n-anchor adds type prop.
  • n-upload adds abstract prop, adds n-upload-triggern-upload-file-list component, closes #1102.
  • n-tree adds indeterminate-keys prop.
  • n-tree-select adds indeterminate-keys prop.
  • n-tree adds on-update:indeterminate-keys prop.
  • n-tree-select adds on-update:indeterminate-keys prop.
  • n-tabs type prop adds 'segment' option, closes #1133.
  • n-popover adds z-index prop, closes #764.
  • n-modal adds on-after-enter prop.
  • n-modal adds on-after-leave prop.

Fixes

  • Fix n-select focus input when closing tag with filterable , closes #1170.
  • Fix n-button border on hover conflicts with n-badge, closes #1195.
  • Fix n-upload prop v-model:file-list dosen't work well when prop multiple is true, closes #418.
  • Fix useThemeVars doesn't apply theme overrides, closes #1194, #1176.
  • Fix n-tabs's left shadow isn't displayed in card type.

2.18.2 (2021-09-14)

Feats

  • n-cascader show Empty component when options prop is empty, closes #1092.
  • n-cascader's on-update:value prop adds option info.
  • n-tree adds check-strategy prop.
  • n-date-picker adds input-readonly prop, closes #1120.
  • n-time-picker adds input-readonly prop, closes #1120.
  • n-config-provider adds global config of the Empty component, closes #1092.
  • n-select adds on-update:show prop.
  • n-auto-complete exports AutoCompleteOption and AutoCompleteGroupOption types.
  • n-page-header adds RTL support.
  • n-select support variadic height option rendering.
  • n-tree-select's on-update:value prop adds option info.
  • n-select's on-update:value prop adds option info.
  • n-popselect's on-update:value prop adds option info.
  • n-card adds embedded prop.

Fixes

  • Fix n-p warns when depth is number.
  • Fix n-date-picker‘s type of actions prop.
  • Fix n-select can't override n-empty's theme variables.
  • Fix n-dynamic-tags adds button is not disabled when it is disabled.
  • Fix n-select closes menu when enter key is pressed in filterable mode without options data.
  • Fix n-auto-complete's children prop can't use AutoCompleteOption type.
  • Fix n-gi's collapsed does not work in n-form-item-gi, closes #1160.

2.18.1 (2021-09-08)

Feats

  • useDialog option adds style prop, closes #1054.
  • n-timeline adds icon slot, closes #1096.
  • n-timeline adds icon-size prop.

Fixes

  • Fix n-step doesn't work with v-for children.
  • Fix n-input-number cannot enter decimals when step is not a decimal.

2.18.0 (2021-09-07)

Breaking Changes

  • n-form & n-form-item split show-require-mark into show-require-mark and require-mark-placement.

Feats

  • n-drawer adds on-mask-click prop.
  • n-for adds require-mark-placement prop, closes #1055.
  • n-form-item adds require-mark-placement prop, closes #1055.

Fixes

  • Fix n-step must be passed with internal-index.
  • Fix n-radio-group's on-update:value and on-update-value can't be array.
  • Fix n-cascader check-strategy="child" doesn't behaves the same as previous leaf-only.

2.17.2 (2021-09-06)

Fixes

  • Fix n-tree-select shows key not label when show-path=true, closes #1095.

2.17.1 (2021-09-06)

Fixes

  • Fix n-cascader menu not showing correct checked keys.

2.17.0 (2021-09-05)

Breaking Changes

  • n-tree-select's leaf-only prop is deprecated, please use check-strategy="child" instead.
  • n-cascader's leaf-only prop is deprecated, please use check-strategy="child" instead.
  • n-input's show-password-toggle is deprecated, please use show-password-on="click" instead.

Fixes

  • Fix n-cascader click tag to delete the sub option in multi selection mode, and the tree option is not updated.
  • Fix n-input chinese input method not correct while mouse leave the input in clearable is true, closes #905.
  • Fix n-description's warning caused by v-if that should not appear, closes #1083.
  • Fix n-layout's sider-placement doesn't work after build, closes #978.
  • Fix n-input-number's step calculate error when the value is decimal, closes #1007.
  • Fix n-popselect' s default placement and padding.
  • Fix n-calendar's text color of disabled date.

Feats

  • n-cascader adds onUpdateValue prop.
  • n-auto-complete adds onUpdateValue prop.
  • n-data-table's column's renderFilterMenu adds hide param.
  • n-tree adds key-field prop.
  • n-tree adds label-field prop.
  • n-tree adds children-field prop.
  • n-tree-select adds key-field prop.
  • n-tree-select adds label-field prop.
  • n-tree-select adds children-field prop.
  • n-cascader adds key-field prop.
  • n-cascaderadds label-field prop.
  • n-cascader adds children-field prop.
  • n-dropdown option adds props prop, closes #813.
  • n-data-table supports multi-selection by holding down shift, closes #554.
  • n-tree-select adds check-strategy prop, closes #624.
  • n-cascader adds check-strategy prop.
  • n-message option adds keepAliveOnHover, closes #1036.
  • n-message-provider adds keep-alive-on-hover prop, closes #1036.
  • n-upload export UploadFile type.
  • n-cascader export CascaderOption type.
  • n-mention export MentionOption type.
  • n-transfer export TransferOption type.
  • n-pagination export PaginationInfo type.
  • n-data-table export DataTableCreateSummary type.
  • n-code adds inline prop, closes #834
  • n-collapse adds header-extra slot, closes #1046.
  • n-input adds show-password-on prop.
  • n-upload adds list-type, show-preview-button, on-preview and create-thumbnail-url prop.

2.16.7 (2021-08-27)

Feats

  • n-mention adds focus and blur methods.

Fixes

  • Fix n-mention's menu is too far from text in input mode.
  • Fix n-tree node can not expanded.

2.16.6 (2021-08-26)

Feats

  • n-timeline adds horizontal prop, closes #887.
  • n-image adds preview-src prop, closes #922
  • n-dynamic-tags adds input and add slot, closes #499.
  • n-timeline-item adds color prop.

Fixes

  • Fix n-image not initializing rotate after switching images, closes #921.
  • Fix n-data-table's loading is not centered, closes #929.
  • Fix n-tree throws an exception when onLoad callback does not adds children, closes #772.
  • Fix n-input will show placeholder and 0 simultaneously while passing value=ref(0) in n-input, closes #914.
  • Fix n-data-table flex-height not working without scroll-x, closes #952.

2.16.5 (2021-08-20)

Feats

  • n-input-number adds clearable prop.
  • n-form adds show-label prop, closes #858.

Fixes

  • Fix n-notification's exported NotificationReactive type is not writable, closes #876.
  • Fix n-tabs style glitches when different types tabs are nested, closes #850.
  • Fix n-dropdown's inner link click trigger area is not the entire option, closes #823.
  • Fix n-popover arrow's misplacement when placed in nested popovers with different placement, closes #916.
  • Fix n-ellpisis doesn't work after content is updated, closes #776.

2.16.4 (2021-08-16)

Fixes

  • Fix ruRU locale exports.

2.16.3 (2021-08-16)

i18n

  • Add ruRU locale #852.

Feats

  • n-message-provider adds container-style prop.
  • n-message-provider adds placement prop.
  • n-message adds class to distinguish type.
  • n-date-picker adds shortcuts props, closes #280.

Fixes

  • Fix n-rate half star overlays star background in dark mode.
  • Fix n-menu renders unexpectly when render-icon returns true.
  • Fix n-space render empty placeholder while use v-if, closes #824.

2.16.2 (2021-08-09)

Feats

  • n-message-provider adds closable prop, closes #795.
  • n-tree-select adds show-path prop, closes#625.
  • n-layout adds sider-placement prop, closes #566.

Fixes

  • Fix n-avatar's scale value is incorrect while use v-show, closes #779.
  • Fix n-menu show a blue background when click the menu on mobile phone, closes #799.
  • Fix n-select filterable select breaks, closes #510.
  • Fix n-data-table When selectAll is selected, the state display of selectAll should not contain disabled rows, closes #778.
  • Fix n-color-picker's on-complete callback's argument value is incorrect, closes #748.

2.16.1 (2021-08-06)

Feats

  • n-loading-bar-provider adds loading-bar-style props, closes #457.
  • n-button adds text-color prop.
  • n-form export FormValidationError type.
  • n-popconfirm support not show action components, closes #770.

Fixes

  • Fix n-slider loss floating point decimal precision, closes #751.
  • Fix n-data-table onUpdatePage and onUpdatePageSize not triggered while using jsx.
  • Fix n-progress's percentage prop default value doesn't work with different types.
  • Fix n-select hide close icon when option is disabled.
  • Fix n-modal can't be closed when using custom content, closes #788.

2.16.0 (2021-08-02)

Breaking Changes

  • useLoadingBar's finish method won't work if no start is called.
  • n-input's type='input' is renamed to type='text'.

Feats

  • n-scrollbar adds scrollbarWidth, scrollbarHeight and scrollbarBorderRadius common theme variables, closes #649.
  • n-menu doesn't should icon placeholder when render-icon returns falsy value, closes #722.
  • n-menu adds render-extra prop.
  • n-select adds on-clear prop.
  • n-form adds disabled prop, closes #538.
  • n-dynamic-tags adds max prop.

Fixes

  • Fix n-dropdown click exception when using v-for.
  • Fix n-modal cannot customize classes when use preset, closes #744.
  • Fix n-cascader menu width shifts in virtual scroll mode, closes #728.

2.15.11 (2021-07-29)

Fixes

  • Fix n-data-table pagination's error.

2.15.10 (2021-07-29)

Feats

  • n-pagination adds prev and next slots, ref #648.
  • n-tag adds color prop, closes #693.
  • n-dynamic-tags adds color, closes #693.
  • n-time-picker optimization the now button logic, closes #401.
  • n-pagination PaginationInfo adds itemCount prop, closes #585.
  • n-select adds on-clear prop.

Fixes

  • Fix n-message's destroyAll method doesn't work.
  • Fix n-timeline's header slot is invalid when using alone.
  • Fix n-select incorrect style when props has disabled and filterable, closes #698.
  • Fix n-upload operation buttons displayed when has file-list & disabled props, closes #668.

2.15.9 (2021-07-28)

Feats

  • n-message adds destroyAll method.
  • n-input-number adds prefix, suffix slots, closes #609.

Fixes

  • Fix n-message options' duration prop doesn't work.

2.15.8 (2021-07-27)

Feats

  • n-menu adds expand-icon prop, closes #414.
  • n-descriptions, n-descriptions-item adds label-style and content-style props, closes #536.

Fixes

  • Fix n-data-table the style penetration of the n-spin, closes #663.

2.15.7 (2021-07-25)

Feats

  • n-dropdown adds show-arrow prop, closes #647.
  • n-time-picker adds actions prop, closes #401.
  • n-mention adds render-label prop.
  • n-switch adds checked, unchecked slots.
  • n-switch adds loading prop, closes #301.
  • n-select pressing arrow down can open menu, ref #300.
  • n-tree-select pressing arrow down can open menu, ref #300.
  • n-cascader pressing arrow down can open menu, ref #300.
  • n-popover's trigger prop support 'focus', closes #477.
  • n-message-provider adds duration and max props.
  • n-data-table adds flex-height prop, closes #596.

Fixes

  • Fix n-carousel arrow buttons cannot be displayed in a specific browser, closes #625.
  • Fix n-layout-sider's width prop can't be string, closes #607.
  • Fix n-slider prop disabled doesn't work, closes #641.
  • Fix n-input show clear button when readonly.
  • Fix n-data-table doesn't show scrollbar when table-layout is auto, closes #518.
  • Fix n-data-table's header checkbox always displays checked when data is empty.
  • Fix n-data-table header and body's scrollings are not sync.

2.15.6 (2021-07-23)

Feats

  • n-menu adds render-icon prop.
  • n-upload adds show-file-list prop.
  • n-dropdown adds render-icon prop.
  • n-checkbox-group adds min and max prop.
  • n-mention adds empty slot.
  • useDialog option adds on-mask-click prop, closes #419.
  • n-space justify prop supports center, space-around and space-between.
  • n-date-picker adds close-on-select prop, closes #541.
  • n-dialog adds action prop, closes #550.
  • n-mention’s option.label support render function.
  • n-color-picker adds actions prop, closes #319.

Fixes

  • Fix n-space's inner display: grid element breaks item height, closes https://github.com/TuSimple/naive-ui/issues/546.
  • Fix n-dropdown's render-label prop is invalid for group type option.
  • Fix n-datatable's scroll-x prop is setted, the table content width is not full of the container width, closes #518.
  • Fix n-descriptions doesn't work with v-for children.
  • Fix n-dialog display an empty button when positive-text is not set, closes #549.
  • Fix n-pagination PaginationInfo's endIndex data error, closes #584.
  • Fix n-data-table rowClassName doesn't work when type is string, closes #582.

2.15.5 (2021-07-16)

Feats

  • n-tree adds render-label, render-prefix and render-suffix props.
  • n-rate adds allow-half prop.
  • n-carousel adds show-arrow prop.
  • n-slider adds format-tooltip prop.
  • n-upload adds event in on-finish callback params.
  • n-rate adds readonly prop.
  • n-time-picker adds seconds, minutes, hours props.
  • n-notification export NotificationApi, NotificationOptions and NotificationReactive type.
  • n-avatar adds on-error prop, closes #394.
  • n-image adds on-error prop, closes #394.
  • n-image adds object-fit prop, closes #394.
  • n-avatar adds object-fit prop, closes #394.
  • n-menu expands all the ascendant of selected item by default, closes #481.

Fixes

  • Fix n-calendar's default-value prop cannot be used.
  • Fix n-pagination page count is not correct when item-count is 0.
  • Fix n-scrollbar content-style can not override the default width of style.
  • Fix n-select placeholder transition.
  • Fix n-loading-bar useLoadingBar's return type can be undefined.
  • Fix n-tag's type prop adds primary type.
  • Fix n-dynamic-tags's type prop adds primary type.

2.15.4 (2021-07-09)

Feats

  • n-steps adds icon customization in 'finish' and 'error' status.
  • n-tree exports TreeDragInfo & TreeDropInfo type.
  • n-empty export icon slot.
  • useDialog option adds maskClosable prop, closes #420.

Fixes

  • Fix n-data-table fixed column box-shadow doesn't update when there is only on side fixed.
  • Fix n-data-table fixed column box-shadow doesn't update when props.scrollX is not set but each column's width is set.
  • Fix n-result image doesn't show on Safari and mobile phone.
  • Fix n-drawer-content's header-style style not applied to header.
  • Fix n-dialog instance throws error when calling destroy.
  • Fix n-image-group initialize zoom scale when switching a picture #423.
  • Fix n-select bug in using custom label, closes #352.
  • Fix n-carousel when autoplay dot active status isn't displayed correctly, closes #434.
  • Fix n-input fixed clearable position, closes #428.
  • Fix n-image doesn't accept attributes.
  • Fix n-image set border-radius not working, closes #427.
  • Fix n-tab-pane throws error when there's no children.
  • Fix n-select clear button is too big in n-spin, closes #454.
  • Fix n-select options are not updated properly, closes #441.

2.15.3 (2021-07-05)

Feats

  • n-loading-bar export LoadingBarApi type.
  • n-image adds img-props prop.
  • Add native title attributes to some components to enhance the experience.
  • n-tree adds prefix and suffix in TreeOption.
  • n-carousel adds dot-placement prop.
  • n-auto-complete adds loading prop, closes #241.
  • n-slider adds tooltip prop, closes #362.
  • n-input adds loading prop.

Fixes

  • Fix n-upload multiple=false doesn't work for drag & drop, closes #363.
  • Fix n-dropdown's inner <a />'s style.
  • Fix n-menu tooltip's inner <a />'s style, closes #338.
  • Fix n-carousel doesn't work with v-for children.
  • Fix n-form label-align prop not working, closes #213
  • Fix n-data-table fixed column shadow doesn't work when max-height is set, closes #376.

2.15.2 (2021-07-02)

Feats

  • n-carousel adds trigger prop.
  • n-menu adds dropdown-placement prop.
  • n-upload adds before-upload prop.
  • n-image adds alt prop.
  • Support the enter key on the numeric keypad.
  • n-spin support icon slot for icon customizing, closes#260.
  • n-spin adds rotate prop fro slot icon to rotate.
  • n-form export FormItemRule & FormRules type.
  • n-select adds render-tag prop.

Fixes

  • Fix n-log warn on highlight.js when no language is set, closes #327.
  • Remove n-calendar's useless console.log.
  • Fix loading-bar disappears unexpectl, closes #343.
  • Fix n-select doesn't scroll to selected item when menu is opened, closes #346.
  • Fix n-tab-pane throws error when using v-if.
  • Fix n-modal still closes when on-negative-click returns false.
  • Fix n-collapse defaultExpandedNames does not work in accordion mode, closes #350.
  • Fix n-tag lacks on-update-checked prop.
  • Fix n-menu render-label not working for dropdown in collapsed mode.

2.15.1 (2021-06-30)

  • Fix no web-types.json.

2.15.0 (2021-06-29)

Breaking Changes

  • n-select's SelectOption's render no longer render label but the entire option.

Feats

  • n-carousel supports touch operation, closes #271.
  • n-input adds input-props prop.
  • n-message optimize the error message of useMessage when there is no n-message-provider, adds the related document link.
  • Add web-types.json for webstorm, however I recommend using VSCode and Volar. web-types.json only provides limited information for coding.
  • n-tree-select adds leaf-only prop.
  • n-tree adds leaf-only prop.
  • n-select's SelectOption's label supports render function.
  • n-select adds render-option prop.
  • n-select export SelectOption & SelectGroupOption type.
  • n-popover adds header slot.
  • n-dropdown adds render-label prop.

Fixes

  • Fix n-date-picker n-provider pass date-locale not work, closes #250.
  • Fix n-input clear button placeholder prevent clicking on actual component #288
  • Fix n-carousel click the at current item button, the component behaves abnormally.
  • Fix n-menu render-label not working for tooltip in collapsed mode.
  • Fix n-dropdown can't render n-popover in option.

2.14.0 (2021-06-23)

Breaking Changes

  • n-element removes abstract prop.
  • n-element doesn't return theme variables in default slot. Please use useThemeVars instead.

Feats

  • Add n-carousel component.
  • Add useThemeVars composable to provide theme variables.
  • n-upload adds on-update:file-list prop, closes #135.
  • n-date-picker adds update-value-on-close prop.

Fixes

  • Fix n-select can't input in filterable mode in single mode in iOS Safari, closes #230
  • Fix n-input-number lacks on-update-value prop.
  • Fix n-input-number's value can't be null.
  • Fix n-input-number's button doesn't work after value is cleared, closes #251.
  • Fix n-data-table expand trigger's cursor is not pointer, closes #261.

Refactors

  • n-input-number will focus directly, closes #244.

2.13.0 (2021-06-21)

Feats

  • n-dropdown adds on-clickoutside prop, closes #123.
  • n-menu adds render-label prop, closes #84
  • n-tree supports keyboard operations.
  • Add n-tree-select component.

Fixes

  • Fix n-tree drag over leaf node causes error, closes #200.
  • Fix n-tree misses on-update-expanded-keys, on-update-selected-keys, on-update-checked-keys prop.
  • Fix n-tree's selected-keys prop influences original array.
  • Fix n-select's input has useless empty row in multiple filterable mode.
  • Fix n-button's loading icon doesn't show on iOS Safari, closes #219.
  • Fix n-date-picker doesn't show icon when clearable.
  • Fix n-time-picker icon mis-aligned when clearable, closes #222.

2.12.2 (2021-06-19)

Fixes

  • Fix n-form-item always show require mark.

2.12.1 (2021-06-19)

Feats

  • n-form, n-form-item enhance show-require-mark prop, closes #171
  • n-dropdown support class attr, closes #180.
  • n-input adds show-password-toggle prop.
  • n-popselect support class attr.
  • n-select adds render-label prop.
  • n-popselect adds render-label prop.

Fixes

  • Fix n-input baseline shifts when mix Chinese and English characters in input, closes #174.
  • Fix n-icon use setup script, $parent is an empty object by default, and access $parent.$options will be undefined.
  • Fix n-notification position not correct.
  • Fix n-message content & option type not correct.

2.12.0 (2021-06-16)

Breaking Changes

  • n-a's to prop is removed. Now if you want to use n-a like a router link, you can follow the doc site.

Feats

  • n-tree support disabled & checkboxDisabled on option.
  • n-input-number support keyboard events ArrowUp and ArrowDown operations.

Fixes

  • Fix n-cascader text blur in win10 Chrome.
  • Fix n-tree click on indent won't trigger select in block line mode.

2.11.12 (2021-06-16)

Feats

  • n-drawer-content adds closable prop, closes #139.
  • n-element pass themeVars to default slot.
  • n-element adds abstract prop.

Fixes

  • Fix n-radio-group doesn't trigger form item validation.
  • Fix n-auto-complete customizing input not working.

2.11.11 (2021-06-15)

Feats

  • n-tag adds RTL support

Fixes

  • Move vue & vue-router to peer dependencies to avoid redundant bundle.

2.11.9 (2021-06-15)

Feats

  • n-space supports wai-aria.
  • n-button-group supports wai-aria.
  • n-progress supports wai-aria.
  • n-menu supports use <a /> and <router-link /> as label, closes #84.
  • n-input-number adds show-button prop.
  • n-rate support default slot for icon customizing.
  • n-rate adds color prop.
  • n-rate adds size prop.

Fixes

  • Fix n-card's header-style it not applied to header. #103
  • Fix n-dialog misses destroyAll method.
  • Fix n-data-table misses on-update-sorter, on-update-filters, on-update-page and on-update-page-size props.

2.11.8 (2021-06-13)

Feats

  • n-data-table exports DataTableCreateRowClassName, DataTableCreateRowKey and DataTableCreateRowProps type.

Fixes

  • Fix n-calendar's on-update:value prop type.
  • Fix n-form-item's style attribute grid-template-columns influence on the layout of child elements. #93
  • Fix n-data-table's prop types of rowKey, rowClassName, rowProps, summary aren't compatible with expected value.

2.11.7 (2021-06-12)

Fixes

  • Fix n-slider doesn't prevent scrolling when touchstart.
  • Fix n-color-picker's default value doesn't follow modes.
  • Fix not lodash & lodash-es type.

2.11.6 (2021-06-11)

Feats

  • n-spin's size prop support number.
  • n-date-picker adds footer slot.

Fixes

  • Fix n-slider doesn't support touch events
  • Fix n-button causes crash when it's imported in script inside head tag. #68
  • Fix n-spin animation shifts.
  • Fix n-menu lack on-update-value and on-update-expanded-keys props.
  • Fix n-popconfirm icon slot not working.
  • Fix n-tabs logs useless info.
  • Fix n-color-picker set modes not working. #77

2.11.5 (2021-06-10)

Feats

  • n-dropdown adds disabled prop
  • n-card adds :target style

Fixes

  • Fix n-popover sometimes won't sync position in manual mode.
  • Fix n-transfer's empty icon is no toggling transition.
  • Fix n-message API option is not optional.
  • Fix n-calendar date calculate incorrectly.
  • Fix n-input misses the password type declaration.
  • Fix n-menu the type definition of extra property of menu and submenu.
  • Fix n-dropdown mouse cursor is not pointer.

2.11.4

Feats

  • n-button supports wai-aria.
  • n-card supports wai-aria.
  • n-switch supports wai-aria.
  • n-menu supports basic wai-aria.
  • n-divider supports basic wai-aria.
  • n-data-table adds row-props prop.
  • n-date-picker adds ranges prop.

Fixes

  • Fix n-tab-pane display-directive not working.
  • Fix n-drawer animation.
  • Fix n-scrollbar's track may be overlayed in chrome windows.

2.11.3

  • Fix n-collapse default-expanded-names not working.

2.11.2

Fixes

  • Fix n-dropdown default placement is not bottom.
  • Fix n-date-picker's input theme is not set in date & datetime type.
  • Fix n-config-provider doesn't merge inherited theme.

Feats

  • n-collapse adds arrow slot

2.11.1

Update package.json & README.md.

2.11.0

Breaking Changes

  • n-affix's listen-to prop is document by default (first scrollable parent before).

Feats

  • n-affix's listen-to prop support Window | Document | HTMLElement.
  • n-anchor adds offset-target prop.
  • n-select adds virtual-scroll prop.
  • n-select adds consistent-menu-width prop.
  • n-date-picker update value after confirm is clicked.

Fixes

  • Fix n-date-picker doesn't disable start date correctly when value is empty.
  • Fix n-input-number not restore valid value after blur.
  • Fix n-date-picker display selected date when value is null in date mode.

Deprecated

  • n-affix's offset-top prop is deprecated, please use trigger-top instead.
  • n-affix's offset-bottom prop is deprecated, please use trigger-bottom instead.
  • n-anchor's listen-to prop is removed.

2.10.0

Breaking Changes

  • n-popover's placement prop default value is set to 'top'.

Feats

  • n-tabs adds on-close prop.
  • n-tabs adds on-add prop.
  • n-tabs adds tab slot.
  • n-tab-pane's tab prop support render function & VNode.
  • n-tabs's type prop support 'line' option.
  • n-tabs adds box shadow to indicate scroll status.
  • n-tabs adds pane-style prop

Fixes

  • Fix n-layout's scrollTo not working when using native scrollbar.

Deprecated

  • n-tab-pane's label prop is deprecated. Please use tab prop instead.

2.9.0

Breaking Changes

  • n-layout-sider removed show-content prop. Please use show-collapsed-content instead.

Feats

  • n-data-table support tree data.
  • n-data-table adds cascade prop.
  • n-data-table adds children-key prop.
  • n-data-table adds indent prop.
  • n-button adds tag prop.
  • n-data-table adds table-layout prop.
  • n-tree adds block-line prop.
  • n-tree support drag & drop.
  • n-menu adds inverted prop.
  • n-dropdown adds inverted prop.
  • n-tabs adds addable prop.
  • n-tabs adds tab-style prop.
  • n-tabs adds tabs-padding prop.
  • n-tabs adds default-value prop.
  • n-layout-sider & n-layout-footer & n-layout-header adds inverted prop.
  • n-data-table's max-height & min-height prop accept CSS value.
  • n-layout & n-layout-content adds embedded prop.

Fixes

  • n-layout & n-layout-sider's scrollTo not working with native scrollbar.
  • n-layout-sider's collapse-mode not working.
  • Internal selection component's theme peers has wrong key for popover.

2.8.0

Perf

  • Optimize n-data-table init render count.
  • Optimize n-select open duration after first opening.
  • Optimize n-anchor scroll performance.

Feats

  • n-tree adds virtual-scroll prop.
  • n-data-table adds virtual-scroll prop.
  • n-cascader adds virtual-scroll prop.
  • n-pagination adds item-count prop.
  • n-pagination adds prefix prop.
  • n-pagination adds prefix slot.
  • n-pagination adds suffix prop.
  • n-pagination adds suffix slot.
  • n-input adds show-count prop.

Fixes

  • Fix n-layout-sider doesn't show menu after collapsed.
  • Fix n-input-number doesn't reset to origin value when blur with invalid value.
  • Fix n-pagination doesn't update page in uncontrolled mode.

2.7.4

Feats

  • n-form-item works without n-form.

Fixes

  • Fix n-checkbox check mark not displayed.
  • Fix n-date-picker icon transition style in trigger.
  • Fix n-p, n-ol, n-ul margin bottom is not 0 when they are last child.
  • Fix n-checkbox-group not working in uncontrolled mode.
  • Fix n-data-table clear check all in table now working.

2.7.3

Feats

  • n-data-table highlight sorted col.
  • n-data-table col adds render-filter prop.
  • n-data-table col adds render-filter-icon prop.

Fixes

  • n-data-table fixed column box-shadow more clear in dark theme.
  • Fix n-color-picker value has line wrap.
  • Fix n-form FormRuleItem.trigger types.

2.7.2

Feats

  • n-data-table adds summary prop.
  • n-data-table adds options on 'type=selection' column.

Fixes

  • Fix n-layout overflow on horizontal direction.

2.7.1

Feats

  • n-checkbox adds focusable prop.
  • n-cascader adds action slot.

Fixes

  • Fix n-cascader loading triggered when click checkbox.
  • Fix n-cascader menu mask style.

2.7.0

Breaking Changes

  • n-drawer doesn't have padding by default. n-drawer-content is provided to fill the drawer.

2.6.0

Feats

  • n-drawer adds content-style prop.
  • n-layout adds content-style prop.
  • n-layout-sider adds content-style prop.

Feats

  • n-config-provider Add cls-prefix prop.

Fixes

  • Fix n-popover may influence other popover when static props is hoisted.

2.5.1

Feats

  • n-color-picker adds show-alpha prop.

Fixes

  • Fix n-select default fallback-option breaks the component.

2.5.0

Feats

  • Add n-skeleton component.
  • Add n-calendar component.
  • Add n-color-picker component.
  • n-date-picker locale adds firstDayOfWeek.
  • n-select adds showArrow prop.

Fixes

  • Fix n-date-picker trigger has no focus style in focus is in panel.
  • Fix n-button loading's fade-in transtion drifts.
  • Fix n-time-picker close animation drifts in n-date-picker.
  • Fix detached components in popover should stay in popover.

2.4.2

Feats

  • Add n-form-item-gi component.

Fixes

  • Fix n-ellipsis & n-data-table ellpisis cell mis-vertical-aligned.
  • Fix n-select filterable doesn't work with composite events.

2.4.1

Fixes

  • Fix n-select caret color in single filter mode.
  • Fix n-select menu action part can't be focused.

2.4.0

Feats

  • Add n-image component.
  • Add n-global-style component.
  • Add n-theme-editor component.
  • Add n-page-header component.
  • n-statistic adds label slot.
  • n-breadcrumb-item adds separator slot & prop.
  • n-button adds bordered prop.
  • n-card adds footer-style prop.

Refactors

  • Refactor n-statistic's style
  • n-menu adds options prop to replace items prop, items prop is deprecated.

Fixes

  • Fix n-anchor ignore-gap not working
  • Fix n-collapse content is truncated by overflow: hidden.
  • Fix n-select tag text overflow.
  • Fix n-popover doesn't hide as expected in mobile phone.

2.3.1

Fixes

  • Fix n-layout-sider horizontal content overflows.

2.3.0

Breaking Changes

  • Collapsing won't work for n-layout-sider with position="absolute".
  • For n-layout contains n-layout-sider as a direct child has-sider must be set.

2.2.0

Feats

  • Add n-mention component.
  • n-data-table supports expanding rows.

Fixes

  • Fix n-input focused background color not correct in warning & error status in dark theme.
  • Fix n-input caret color not correct in warning & error status.
  • Fix n-select's namespace not correct.
  • Fix n-cascader's namespace not correct.
  • Fix n-input in textarea mode can't select text.
  • Fix n-input in textarea mode has no box-shadow.
  • Fix n-input in textarea mode autosize line not correct due to inconsistant font family.
  • Fix n-input in textarea mode autosize rows not changed if props.value is changed from outside.

Refactors

  • Change n-empty's icon and make it size larger

2.1.3

Fixes

  • Fix n-data-table has no right border of non-last td.
  • Fix n-data-table header has no enough width when table width is more than scroll-x

2.1.2

Feats

  • n-data-table's column adds colSpan and rowSpan prop.
  • n-data-table's column adds titleColSpan prop.

Fixes

  • Fix n-dropdown with x and y set logs errors when mouse move outside it.

2.1.1

Fixes

  • Fix n-select selection overflow counter wrong popover trigger area

2.1.0

Breaking Changes

  • n-popover default duration is set to 100.
  • n-popover default delay is set to 100.
  • n-tooltip default showArrow is set to true.

Feats

  • n-config-provider prop theme-overrides support inheritance.
  • n-card adds hoverable prop.
  • n-select adds max-tag-count prop.
  • n-cascader adds max-tag-count prop.
  • n-popover adds get-disabled prop.
  • adds n-ellipsis component.
  • n-popover's width prop adds 'trigger' option.
  • n-data-table's columns's ellipsis prop can be set as props of n-ellipsis. x

Fixes

  • Fix n-cascader menu appears after click clear button.
  • Fix n-card's action not placed at bottom after style height is set.
  • Fix n-popover's duration and delay prop works unexpectly.

2.0.1

Feats

  • n-layout-sider adds default-collapsed prop.
  • n-modal support custom position.

Fixes

  • Fix n-menu tooltip of n-menu-item won't show when vertical collapsed.
  • Fix n-menu collapsed-icon-size not working.
  • Fix n-menu callback props validate array with error.
  • Fix n-layout-sider toggle button is covered.

2.0.0

See vue3.md

1.6.0

Fixes

  • Fix the problem that n-auto-complete's menu can't be closed when use textarea as input.
  • Fix the problem that nested n-icon is not flattened.
  • Fix the problem that n-date-picker has no year in panel when type is date and datetime.

Feats

  • n-button adds dashed props
  • Add n-space component.
  • Make n-drawer content scrollable.

i18n

  • Add zhCN for n-log

1.5.5 (2020-08-15)

Breaking Changes

  • Fix all typos of separator. (Originally it was seperator.)

Fixes

  • Fix the problem that when theme is not set, style errors will be logged.
  • Fix the text color of n-select's placeholder when single filterable.

1.5.4 (2020-08-08)

Fixes

  • Fix the problem that Message, Notification, Confirm doesn't follow theme change.

1.5.3 (2020-07-23)

Fixes

  • Fix the problem that n-select display with mistakes when placeholder is empty.

1.5.2 (2020-07-22)

Fixes

Refactors

  • Refactor n-tag styles.

1.5.1 (2020-07-20)

Feats

  • Add disabled for n-time-picker.

Fixes

  • Fix the child elements of n-radio cannot focus.

1.5.0 (2020-07-09)

Breaking Changes

  • Refactor experimental setting primary color feature.

Fixes

  • Fix some style glitches.

1.4.1 (2020-06-23)

Feats

  • Add autofocus for n-select.

1.4.0 (2020-06-19)

Breaking Changes

  • n-menu doesn't support slot API anymore.

Feats

  • Add experimental setting primary color feature.

1.3.5 (2020-06-06)

Feats

  • Add attr-type for n-button

Fixes

  • Fix the problem that if n-input is too width, its inner input elements' width won't expand.
  • Fix style glitches of border of a n-input-number inside a n-input-group.

1.3.4 (2020-06-05)

Fixes

  • Fix the problem that n-a's to prop can't be a object.

1.3.3 (2020-06-03)

Feats

  • Add $NOs.theme to get the current theme of the OS.

1.3.2 (2020-06-02)

Fixes

  • Fix the problem that n-log's loading indicator uses monospace font.
  • Fix the problem that icon-related class name isn't applied properly.

1.3.1 (2020-06-01)

Fixes

  • Fix the problem that checkbox in the selection column of n-data-table is not center aligned.
  • Fix the problem that header of n-data-table has no border-color transition.
  • Fix the problem that show-icon & closable & bordered props of $NConfirm don't work.

Feats

  • Add and adjust some colors in the style scheme of n-config-consumer.

1.3.0 (2020-06-01)

Breaking Changes

  • Default UI CSS bundle won't include external font files. If you need using it you should import it explicitly.

Feats

  • Add themed-style prop on n-layout.

Fixes

  • Fix the problem that round toggle button won't rotate n-layout-sider when collapsed status is changed.
  • Fix the problem that n-form-item's feedback has no leave animation if it is set at first.
  • Fix the problem that max-height related styles of n-data-table are applied all the time.
  • Fix some style glitches.

Refactors

  • Refactor some components' styles in the light theme.

1.2.1 (2020-05-29)

Fixes

  • Fix the problem that n-slider tooltip has no z-index.

1.2.0 (2020-05-29)

Feats

  • Add feedback and validation-status props for n-form-item.

1.1.5 (2020-05-28)

Feats

  • Add display-directive prop for n-collapse and n-collapse-item.
  • Add class and style prop for n-select's option.
  • Add debug prop for n-select.

Fixes

  • Fix the problem that n-select can still be cleared when disabled.

1.1.4 (2020-05-28)

Fixes

  • Fix the problem that the input value of n-select may be modified directly.

Refactors

  • An UI instance can be install to a Vue instance for no more than once.

1.1.3 (2020-05-20)

Chores

  • Update css-render dependencies.

Fixes

  • Fix the problem that n-transfer's animation disorder when value changes.

1.1.2 (2020-05-19)

Feats

  • Add content slot for n-step.
  • Add label prop for n-checkbox.

Performance Improvements

  • All placeable components register listeners on demand.
  • Use cache when finding scrollable parent node.
  • Imporve performance of n-button's beforeDestroy.
  • Reduce the useless re-rendering of n-checkbox when checked status isn't changed.
  • Imporve performance of text typed n-avatar.

1.1.1 (2020-05-18)

Fixes

  • Update css-render dependencies.
  • Color of default typed button icon.

Performance Improvements

  • Reduce useless re-renders of n-menu-item.
  • Reduce useless re-renders of doc page.

Refactors

  • Refactor the codes of n-nimbus-service-layout for performance reason, may be there will be some bugs.

1.1.0 (2020-05-16)

Feats

  • n-button now accepts custom color.

Refactors

  • Replace all $slots by $scopedSlots for better robustness.
  • Move some static button styles inside button component to create dynamically.

1.0.14 (2020-05-15)

Fixes

  • Fix the problem that line typed n-tabs's line position stays still when activeName changes.
  • Fix the problem that n-tabs scroll button is not triggered when tabs' width changes.
  • Fix the problem that height change of n-tabs will unexpectly trigger some re-render callbacks.

1.0.13 (2020-05-14)

Fixes

  • Fix the problem that label slot of the n-form-item-col & n-form-item-row cannot display.

1.0.12 (2020-04-30)

Fixes

  • Fix the problem that some CSS length props are badly formated.

1.0.11 (2020-04-30)

Feats

  • Add fallback-option prop for n-select to deal with the value with no corresponding option.

Fixes

  • Fix the problem that max-height and min-height are ill displayed on n-data-table.

Breaking Changes

  • n-data-table's max-height and min-height will be applied to the entire table part, not only body.
  • n-select will display value with no corrensponding option.

1.0.10 (2020-04-28)

Feats

  • Add arrow-placement prop on n-collapse.
  • Add arrow slot on n-collapse-item.

Fixes

  • Fix the problem that detachable components detached in wrong place when nested like modal > drawer > component.

1.0.9 (2020-04-23)

Feats

  • Add autofocus prop on n-input.
  • Add closable option on NMessage.

Fixes

  • Fix the problem that the default value of n-tag closable is set to true.
  • Fix the problem that n-data-table can't use all pagination's props.
  • Fix the problem that n-pagination's on-page-size-change prop doesn't work.

1.0.8 (2020-04-22)

Feats

  • Add n-dynamic-tags.
  • Add tableHeaderOverlayBackgroundColor & inputOverlayBackgroundColor to styleScheme

1.0.7 (2020-04-10)

Feats

  • Add filter-option-value prop for n-data-table's column to better deal with single filter mode.

Fixes

  • Fix the problem that n-collpase-item don't support number typed name.

1.0.6 (2020-04-03)

Fixes

  • Fix the problem that all the console statements are striped in the bundle.

1.0.5 (2020-03-27)

Feats

  • Change the data type of n-data-table's filters from Array to Object.

Fixes

  • n-data-table cannot be filtered correctly when there are multiple filtered columns.

1.0.4 (2020-03-26)

Feats

  • Filter menu in n-data-table is scrollable when there are too many items.

1.0.3 (2020-03-25)

Feats

  • $NMessage, $NNotification, $NConfirm's theme will be applied on their children components.

Fixes

  • View measuring element will confict when multiple naive-ui exist.
  • validate method of n-form-item won't be resolved for some validator.
  • $NConfirm's theme doesn't follow n-config-provider's theme.

1.0.2 (2020-03-23)

Fixes

  • 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)'s push method.

1.0.1 (2020-03-21)

Feats

  • Add 'bar' & 'arrow-circle' on show-trigger prop of n-layout-sider.

Fixes

  • Rails of n-scrollbar shadow mouse event.

Feats

  • n-date-table adds empty slot. #86