2020-03-21 15:14:35 +08:00
# CHANGELOG
2021-06-24 01:17:59 +08:00
2021-09-28 23:40:01 +08:00
## Pending
2021-09-29 16:09:02 +08:00
### Feats
- `n-breadcrumb-item` add `href` prop.
2021-10-04 13:40:08 +08:00
- `n-descriptions` add `separator` prop, closes [#1263 ](https://github.com/TuSimple/naive-ui/issues/1263 ).
2021-10-04 13:06:42 +08:00
- `n-dropdown` add `key-field` prop.
- `n-dropdown` add `label-field` prop.
- `n-dropdown` add `children-field` prop.
- `n-menu` add `key-field` prop.
- `n-menu` add `label-field` prop.
- `n-menu` add `children-field` prop.
2021-10-04 13:37:43 +08:00
- `n-data-table` supports using path of the property to get as column key, closes [#1271 ](https://github.com/TuSimple/naive-ui/issues/1271 ).
2021-10-04 15:16:48 +08:00
- `n-switch` add `checked-value` prop, closes [#1234 ](https://github.com/TuSimple/naive-ui/issues/1234 ).
- `n-switch` add `unchecked-value` prop, closes [#1234 ](https://github.com/TuSimple/naive-ui/issues/1234 ).
- `n-checkbox` add `checked-value` prop, closes [#1234 ](https://github.com/TuSimple/naive-ui/issues/1234 ).
- `n-checkbox` add `unchecked-value` prop, closes [#1234 ](https://github.com/TuSimple/naive-ui/issues/1234 ).
2021-10-04 16:17:50 +08:00
- Add `n-collapse-transition` component, closes [#829 ](https://github.com/TuSimple/naive-ui/issues/829 ).
2021-10-04 18:22:36 +08:00
- Add `n-scrollbar` component.
2021-10-05 02:05:31 +08:00
- `n-dropdown` support options with `type='render'` .
2021-10-06 01:59:30 +08:00
- `n-data-table` supports multiple column sorting.
2021-10-06 02:17:06 +08:00
- `n-date-picker` add `first-day-of-week` prop.
2021-10-06 13:44:51 +08:00
- `n-date-picker` 's `type` prop support `month` option.
2021-09-29 16:09:02 +08:00
2021-09-28 23:40:01 +08:00
### Fixes
2021-10-04 13:06:42 +08:00
2021-10-02 00:14:10 +08:00
- Fix `n-form-item` 's content is too long and the width is incorrect
2021-09-29 00:09:48 +08:00
- Fix `n-layout-sider` 's `arrow-circle` 's icon style.
2021-09-28 23:40:01 +08:00
- Fix `n-upload` 's `show-preview-button` prop not working, closes [#1238 ](https://github.com/TuSimple/naive-ui/issues/1238 ).
2021-10-04 13:20:34 +08:00
- 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 ](https://github.com/TuSimple/naive-ui/issues/1276 ).
2021-10-05 02:11:22 +08:00
- Fix `n-data-table` selection column's width is collapsed when it is set to fixed, closes [#1283 ](https://github.com/TuSimple/naive-ui/issues/1283 ).
2021-10-05 23:53:28 +08:00
- Fix `n-popconfirm` can't be nested in `n-tooltip` , closes [#872 ](https://github.com/TuSimple/naive-ui/issues/872 ).
2021-10-06 00:14:18 +08:00
- Fix `n-popselect` checkmark overlays on option text, closes [#1282 ](https://github.com/TuSimple/naive-ui/issues/1282 ).
2021-09-28 23:40:01 +08:00
2021-09-28 03:17:12 +08:00
## 2.19.3 (2021-09-28)
2021-09-27 22:09:56 +08:00
### Fixes
- Fix `n-data-table` ellipsis not show when last column not set ellipsis, closes [#934 ](https://github.com/TuSimple/naive-ui/issues/934 ).
2021-09-28 02:41:48 +08:00
- Fix `n-grid-item` won't work with responsive config.
2021-09-28 03:02:41 +08:00
- Fix `n-tabs` 's scroll shadow is not updated when it's resized, closes [#1224 ](https://github.com/TuSimple/naive-ui/issues/1224 ).
2021-09-28 02:41:48 +08:00
### Feats
- `n-grid-item` won't display when `span` is 0, closes [#1220 ](https://github.com/TuSimple/naive-ui/issues/1220 ).
- `n-grid` add `item-responsive` prop.
2021-09-27 22:09:56 +08:00
2021-09-26 01:33:44 +08:00
## 2.19.2 (2021-09-26)
2021-09-21 23:50:00 +08:00
2021-09-26 01:30:26 +08:00
### i18n
2021-09-22 23:22:49 +08:00
- Add ukUA locale.
2021-09-21 23:50:00 +08:00
### Fixes
- Fix `n-global-style` applies style transition on first mount.
2021-09-26 01:30:26 +08:00
- Fix `n-drawer` border transition, closes [#1211 ](https://github.com/TuSimple/naive-ui/issues/1211 ).
2021-09-24 01:24:47 +08:00
- Fix `n-input-number` 's `value` prop can't be `null` type.
2021-09-25 18:09:18 +08:00
- Fix components with rtl support throws error in SSR.
2021-09-25 19:35:17 +08:00
- Fix components with popover throws error in SSR.
2021-09-26 01:30:26 +08:00
- Fix global theme overrides not working for `n-select` trigger, closes [#1229 ](https://github.com/TuSimple/naive-ui/issues/1229 ).
2021-09-24 01:24:47 +08:00
### Feats
- `n-checkbox` add aria support.
- `n-alert` aria support.
2021-09-21 23:50:00 +08:00
2021-09-21 03:08:50 +08:00
## 2.19.1 (2021-09-21)
2021-09-20 10:44:50 +08:00
### Fixes
- Fix `DialogReactive` props are readonly.
2021-09-21 00:43:18 +08:00
- Fix `n-tree-select` sets `check-strategy='child'` not working in single select mode.
2021-09-20 23:35:45 +08:00
- 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.
2021-09-20 23:38:12 +08:00
- Fix `n-upload` can't upload files.
2021-09-21 02:50:04 +08:00
- 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` .
2021-09-20 10:44:50 +08:00
2021-09-19 23:24:28 +08:00
## 2.19.0 (2021-09-19)
2021-09-16 01:11:16 +08:00
### Breaking Changes
- `n-layout-sider` 's `arrow-circle` trigger is changed into new style.
### Feats
- `n-layout-sider` add `collapsed-trigger-style` prop.
2021-09-18 23:33:09 +08:00
- `n-menu` add `accordion` prop , closes [#917 ](https://github.com/TuSimple/naive-ui/issues/917 ).
2021-09-18 23:28:47 +08:00
- `n-input-number` add `readonly` prop , closes [#1198 ](https://github.com/TuSimple/naive-ui/issues/1198 ).
2021-09-19 00:34:51 +08:00
- `n-spin` add `description` prop and slot.
2021-09-19 20:42:27 +08:00
- `n-anchor` add `type` prop.
2021-09-19 15:13:07 +08:00
- `n-upload` add `abstract` prop, add `n-upload-trigger` 和 `n-upload-file-list` component, closes [#1102 ](https://github.com/TuSimple/naive-ui/issues/1102 ).
2021-09-19 16:41:34 +08:00
- `n-tree` add `indeterminate-keys` prop.
- `n-tree-select` add `indeterminate-keys` prop.
- `n-tree` add `on-update:indeterminate-keys` prop.
- `n-tree-select` add `on-update:indeterminate-keys` prop.
2021-09-19 20:19:42 +08:00
- `n-tabs` `type` prop add `'segment'` option, closes [#1133 ](https://github.com/TuSimple/naive-ui/issues/1133 ).
2021-09-19 20:34:41 +08:00
- `n-popover` add `z-index` prop, closes [#764 ](https://github.com/TuSimple/naive-ui/issues/764 ).
2021-09-19 22:43:22 +08:00
- `n-modal` add `on-after-enter` prop.
- `n-modal` add `on-after-leave` prop.
2021-09-16 01:11:16 +08:00
2021-09-15 02:08:09 +08:00
### Fixes
- Fix `n-select` focus input when closing tag with `filterable` , closes [#1170 ](https://github.com/TuSimple/naive-ui/issues/1170 ).
2021-09-18 23:33:09 +08:00
- Fix `n-button` border on hover conflicts with `n-badge` , closes [#1195 ](https://github.com/TuSimple/naive-ui/issues/1195 ).
2021-09-18 23:38:26 +08:00
- Fix `n-upload` prop `v-model:file-list` dosen't work well when prop `multiple` is `true` , closes [#418 ](https://github.com/TuSimple/naive-ui/issues/418 ).
2021-09-19 17:15:25 +08:00
- Fix `useThemeVars` doesn't apply theme overrides, closes [#1194 ](https://github.com/TuSimple/naive-ui/issues/1194 ), [#1176 ](https://github.com/TuSimple/naive-ui/issues/1176 ).
2021-09-19 17:45:47 +08:00
- Fix `n-tabs` 's left shadow isn't displayed in card type.
2021-09-15 02:08:09 +08:00
2021-09-14 02:33:15 +08:00
## 2.18.2 (2021-09-14)
2021-09-08 23:44:02 +08:00
2021-09-08 23:37:21 +08:00
### Feats
2021-09-09 00:09:51 +08:00
- `n-cascader` show `Empty` component when `options` prop is empty, closes [#1092 ](https://github.com/TuSimple/naive-ui/issues/1092 ).
2021-09-13 23:45:06 +08:00
- `n-cascader` 's `on-update:value` prop add option info.
2021-09-08 23:44:02 +08:00
- `n-tree` add `check-strategy` prop.
2021-09-09 00:24:18 +08:00
- `n-date-picker` add `input-readonly` prop, closes [#1120 ](https://github.com/TuSimple/naive-ui/issues/1120 ).
2021-09-09 00:28:01 +08:00
- `n-time-picker` add `input-readonly` prop, closes [#1120 ](https://github.com/TuSimple/naive-ui/issues/1120 ).
2021-09-11 19:45:37 +08:00
- `n-config-provider` add global config of the `Empty` component, closes [#1092 ](https://github.com/TuSimple/naive-ui/issues/1092 ).
- `n-select` add `on-update:show` prop.
2021-09-11 21:01:04 +08:00
- `n-auto-complete` exports `AutoCompleteOption` and `AutoCompleteGroupOption` types.
2021-09-12 22:09:18 +08:00
- `n-page-header` add `RTL` support.
2021-09-13 01:27:08 +08:00
- `n-select` support variadic height option rendering.
2021-09-14 00:20:35 +08:00
- `n-tree-select` 's `on-update:value` prop add option info.
2021-09-14 00:45:09 +08:00
- `n-select` 's `on-update:value` prop add option info.
2021-09-14 01:31:30 +08:00
- `n-popselect` 's `on-update:value` prop add option info.
2021-09-14 02:16:47 +08:00
- `n-card` add `embedded` prop.
2021-09-08 23:37:21 +08:00
2021-09-09 00:52:23 +08:00
### Fixes
- Fix `n-p` warns when `depth` is number.
2021-09-11 21:26:15 +08:00
- Fix `n-date-picker` ‘ s type of `actions` prop.
2021-09-11 20:41:50 +08:00
- Fix `n-select` can't override `n-empty` 's theme variables.
2021-09-11 20:37:15 +08:00
- Fix `n-dynamic-tags` add button is not disabled when it is disabled.
2021-09-11 19:54:09 +08:00
- Fix `n-select` closes menu when enter key is pressed in filterable mode without options data.
2021-09-11 21:29:44 +08:00
- Fix `n-auto-complete` 's `children` prop can't use `AutoCompleteOption` type.
2021-09-16 02:09:19 +08:00
- Fix `n-gi` 's `collapsed` does not work in `n-form-item-gi` , closes [#1160 ](https://github.com/TuSimple/naive-ui/issues/1160 ).
2021-09-09 00:52:23 +08:00
2021-09-08 02:37:39 +08:00
## 2.18.1 (2021-09-08)
2021-09-08 00:11:55 +08:00
### Feats
- `useDialog` option add `style` prop, closes [#1054 ](https://github.com/TuSimple/naive-ui/issues/1054 ).
2021-09-08 02:18:17 +08:00
- `n-timeline` add `icon` slot, closes [#1096 ](https://github.com/TuSimple/naive-ui/issues/1096 ).
- `n-timeline` add `icon-size` prop.
### Fixes
- Fix `n-step` doesn't work with `v-for` children.
2021-09-08 02:48:43 +08:00
- Fix `n-input-number` cannot enter decimals when `step` is not a decimal.
2021-09-08 02:30:18 +08:00
2021-09-07 02:44:57 +08:00
## 2.18.0 (2021-09-07)
2021-09-06 22:35:14 +08:00
2021-09-06 23:44:14 +08:00
### Breaking Changes
- `n-form` & `n-form-item` split `show-require-mark` into `show-require-mark` and `require-mark-placement` .
2021-09-07 02:40:25 +08:00
### Feats
2021-09-06 23:25:49 +08:00
- `n-drawer` add `on-mask-click` prop.
2021-09-06 23:44:14 +08:00
- `n-for` add `require-mark-placement` prop, closes [#1055 ](https://github.com/TuSimple/naive-ui/issues/1055 ).
- `n-form-item` add `require-mark-placement` prop, closes [#1055 ](https://github.com/TuSimple/naive-ui/issues/1055 ).
2021-09-06 23:25:49 +08:00
2021-09-06 22:35:14 +08:00
### Fixes
- Fix `n-step` must be passed with `internal-index` .
2021-09-06 22:45:49 +08:00
- Fix `n-radio-group` 's `on-update:value` and `on-update-value` can't be array.
2021-09-07 02:40:25 +08:00
- Fix `n-cascader` `check-strategy="child"` doesn't behaves the same as previous `leaf-only` .
2021-09-06 22:35:14 +08:00
2021-09-06 10:05:36 +08:00
## 2.17.2 (2021-09-06)
### Fixes
- Fix `n-tree-select` shows key not label when `show-path=true` , closes [#1095 ](https://github.com/TuSimple/naive-ui/issues/1095 ).
2021-09-06 09:56:19 +08:00
## 2.17.1 (2021-09-06)
### Fixes
- Fix `n-cascader` menu not showing correct checked keys.
2021-09-05 15:21:12 +08:00
## 2.17.0 (2021-09-05)
2021-08-27 23:56:43 +08:00
2021-09-03 01:59:24 +08:00
### Breaking Changes
2021-09-05 12:36:42 +08:00
- `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.
2021-09-04 18:25:57 +08:00
- `n-input` 's `show-password-toggle` is deprecated, please use `show-password-on="click"` instead.
2021-09-03 01:59:24 +08:00
2021-09-02 00:26:36 +08:00
### Fixes
2021-09-02 00:40:47 +08:00
- 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 ](https://github.com/TuSimple/naive-ui/issues/905 ).
2021-09-04 13:31:11 +08:00
- Fix `n-description` 's warning caused by `v-if` that should not appear, closes [#1083 ](https://github.com/TuSimple/naive-ui/issues/1083 ).
2021-09-04 16:52:07 +08:00
- Fix `n-layout` 's `sider-placement` doesn't work after build, closes [#978 ](https://github.com/TuSimple/naive-ui/issues/978 ).
- Fix `n-input-number` 's `step` calculate error when the value is decimal, closes [#1007 ](https://github.com/TuSimple/naive-ui/issues/1007 ).
2021-09-05 13:55:14 +08:00
- Fix `n-popselect` ' s default placement and padding.
2021-09-05 14:11:25 +08:00
- Fix `n-calendar` 's text color of disabled date.
2021-09-02 00:26:36 +08:00
2021-08-27 23:56:43 +08:00
### Feats
2021-08-28 00:00:35 +08:00
- `n-cascader` add `onUpdateValue` prop.
2021-08-27 23:56:43 +08:00
- `n-auto-complete` add `onUpdateValue` prop.
2021-09-05 13:53:11 +08:00
- `n-data-table` 's column's `renderFilterMenu` add `hide` param.
- `n-tree` add `key-field` prop.
- `n-tree` add `label-field` prop.
- `n-tree` add `children-field` prop.
- `n-tree-select` add `key-field` prop.
- `n-tree-select` add `label-field` prop.
- `n-tree-select` add `children-field` prop.
- `n-cascader` add `key-field` prop.
- `n-cascader` add `label-field` prop.
- `n-cascader` add `children-field` prop.
2021-09-02 00:59:56 +08:00
- `n-dropdown` option add `props` prop, closes [#813 ](https://github.com/TuSimple/naive-ui/issues/813 ).
2021-09-03 01:00:20 +08:00
- `n-data-table` supports multi-selection by holding down `shift` , closes [#554 ](https://github.com/TuSimple/naive-ui/issues/554 ).
2021-09-03 01:59:24 +08:00
- `n-tree-select` add `check-strategy` prop, closes [#624 ](https://github.com/TuSimple/naive-ui/issues/624 ).
2021-09-05 12:36:42 +08:00
- `n-cascader` add `check-strategy` prop.
2021-09-04 15:07:49 +08:00
- `n-message` option add `keepAliveOnHover` , closes [#1036 ](https://github.com/TuSimple/naive-ui/issues/1036 ).
- `n-message-provider` add `keep-alive-on-hover` prop, closes [#1036 ](https://github.com/TuSimple/naive-ui/issues/1036 ).
2021-09-04 14:12:34 +08:00
- `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.
2021-09-04 14:38:48 +08:00
- `n-data-table` export `DataTableCreateSummary` type.
2021-09-04 14:01:30 +08:00
- `n-code` add `inline` prop, closes [#834 ](https://github.com/TuSimple/naive-ui/issues/834 )
2021-09-04 18:25:57 +08:00
- `n-collapse` add `header-extra` slot, closes [#1046 ](https://github.com/TuSimple/naive-ui/issues/1046 ).
- `n-input` add `show-password-on` prop.
2021-09-05 11:39:15 +08:00
- `n-upload` add `list-type` , `show-preview-button` , `on-preview` and `create-thumbnail-url` prop.
2021-08-27 23:56:43 +08:00
2021-08-27 00:49:05 +08:00
## 2.16.7 (2021-08-27)
2021-08-26 23:56:40 +08:00
### Feats
- `n-mention` add `focus` and `blur` methods.
2021-08-27 00:17:29 +08:00
### Fixes
- Fix `n-mention` 's menu is too far from text in input mode.
2021-08-27 00:23:09 +08:00
- Fix `n-tree` node can not expanded.
2021-08-27 00:17:29 +08:00
2021-08-26 01:08:06 +08:00
## 2.16.6 (2021-08-26)
2021-08-21 00:17:48 +08:00
2021-08-23 00:17:10 +08:00
### Feats
- `n-timeline` add `horizontal` prop, closes [#887 ](https://github.com/TuSimple/naive-ui/issues/887 ).
2021-08-25 23:33:45 +08:00
- `n-image` add `preview-src` prop, closes [#922 ](https://github.com/TuSimple/naive-ui/issues/922 )
2021-08-25 23:28:09 +08:00
- `n-dynamic-tags` add `input` and `add` slot, closes [#499 ](https://github.com/TuSimple/naive-ui/issues/499 ).
2021-08-26 00:49:02 +08:00
- `n-timeline-item` add `color` prop.
2021-08-23 00:17:10 +08:00
2021-08-21 00:17:48 +08:00
### Fixes
2021-08-26 00:31:15 +08:00
- Fix `n-image` not initializing `rotate` after switching images, closes [#921 ](https://github.com/TuSimple/naive-ui/issues/921 ).
2021-08-21 00:24:40 +08:00
- Fix `n-data-table` 's loading is not centered, closes [#929 ](https://github.com/TuSimple/naive-ui/issues/929 ).
2021-08-26 00:11:12 +08:00
- Fix `n-tree` throws an exception when onLoad callback does not add children, closes [#772 ](https://github.com/TuSimple/naive-ui/issues/772 ).
2021-08-25 13:14:59 +08:00
- Fix `n-input` will show placeholder and 0 simultaneously while passing `value=ref(0)` in n-input, closes [#914 ](https://github.com/TuSimple/naive-ui/issues/914 ).
2021-08-26 00:31:15 +08:00
- Fix `n-data-table` `flex-height` not working without `scroll-x` , closes [#952 ](https://github.com/TuSimple/naive-ui/issues/952 ).
2021-08-21 00:17:48 +08:00
2021-08-20 03:51:27 +08:00
## 2.16.5 (2021-08-20)
2021-08-17 00:29:48 +08:00
2021-08-17 00:09:35 +08:00
### Feats
- `n-input-number` add `clearable` prop.
2021-08-20 01:39:44 +08:00
- `n-form` add `show-label` prop, closes [#858 ](https://github.com/TuSimple/naive-ui/issues/858 ).
2021-08-17 00:09:35 +08:00
2021-08-20 02:29:42 +08:00
### Fixes
- Fix `n-notification` 's exported `NotificationReactive` type is not writable, closes [#876 ](https://github.com/TuSimple/naive-ui/issues/876 ).
- Fix `n-tabs` style glitches when different types tabs are nested, closes [#850 ](https://github.com/TuSimple/naive-ui/issues/850 ).
2021-08-20 02:40:10 +08:00
- Fix `n-dropdown` 's inner link click trigger area is not the entire option, closes [#823 ](https://github.com/TuSimple/naive-ui/issues/823 ).
2021-08-20 02:51:02 +08:00
- Fix `n-popover` arrow's misplacement when placed in nested popovers with different placement, closes [#916 ](https://github.com/TuSimple/naive-ui/issues/916 ).
2021-08-20 03:39:41 +08:00
- Fix `n-ellpisis` doesn't work after content is updated, closes [#776 ](https://github.com/TuSimple/naive-ui/issues/776 ).
2021-08-20 02:29:42 +08:00
2021-08-16 03:24:58 +08:00
## 2.16.4 (2021-08-16)
### Fixes
- Fix ruRU locale exports.
2021-08-16 03:06:25 +08:00
## 2.16.3 (2021-08-16)
2021-08-11 01:21:41 +08:00
2021-08-16 02:59:50 +08:00
### i18n
2021-08-13 22:08:21 +08:00
- Add ruRU locale [#852 ](https://github.com/TuSimple/naive-ui/pull/852 ).
2021-08-12 23:06:51 +08:00
### Feats
2021-08-16 01:15:06 +08:00
- `n-message-provider` add `container-style` prop.
- `n-message-provider` add `placement` prop.
2021-08-16 01:59:33 +08:00
- `n-message` add class to distinguish type.
2021-08-16 02:40:51 +08:00
- `n-date-picker` add `shortcuts` props, closes [#280 ](https://github.com/TuSimple/naive-ui/issues/280 ).
2021-08-12 23:06:51 +08:00
2021-08-11 01:21:41 +08:00
### Fixes
2021-08-11 01:26:41 +08:00
- Fix `n-rate` half star overlays star background in dark mode.
2021-08-16 02:59:50 +08:00
- Fix `n-menu` renders unexpectly when `render-icon` returns `true` .
2021-08-16 02:07:01 +08:00
- Fix `n-space` render empty placeholder while use `v-if` , closes [#824 ](https://github.com/TuSimple/naive-ui/issues/824 ).
2021-08-11 01:21:41 +08:00
2021-08-09 00:43:29 +08:00
## 2.16.2 (2021-08-09)
2021-08-06 23:09:02 +08:00
### Feats
2021-08-07 20:27:10 +08:00
- `n-message-provider` add `closable` prop, closes [#795 ](https://github.com/TuSimple/naive-ui/issues/795 ).
2021-08-09 00:33:37 +08:00
- `n-tree-select` add `show-path` prop, closes[#625](https://github.com/TuSimple/naive-ui/issues/623).
2021-08-07 16:35:02 +08:00
- `n-layout` add `sider-placement` prop, closes [#566 ](https://github.com/TuSimple/naive-ui/issues/566 ).
2021-08-06 23:09:02 +08:00
### Fixes
2021-08-07 14:16:51 +08:00
- Fix `n-avatar` 's scale value is incorrect while use v-show, closes [#779 ](https://github.com/TuSimple/naive-ui/issues/779 ).
2021-08-06 23:52:54 +08:00
- Fix `n-menu` show a blue background when click the menu on mobile phone, closes [#799 ](https://github.com/TuSimple/naive-ui/issues/799 ).
2021-08-07 14:35:29 +08:00
- Fix `n-select` filterable select breaks, closes [#510 ](https://github.com/TuSimple/naive-ui/issues/510 ).
2021-08-07 20:36:20 +08:00
- Fix `n-data-table` When selectAll is selected, the state display of selectAll should not contain disabled rows, closes [#778 ](https://github.com/TuSimple/naive-ui/issues/778 ).
2021-08-09 00:31:17 +08:00
- Fix `n-color-picker` 's `on-complete` callback's argument `value` is incorrect, closes [#748 ](https://github.com/TuSimple/naive-ui/issues/748 ).
2021-08-06 23:52:54 +08:00
2021-08-16 03:06:25 +08:00
## 2.16.1 (2021-08-06)
2021-08-03 00:24:40 +08:00
### Feats
2021-08-03 01:05:58 +08:00
- `n-loading-bar` add `loading-bar-style` props, closes [#457 ](https://github.com/TuSimple/naive-ui/issues/457 ).
2021-08-04 23:28:05 +08:00
- `n-button` add `text-color` prop.
2021-08-04 23:23:33 +08:00
- `n-form` export `FormValidationError` type.
2021-08-06 23:22:29 +08:00
- `n-popconfirm` support not show action components, closes [#770 ](https://github.com/TuSimple/naive-ui/issues/770 ).
2021-08-03 01:05:58 +08:00
2021-08-03 00:24:40 +08:00
### Fixes
- Fix `n-slider` loss floating point decimal precision, closes [#751 ](https://github.com/TuSimple/naive-ui/issues/751 ).
2021-08-04 00:39:52 +08:00
- Fix `n-data-table` `onUpdatePage` and `onUpdatePageSize` not triggered while using jsx.
2021-08-06 02:28:51 +08:00
- Fix `n-progress` 's `percentage` prop default value doesn't work with different types.
2021-08-06 00:09:14 +08:00
- Fix `n-select` hide close icon when option is disabled.
2021-08-06 02:24:31 +08:00
- Fix `n-modal` can't be closed when using custom content, closes [#788 ](https://github.com/TuSimple/naive-ui/issues/788 ).
2021-08-03 00:24:40 +08:00
2021-08-02 01:33:25 +08:00
## 2.16.0 (2021-08-02)
2021-07-29 23:33:22 +08:00
2021-07-30 00:22:54 +08:00
### Breaking Changes
- `useLoadingBar` 's `finish` method won't work if no `start` is called.
2021-08-02 01:22:05 +08:00
- `n-input` 's `type='input'` is renamed to `type='text'` .
2021-07-30 00:22:54 +08:00
2021-07-29 23:33:22 +08:00
### Feats
- `n-scrollbar` add `scrollbarWidth` , `scrollbarHeight` and `scrollbarBorderRadius` common theme variables, closes [#649 ](https://github.com/TuSimple/naive-ui/issues/649 ).
2021-07-30 00:05:17 +08:00
- `n-menu` doesn't should icon placeholder when `render-icon` returns falsy value, closes [#722 ](https://github.com/TuSimple/naive-ui/issues/722 ).
2021-07-30 00:18:30 +08:00
- `n-menu` add `render-extra` prop.
2021-07-30 00:22:54 +08:00
- `n-select` add `on-clear` prop.
2021-07-30 23:39:46 +08:00
- `n-form` add `disabled` prop, closes [#538 ](https://github.com/TuSimple/naive-ui/issues/538 ).
2021-08-02 01:04:16 +08:00
- `n-dynamic-tags` add `max` prop.
2021-07-29 23:33:22 +08:00
2021-07-30 22:59:44 +08:00
### Fixes
- Fix `n-dropdown` click exception when using v-for.
2021-08-02 01:07:38 +08:00
- Fix `n-modal` cannot customize classes when use preset, closes [#744 ](https://github.com/TuSimple/naive-ui/issues/744 ).
2021-08-02 01:05:58 +08:00
- Fix `n-cascader` menu width shifts in virtual scroll mode, closes [#728 ](https://github.com/TuSimple/naive-ui/issues/728 ).
2021-07-30 22:59:44 +08:00
2021-07-29 09:09:41 +08:00
## 2.15.11 (2021-07-29)
### Fixes
- Fix `n-data-table` pagination's error.
2021-07-29 02:16:59 +08:00
## 2.15.10 (2021-07-29)
2021-07-29 00:19:16 +08:00
### Feats
2021-07-29 02:08:09 +08:00
- `n-pagination` adds `prev` and `next` slots, ref [#648 ](https://github.com/TuSimple/naive-ui/issues/648 ).
2021-07-29 01:29:22 +08:00
- `n-tag` add `color` prop, closes [#693 ](https://github.com/TuSimple/naive-ui/issues/693 ).
- `n-dynamic-tags` add `color` , closes [#693 ](https://github.com/TuSimple/naive-ui/issues/693 ).
2021-07-29 00:44:26 +08:00
- `n-time-picker` optimization the now button logic, closes [#401 ](https://github.com/TuSimple/naive-ui/issues/401 ).
2021-07-29 00:56:16 +08:00
- `n-pagination` `PaginationInfo` add `itemCount` prop, closes [#585 ](https://github.com/TuSimple/naive-ui/issues/585 ).
2021-07-30 00:22:54 +08:00
- `n-select` add `on-clear` prop.
2021-07-29 00:49:16 +08:00
2021-07-29 00:19:16 +08:00
### Fixes
- Fix `n-message` 's `destroyAll` method doesn't work.
2021-07-29 00:20:41 +08:00
- Fix `n-timeline` 's header slot is invalid when using alone.
2021-07-29 00:49:16 +08:00
- Fix `n-select` incorrect style when props has `disabled` and `filterable` , closes [#698 ](https://github.com/TuSimple/naive-ui/issues/698 ).
2021-07-29 01:33:19 +08:00
- Fix `n-upload` operation buttons displayed when has `file-list` & `disabled` props, closes [#668 ](https://github.com/TuSimple/naive-ui/issues/668 ).
2021-07-29 00:19:16 +08:00
2021-07-28 01:59:25 +08:00
## 2.15.9 (2021-07-28)
2021-07-27 23:30:49 +08:00
### Feats
- `n-message` add `destroyAll` method.
2021-07-28 00:40:48 +08:00
- `n-input-number` add `prefix` , `suffix` slots, closes [#609 ](https://github.com/TuSimple/naive-ui/issues/609 ).
2021-07-27 23:30:49 +08:00
2021-07-27 23:56:22 +08:00
### Fixes
- Fix `n-message` options' `duration` prop doesn't work.
2021-07-27 01:05:42 +08:00
## 2.15.8 (2021-07-27)
2021-07-26 23:38:16 +08:00
2021-07-27 00:21:41 +08:00
### Feats
2021-07-27 00:38:10 +08:00
- `n-menu` add `expand-icon` prop, closes [#414 ](https://github.com/TuSimple/naive-ui/issues/414 ).
2021-07-27 00:21:41 +08:00
- `n-descriptions` , `n-descriptions-item` add `label-style` and `content-style` props, closes [#536 ](https://github.com/TuSimple/naive-ui/issues/536 ).
2021-07-26 23:38:16 +08:00
### Fixes
2021-07-27 00:45:47 +08:00
- Fix `n-data-table` the style penetration of the `n-spin` , closes [#663 ](https://github.com/TuSimple/naive-ui/issues/663 ).
2021-07-26 23:38:16 +08:00
2021-07-25 22:13:57 +08:00
## 2.15.7 (2021-07-25)
2021-07-23 23:26:55 +08:00
### Feats
2021-07-31 00:01:24 +08:00
- `n-dropdown` add `show-arrow` prop, closes [#647 ](https://github.com/TuSimple/naive-ui/issues/647 ).
2021-07-23 23:26:55 +08:00
- `n-time-picker` add `actions` prop, closes [#401 ](https://github.com/TuSimple/naive-ui/issues/401 ).
2021-07-25 14:54:17 +08:00
- `n-mention` add `render-label` prop.
2021-07-24 22:49:44 +08:00
- `n-switch` add `checked` , `unchecked` slots.
2021-07-24 23:38:27 +08:00
- `n-switch` add `loading` prop, closes [#301 ](https://github.com/TuSimple/naive-ui/issues/301 ).
2021-07-25 14:34:13 +08:00
- `n-select` pressing arrow down can open menu, ref [#300 ](https://github.com/TuSimple/naive-ui/issues/300 ).
- `n-tree-select` pressing arrow down can open menu, ref [#300 ](https://github.com/TuSimple/naive-ui/issues/300 ).
- `n-cascader` pressing arrow down can open menu, ref [#300 ](https://github.com/TuSimple/naive-ui/issues/300 ).
- `n-popover` 's `trigger` prop support `'focus'` , closes [#477 ](https://github.com/TuSimple/naive-ui/issues/477 ).
2021-07-25 15:28:52 +08:00
- `n-message-provider` add `duration` and `max` props.
2021-07-25 20:21:19 +08:00
- `n-data-table` add `flex-height` prop, closes [#596 ](https://github.com/TuSimple/naive-ui/issues/596 ).
2021-07-23 23:26:55 +08:00
2021-07-24 23:42:22 +08:00
### Fixes
- Fix `n-carousel` arrow buttons cannot be displayed in a specific browser, closes [#625 ](https://github.com/TuSimple/naive-ui/issues/625 ).
2021-07-25 13:57:02 +08:00
- Fix `n-layout-sider` 's `width` prop can't be string, closes [#607 ](https://github.com/TuSimple/naive-ui/issues/607 ).
2021-07-25 14:59:39 +08:00
- Fix `n-slider` prop `disabled` doesn't work, closes [#641 ](https://github.com/TuSimple/naive-ui/issues/641 ).
2021-07-25 15:43:45 +08:00
- Fix `n-input` show clear button when readonly.
2021-07-25 18:23:51 +08:00
- Fix `n-data-table` doesn't show scrollbar when table-layout is auto, closes [#518 ](https://github.com/TuSimple/naive-ui/issues/518 ).
2021-07-25 20:21:19 +08:00
- Fix `n-data-table` 's header checkbox always displays checked when data is empty.
2021-07-25 20:36:03 +08:00
- Fix `n-data-table` header and body's scrollings are not sync.
2021-07-24 23:42:22 +08:00
2021-07-23 02:34:12 +08:00
## 2.15.6 (2021-07-23)
2021-07-16 23:30:34 +08:00
### Feats
2021-07-23 01:58:16 +08:00
- `n-menu` add `render-icon` prop.
2021-07-18 22:50:01 +08:00
- `n-upload` add `show-file-list` prop.
2021-07-20 00:05:26 +08:00
- `n-dropdown` add `render-icon` prop.
2021-07-16 23:30:34 +08:00
- `n-checkbox-group` add `min` and `max` prop.
2021-07-19 23:35:48 +08:00
- `n-mention` add `empty` slot.
2021-07-23 01:46:30 +08:00
- `useDialog` option add `on-mask-click` prop, closes [#419 ](https://github.com/TuSimple/naive-ui/issues/419 ).
2021-07-22 01:21:41 +08:00
- `n-space` `justify` prop supports `center` , `space-around` and `space-between` .
2021-07-24 00:04:21 +08:00
- `n-date-picker` add `close-on-select` prop, closes [#541 ](https://github.com/TuSimple/naive-ui/issues/541 ).
2021-07-23 02:14:00 +08:00
- `n-dialog` add `action` prop, closes [#550 ](https://github.com/TuSimple/naive-ui/issues/550 ).
2021-07-23 02:01:13 +08:00
- `n-mention` ’ s `option.label` support render function.
2021-07-23 00:21:47 +08:00
- `n-color-picker` add `actions` prop, closes [#319 ](https://github.com/TuSimple/naive-ui/issues/319 ).
2021-07-16 23:30:34 +08:00
2021-07-19 23:38:43 +08:00
### Fixes
- Fix `n-space` 's inner `display: grid` element breaks item height, closes `https://github.com/TuSimple/naive-ui/issues/546` .
2021-07-20 00:05:26 +08:00
- Fix `n-dropdown` 's `render-label` prop is invalid for group type option.
2021-07-23 01:49:15 +08:00
- Fix `n-datatable` 's `scroll-x` prop is setted, the table content width is not full of the container width, closes [#518 ](https://github.com/TuSimple/naive-ui/issues/518 ).
2021-07-22 00:13:51 +08:00
- Fix `n-descriptions` doesn't work with `v-for` children.
2021-07-22 01:05:47 +08:00
- Fix `n-dialog` display an empty button when `positive-text` is not set, closes [#549 ](https://github.com/TuSimple/naive-ui/issues/549 ).
2021-07-23 01:43:27 +08:00
- Fix `n-pagination` `PaginationInfo` 's `endIndex` data error, closes [#584 ](https://github.com/TuSimple/naive-ui/issues/584 ).
2021-07-23 01:31:46 +08:00
- Fix `n-data-table` `rowClassName` doesn't work when type is string, closes [#582 ](https://github.com/TuSimple/naive-ui/issues/582 ).
2021-07-20 00:05:26 +08:00
2021-07-16 01:50:51 +08:00
## 2.15.5 (2021-07-16)
2021-07-10 00:47:14 +08:00
### Feats
2021-07-16 00:56:51 +08:00
- `n-tree` add `render-label` , `render-prefix` and `render-suffix` props.
2021-07-10 00:47:14 +08:00
- `n-rate` add `allow-half` prop.
2021-07-10 01:34:33 +08:00
- `n-carousel` add `show-arrow` prop.
2021-07-10 22:44:10 +08:00
- `n-slider` add `format-tooltip` prop.
2021-07-12 23:01:46 +08:00
- `n-upload` add `event` in `on-finish` callback params.
2021-07-12 22:37:57 +08:00
- `n-rate` add `readonly` prop.
2021-07-15 00:21:06 +08:00
- `n-time-picker` add `seconds` , `minutes` , `hours` props.
2021-07-15 00:07:02 +08:00
- `n-notification` export `NotificationApi` , `NotificationOptions` and `NotificationReactive` type.
2021-07-14 23:46:47 +08:00
- `n-avatar` add `on-error` prop, closes [#394 ](https://github.com/TuSimple/naive-ui/issues/394 ).
- `n-image` add `on-error` prop, closes [#394 ](https://github.com/TuSimple/naive-ui/issues/394 ).
- `n-image` add `object-fit` prop, closes [#394 ](https://github.com/TuSimple/naive-ui/issues/394 ).
- `n-avatar` add `object-fit` prop, closes [#394 ](https://github.com/TuSimple/naive-ui/issues/394 ).
2021-07-16 01:44:46 +08:00
- `n-menu` expands all the ascendant of selected item by default, closes [#481 ](https://github.com/TuSimple/naive-ui/issues/481 ).
2021-07-10 00:47:14 +08:00
2021-07-10 01:20:21 +08:00
### Fixes
2021-07-16 00:18:32 +08:00
- Fix `n-calendar` 's `default-value` prop cannot be used.
2021-07-10 01:20:21 +08:00
- Fix `n-pagination` page count is not correct when `item-count` is 0.
2021-07-10 01:46:14 +08:00
- Fix `n-scrollbar` `content-style` can not override the default width of style.
2021-07-10 01:44:41 +08:00
- Fix `n-select` placeholder transition.
2021-07-15 00:07:02 +08:00
- Fix `n-loading-bar` `useLoadingBar` 's return type can be undefined.
2021-07-15 23:57:31 +08:00
- Fix `n-tag` 's `type` prop add `primary` type.
2021-07-29 01:04:34 +08:00
- Fix `n-dynamic-tags` 's `type` prop add `primary` type.
2021-07-10 01:20:21 +08:00
2021-07-09 01:01:05 +08:00
## 2.15.4 (2021-07-09)
2021-07-06 16:17:39 +08:00
### Feats
2021-07-08 23:53:48 +08:00
- `n-steps` add icon customization in `'finish'` and `'error'` status.
2021-07-06 16:17:39 +08:00
- `n-tree` exports `TreeDragInfo` & `TreeDropInfo` type.
2021-07-09 00:55:55 +08:00
- `n-empty` export `icon` slot.
- `useDialog` option add `maskClosable` prop, closes [#420 ](https://github.com/TuSimple/naive-ui/issues/420 ).
2021-07-06 16:17:39 +08:00
2021-07-06 17:07:17 +08:00
### 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.
2021-07-08 00:10:31 +08:00
- Fix `n-result` image doesn't show on Safari and mobile phone.
2021-07-08 23:21:33 +08:00
- Fix `n-drawer-content` 's `header-style` style not applied to header.
2021-07-09 00:55:55 +08:00
- Fix `n-dialog` instance throws error when calling `destroy` .
- Fix `n-image-group` initialize zoom scale when switching a picture [#423 ](https://github.com/TuSimple/naive-ui/issues/423 ).
- Fix `n-select` bug in using custom label, closes [#352 ](https://github.com/TuSimple/naive-ui/issues/352 ).
- Fix `n-carousel` when `autoplay` dot active status isn't displayed correctly, closes [#434 ](https://github.com/TuSimple/naive-ui/issues/434 ).
- Fix `n-input` fixed clearable position, closes [#428 ](https://github.com/TuSimple/naive-ui/issues/428 ).
- Fix `n-image` doesn't accept attributes.
- Fix `n-image` set border-radius not working, closes [#427 ](https://github.com/TuSimple/naive-ui/issues/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 ](https://github.com/TuSimple/naive-ui/issues/454 ).
- Fix `n-select` options are not updated properly, closes [#441 ](https://github.com/TuSimple/naive-ui/issues/441 ).
2021-07-06 17:07:17 +08:00
2021-07-05 17:02:15 +08:00
## 2.15.3 (2021-07-05)
2021-07-03 00:08:53 +08:00
### Feats
2021-07-04 01:05:42 +08:00
- `n-loading-bar` export `LoadingBarApi` type.
2021-07-16 01:21:15 +08:00
- `n-image` add `img-props` prop.
2021-07-04 01:05:42 +08:00
- Add native `title` attributes to some components to enhance the experience.
2021-07-04 20:27:14 +08:00
- `n-tree` add `prefix` and `suffix` in TreeOption.
2021-07-05 12:45:57 +08:00
- `n-carousel` add `dot-placement` prop.
2021-07-05 15:21:23 +08:00
- `n-auto-complete` add `loading` prop, closes [#241 ](https://github.com/TuSimple/naive-ui/issues/241 ).
2021-07-05 14:23:51 +08:00
- `n-slider` add `tooltip` prop, closes [#362 ](https://github.com/TuSimple/naive-ui/issues/362 ).
2021-07-07 00:02:16 +08:00
- `n-input` add `loading` prop.
2021-07-03 00:08:53 +08:00
2021-07-03 23:41:15 +08:00
### Fixes
2021-07-04 01:05:42 +08:00
- Fix `n-upload` `multiple=false` doesn't work for drag & drop, closes [#363 ](https://github.com/TuSimple/naive-ui/issues/363 ).
2021-07-04 00:30:55 +08:00
- Fix `n-dropdown` 's inner `<a />` 's style.
2021-07-04 01:00:58 +08:00
- Fix `n-menu` tooltip's inner `<a />` 's style, closes [#338 ](https://github.com/TuSimple/naive-ui/issues/338 ).
2021-07-04 20:16:33 +08:00
- Fix `n-carousel` doesn't work with `v-for` children.
2021-07-05 14:08:36 +08:00
- Fix `n-form` `label-align` prop not working, closes [#213 ](https://github.com/TuSimple/naive-ui/issues/213 )
2021-07-05 15:17:02 +08:00
- Fix `n-data-table` fixed column shadow doesn't work when `max-height` is set, closes [#376 ](https://github.com/TuSimple/naive-ui/issues/376 ).
2021-07-03 23:41:15 +08:00
2021-07-02 18:23:17 +08:00
## 2.15.2 (2021-07-02)
2021-07-01 00:02:20 +08:00
2021-07-01 00:47:10 +08:00
### Feats
2021-07-01 11:12:54 +08:00
- `n-carousel` add `trigger` prop.
2021-07-01 00:52:41 +08:00
- `n-menu` add `dropdown-placement` prop.
2021-07-01 00:55:01 +08:00
- `n-upload` add `before-upload` prop.
2021-07-01 23:45:00 +08:00
- `n-image` add `alt` prop.
2021-07-01 11:16:36 +08:00
- Support the enter key on the numeric keypad.
2021-07-01 23:57:16 +08:00
- `n-spin` support `icon` slot for icon customizing, closes[#260](https://github.com/TuSimple/naive-ui/issues/260).
- `n-spin` add `rotate` prop fro slot icon to rotate.
2021-07-01 22:41:29 +08:00
- `n-form` export `FormItemRule` & `FormRules` type.
2021-07-02 17:08:25 +08:00
- `n-select` add `render-tag` prop.
2021-07-01 00:47:10 +08:00
2021-07-01 00:02:20 +08:00
### Fixes
- Fix `n-log` warn on highlight.js when no language is set, closes [#327 ](https://github.com/TuSimple/naive-ui/issues/327 ).
2021-07-01 00:12:48 +08:00
- Remove `n-calendar` 's useless `console.log` .
2021-07-01 23:52:57 +08:00
- Fix loading-bar disappears unexpectl, closes [#343 ](https://github.com/TuSimple/naive-ui/issues/343 ).
2021-07-02 01:35:10 +08:00
- Fix `n-select` doesn't scroll to selected item when menu is opened, closes [#346 ](https://github.com/TuSimple/naive-ui/issues/346 ).
2021-07-02 10:59:22 +08:00
- Fix `n-tab-pane` throws error when using v-if.
2021-07-02 14:13:25 +08:00
- Fix `n-modal` still closes when `on-negative-click` returns `false` .
2021-07-02 17:08:25 +08:00
- Fix `n-collapse` `defaultExpandedNames` does not work in accrodion mode, closes [#350 ](https://github.com/TuSimple/naive-ui/issues/350 ).
2021-07-02 17:54:37 +08:00
- Fix `n-tag` lacks `on-update-checked` prop.
2021-07-04 00:02:35 +08:00
- Fix `n-menu` `render-label` not working for dropdown in collapsed mode.
2021-07-02 17:54:37 +08:00
2021-06-30 21:04:13 +08:00
## 2.15.1 (2021-06-30)
- Fix no `web-types.json` .
2021-06-29 23:56:28 +08:00
## 2.15.0 (2021-06-29)
2021-06-24 01:17:59 +08:00
2021-06-25 23:08:45 +08:00
### Breaking Changes
2021-06-29 23:56:28 +08:00
- `n-select` 's `SelectOption` 's `render` no longer render label but the entire option.
2021-06-25 22:39:07 +08:00
2021-06-24 01:17:59 +08:00
### Feats
- `n-carousel` supports touch operation, closes [#271 ](https://github.com/TuSimple/naive-ui/issues/271 ).
2021-06-25 23:08:45 +08:00
- `n-input` add `input-props` prop.
2021-06-27 15:51:57 +08:00
- `n-message` optimize the error message of `useMessage` when there is no `n-message-provider` , add the related document link.
2021-06-28 00:29:29 +08:00
- Add `web-types.json` for webstorm, however I recommend using VSCode and Volar. `web-types.json` only provides limited information for coding.
2021-06-29 15:26:09 +08:00
- `n-tree-select` add `leaf-only` prop.
- `n-tree` add `leaf-only` prop.
2021-06-29 23:40:50 +08:00
- `n-select` 's `SelectOption` 's `label` supports render function.
- `n-select` add `render-option` prop.
- `n-select` export `SelectOption` & `SelectGroupOption` type.
2021-06-29 22:31:14 +08:00
- `n-popover` add `header` slot.
2021-07-02 00:43:46 +08:00
- `n-dropdown` add `render-label` prop.
2021-06-24 19:37:31 +08:00
### Fixes
- Fix `n-date-picker` `n-provider` pass `date-locale` not work, closes [#250 ](https://github.com/TuSimple/naive-ui/issues/250 ).
2021-06-25 22:57:36 +08:00
- Fix `n-input` clear button placeholder prevent clicking on actual component [#288 ](https://github.com/TuSimple/naive-ui/issues/288 )
2021-06-27 15:59:34 +08:00
- Fix `n-carousel` click the at current item button, the component behaves abnormally.
2021-06-27 21:30:25 +08:00
- Fix `n-menu` `render-label` not working for tooltip in collapsed mode.
2021-06-28 01:17:36 +08:00
- Fix `n-dropdown` can't render `n-popover` in option.
2021-03-16 18:24:49 +08:00
2021-06-23 15:31:24 +08:00
## 2.14.0 (2021-06-23)
2021-06-22 17:18:39 +08:00
2021-06-23 09:03:24 +08:00
### Breaking Changes
- `n-element` removes `abstract` prop.
- `n-element` doesn't return theme variables in default slot. Please use `useThemeVars` instead.
2021-06-22 17:18:39 +08:00
### Feats
2021-06-23 08:30:35 +08:00
- Add `n-carousel` component.
2021-06-23 09:03:24 +08:00
- Add `useThemeVars` composable to provide theme variables.
2021-06-23 14:50:19 +08:00
- `n-upload` add `on-update:file-list` prop, closes [#135 ](https://github.com/TuSimple/naive-ui/issues/135 ).
2021-06-23 14:03:19 +08:00
- `n-date-picker` add `update-value-on-close` prop.
2021-06-23 08:30:35 +08:00
2021-06-22 17:18:39 +08:00
### Fixes
2021-06-23 13:35:14 +08:00
- Fix `n-select` can't input in filterable mode in single mode in iOS Safari, closes [#230 ](https://github.com/TuSimple/naive-ui/issues/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 ](https://github.com/TuSimple/naive-ui/issues/251 ).
2021-06-23 14:21:04 +08:00
- Fix `n-data-table` expand trigger's cursor is not pointer, closes [#261 ](https://github.com/TuSimple/naive-ui/issues/261 ).
2021-06-23 13:35:14 +08:00
## Refactors
- `n-input-number` will focus directly, closes [#244 ](https://github.com/TuSimple/naive-ui/issues/244 ).
2021-06-22 17:18:39 +08:00
2021-06-21 22:09:27 +08:00
## 2.13.0 (2021-06-21)
2021-06-20 22:46:54 +08:00
### Feats
- `n-dropdown` add `on-clickoutside` prop, closes [#123 ](https://github.com/TuSimple/naive-ui/issues/123 ).
2021-06-21 15:48:15 +08:00
- `n-menu` add `render-label` prop, closes [#84 ](https://github.com/TuSimple/naive-ui/issues/84 )
- `n-tree` supports keyboard operations.
- Add `n-tree-select` component.
2021-06-21 09:39:54 +08:00
2021-06-19 16:50:39 +08:00
### Fixes
- Fix `n-tree` drag over leaf node causes error, closes [#200 ](https://github.com/TuSimple/naive-ui/issues/200 ).
2021-06-21 15:48:15 +08:00
- 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.
2021-06-21 17:36:37 +08:00
- Fix `n-button` 's loading icon doesn't show on iOS Safari, closes [#219 ](https://github.com/TuSimple/naive-ui/issues/219 ).
2021-06-21 22:01:05 +08:00
- Fix `n-date-picker` doesn't show icon when clearable.
- Fix `n-time-picker` icon mis-aligned when clearable, closes [#222 ](https://github.com/TuSimple/naive-ui/issues/222 ).
2021-06-19 16:50:39 +08:00
2021-06-19 16:40:46 +08:00
## 2.12.2 (2021-06-19)
2021-06-19 16:23:50 +08:00
### Fixes
- Fix `n-form-item` always show require mark.
2021-06-19 16:40:46 +08:00
## 2.12.1 (2021-06-19)
2021-06-17 21:51:11 +08:00
### Feats
2021-06-19 01:08:54 +08:00
- `n-form` , `n-form-item` enhance `show-require-mark` prop, closes [#171 ](https://github.com/TuSimple/naive-ui/issues/171 )
2021-06-17 21:53:40 +08:00
- `n-dropdown` support class attr, closes [#180 ](https://github.com/TuSimple/naive-ui/issues/180 ).
2021-06-18 22:28:22 +08:00
- `n-input` add `show-password-toggle` prop.
- `n-popselect` support class attr.
2021-06-19 01:08:54 +08:00
- `n-select` add `render-label` prop.
2021-06-19 02:22:11 +08:00
- `n-popselect` add `render-label` prop.
2021-06-17 21:51:11 +08:00
2021-06-18 10:55:56 +08:00
### Fixes
2021-06-19 16:23:50 +08:00
- Fix `n-input` baseline shifts when mix Chinese and English characters in input, closes [#174 ](https://github.com/TuSimple/naive-ui/issues/174 ).
2021-06-18 10:55:56 +08:00
- Fix `n-icon` use setup script, `$parent` is an empty object by default, and access `$parent.$options` will be `undefined` .
2021-06-19 00:51:01 +08:00
- Fix `n-notification` position not correct.
2021-06-19 01:54:00 +08:00
- Fix `n-message` content & option type not correct.
2021-06-18 10:55:56 +08:00
2021-06-18 15:14:11 +08:00
## 2.12.0 (2021-06-16)
2021-06-16 22:03:57 +08:00
2021-06-16 23:06:21 +08:00
### 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.
2021-06-16 17:29:49 +08:00
### Feats
2021-06-16 22:03:57 +08:00
- `n-tree` support `disabled` & `checkboxDisabled` on option.
2021-06-16 23:02:13 +08:00
- `n-input-number` support keyboard events ArrowUp and ArrowDown operations.
2021-06-16 22:03:57 +08:00
2021-06-16 17:29:49 +08:00
### Fixes
2021-06-16 22:03:57 +08:00
2021-06-16 17:29:49 +08:00
- Fix `n-cascader` text blur in win10 Chrome.
2021-06-16 23:12:08 +08:00
- Fix `n-tree` click on indent won't trigger select in block line mode.
2021-06-16 22:03:57 +08:00
2021-06-18 15:14:11 +08:00
## 2.11.12 (2021-06-16)
2021-06-16 11:47:20 +08:00
### Feats
- `n-drawer-content` add `closable` prop, closes [#139 ](https://github.com/TuSimple/naive-ui/issues/139 ).
2021-06-16 14:04:39 +08:00
- `n-element` pass `themeVars` to default slot.
- `n-element` add `abstract` prop.
2021-06-16 11:47:20 +08:00
2021-06-15 18:36:29 +08:00
### Fixes
- Fix `n-radio-group` doesn't trigger form item validation.
2021-06-16 13:13:11 +08:00
- Fix `n-auto-complete` customizing input not working.
2021-06-15 18:36:29 +08:00
2021-06-15 11:23:16 +08:00
## 2.11.11 (2021-06-15)
2021-06-15 23:51:39 +08:00
### Feats
- `n-tag` add `RTL` support
2021-06-15 11:23:16 +08:00
### Fixes
- Move `vue` & `vue-router` to peer dependencies to avoid redundant bundle.
2021-06-15 01:09:52 +08:00
## 2.11.9 (2021-06-15)
2021-06-14 01:21:50 +08:00
2021-06-15 00:20:54 +08:00
### Feats
2021-06-15 01:03:12 +08:00
- `n-space` supports wai-aria.
- `n-button-group` supports wai-aria.
- `n-progress` supports wai-aria.
2021-06-15 00:20:54 +08:00
- `n-menu` supports use `<a />` and `<router-link />` as label, closes [#84 ](https://github.com/TuSimple/naive-ui/issues/84 ).
2021-06-15 00:47:46 +08:00
- `n-input-number` add `show-button` prop.
- `n-rate` support `default` slot for icon customizing.
- `n-rate` add color prop.
- `n-rate` add size prop.
2021-06-15 00:20:54 +08:00
2021-06-14 01:21:50 +08:00
### Fixes
- Fix `n-card` 's `header-style` it not applied to header. [#103 ](https://github.com/TuSimple/naive-ui/issues/103 )
2021-06-14 17:29:12 +08:00
- Fix `n-dialog` misses `destroyAll` method.
2021-06-14 22:48:57 +08:00
- Fix `n-data-table` misses `on-update-sorter` , `on-update-filters` , `on-update-page` and `on-update-page-size` props.
2021-06-14 01:21:50 +08:00
2021-06-14 10:08:27 +08:00
## 2.11.8 (2021-06-13)
2021-06-12 19:23:05 +08:00
2021-06-13 12:36:35 +08:00
### Feats
- `n-data-table` exports `DataTableCreateRowClassName` , `DataTableCreateRowKey` and `DataTableCreateRowProps` type.
2021-06-12 19:23:05 +08:00
### Fixes
- Fix `n-calendar` 's `on-update:value` prop type.
2021-06-13 12:04:24 +08:00
- Fix `n-form-item` 's style attribute `grid-template-columns` influence on the layout of child elements. [#93 ](https://github.com/TuSimple/naive-ui/pull/93 )
2021-06-13 12:36:35 +08:00
- Fix `n-data-table` 's prop types of `rowKey` , `rowClassName` , `rowProps` , `summary` aren't compatible with expected value.
2021-06-12 19:23:05 +08:00
2021-06-14 10:08:27 +08:00
## 2.11.7 (2021-06-12)
2021-06-12 12:38:43 +08:00
### Fixes
2021-06-12 14:06:39 +08:00
- Fix `n-slider` doesn't prevent scrolling when touchstart.
- Fix `n-color-picker` 's default value doesn't follow modes.
2021-06-12 15:42:46 +08:00
- Fix not `lodash` & `lodash-es` type.
2021-06-12 12:38:43 +08:00
2021-06-11 18:48:51 +08:00
## 2.11.6 (2021-06-11)
2021-06-11 00:37:59 +08:00
2021-06-11 00:51:11 +08:00
### Feats
- `n-spin` 's `size` prop support number.
2021-06-11 18:32:10 +08:00
- `n-date-picker` add `footer` slot.
2021-06-11 00:37:59 +08:00
### Fixes
2021-06-11 18:39:39 +08:00
2021-06-11 17:44:03 +08:00
- Fix `n-slider` doesn't support touch events
2021-06-11 10:39:07 +08:00
- Fix `n-button` causes crash when it's imported in script inside head tag. [#68 ](https://github.com/TuSimple/naive-ui/pull/68 )
2021-06-11 00:37:59 +08:00
- Fix `n-spin` animation shifts.
2021-06-11 12:00:11 +08:00
- Fix `n-menu` lack `on-update-value` and `on-update-expanded-keys` props.
2021-06-11 17:26:42 +08:00
- Fix `n-popconfirm` icon slot not working.
2021-06-11 17:28:00 +08:00
- Fix `n-tabs` logs useless info.
2021-06-11 18:39:39 +08:00
- Fix `n-color-picker` set `modes` not working. [#77 ](https://github.com/TuSimple/naive-ui/issues/77 )
2021-06-11 00:37:59 +08:00
2021-06-10 22:54:48 +08:00
## 2.11.5 (2021-06-10)
2021-06-07 18:21:44 +08:00
2021-06-10 14:08:58 +08:00
### Feats
- `n-dropdown` add `disabled` prop
2021-06-10 19:44:21 +08:00
- `n-card` add `:target` style
2021-06-10 14:08:58 +08:00
2021-06-07 18:21:44 +08:00
### Fixes
2021-06-08 16:31:24 +08:00
- Fix `n-popover` sometimes won't sync position in manual mode.
2021-06-07 18:21:44 +08:00
- Fix `n-transfer` 's empty icon is no toggling transition.
2021-06-09 17:14:13 +08:00
- Fix `n-message` API option is not optional.
2021-06-14 17:29:12 +08:00
- Fix `n-calendar` date calculate incorrectly.
- Fix `n-input` misses the `password` type declaration.
2021-06-10 18:05:09 +08:00
- Fix `n-menu` the type definition of `extra` property of menu and submenu.
2021-06-10 22:54:48 +08:00
- Fix `n-dropdown` mouse cursor is not pointer.
2021-06-07 18:21:44 +08:00
2021-06-07 13:12:02 +08:00
## 2.11.4
2021-06-05 23:58:54 +08:00
2021-06-06 10:45:20 +08:00
### Feats
- `n-button` supports wai-aria.
2021-06-06 11:04:29 +08:00
- `n-card` supports wai-aria.
2021-06-06 11:24:48 +08:00
- `n-switch` supports wai-aria.
2021-06-06 11:53:42 +08:00
- `n-menu` supports basic wai-aria.
2021-06-06 18:25:13 +08:00
- `n-divider` supports basic wai-aria.
2021-06-07 09:01:20 +08:00
- `n-data-table` add `row-props` prop.
2021-06-07 13:00:02 +08:00
- `n-date-picker` add `ranges` prop.
2021-06-06 10:45:20 +08:00
2021-06-05 23:58:54 +08:00
### Fixes
- Fix `n-tab-pane` `display-directive` not working.
2021-06-06 19:18:34 +08:00
- Fix `n-drawer` animation.
2021-06-06 22:54:41 +08:00
- Fix `n-scrollbar` 's track may be overlayed in chrome windows.
2021-06-05 23:58:54 +08:00
2021-06-05 21:34:33 +08:00
## 2.11.3
2021-06-05 21:30:39 +08:00
- Fix `n-collapse` `default-expanded-names` not working.
2021-06-05 21:19:31 +08:00
## 2.11.2
2021-06-05 18:55:23 +08:00
### Fixes
- Fix `n-dropdown` default placement is not `bottom` .
2021-06-05 20:48:26 +08:00
- Fix `n-date-picker` 's input theme is not set in `date` & `datetime` type.
2021-06-05 20:54:29 +08:00
- Fix `n-config-provider` doesn't merge inherited theme.
2021-06-05 18:55:23 +08:00
2021-06-05 21:16:00 +08:00
### Feats
- `n-collapse` add `arrow` slot
2021-06-05 19:53:26 +08:00
## 2.11.1
Update package.json & README.md.
2021-06-05 01:03:27 +08:00
## 2.11.0
2021-05-26 23:07:32 +08:00
2021-05-27 11:39:44 +08:00
### 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` .
2021-05-27 12:43:12 +08:00
- `n-anchor` add `offset-target` prop.
2021-05-27 13:26:53 +08:00
- `n-select` add `virtual-scroll` prop.
- `n-select` add `consistent-menu-width` prop.
2021-06-01 01:13:24 +08:00
- `n-date-picker` update value after confirm is clicked.
2021-05-27 11:39:44 +08:00
2021-05-26 23:07:32 +08:00
### Fixes
2021-05-31 16:44:08 +08:00
- Fix `n-date-picker` doesn't disable start date correctly when value is empty.
2021-05-26 23:07:32 +08:00
- Fix `n-input-number` not restore valid value after blur.
2021-06-01 01:13:24 +08:00
- Fix `n-date-picker` display selected date when value is null in date mode.
2021-05-26 23:07:32 +08:00
2021-05-27 11:39:44 +08:00
### 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.
2021-05-27 12:43:12 +08:00
- `n-anchor` 's `listen-to` prop is removed.
2021-05-27 11:39:44 +08:00
2021-05-26 17:09:58 +08:00
## 2.10.0
2021-05-25 21:18:41 +08:00
2021-05-26 11:19:37 +08:00
### Breaking Changes
- `n-popover` 's `placement` prop default value is set to `'top'` .
2021-05-25 21:18:41 +08:00
### Feats
- `n-tabs` add `on-close` prop.
- `n-tabs` add `on-add` prop.
2021-05-25 23:20:04 +08:00
- `n-tabs` add `tab` slot.
- `n-tab-pane` 's `tab` prop support render function & VNode.
2021-05-25 23:36:07 +08:00
- `n-tabs` 's `type` prop support `'line'` option.
2021-05-26 01:36:06 +08:00
- `n-tabs` add box shadow to indicate scroll status.
2021-05-26 15:38:40 +08:00
- `n-tabs` add `pane-style` prop
2021-05-25 23:20:04 +08:00
2021-05-26 13:55:09 +08:00
### Fixes
- Fix `n-layout` 's `scrollTo` not working when using native scrollbar.
2021-05-25 23:20:04 +08:00
### Deprecated
- `n-tab-pane` 's `label` prop is deprecated. Please use `tab` prop instead.
2021-05-25 21:18:41 +08:00
2021-05-25 19:25:43 +08:00
## 2.9.0
2021-05-19 12:03:35 +08:00
2021-05-25 16:43:02 +08:00
### Breaking Changes
- `n-layout-sider` removed `show-content` prop. Please use `show-collapsed-content` instead.
2021-05-19 12:03:35 +08:00
### Feats
2021-05-22 00:54:44 +08:00
- `n-data-table` support tree data.
- `n-data-table` add `cascade` prop.
- `n-data-table` add `children-key` prop.
- `n-data-table` add `indent` prop.
2021-05-19 12:03:35 +08:00
- `n-button` add `tag` prop.
2021-05-19 14:55:54 +08:00
- `n-data-table` add `table-layout` prop.
2021-05-19 15:45:31 +08:00
- `n-tree` add `block-line` prop.
2021-05-24 10:49:11 +08:00
- `n-tree` support drag & drop.
2021-05-24 14:10:28 +08:00
- `n-menu` add `inverted` prop.
2021-05-24 16:25:26 +08:00
- `n-dropdown` add `inverted` prop.
2021-05-25 01:20:31 +08:00
- `n-tabs` add `addable` prop.
- `n-tabs` add `tab-style` prop.
- `n-tabs` add `tabs-padding` prop.
- `n-tabs` add `default-value` prop.
2021-05-25 13:11:20 +08:00
- `n-layout-sider` & `n-layout-footer` & `n-layout-header` add `inverted` prop.
2021-05-25 13:34:52 +08:00
- `n-data-table` 's `max-height` & `min-height` prop accept CSS value.
2021-05-25 15:05:41 +08:00
- `n-layout` & `n-layout-content` add `embedded` prop.
2021-05-19 14:55:54 +08:00
### Fixes
2021-05-25 16:43:02 +08:00
- `n-layout` & `n-layout-sider` 's `scrollTo` not working with native scrollbar.
2021-05-19 14:55:54 +08:00
- `n-layout-sider` 's `collapse-mode` not working.
2021-05-23 13:33:46 +08:00
- Internal selection component's theme peers has wrong key for popover.
2021-05-19 12:03:35 +08:00
2021-05-19 02:25:38 +08:00
## 2.8.0
2021-05-07 17:46:46 +08:00
2021-05-17 13:42:55 +08:00
### Perf
- Optimize `n-data-table` init render count.
- Optimize `n-select` open duration after first opening.
2021-05-18 19:32:57 +08:00
- Optimize `n-anchor` scroll performance.
2021-05-17 13:42:55 +08:00
### Feats
2021-05-16 18:51:03 +08:00
- `n-tree` add `virtual-scroll` prop.
2021-05-17 04:18:32 +08:00
- `n-data-table` add `virtual-scroll` prop.
2021-05-17 15:52:00 +08:00
- `n-cascader` add `virtual-scroll` prop.
2021-05-18 20:21:14 +08:00
- `n-pagination` add `item-count` prop.
2021-05-18 21:02:56 +08:00
- `n-pagination` add `prefix` prop.
- `n-pagination` add `prefix` slot.
- `n-pagination` add `suffix` prop.
- `n-pagination` add `suffix` slot.
2021-05-19 00:59:06 +08:00
- `n-input` add `show-count` prop.
2021-05-16 18:51:03 +08:00
2021-05-07 17:46:46 +08:00
### Fixes
2021-05-16 15:36:46 +08:00
- 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.
2021-05-18 20:21:14 +08:00
- Fix `n-pagination` doesn't update page in uncontrolled mode.
2021-05-07 17:46:46 +08:00
2021-04-25 20:25:11 +08:00
## 2.7.4
2021-04-23 00:01:47 +08:00
2021-04-25 20:25:11 +08:00
### Feats
2021-04-23 23:20:21 +08:00
- `n-form-item` works without `n-form` .
2021-04-23 00:01:47 +08:00
### Fixes
2021-04-25 19:54:14 +08:00
- Fix `n-checkbox` check mark not displayed.
2021-04-25 19:51:18 +08:00
- Fix `n-date-picker` icon transition style in trigger.
2021-04-23 00:01:47 +08:00
- Fix `n-p` , `n-ol` , `n-ul` margin bottom is not 0 when they are last child.
2021-04-23 23:34:53 +08:00
- Fix `n-checkbox-group` not working in uncontrolled mode.
2021-04-24 13:52:06 +08:00
- Fix `n-data-table` clear check all in table now working.
2021-04-23 00:01:47 +08:00
2021-04-22 00:09:41 +08:00
## 2.7.3
2021-04-21 16:36:25 +08:00
2021-04-23 00:01:47 +08:00
### Feats
2021-04-21 21:13:59 +08:00
- `n-data-table` highlight sorted col.
2021-04-21 21:34:03 +08:00
- `n-data-table` col add `render-filter` prop.
- `n-data-table` col add `render-filter-icon` prop.
2021-04-21 21:13:59 +08:00
2021-04-21 16:36:25 +08:00
### Fixes
2021-04-22 00:09:41 +08:00
- `n-data-table` fixed column box-shadow more clear in dark theme.
2021-04-21 16:36:25 +08:00
- Fix `n-color-picker` value has line wrap.
2021-04-22 00:09:41 +08:00
- Fix `n-form` FormRuleItem.trigger types.
2021-04-21 16:36:25 +08:00
2021-04-21 14:50:27 +08:00
## 2.7.2
2021-04-20 14:47:30 +08:00
2021-04-23 00:01:47 +08:00
### Feats
2021-04-21 11:23:34 +08:00
2021-04-21 14:47:24 +08:00
- `n-data-table` add `summary` prop.
2021-04-21 11:23:34 +08:00
- `n-data-table` add `options` on `'type=selection'` column.
2021-04-20 14:47:30 +08:00
### Fixes
- Fix `n-layout` overflow on horizontal direction.
2021-04-20 13:07:00 +08:00
## 2.7.1
2021-04-20 00:07:36 +08:00
2021-04-23 00:01:47 +08:00
### Feats
2021-04-20 02:18:23 +08:00
- `n-checkbox` add `focusable` prop.
2021-04-20 02:36:31 +08:00
- `n-cascader` add `action` slot.
2021-04-20 02:18:23 +08:00
2021-04-20 00:07:36 +08:00
### Fixes
- Fix `n-cascader` loading triggered when click checkbox.
- Fix `n-cascader` menu mask style.
2021-04-19 22:05:43 +08:00
## 2.7.0
2021-04-19 15:58:22 +08:00
### Breaking Changes
- `n-drawer` doesn't have padding by default. `n-drawer-content` is provided to fill the drawer.
2021-04-19 01:31:36 +08:00
## 2.6.0
2021-04-15 11:54:35 +08:00
2021-04-18 22:50:50 +08:00
### Feats
2021-04-19 16:50:01 +08:00
- `n-drawer` add `content-style` prop.
- `n-layout` add `content-style` prop.
- `n-layout-sider` add `content-style` prop.
### Feats
2021-04-18 22:50:50 +08:00
- `n-config-provider` Add `cls-prefix` prop.
2021-04-15 11:54:35 +08:00
### Fixes
- Fix `n-popover` may influence other popover when static props is hoisted.
2021-04-18 22:50:50 +08:00
## 2.5.1
2021-04-14 12:03:42 +08:00
### Feats
- `n-color-picker` add `show-alpha` prop.
2021-04-14 14:20:24 +08:00
### Fixes
- Fix `n-select` default `fallback-option` breaks the component.
2021-04-13 22:29:14 +08:00
## 2.5.0
2021-04-09 00:43:33 +08:00
### Feats
- Add `n-skeleton` component.
2021-05-23 13:33:46 +08:00
- Add `n-calendar` component.
- Add `n-color-picker` component.
2021-04-09 18:06:22 +08:00
- `n-date-picker` locale add `firstDayOfWeek` .
2021-04-13 02:04:31 +08:00
- `n-select` add `showArrow` prop.
2021-04-09 00:43:33 +08:00
2021-04-09 02:36:29 +08:00
### Fixes
- Fix `n-date-picker` trigger has no focus style in focus is in panel.
2021-04-13 22:29:14 +08:00
- 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.
2021-04-09 02:36:29 +08:00
2021-04-07 23:06:28 +08:00
## 2.4.2
2021-04-08 00:09:32 +08:00
### Feats
- Add `n-form-item-gi` component.
2021-04-07 23:06:28 +08:00
### Fixes
- Fix `n-ellipsis` & `n-data-table` ellpisis cell mis-vertical-aligned.
2021-04-08 00:43:19 +08:00
- Fix `n-select` filterable doesn't work with composite events.
2021-04-07 23:06:28 +08:00
2021-04-07 22:11:01 +08:00
## 2.4.1
2021-04-07 21:26:58 +08:00
### Fixes
- Fix `n-select` caret color in single filter mode.
- Fix `n-select` menu action part can't be focused.
2021-04-07 16:31:14 +08:00
## 2.4.0
2021-04-05 18:10:30 +08:00
2021-04-03 11:29:37 +08:00
### Feats
2021-05-23 13:33:46 +08:00
- Add `n-image` component.
2021-04-06 18:06:04 +08:00
- Add `n-global-style` component.
- Add `n-theme-editor` component.
2021-04-03 11:29:37 +08:00
- Add `n-page-header` component.
2021-04-03 15:11:12 +08:00
- `n-statistic` add `label` slot.
- `n-breadcrumb-item` add `separator` slot & prop.
2021-04-03 15:17:52 +08:00
- `n-button` add `bordered` prop.
2021-04-05 23:58:45 +08:00
- `n-card` add `footer-style` prop.
2021-04-03 11:29:37 +08:00
### Refactors
- Refactor `n-statistic` 's style
2021-04-07 16:31:14 +08:00
- `n-menu` add `options` prop to replace `items` prop, `items` prop is deprecated.
2021-04-03 11:29:37 +08:00
2021-03-29 21:38:09 +08:00
### Fixes
2021-04-05 22:57:19 +08:00
- Fix `n-anchor` `ignore-gap` not working
2021-03-29 21:38:09 +08:00
- Fix `n-collapse` content is truncated by `overflow: hidden` .
2021-04-06 00:38:10 +08:00
- Fix `n-select` tag text overflow.
2021-04-06 18:49:23 +08:00
- Fix `n-popover` doesn't hide as expected in mobile phone.
2021-03-29 21:38:09 +08:00
2021-03-29 13:40:42 +08:00
## 2.3.1
### Fixes
- Fix `n-layout-sider` horizontal content overflows.
2021-03-29 12:51:39 +08:00
## 2.3.0
2021-04-05 14:38:39 +08:00
### Breaking Changes
2021-03-29 12:51:39 +08:00
- 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.
2021-03-29 01:38:09 +08:00
## 2.2.0
2021-03-26 13:47:53 +08:00
### Feats
2021-03-27 12:06:08 +08:00
- Add `n-mention` component.
2021-03-26 13:47:53 +08:00
- `n-data-table` supports expanding rows.
2021-03-26 14:47:38 +08:00
### Fixes
- Fix `n-input` focused background color not correct in warning & error status in dark theme.
2021-03-28 22:13:10 +08:00
- 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.
2021-03-28 23:20:00 +08:00
- Fix `n-input` in textarea mode `autosize` rows not changed if props.value is changed from outside.
2021-03-26 14:47:38 +08:00
2021-03-26 23:36:41 +08:00
### Refactors
- Change `n-empty` 's icon and make it size larger
2021-03-25 18:51:01 +08:00
## 2.1.3
### Fixes
- Fix `n-data-table` has no right border of non-last td.
2021-03-25 18:57:24 +08:00
- Fix `n-data-table` header has no enough width when table width is more than `scroll-x`
2021-03-25 18:51:01 +08:00
## 2.1.2
2021-03-23 18:40:45 +08:00
2021-03-24 17:17:24 +08:00
### Feats
- `n-data-table` 's column add `colSpan` and `rowSpan` prop.
2021-03-24 17:52:22 +08:00
- `n-data-table` 's column add `titleColSpan` prop.
2021-03-24 17:17:24 +08:00
2021-03-23 18:40:45 +08:00
### Fixes
- Fix `n-dropdown` with `x` and `y` set logs errors when mouse move outside it.
2021-03-22 12:22:45 +08:00
## 2.1.1
### Fixes
- Fix `n-select` selection overflow counter wrong popover trigger area
2021-03-22 00:41:07 +08:00
## 2.1.0
2021-03-17 11:22:25 +08:00
2021-04-05 14:38:39 +08:00
### Breaking Changes
2021-03-21 14:22:50 +08:00
- `n-popover` default `duration` is set to `100` .
- `n-popover` default `delay` is set to `100` .
2021-03-21 14:26:20 +08:00
- `n-tooltip` default `showArrow` is set to `true` .
2021-03-21 14:22:50 +08:00
2021-03-24 17:17:24 +08:00
### Feats
2021-03-17 11:22:25 +08:00
- `n-config-provider` prop `theme-overrides` support inheritance.
2021-03-20 15:27:37 +08:00
- `n-card` add `hoverable` prop.
- `n-select` add `max-tag-count` prop.
- `n-cascader` add `max-tag-count` prop.
- `n-popover` add `get-disabled` prop.
2021-03-21 01:09:55 +08:00
- add `n-ellipsis` component.
2021-03-21 14:06:46 +08:00
- `n-popover` 's `width` prop add `'trigger'` option.
2021-03-22 00:38:46 +08:00
- `n-data-table` 's columns's `ellipsis` prop can be set as props of `n-ellipsis` .
2021-03-20 02:09:07 +08:00
### Fixes
2021-03-20 15:27:37 +08:00
- Fix `n-cascader` menu appears after click clear button.
2021-03-21 01:09:55 +08:00
- Fix `n-card` 's action not placed at bottom after style height is set.
2021-03-21 14:37:41 +08:00
- Fix `n-popover` 's `duration` and `delay` prop works unexpectly.
2021-03-17 11:22:25 +08:00
2021-03-17 10:47:55 +08:00
## 2.0.1
2021-03-16 18:24:49 +08:00
2021-03-24 17:17:24 +08:00
### Feats
2021-03-17 01:05:46 +08:00
2021-03-17 01:13:02 +08:00
- `n-layout-sider` add `default-collapsed` prop.
2021-03-17 02:45:01 +08:00
- `n-modal` support custom position.
2021-03-17 01:05:46 +08:00
2021-03-17 00:38:48 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
- Fix `n-menu` tooltip of `n-menu-item` won't show when vertical collapsed.
2021-03-17 00:38:48 +08:00
- Fix `n-menu` `collapsed-icon-size` not working.
2021-03-17 10:47:55 +08:00
- Fix `n-menu` callback props validate array with error.
2021-03-17 00:52:09 +08:00
- Fix `n-layout-sider` toggle button is covered.
2021-03-16 18:24:49 +08:00
## 2.0.0
See vue3.md
2020-10-08 02:55:40 +08:00
## 1.6.0
2021-03-16 18:24:49 +08:00
2020-08-27 13:48:43 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-08-27 13:48:43 +08:00
- 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.
2020-09-02 13:25:10 +08:00
- Fix the problem that `n-date-picker` has no year in panel when type is `date` and `datetime` .
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-10-08 02:55:40 +08:00
- `n-button` add `dashed` props
2020-09-30 00:17:48 +08:00
- Add `n-space` component.
2020-08-27 16:05:13 +08:00
- Make `n-drawer` content scrollable.
2021-03-16 18:24:49 +08:00
2021-09-26 01:30:26 +08:00
### i18n
2021-03-16 18:24:49 +08:00
2020-09-02 10:05:11 +08:00
- Add zhCN for `n-log`
2020-08-27 13:48:43 +08:00
2020-08-15 16:49:58 +08:00
## 1.5.5 (2020-08-15)
2021-03-16 18:24:49 +08:00
2020-08-20 00:00:47 +08:00
### Breaking Changes
2021-03-16 18:24:49 +08:00
2020-08-08 20:15:18 +08:00
- Fix all typos of `separator` . (Originally it was `seperator` .)
2021-03-16 18:24:49 +08:00
2020-08-14 22:08:47 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-08-14 22:08:47 +08:00
- Fix the problem that when theme is not set, style errors will be logged.
2020-08-20 00:00:47 +08:00
- Fix the text color of `n-select` 's placeholder when `single` `filterable` .
2020-08-08 20:15:18 +08:00
2020-08-08 13:39:31 +08:00
## 1.5.4 (2020-08-08)
2021-03-16 18:24:49 +08:00
2020-08-08 13:39:31 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-08-08 13:39:31 +08:00
- Fix the problem that Message, Notification, Confirm doesn't follow theme change.
2020-07-23 18:50:36 +08:00
## 1.5.3 (2020-07-23)
2021-03-16 18:24:49 +08:00
2020-07-23 18:50:36 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-07-23 18:50:36 +08:00
- Fix the problem that `n-select` display with mistakes when `placeholder` is empty.
2020-07-22 17:29:04 +08:00
## 1.5.2 (2020-07-22)
2021-03-16 18:24:49 +08:00
2020-07-22 17:29:04 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-08-19 23:30:04 +08:00
- Fix the problem that `n-radio` can not be focused.
2020-07-22 17:29:04 +08:00
- Fix the problem that `n-data-table` 's `max-height` style is broken. https://bugs.chromium.org/p/chromium/issues/detail?id=1107223
2021-03-16 18:24:49 +08:00
2020-07-15 19:03:59 +08:00
### Refactors
2021-03-16 18:24:49 +08:00
2020-07-22 17:11:08 +08:00
- Refactor `n-tag` styles.
2020-06-05 23:27:48 +08:00
2020-07-22 16:58:31 +08:00
## 1.5.1 (2020-07-20)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-07-22 16:58:31 +08:00
- Add `disabled` for `n-time-picker` .
2021-03-16 18:24:49 +08:00
2020-07-22 16:58:31 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-07-22 16:58:31 +08:00
- Fix the child elements of `n-radio` cannot focus.
2020-07-08 23:15:31 +08:00
## 1.5.0 (2020-07-09)
2021-03-16 18:24:49 +08:00
2020-07-08 23:15:31 +08:00
### Breaking Changes
2021-03-16 18:24:49 +08:00
2020-07-08 23:15:31 +08:00
- Refactor experimental setting primary color feature.
2021-03-16 18:24:49 +08:00
2020-07-08 23:15:31 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-07-08 23:15:31 +08:00
- Fix some style glitches.
2020-06-23 18:45:54 +08:00
## 1.4.1 (2020-06-23)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-06-23 18:45:54 +08:00
- Add `autofocus` for `n-select` .
2020-06-18 23:53:07 +08:00
## 1.4.0 (2020-06-19)
2021-03-16 18:24:49 +08:00
2020-06-18 23:53:07 +08:00
### Breaking Changes
2021-03-16 18:24:49 +08:00
2020-07-07 23:14:56 +08:00
- `n-menu` doesn't support slot API anymore.
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-06-18 23:53:07 +08:00
- Add experimental setting primary color feature.
2020-06-06 00:08:18 +08:00
## 1.3.5 (2020-06-06)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-06-06 00:08:18 +08:00
- Add `attr-type` for `n-button`
2021-03-16 18:24:49 +08:00
2020-06-04 20:15:56 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-06-04 20:15:56 +08:00
- 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` .
2020-06-05 18:24:57 +08:00
2020-06-05 23:27:48 +08:00
## 1.3.4 (2020-06-05)
2021-03-16 18:24:49 +08:00
2020-06-05 23:26:10 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-06-05 23:26:10 +08:00
- Fix the problem that `n-a` 's `to` prop can't be a object.
2020-06-03 14:00:52 +08:00
## 1.3.3 (2020-06-03)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-06-03 14:00:52 +08:00
- Add `$NOs.theme` to get the current theme of the OS.
2020-06-01 23:45:30 +08:00
## 1.3.2 (2020-06-02)
2021-03-16 18:24:49 +08:00
2020-06-01 23:45:30 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-06-01 23:45:30 +08:00
- Fix the problem that `n-log` 's loading indicator uses monospace font.
- Fix the problem that icon-related class name isn't applied properly.
2020-06-01 19:11:22 +08:00
## 1.3.1 (2020-06-01)
2021-03-16 18:24:49 +08:00
2020-06-01 19:11:22 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-06-01 19:11:22 +08:00
- 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.
2020-06-01 19:16:31 +08:00
- Fix the problem that `show-icon` & `closable` & `bordered` props of `$NConfirm` don't work.
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-06-01 19:11:22 +08:00
- Add and adjust some colors in the style scheme of `n-config-consumer` .
## 1.3.0 (2020-06-01)
2021-03-16 18:24:49 +08:00
2020-06-01 13:09:24 +08:00
### Breaking Changes
2021-03-16 18:24:49 +08:00
2020-06-01 13:09:24 +08:00
- Default UI CSS bundle won't include external font files. If you need using it you should import it explicitly.
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-06-01 13:09:24 +08:00
- Add `themed-style` prop on `n-layout` .
2021-03-16 18:24:49 +08:00
2020-06-01 13:09:24 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-06-01 13:09:24 +08:00
- 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.
2021-03-16 18:24:49 +08:00
2020-06-01 13:09:24 +08:00
### Refactors
2021-03-16 18:24:49 +08:00
2020-06-01 13:09:24 +08:00
- Refactor some components' styles in the light theme.
2020-05-29 15:57:18 +08:00
## 1.2.1 (2020-05-29)
2021-03-16 18:24:49 +08:00
2020-05-29 15:57:18 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-05-29 15:57:18 +08:00
- Fix the problem that `n-slider` tooltip has no z-index.
## 1.2.0 (2020-05-29)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-05-29 15:57:18 +08:00
- Add `feedback` and `validation-status` props for `n-form-item` .
2020-05-28 14:29:31 +08:00
## 1.1.5 (2020-05-28)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-05-28 14:29:31 +08:00
- 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` .
2021-03-16 18:24:49 +08:00
2020-05-28 14:29:31 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-05-28 14:29:31 +08:00
- Fix the problem that `n-select` can still be cleared when disabled.
2020-05-28 12:11:31 +08:00
## 1.1.4 (2020-05-28)
2021-03-16 18:24:49 +08:00
2020-05-28 12:11:31 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-05-28 12:11:31 +08:00
- Fix the problem that the input value of `n-select` may be modified directly.
2021-03-16 18:24:49 +08:00
2020-05-28 12:11:31 +08:00
### Refactors
2021-03-16 18:24:49 +08:00
2020-05-28 12:11:31 +08:00
- An UI instance can be install to a Vue instance for no more than once.
2020-05-20 23:05:05 +08:00
## 1.1.3 (2020-05-20)
2021-03-16 18:24:49 +08:00
2020-05-20 23:05:05 +08:00
### Chores
2021-03-16 18:24:49 +08:00
2020-05-20 23:05:05 +08:00
- Update css-render dependencies.
2021-03-16 18:24:49 +08:00
2020-05-20 23:05:05 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-05-20 23:05:05 +08:00
- Fix the problem that `n-transfer` 's animation disorder when value changes.
2020-05-19 15:18:29 +08:00
## 1.1.2 (2020-05-19)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-05-19 15:18:29 +08:00
- Add content slot for `n-step` .
- Add `label` prop for `n-checkbox` .
2021-03-16 18:24:49 +08:00
2020-05-19 15:18:29 +08:00
### Performance Improvements
2021-03-16 18:24:49 +08:00
2020-05-19 15:18:29 +08:00
- 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` .
2020-05-18 20:19:52 +08:00
## 1.1.1 (2020-05-18)
2021-03-16 18:24:49 +08:00
2020-05-18 20:19:52 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-05-18 20:19:52 +08:00
- Update css-render dependencies.
- Color of default typed button icon.
2021-03-16 18:24:49 +08:00
2020-05-19 15:18:29 +08:00
### Performance Improvements
2021-03-16 18:24:49 +08:00
2020-05-18 20:19:52 +08:00
- Reduce useless re-renders of `n-menu-item` .
- Reduce useless re-renders of doc page.
2021-03-16 18:24:49 +08:00
2020-05-18 20:19:52 +08:00
### Refactors
2021-03-16 18:24:49 +08:00
2020-05-18 20:19:52 +08:00
- Refactor the codes of `n-nimbus-service-layout` for performance reason, may be there will be some bugs.
2020-05-16 22:07:58 +08:00
## 1.1.0 (2020-05-16)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-05-16 22:07:58 +08:00
- `n-button` now accepts custom color.
2021-03-16 18:24:49 +08:00
2020-05-18 20:19:52 +08:00
### Refactors
2021-03-16 18:24:49 +08:00
2020-05-16 22:07:58 +08:00
- Replace all $slots by $scopedSlots for better robustness.
- Move some static button styles inside button component to create dynamically.
2020-05-15 02:03:31 +08:00
## 1.0.14 (2020-05-15)
2021-03-16 18:24:49 +08:00
2020-05-15 01:53:01 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-05-15 01:53:01 +08:00
- 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.
2020-05-14 10:57:40 +08:00
## 1.0.13 (2020-05-14)
2021-03-16 18:24:49 +08:00
2020-05-14 10:57:40 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-05-15 02:03:31 +08:00
- Fix the problem that label slot of the `n-form-item-col` & `n-form-item-row` cannot display.
2020-05-14 10:57:40 +08:00
2020-04-30 13:15:31 +08:00
## 1.0.12 (2020-04-30)
2021-03-16 18:24:49 +08:00
2020-04-30 13:15:31 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-04-30 13:15:31 +08:00
- Fix the problem that some CSS length props are badly formated.
2020-04-30 11:04:30 +08:00
## 1.0.11 (2020-04-30)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-04-29 22:06:26 +08:00
- Add `fallback-option` prop for `n-select` to deal with the value with no corresponding option.
2021-03-16 18:24:49 +08:00
2020-04-29 22:06:26 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-04-29 22:06:26 +08:00
- Fix the problem that `max-height` and `min-height` are ill displayed on `n-data-table` .
2021-03-16 18:24:49 +08:00
2020-04-29 22:06:26 +08:00
### Breaking Changes
2021-03-16 18:24:49 +08:00
2020-04-29 22:06:26 +08:00
- `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.
2020-04-28 22:54:17 +08:00
## 1.0.10 (2020-04-28)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-04-28 22:54:17 +08:00
- Add `arrow-placement` prop on `n-collapse` .
2020-04-29 22:06:26 +08:00
- Add `arrow` slot on `n-collapse-item` .
2021-03-16 18:24:49 +08:00
2020-04-28 22:54:17 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-04-28 22:54:17 +08:00
- Fix the problem that detachable components detached in wrong place when nested like `modal > drawer > component` .
2020-04-23 18:37:58 +08:00
## 1.0.9 (2020-04-23)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-04-23 18:37:58 +08:00
- Add `autofocus` prop on `n-input` .
- Add `closable` option on `NMessage` .
2021-03-16 18:24:49 +08:00
2020-04-23 18:37:58 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-04-23 18:37:58 +08:00
- 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.
2020-04-29 11:02:15 +08:00
## 1.0.8 (2020-04-22)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-04-29 11:02:15 +08:00
- Add `n-dynamic-tags` .
- Add `tableHeaderOverlayBackgroundColor` & `inputOverlayBackgroundColor` to `styleScheme`
2020-04-10 16:36:21 +08:00
## 1.0.7 (2020-04-10)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-04-10 16:36:21 +08:00
- Add `filter-option-value` prop for `n-data-table` 's `column` to better deal with single filter mode.
2021-03-16 18:24:49 +08:00
2020-04-10 16:36:21 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-04-10 16:36:21 +08:00
- Fix the problem that `n-collpase-item` don't support `number` typed `name` .
## 1.0.6 (2020-04-03)
2021-03-16 18:24:49 +08:00
2020-04-03 17:35:47 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-04-03 17:35:47 +08:00
- Fix the problem that all the `console` statements are stripped in the bundle.
2020-03-27 17:32:53 +08:00
## 1.0.5 (2020-03-27)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-03-27 17:06:20 +08:00
- Change the data type of `n-data-table` 's filters from Array to Object.
2021-03-16 18:24:49 +08:00
2020-03-27 17:06:20 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-03-27 17:06:20 +08:00
- `n-data-table` cannot be filtered correctly when there are multiple filtered columns.
2020-03-27 17:32:53 +08:00
## 1.0.4 (2020-03-26)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-03-27 17:32:53 +08:00
- Filter menu in `n-data-table` is scrollable when there are too many items.
2020-03-25 22:33:55 +08:00
## 1.0.3 (2020-03-25)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-03-25 22:33:55 +08:00
- `$NMessage` , `$NNotification` , `$NConfirm` 's theme will be applied on their children components.
2021-03-16 18:24:49 +08:00
2020-03-25 22:33:55 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-03-25 22:33:55 +08:00
- View measuring element will confict when multiple naive-ui exist.
2021-03-16 18:24:49 +08:00
- `validate` method of `n-form-item` won't be resolved for some validator.
2020-03-25 22:33:55 +08:00
- `$NConfirm` 's theme doesn't follow `n-config-provider` 's theme.
2020-03-23 17:07:29 +08:00
## 1.0.2 (2020-03-23)
2021-03-16 18:24:49 +08:00
2020-03-23 17:07:29 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
2020-03-25 20:25:02 +08:00
- `n-transfer` 's options are not reinitialized after value changes.
2020-03-23 17:07:29 +08:00
- `n-nimbus-service-layout` (deprecated) doesn't deal with the compatibility of Vue Router(under 3.1)'s `push` method.
2020-03-21 15:14:35 +08:00
## 1.0.1 (2020-03-21)
2021-03-16 18:24:49 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-03-16 18:24:49 +08:00
2020-03-21 15:14:35 +08:00
- Add `'bar'` & `'arrow-circle'` on `show-trigger` prop of `n-layout-sider` .
2021-03-16 18:24:49 +08:00
2020-03-21 15:14:35 +08:00
### Fixes
2021-03-16 18:24:49 +08:00
- Rails of `n-scrollbar` shadow mouse event.
2021-06-13 16:42:16 +08:00
2021-09-07 02:40:25 +08:00
### Feats
2021-06-13 16:42:16 +08:00
- `n-date-table` add `empty` slot. [#86 ](https://github.com/TuSimple/naive-ui/issues/86 )