naive-ui/CHANGELOG.en-US.md

952 lines
24 KiB
Markdown
Raw Normal View History

2020-03-21 15:14:35 +08:00
# CHANGELOG
## Pending
### Feats
- `n-carousel` supports touch operation, closes [#271](https://github.com/TuSimple/naive-ui/issues/271).
### Fixes
- Fix `n-date-picker` `n-provider` pass `date-locale` not work, closes [#250](https://github.com/TuSimple/naive-ui/issues/250).
2021-06-23 15:31:24 +08:00
## 2.14.0 (2021-06-23)
### Breaking Changes
- `n-element` removes `abstract` prop.
- `n-element` doesn't return theme variables in default slot. Please use `useThemeVars` instead.
### Feats
- Add `n-carousel` component.
- Add `useThemeVars` composable to provide theme variables.
- `n-upload` add `on-update:file-list` prop, closes [#135](https://github.com/TuSimple/naive-ui/issues/135).
- `n-date-picker` add `update-value-on-close` prop.
### Fixes
- 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).
- Fix `n-data-table` expand trigger's cursor is not pointer, closes [#261](https://github.com/TuSimple/naive-ui/issues/261).
## Refactors
- `n-input-number` will focus directly, closes [#244](https://github.com/TuSimple/naive-ui/issues/244).
2021-06-21 22:09:27 +08:00
## 2.13.0 (2021-06-21)
### Feats
- `n-dropdown` add `on-clickoutside` prop, closes [#123](https://github.com/TuSimple/naive-ui/issues/123).
- `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.
### Fixes
- Fix `n-tree` drag over leaf node causes error, closes [#200](https://github.com/TuSimple/naive-ui/issues/200).
- Fix `n-tree` misses `on-update-expanded-keys`, `on-update-selected-keys`, `on-update-checked-keys` prop.
- Fix `n-tree`'s `selected-keys` prop influences original array.
- Fix `n-select`'s input has useless empty row in multiple filterable mode.
- Fix `n-button`'s loading icon doesn't show on iOS Safari, closes [#219](https://github.com/TuSimple/naive-ui/issues/219).
- 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:40:46 +08:00
## 2.12.2 (2021-06-19)
### 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
- `n-form`, `n-form-item` enhance `show-require-mark` propcloses [#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).
- `n-input` add `show-password-toggle` prop.
- `n-popselect` support class attr.
- `n-select` add `render-label` prop.
- `n-popselect` add `render-label` prop.
2021-06-17 21:51:11 +08:00
### Fixes
- Fix `n-input` baseline shifts when mix Chinese and English characters in input, closes [#174](https://github.com/TuSimple/naive-ui/issues/174).
- Fix `n-icon` use setup script, `$parent` is an empty object by default, and access `$parent.$options` will be `undefined`.
- Fix `n-notification` position not correct.
- Fix `n-message` content & option type not correct.
2021-06-18 15:14:11 +08:00
## 2.12.0 (2021-06-16)
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.
### Feats
- `n-tree` support `disabled` & `checkboxDisabled` on option.
- `n-input-number` support keyboard events ArrowUp and ArrowDown operations.
### Fixes
- Fix `n-cascader` text blur in win10 Chrome.
2021-06-16 23:12:08 +08:00
- Fix `n-tree` click on indent won't trigger select in block line mode.
2021-06-18 15:14:11 +08:00
## 2.11.12 (2021-06-16)
### Feats
- `n-drawer-content` add `closable` prop, closes [#139](https://github.com/TuSimple/naive-ui/issues/139).
- `n-element` pass `themeVars` to default slot.
- `n-element` add `abstract` prop.
### Fixes
- Fix `n-radio-group` doesn't trigger form item validation.
- Fix `n-auto-complete` customizing input not working.
2021-06-15 11:23:16 +08:00
## 2.11.11 (2021-06-15)
### 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)
### 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.
- `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.
### 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 10:08:27 +08:00
## 2.11.8 (2021-06-13)
### Feats
- `n-data-table` exports `DataTableCreateRowClassName`, `DataTableCreateRowKey` and `DataTableCreateRowProps` type.
### Fixes
- Fix `n-calendar`'s `on-update:value` prop type.
- Fix `n-form-item`'s style attribute `grid-template-columns` influence on the layout of child elements. [#93](https://github.com/TuSimple/naive-ui/pull/93)
- Fix `n-data-table`'s prop types of `rowKey`, `rowClassName`, `rowProps`, `summary` aren't compatible with expected value.
2021-06-14 10:08:27 +08:00
## 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.
2021-06-12 15:42:46 +08:00
- Fix not `lodash` & `lodash-es` type.
2021-06-11 18:48:51 +08:00
## 2.11.6 (2021-06-11)
### Feats
- `n-spin`'s `size` prop support number.
2021-06-11 18:32:10 +08:00
- `n-date-picker` add `footer` slot.
### Fixes
- Fix `n-slider` doesn't support touch events
- Fix `n-button` causes crash when it's imported in script inside head tag. [#68](https://github.com/TuSimple/naive-ui/pull/68)
- Fix `n-spin` animation shifts.
- 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.
- Fix `n-color-picker` set `modes` not working. [#77](https://github.com/TuSimple/naive-ui/issues/77)
2021-06-10 22:54:48 +08:00
## 2.11.5 (2021-06-10)
### Feats
- `n-dropdown` add `disabled` prop
2021-06-10 19:44:21 +08:00
- `n-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.
2021-06-14 17:29:12 +08:00
- Fix `n-calendar` date calculate incorrectly.
- Fix `n-input` misses the `password` type declaration.
- Fix `n-menu` the type definition of `extra` property of menu and submenu.
2021-06-10 22:54:48 +08:00
- Fix `n-dropdown` mouse cursor is not pointer.
2021-06-07 13:12:02 +08:00
## 2.11.4
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.
- `n-date-picker` add `ranges` prop.
2021-06-06 10:45:20 +08:00
### Fixes
- Fix `n-tab-pane` `display-directive` not working.
2021-06-06 19:18:34 +08:00
- Fix `n-drawer` animation.
- Fix `n-scrollbar`'s track may be overlayed in chrome windows.
2021-06-05 21:34:33 +08:00
## 2.11.3
- Fix `n-collapse` `default-expanded-names` not working.
2021-06-05 21:19:31 +08:00
## 2.11.2
### Fixes
- Fix `n-dropdown` default placement is not `bottom`.
- Fix `n-date-picker`'s input theme is not set in `date` & `datetime` type.
- Fix `n-config-provider` doesn't merge inherited theme.
### Feats
- `n-collapse` 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
### Breaking Changes
- `n-affix`'s `listen-to` prop is `document` by default (first scrollable parent before).
### Feats
- `n-affix`'s `listen-to` prop support `Window | Document | HTMLElement`.
- `n-anchor` add `offset-target` prop.
- `n-select` add `virtual-scroll` prop.
- `n-select` add `consistent-menu-width` prop.
- `n-date-picker` update value after confirm is clicked.
### Fixes
- Fix `n-date-picker` doesn't disable start date correctly when value is empty.
- Fix `n-input-number` not restore valid value after blur.
- Fix `n-date-picker` display selected date when value is null in date mode.
### Deprecated
- `n-affix`'s `offset-top` prop is deprecated, please use `trigger-top` instead.
- `n-affix`'s `offset-bottom` prop is deprecated, please use `trigger-bottom` instead.
- `n-anchor`'s `listen-to` prop is removed.
2021-05-26 17:09:58 +08:00
## 2.10.0
2021-05-25 21:18:41 +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.
- `n-tabs` add `tab` slot.
- `n-tab-pane`'s `tab` prop support render function & VNode.
- `n-tabs`'s `type` prop support `'line'` option.
- `n-tabs` add box shadow to indicate scroll status.
2021-05-26 15:38:40 +08:00
- `n-tabs` add `pane-style` prop
### Fixes
- Fix `n-layout`'s `scrollTo` not working when using native scrollbar.
### Deprecated
- `n-tab-pane`'s `label` prop is deprecated. Please use `tab` prop instead.
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
### 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.
- `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.
- `n-tabs` add `addable` prop.
- `n-tabs` add `tab-style` prop.
- `n-tabs` add `tabs-padding` prop.
- `n-tabs` add `default-value` prop.
- `n-layout-sider` & `n-layout-footer` & `n-layout-header` add `inverted` prop.
- `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.
### Fixes
- `n-layout` & `n-layout-sider`'s `scrollTo` not working with native scrollbar.
- `n-layout-sider`'s `collapse-mode` not working.
- Internal selection component's theme peers has wrong key for popover.
2021-05-19 12:03:35 +08:00
2021-05-19 02:25:38 +08:00
## 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
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.
- `n-pagination` add `item-count` prop.
- `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
### 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.
2021-04-25 20:25:11 +08:00
## 2.7.4
2021-04-25 20:25:11 +08:00
### Feats
2021-04-23 23:20:21 +08:00
- `n-form-item` works without `n-form`.
### Fixes
- Fix `n-checkbox` check mark not displayed.
- Fix `n-date-picker` icon transition style in trigger.
- Fix `n-p`, `n-ol`, `n-ul` margin bottom is not 0 when they are last child.
- Fix `n-checkbox-group` not working in uncontrolled mode.
- Fix `n-data-table` clear check all in table now working.
2021-04-22 00:09:41 +08:00
## 2.7.3
2021-04-21 16:36:25 +08:00
### Feats
- `n-data-table` highlight sorted col.
- `n-data-table` col add `render-filter` prop.
- `n-data-table` col add `render-filter-icon` prop.
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
### 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.
### Fixes
- Fix `n-layout` overflow on horizontal direction.
2021-04-20 13:07:00 +08:00
## 2.7.1
### 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
### 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
### 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-18 22:50:50 +08:00
### Feats
- `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.
### 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.
### 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.
- 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
### 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.
## 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.
2021-04-07 22:11:01 +08:00
## 2.4.1
### 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-03 11:29:37 +08:00
### Feats
- 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.
- `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
### Fixes
2021-04-05 22:57:19 +08:00
- Fix `n-anchor` `ignore-gap` not working
- Fix `n-collapse` content is truncated by `overflow: hidden`.
- Fix `n-select` tag text overflow.
- Fix `n-popover` doesn't hide as expected in mobile phone.
## 2.3.1
### Fixes
- Fix `n-layout-sider` horizontal content overflows.
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.
### Fixes
- Fix `n-input` focused background color not correct in warning & error status in dark theme.
- Fix `n-input` caret color not correct in warning & error status.
- Fix `n-select`'s namespace not correct.
- Fix `n-cascader`'s namespace not correct.
- Fix `n-input` in textarea mode can't select text.
- Fix `n-input` in textarea mode has no box-shadow.
- Fix `n-input` in textarea mode `autosize` line not correct due to inconsistant font family.
- Fix `n-input` in textarea mode `autosize` rows not changed if props.value is changed from outside.
### Refactors
- Change `n-empty`'s icon and make it size larger
## 2.1.3
### Fixes
- Fix `n-data-table` has no right border of non-last td.
- Fix `n-data-table` header has no enough width when table width is more than `scroll-x`
## 2.1.2
### Feats
- `n-data-table`'s column add `colSpan` and `rowSpan` prop.
2021-03-24 17:52:22 +08:00
- `n-data-table`'s column add `titleColSpan` prop.
### Fixes
- Fix `n-dropdown` with `x` and `y` set logs errors when mouse move outside it.
## 2.1.1
### Fixes
- Fix `n-select` selection overflow counter wrong popover trigger area
2021-03-22 00:41:07 +08:00
## 2.1.0
2021-04-05 14:38:39 +08:00
### Breaking Changes
- `n-popover` default `duration` is set to `100`.
- `n-popover` default `delay` is set to `100`.
- `n-tooltip` default `showArrow` is set to `true`.
### Feats
- `n-config-provider` prop `theme-overrides` support inheritance.
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.
- add `n-ellipsis` component.
2021-03-21 14:06:46 +08:00
- `n-popover`'s `width` prop add `'trigger'` option.
- `n-data-table`'s columns's `ellipsis` prop can be set as props of `n-ellipsis`.
### Fixes
2021-03-20 15:27:37 +08:00
- Fix `n-cascader` menu appears after click clear button.
- Fix `n-card`'s action not placed at bottom after style height is set.
- Fix `n-popover`'s `duration` and `delay` prop works unexpectly.
2021-03-17 10:47:55 +08:00
## 2.0.1
### Feats
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.
### Fixes
- Fix `n-menu` tooltip of `n-menu-item` won't show when vertical collapsed.
- 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.
- Fix `n-layout-sider` toggle button is covered.
## 2.0.0
See vue3.md
2020-10-08 02:55:40 +08:00
## 1.6.0
2020-08-27 13:48:43 +08:00
### Fixes
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.
- Fix the problem that `n-date-picker` has no year in panel when type is `date` and `datetime`.
2020-08-27 16:05:13 +08:00
### Features
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.
2020-09-02 10:05:11 +08:00
### Localization
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)
2020-08-20 00:00:47 +08:00
### Breaking Changes
2020-08-08 20:15:18 +08:00
- Fix all typos of `separator`. (Originally it was `seperator`.)
### Fixes
- 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)
2020-08-08 13:39:31 +08:00
### Fixes
2020-08-08 13:39:31 +08:00
- Fix the problem that Message, Notification, Confirm doesn't follow theme change.
## 1.5.3 (2020-07-23)
### Fixes
- Fix the problem that `n-select` display with mistakes when `placeholder` is empty.
2020-07-22 17:29:04 +08:00
## 1.5.2 (2020-07-22)
2020-07-22 17:29:04 +08:00
### Fixes
- 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
### Refactors
- Refactor `n-tag` styles.
## 1.5.1 (2020-07-20)
### Features
- Add `disabled` for `n-time-picker`.
### Fixes
- Fix the child elements of `n-radio` cannot focus.
2020-07-08 23:15:31 +08:00
## 1.5.0 (2020-07-09)
2020-07-08 23:15:31 +08:00
### Breaking Changes
2020-07-08 23:15:31 +08:00
- Refactor experimental setting primary color feature.
2020-07-08 23:15:31 +08:00
### Fixes
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)
2020-06-23 18:45:54 +08:00
### Features
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)
2020-06-18 23:53:07 +08:00
### Breaking Changes
2020-07-07 23:14:56 +08:00
- `n-menu` doesn't support slot API anymore.
2020-06-18 23:53:07 +08:00
### Features
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)
2020-06-06 00:08:18 +08:00
### Features
2020-06-06 00:08:18 +08:00
- Add `attr-type` for `n-button`
2020-06-04 20:15:56 +08:00
### Fixes
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`.
## 1.3.4 (2020-06-05)
2020-06-05 23:26:10 +08:00
### Fixes
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)
2020-06-03 14:00:52 +08:00
### Features
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)
2020-06-01 23:45:30 +08:00
### Fixes
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)
2020-06-01 19:11:22 +08:00
### Fixes
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.
2020-06-01 19:11:22 +08:00
### Features
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)
2020-06-01 13:09:24 +08:00
### Breaking Changes
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.
2020-06-01 13:09:24 +08:00
### Features
2020-06-01 13:09:24 +08:00
- Add `themed-style` prop on `n-layout`.
2020-06-01 13:09:24 +08:00
### Fixes
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.
2020-06-01 13:09:24 +08:00
### Refactors
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)
2020-05-29 15:57:18 +08:00
### Fixes
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)
2020-05-29 15:57:18 +08:00
### Features
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)
2020-05-28 14:29:31 +08:00
### Features
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`.
2020-05-28 14:29:31 +08:00
### Fixes
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)
2020-05-28 12:11:31 +08:00
### Fixes
2020-05-28 12:11:31 +08:00
- Fix the problem that the input value of `n-select` may be modified directly.
2020-05-28 12:11:31 +08:00
### Refactors
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)
2020-05-20 23:05:05 +08:00
### Chores
2020-05-20 23:05:05 +08:00
- Update css-render dependencies.
2020-05-20 23:05:05 +08:00
### Fixes
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)
2020-05-19 15:18:29 +08:00
### Features
2020-05-19 15:18:29 +08:00
- Add content slot for `n-step`.
- Add `label` prop for `n-checkbox`.
2020-05-19 15:18:29 +08:00
### Performance Improvements
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)
2020-05-18 20:19:52 +08:00
### Fixes
2020-05-18 20:19:52 +08:00
- Update css-render dependencies.
- Color of default typed button icon.
2020-05-19 15:18:29 +08:00
### Performance Improvements
2020-05-18 20:19:52 +08:00
- Reduce useless re-renders of `n-menu-item`.
- Reduce useless re-renders of doc page.
2020-05-18 20:19:52 +08:00
### Refactors
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)
2020-05-16 22:07:58 +08:00
### Features
2020-05-16 22:07:58 +08:00
- `n-button` now accepts custom color.
2020-05-18 20:19:52 +08:00
### Refactors
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)
2020-05-15 01:53:01 +08:00
### Fixes
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.
## 1.0.13 (2020-05-14)
### Fixes
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-04-30 13:15:31 +08:00
## 1.0.12 (2020-04-30)
2020-04-30 13:15:31 +08:00
### Fixes
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)
2020-04-29 22:06:26 +08:00
### Features
2020-04-29 22:06:26 +08:00
- Add `fallback-option` prop for `n-select` to deal with the value with no corresponding option.
2020-04-29 22:06:26 +08:00
### Fixes
2020-04-29 22:06:26 +08:00
- Fix the problem that `max-height` and `min-height` are ill displayed on `n-data-table`.
2020-04-29 22:06:26 +08:00
### Breaking Changes
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)
2020-04-28 22:54:17 +08:00
### Features
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`.
2020-04-28 22:54:17 +08:00
### Fixes
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)
2020-04-23 18:37:58 +08:00
### Features
2020-04-23 18:37:58 +08:00
- Add `autofocus` prop on `n-input`.
- Add `closable` option on `NMessage`.
2020-04-23 18:37:58 +08:00
### Fixes
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)
2020-04-29 11:02:15 +08:00
### Features
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)
2020-04-10 16:36:21 +08:00
### Features
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.
2020-04-10 16:36:21 +08:00
### Fixes
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)
2020-04-03 17:35:47 +08:00
### Fixes
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)
2020-03-27 17:06:20 +08:00
### Features
2020-03-27 17:06:20 +08:00
- Change the data type of `n-data-table`'s filters from Array to Object.
2020-03-27 17:06:20 +08:00
### Fixes
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)
2020-03-27 17:32:53 +08:00
### Features
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)
2020-03-25 22:33:55 +08:00
### Features
2020-03-25 22:33:55 +08:00
- `$NMessage`, `$NNotification`, `$NConfirm`'s theme will be applied on their children components.
2020-03-25 22:33:55 +08:00
### Fixes
2020-03-25 22:33:55 +08:00
- View measuring element will confict when multiple naive-ui exist.
- `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.
## 1.0.2 (2020-03-23)
### Fixes
2020-03-25 20:25:02 +08:00
- `n-transfer`'s options are not reinitialized after value changes.
- `n-nimbus-service-layout` (deprecated) doesn't deal with the compatibility of Vue Router(under 3.1)'s `push` method.
2020-03-21 15:14:35 +08:00
## 1.0.1 (2020-03-21)
2020-03-21 15:14:35 +08:00
### Features
2020-03-21 15:14:35 +08:00
- Add `'bar'` & `'arrow-circle'` on `show-trigger` prop of `n-layout-sider`.
2020-03-21 15:14:35 +08:00
### Fixes
- Rails of `n-scrollbar` shadow mouse event.
### Features
- `n-date-table` add `empty` slot. [#86](https://github.com/TuSimple/naive-ui/issues/86)