mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
33 KiB
33 KiB
CHANGELOG
Pending
Feats
n-time-picker
addactions
prop, closes #401.n-switch
addchecked
,unchecked
slots.n-switch
addloading
prop, closes #301.
2.15.6 (2021-07-23)
Feats
n-menu
addrender-icon
prop.n-upload
addshow-file-list
prop.n-dropdown
addrender-icon
prop.n-checkbox-group
addmin
andmax
prop.n-mention
addempty
slot.useDialog
option addon-mask-click
prop, closes #419.n-space
justify
prop supportscenter
,space-around
andspace-between
.n-date-picker
addclose-on-select
prop, closes #541.n-dialog
addaction
prop, closes #550.n-mention
’soption.label
support render function.n-color-picker
addactions
prop, closes #319.
Fixes
- Fix
n-space
's innerdisplay: grid
element breaks item height, closeshttps://github.com/TuSimple/naive-ui/issues/546
. - Fix
n-dropdown
'srender-label
prop is invalid for group type option. - Fix
n-datatable
'sscroll-x
prop is setted, the table content width is not full of the container width, closes #518. - Fix
n-descriptions
doesn't work withv-for
children. - Fix
n-dialog
display an empty button whenpositive-text
is not set, closes #549. - Fix
n-pagination
PaginationInfo
'sendIndex
data error, closes #584. - Fix
n-data-table
rowClassName
doesn't work when type is string, closes #582.
2.15.5 (2021-07-16)
Feats
n-tree
addrender-label
,render-prefix
andrender-suffix
props.n-rate
addallow-half
prop.n-carousel
addshow-arrow
prop.n-slider
addformat-tooltip
prop.n-upload
addevent
inon-finish
callback params.n-rate
addreadonly
prop.n-time-picker
addseconds
,minutes
,hours
props.n-notification
exportNotificationApi
,NotificationOptions
andNotificationReactive
type.n-avatar
addon-error
prop, closes #394.n-image
addon-error
prop, closes #394.n-image
addobject-fit
prop, closes #394.n-avatar
addobject-fit
prop, closes #394.n-menu
expands all the ascendant of selected item by default, closes #481.
Fixes
- Fix
n-calendar
'sdefault-value
prop cannot be used. - Fix
n-pagination
page count is not correct whenitem-count
is 0. - Fix
n-scrollbar
content-style
can not override the default width of style. - Fix
n-select
placeholder transition. - Fix
n-loading-bar
useLoadingBar
's return type can be undefined. - Fix
n-tag
'stype
prop addprimary
type. - Fix
n-dynamic-tag
'stype
prop addprimary
type.
2.15.4 (2021-07-09)
Feats
n-steps
add icon customization in'finish'
and'error'
status.n-tree
exportsTreeDragInfo
&TreeDropInfo
type.n-empty
exporticon
slot.useDialog
option addmaskClosable
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 whenprops.scrollX
is not set but each column's width is set. - Fix
n-result
image doesn't show on Safari and mobile phone. - Fix
n-drawer-content
'sheader-style
style not applied to header. - Fix
n-dialog
instance throws error when callingdestroy
. - Fix
n-image-group
initialize zoom scale when switching a picture #423. - Fix
n-select
bug in using custom label, closes #352. - Fix
n-carousel
whenautoplay
dot active status isn't displayed correctly, closes #434. - Fix
n-input
fixed clearable position, closes #428. - Fix
n-image
doesn't accept attributes. - Fix
n-image
set border-radius not working, closes #427. - Fix
n-tab-pane
throws error when there's no children. - Fix
n-select
clear button is too big inn-spin
, closes #454. - Fix
n-select
options are not updated properly, closes #441.
2.15.3 (2021-07-05)
Feats
n-loading-bar
exportLoadingBarApi
type.n-image
addimg-props
prop.- Add native
title
attributes to some components to enhance the experience. n-tree
addprefix
andsuffix
in TreeOption.n-carousel
adddot-placement
prop.n-auto-complete
addloading
prop, closes #241.n-slider
addtooltip
prop, closes #362.n-input
addloading
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 withv-for
children. - Fix
n-form
label-align
prop not working, closes #213 - Fix
n-data-table
fixed column shadow doesn't work whenmax-height
is set, closes #376.
2.15.2 (2021-07-02)
Feats
n-carousel
addtrigger
prop.n-menu
adddropdown-placement
prop.n-upload
addbefore-upload
prop.n-image
addalt
prop.- Support the enter key on the numeric keypad.
n-spin
supporticon
slot for icon customizing, closes#260.n-spin
addrotate
prop fro slot icon to rotate.n-form
exportFormItemRule
&FormRules
type.n-select
addrender-tag
prop.
Fixes
- Fix
n-log
warn on highlight.js when no language is set, closes #327. - Remove
n-calendar
's uselessconsole.log
. - Fix loading-bar disappears unexpectl, closes #343.
- Fix
n-select
doesn't scroll to selected item when menu is opened, closes #346. - Fix
n-tab-pane
throws error when using v-if. - Fix
n-modal
still closes whenon-negative-click
returnsfalse
. - Fix
n-collapse
defaultExpandedNames
does not work in accrodion mode, closes #350. - Fix
n-tag
lackson-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
'sSelectOption
'srender
no longer render label but the entire option.
Feats
n-carousel
supports touch operation, closes #271.n-input
addinput-props
prop.n-message
optimize the error message ofuseMessage
when there is non-message-provider
, add 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
addleaf-only
prop.n-tree
addleaf-only
prop.n-select
'sSelectOption
'slabel
supports render function.n-select
addrender-option
prop.n-select
exportSelectOption
&SelectGroupOption
type.n-popover
addheader
slot.n-dropdown
addrender-label
prop.
Fixes
- Fix
n-date-picker
n-provider
passdate-locale
not work, closes #250. - Fix
n-input
clear button placeholder prevent clicking on actual component #288 - Fix
n-carousel
click the at current item button, the component behaves abnormally. - Fix
n-menu
render-label
not working for tooltip in collapsed mode. - Fix
n-dropdown
can't rendern-popover
in option.
2.14.0 (2021-06-23)
Breaking Changes
n-element
removesabstract
prop.n-element
doesn't return theme variables in default slot. Please useuseThemeVars
instead.
Feats
- Add
n-carousel
component. - Add
useThemeVars
composable to provide theme variables. n-upload
addon-update:file-list
prop, closes #135.n-date-picker
addupdate-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
lackson-update-value
prop. - Fix
n-input-number
's value can't be null. - Fix
n-input-number
's button doesn't work after value is cleared, closes #251. - Fix
n-data-table
expand trigger's cursor is not pointer, closes #261.
Refactors
n-input-number
will focus directly, closes #244.
2.13.0 (2021-06-21)
Feats
n-dropdown
addon-clickoutside
prop, closes #123.n-menu
addrender-label
prop, closes #84n-tree
supports keyboard operations.- Add
n-tree-select
component.
Fixes
- Fix
n-tree
drag over leaf node causes error, closes #200. - Fix
n-tree
misseson-update-expanded-keys
,on-update-selected-keys
,on-update-checked-keys
prop. - Fix
n-tree
'sselected-keys
prop influences original array. - Fix
n-select
's input has useless empty row in multiple filterable mode. - Fix
n-button
's loading icon doesn't show on iOS Safari, closes #219. - Fix
n-date-picker
doesn't show icon when clearable. - Fix
n-time-picker
icon mis-aligned when clearable, closes #222.
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
enhanceshow-require-mark
prop,closes #171n-dropdown
support class attr, closes #180.n-input
addshow-password-toggle
prop.n-popselect
support class attr.n-select
addrender-label
prop.n-popselect
addrender-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 beundefined
. - Fix
n-notification
position not correct. - Fix
n-message
content & option type not correct.
2.12.0 (2021-06-16)
Breaking Changes
n-a
'sto
prop is removed. Now if you want to usen-a
like a router link, you can follow the doc site.
Feats
n-tree
supportdisabled
&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
addclosable
prop, closes #139.n-element
passthemeVars
to default slot.n-element
addabstract
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
addRTL
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
addshow-button
prop.n-rate
supportdefault
slot for icon customizing.n-rate
add color prop.n-rate
add size prop.
Fixes
- Fix
n-card
'sheader-style
it not applied to header. #103 - Fix
n-dialog
missesdestroyAll
method. - Fix
n-data-table
misseson-update-sorter
,on-update-filters
,on-update-page
andon-update-page-size
props.
2.11.8 (2021-06-13)
Feats
n-data-table
exportsDataTableCreateRowClassName
,DataTableCreateRowKey
andDataTableCreateRowProps
type.
Fixes
- Fix
n-calendar
'son-update:value
prop type. - Fix
n-form-item
's style attributegrid-template-columns
influence on the layout of child elements. #93 - Fix
n-data-table
's prop types ofrowKey
,rowClassName
,rowProps
,summary
aren't compatible with expected value.
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
'ssize
prop support number.n-date-picker
addfooter
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
lackon-update-value
andon-update-expanded-keys
props. - Fix
n-popconfirm
icon slot not working. - Fix
n-tabs
logs useless info. - Fix
n-color-picker
setmodes
not working. #77
2.11.5 (2021-06-10)
Feats
n-dropdown
adddisabled
propn-card
add: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 thepassword
type declaration. - Fix
n-menu
the type definition ofextra
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
addrow-props
prop.n-date-picker
addranges
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 notbottom
. - Fix
n-date-picker
's input theme is not set indate
&datetime
type. - Fix
n-config-provider
doesn't merge inherited theme.
Feats
n-collapse
addarrow
slot
2.11.1
Update package.json & README.md.
2.11.0
Breaking Changes
n-affix
'slisten-to
prop isdocument
by default (first scrollable parent before).
Feats
n-affix
'slisten-to
prop supportWindow | Document | HTMLElement
.n-anchor
addoffset-target
prop.n-select
addvirtual-scroll
prop.n-select
addconsistent-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
'soffset-top
prop is deprecated, please usetrigger-top
instead.n-affix
'soffset-bottom
prop is deprecated, please usetrigger-bottom
instead.n-anchor
'slisten-to
prop is removed.
2.10.0
Breaking Changes
n-popover
'splacement
prop default value is set to'top'
.
Feats
n-tabs
addon-close
prop.n-tabs
addon-add
prop.n-tabs
addtab
slot.n-tab-pane
'stab
prop support render function & VNode.n-tabs
'stype
prop support'line'
option.n-tabs
add box shadow to indicate scroll status.n-tabs
addpane-style
prop
Fixes
- Fix
n-layout
'sscrollTo
not working when using native scrollbar.
Deprecated
n-tab-pane
'slabel
prop is deprecated. Please usetab
prop instead.
2.9.0
Breaking Changes
n-layout-sider
removedshow-content
prop. Please useshow-collapsed-content
instead.
Feats
n-data-table
support tree data.n-data-table
addcascade
prop.n-data-table
addchildren-key
prop.n-data-table
addindent
prop.n-button
addtag
prop.n-data-table
addtable-layout
prop.n-tree
addblock-line
prop.n-tree
support drag & drop.n-menu
addinverted
prop.n-dropdown
addinverted
prop.n-tabs
addaddable
prop.n-tabs
addtab-style
prop.n-tabs
addtabs-padding
prop.n-tabs
adddefault-value
prop.n-layout-sider
&n-layout-footer
&n-layout-header
addinverted
prop.n-data-table
'smax-height
&min-height
prop accept CSS value.n-layout
&n-layout-content
addembedded
prop.
Fixes
n-layout
&n-layout-sider
'sscrollTo
not working with native scrollbar.n-layout-sider
'scollapse-mode
not working.- Internal selection component's theme peers has wrong key for popover.
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
addvirtual-scroll
prop.n-data-table
addvirtual-scroll
prop.n-cascader
addvirtual-scroll
prop.n-pagination
additem-count
prop.n-pagination
addprefix
prop.n-pagination
addprefix
slot.n-pagination
addsuffix
prop.n-pagination
addsuffix
slot.n-input
addshow-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 withoutn-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 addrender-filter
prop.n-data-table
col addrender-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
addsummary
prop.n-data-table
addoptions
on'type=selection'
column.
Fixes
- Fix
n-layout
overflow on horizontal direction.
2.7.1
Feats
n-checkbox
addfocusable
prop.n-cascader
addaction
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
addcontent-style
prop.n-layout
addcontent-style
prop.n-layout-sider
addcontent-style
prop.
Feats
n-config-provider
Addcls-prefix
prop.
Fixes
- Fix
n-popover
may influence other popover when static props is hoisted.
2.5.1
Feats
n-color-picker
addshow-alpha
prop.
Fixes
- Fix
n-select
defaultfallback-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 addfirstDayOfWeek
.n-select
addshowArrow
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 inn-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
addlabel
slot.n-breadcrumb-item
addseparator
slot & prop.n-button
addbordered
prop.n-card
addfooter-style
prop.
Refactors
- Refactor
n-statistic
's style n-menu
addoptions
prop to replaceitems
prop,items
prop is deprecated.
Fixes
- Fix
n-anchor
ignore-gap
not working - Fix
n-collapse
content is truncated byoverflow: hidden
. - Fix
n-select
tag text overflow. - Fix
n-popover
doesn't hide as expected in mobile phone.
2.3.1
Fixes
- Fix
n-layout-sider
horizontal content overflows.
2.3.0
Breaking Changes
- Collapsing won't work for
n-layout-sider
withposition="absolute"
. - For
n-layout
containsn-layout-sider
as a direct childhas-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 modeautosize
line not correct due to inconsistant font family. - Fix
n-input
in textarea modeautosize
rows not changed if props.value is changed from outside.
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 thanscroll-x
2.1.2
Feats
n-data-table
's column addcolSpan
androwSpan
prop.n-data-table
's column addtitleColSpan
prop.
Fixes
- Fix
n-dropdown
withx
andy
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
defaultduration
is set to100
.n-popover
defaultdelay
is set to100
.n-tooltip
defaultshowArrow
is set totrue
.
Feats
n-config-provider
proptheme-overrides
support inheritance.n-card
addhoverable
prop.n-select
addmax-tag-count
prop.n-cascader
addmax-tag-count
prop.n-popover
addget-disabled
prop.- add
n-ellipsis
component. n-popover
'swidth
prop add'trigger'
option.n-data-table
's columns'sellipsis
prop can be set as props ofn-ellipsis
.
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
'sduration
anddelay
prop works unexpectly.
2.0.1
Feats
n-layout-sider
adddefault-collapsed
prop.n-modal
support custom position.
Fixes
- Fix
n-menu
tooltip ofn-menu-item
won't show when vertical collapsed. - Fix
n-menu
collapsed-icon-size
not working. - Fix
n-menu
callback props validate array with error. - Fix
n-layout-sider
toggle button is covered.
2.0.0
See vue3.md
1.6.0
Fixes
- Fix the problem that
n-auto-complete
's menu can't be closed when usetextarea
as input. - Fix the problem that nested
n-icon
is not flattened. - Fix the problem that
n-date-picker
has no year in panel when type isdate
anddatetime
.
Features
n-button
adddashed
props- Add
n-space
component. - Make
n-drawer
content scrollable.
Localization
- Add zhCN for
n-log
1.5.5 (2020-08-15)
Breaking Changes
- Fix all typos of
separator
. (Originally it wasseperator
.)
Fixes
- Fix the problem that when theme is not set, style errors will be logged.
- Fix the text color of
n-select
's placeholder whensingle
filterable
.
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 whenplaceholder
is empty.
1.5.2 (2020-07-22)
Fixes
- Fix the problem that
n-radio
can not be focused. - Fix the problem that
n-data-table
'smax-height
style is broken. https://bugs.chromium.org/p/chromium/issues/detail?id=1107223
Refactors
- Refactor
n-tag
styles.
1.5.1 (2020-07-20)
Features
- Add
disabled
forn-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)
Features
- Add
autofocus
forn-select
.
1.4.0 (2020-06-19)
Breaking Changes
n-menu
doesn't support slot API anymore.
Features
- Add experimental setting primary color feature.
1.3.5 (2020-06-06)
Features
- Add
attr-type
forn-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 an-input-group
.
1.3.4 (2020-06-05)
Fixes
- Fix the problem that
n-a
'sto
prop can't be a object.
1.3.3 (2020-06-03)
Features
- 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.
Features
- 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.
Features
- Add
themed-style
prop onn-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)
Features
- Add
feedback
andvalidation-status
props forn-form-item
.
1.1.5 (2020-05-28)
Features
- Add
display-directive
prop forn-collapse
andn-collapse-item
. - Add
class
andstyle
prop forn-select
'soption
. - Add
debug
prop forn-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)
Features
- Add content slot for
n-step
. - Add
label
prop forn-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)
Features
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
typedn-tabs
's line position stays still whenactiveName
changes. - Fix the problem that
n-tabs
scroll button is not triggered when tabs' width changes. - Fix the problem that height change of
n-tabs
will unexpectly trigger some re-render callbacks.
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)
Features
- Add
fallback-option
prop forn-select
to deal with the value with no corresponding option.
Fixes
- Fix the problem that
max-height
andmin-height
are ill displayed onn-data-table
.
Breaking Changes
n-data-table
'smax-height
andmin-height
will be applied to the entire table part, not only body.n-select
will display value with no corrensponding option.
1.0.10 (2020-04-28)
Features
- Add
arrow-placement
prop onn-collapse
. - Add
arrow
slot onn-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)
Features
- Add
autofocus
prop onn-input
. - Add
closable
option onNMessage
.
Fixes
- Fix the problem that the default value of
n-tag
closable
is set totrue
. - Fix the problem that
n-data-table
can't use allpagination
's props. - Fix the problem that
n-pagination
'son-page-size-change
prop doesn't work.
1.0.8 (2020-04-22)
Features
- Add
n-dynamic-tags
. - Add
tableHeaderOverlayBackgroundColor
&inputOverlayBackgroundColor
tostyleScheme
1.0.7 (2020-04-10)
Features
- Add
filter-option-value
prop forn-data-table
'scolumn
to better deal with single filter mode.
Fixes
- Fix the problem that
n-collpase-item
don't supportnumber
typedname
.
1.0.6 (2020-04-03)
Fixes
- Fix the problem that all the
console
statements are stripped in the bundle.
1.0.5 (2020-03-27)
Features
- 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)
Features
- Filter menu in
n-data-table
is scrollable when there are too many items.
1.0.3 (2020-03-25)
Features
$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 ofn-form-item
won't be resolved for some validator.$NConfirm
's theme doesn't follown-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)'spush
method.
1.0.1 (2020-03-21)
Features
- Add
'bar'
&'arrow-circle'
onshow-trigger
prop ofn-layout-sider
.
Fixes
- Rails of
n-scrollbar
shadow mouse event.
Features
n-date-table
addempty
slot. #86