UNPKG

ng-ytl-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

710 lines (499 loc) 35.5 kB
更新日志 === #### 发布周期 * 每周末会进行日常 bugfix 更新。(如果有紧急的 bugfix,则任何时候都可发布)。 * 每月发布一个带有新特性的向下兼容的版本。 * 含有破坏性升级的版本更新不在发布周期内。 更新日志也可以在[Github](https://github.com/NG-ZORRO/ng-zorro-antd/releases)查看 # 0.6.15 `2018-02-25` 目前主要精力在 0.7.0 新版本的开发,可以在 [0.7.0分支](https://github.com/NG-ZORRO/ng-zorro-antd/tree/0.7.0) 追踪我们的[进度](https://github.com/NG-ZORRO/ng-zorro-antd/blob/0.7.0/PROGRESS.md) 0.6.x的版本发布频率会略微减慢,感谢理解 ### Bug Fixes * `Upload` 修复部分状态不更新的问题 [#1039](https://github.com/NG-ZORRO/ng-zorro-antd/pull/1039) [@cipchk](https://github.com/cipchk) * `DatePicker` 修复样式及浏览器兼容性问题 [#1045](https://github.com/NG-ZORRO/ng-zorro-antd/pull/1045) [#1047](https://github.com/NG-ZORRO/ng-zorro-antd/pull/1047) [@Hsuan Lee](https://github.com/HsuanXyz) # 0.6.14 `2018-02-04` ### Features * `Table` 表格新增水平滚动配置的支持 [#766](https://github.com/NG-ZORRO/ng-zorro-antd/pull/766) [@little-snow-fox](https://github.com/little-snow-fox) ### Bug Fixes * `InputNumber` 修复零值显示不正确的问题 [#1003](https://github.com/NG-ZORRO/ng-zorro-antd/pull/1003) [@Hsuan Lee](https://github.com/HsuanXyz) * `Calendar` / `Datepicker` 修复年月显示切换的问题 [#871](https://github.com/NG-ZORRO/ng-zorro-antd/pull/871) [@chunghha](https://github.com/chunghha) ### Tests * `Affix` 新增完善单例测试 [#982](https://github.com/NG-ZORRO/ng-zorro-antd/pull/982) [@pjurczynski](https://github.com/pjurczynski) # 0.6.13 `2018-01-28` ### Bug Fixes * `Alert` 修复 `[alert-description]` 不生效的问题 [#980](https://github.com/NG-ZORRO/ng-zorro-antd/pull/980) * `Menu` 修复初始状态收起的展示问题 [#979](https://github.com/NG-ZORRO/ng-zorro-antd/pull/979) * `DatePicker` 修复下拉菜单在浏览器边缘的显示问题 [#966](https://github.com/NG-ZORRO/ng-zorro-antd/pull/966) [@Hsuan Lee](https://github.com/HsuanXyz) * `Select` 修复 label title的显示问题 [#928](https://github.com/NG-ZORRO/ng-zorro-antd/pull/928) [@Hsuan Lee](https://github.com/HsuanXyz) # 0.6.12 `2018-01-20` ### HotFix * 修复 `Upload` 引入 `HttpClientModule` 导致 `HttpInterceptor` 失效的问题 [#931](https://github.com/NG-ZORRO/ng-zorro-antd/pull/931) [@cipchk](https://github.com/cipchk) * 将文档系统中 `highlight.js` 替换为 `prismjs` 解决 travis ci 失效问题 [#932](https://github.com/NG-ZORRO/ng-zorro-antd/pull/932) # 0.6.11 `2018-01-18` ### Features * `Upload` 新组件 [@cipchk](https://github.com/cipchk) * `InputNumber` 组件新增 `nzAllowClear` 选项支持用户清除数据 [#918](https://github.com/NG-ZORRO/ng-zorro-antd/pull/918) * `Input` 组件新增 `nzOnSearch` 事件 [#876](https://github.com/NG-ZORRO/ng-zorro-antd/pull/876) [@Hsuan Lee](https://github.com/HsuanXyz) ### Bug Fixes * `Radio` 修复冗余的 `ngModelChange` 触发问题 [#904](https://github.com/NG-ZORRO/ng-zorro-antd/pull/904) [@SangKa.Z](https://github.com/SangKa) * `Progress` 修复空值状态下的百分比展示 [#905](https://github.com/NG-ZORRO/ng-zorro-antd/pull/905) [@cipchk](https://github.com/cipchk) * `DatePicker` `TimePicker` 修复用户输入的问题 [#856](https://github.com/NG-ZORRO/ng-zorro-antd/pull/856) [@Billy Ma](https://github.com/KennethMa) ### Other * `BackTop` 组件增加测试用例 [#907](https://github.com/NG-ZORRO/ng-zorro-antd/pull/907) [@Piotr Jurczyński](https://github.com/pjurczynski) * `Collapse` 与Ant Design保持同步 [#881](https://github.com/NG-ZORRO/ng-zorro-antd/pull/881) ## 0.6.10 `2018-01-06` ### Bug Fixes * `Radio` 修复 disabled 状态下的问题 [#867](https://github.com/NG-ZORRO/ng-zorro-antd/pull/867) * `Affix` 修复 `nzOffsetTop` 选项的问题 [#868](https://github.com/NG-ZORRO/ng-zorro-antd/pull/868) ### Features * `Datapicker` 新增 时间范围 组件 [@HsuanXyz](https://github.com/HsuanXyz) [#656](https://github.com/NG-ZORRO/ng-zorro-antd/pull/656) * 增加 俄语 i18n选项 [@zverbeta](https://github.com/zverbeta) [#853](https://github.com/NG-ZORRO/ng-zorro-antd/pull/853) ## 0.6.9 `2018-01-02` ### Features * `Radio` 组件支持独立作为表单控件使用 [#825](https://github.com/NG-ZORRO/ng-zorro-antd/pull/825) [@cipchk](https://github.com/cipchk) * `Transfer` 新增 `canMove` 属性用于支持二次校验,并改用OnPush方式支持按需脏检查 [#824](https://github.com/NG-ZORRO/ng-zorro-antd/pull/824) [@cipchk](https://github.com/cipchk) ### Bug Fixes * `Transfer` 修复点击全选时未能及时更新ui的问题,将 `ArrayObservable.of` 改用 `of` ### Build * 支持html模板代码存放到独立文件中 [#831](https://github.com/NG-ZORRO/ng-zorro-antd/pull/831) [@trotyl](https://github.com/trotyl) ### Docs * demo文档内,示例代码的格式和语法调整 [#733](https://github.com/NG-ZORRO/ng-zorro-antd/pull/733) [@HsuanXyz](https://github.com/HsuanXyz) ## 0.6.8 `2017-12-21` ### Features * 与 Ant Design 2.13.11 交互及样式同步 [#777](https://github.com/NG-ZORRO/ng-zorro-antd/pull/777) ### Bug Fixes * `Popconfirm` 修复点击背景弹出框不消失的问题 [#786](https://github.com/NG-ZORRO/ng-zorro-antd/pull/786) * `Modal` 修复部分类型错误 [#784](https://github.com/NG-ZORRO/ng-zorro-antd/pull/784) * `Table` 修复初始排序时样式问题 [#781](https://github.com/NG-ZORRO/ng-zorro-antd/pull/781) * 修复所有下拉框宽度修改后未同步的问题 [#780](https://github.com/NG-ZORRO/ng-zorro-antd/pull/780) ### Other * 加速 `Dropdown` 组件的动画效果 [#783](https://github.com/NG-ZORRO/ng-zorro-antd/pull/783) *`Affix` 进行了优化 [#708](https://github.com/NG-ZORRO/ng-zorro-antd/pull/708) [@Trotyl Yu](https://github.com/trotyl) ## 0.6.7 `2017-12-15` ### Features * `InputNumber` 支持 `formatter``parser` 属性,可以自定义显示数据 [#740](https://github.com/NG-ZORRO/ng-zorro-antd/pull/740) * `Tooltip` `Popover` `Popconfirm` 支持 `nzMouseEnterDelay` `nzMouseLeaveDelay` 属性 [#758](https://github.com/NG-ZORRO/ng-zorro-antd/pull/758) ### Bug Fixes * `Select` 修复 `option` 发生改变时内部 `value` 没有变化的问题 [#754](https://github.com/NG-ZORRO/ng-zorro-antd/pull/754) * `Slider` 修复 `ngModel` 改变时没有生效的问题 [#743](https://github.com/NG-ZORRO/ng-zorro-antd/pull/743) * `DatePicker` 修复设置 `nzDisabledDate` 后仍可手动输入数据的问题 [#738](https://github.com/NG-ZORRO/ng-zorro-antd/pull/738) * `Calendar` 修复月份显示问题 [#737](https://github.com/NG-ZORRO/ng-zorro-antd/pull/737) [@Hsuan Lee](https://github.com/HsuanXyz) ## 0.6.6 `2017-12-11` ### Bug Fixes * 修复 `Slider` 拖拽的问题 [#732](https://github.com/NG-ZORRO/ng-zorro-antd/pull/732) * 修复 `Rate` 点击失效的问题 [#728](https://github.com/NG-ZORRO/ng-zorro-antd/pull/728) * 修复 `DatePicker` 时间选择的问题 [#726](https://github.com/NG-ZORRO/ng-zorro-antd/pull/726) * 修复 `InputNumber` 超出边界值的问题 [#731](https://github.com/NG-ZORRO/ng-zorro-antd/pull/731) ## 0.6.5 `2017-12-10` ### Bug Fixes * 修复 `Modal` 类型兼容问题 [#722](https://github.com/NG-ZORRO/ng-zorro-antd/pull/722) * 修复 `i18n` 替换问题 [#722](https://github.com/NG-ZORRO/ng-zorro-antd/pull/722) ## 0.6.4 `2017-12-10` ### Features * `Form` 支持默认`nzValidateStatus`并支持更多错误状态 [#696](https://github.com/NG-ZORRO/ng-zorro-antd/pull/696) * `Select` 支持所有场景下无值时显示Placeholder内容 [#703](https://github.com/NG-ZORRO/ng-zorro-antd/pull/703) * `Grid` 支持0值布局 [#704](https://github.com/NG-ZORRO/ng-zorro-antd/pull/704) * `Tooltip / Popover / Popconfirm` 支持鼠标移入悬浮框内,支持当悬浮框内容为空时不显示 [#714](https://github.com/NG-ZORRO/ng-zorro-antd/pull/714) ### Bug Fixes * `InputNumber` 修复使用tab键后未触发脏值检查的问题 [#706](https://github.com/NG-ZORRO/ng-zorro-antd/pull/706) ### Refactor * 修正语法书写以符合新的tslint规范 [#691](https://github.com/NG-ZORRO/ng-zorro-antd/pull/691) [@Trotyl Yu](https://github.com/trotyl) ### Docs * 修正单词文案 [#694](https://github.com/NG-ZORRO/ng-zorro-antd/pull/694) [@chunghha](https://github.com/chunghha) ## 0.6.3 `2017-12-07` ### BREAK CHANGES * `DropDownButton``nzDisabled` 取代 `nzDisable` [#459](https://github.com/NG-ZORRO/ng-zorro-antd/pull/459) [@Trotyl Yu](https://github.com/trotyl) ### Features * `Select` 支持 `option` 直接渲染 `ng-template` 内容 [#689](https://github.com/NG-ZORRO/ng-zorro-antd/pull/689) * `Carousel` 支持更多 API [#688](https://github.com/NG-ZORRO/ng-zorro-antd/pull/688) [@Hsuan Lee](https://github.com/HsuanXyz) * `Select` 支持下拉滚动到底部事件 `nzScrollToBottom`,用于滚动加载 [#678](https://github.com/NG-ZORRO/ng-zorro-antd/pull/678) * 打包版本支持 `sourcemaps` [#666](https://github.com/NG-ZORRO/ng-zorro-antd/pull/666) [@Trotyl Yu](https://github.com/trotyl) * 国际化支持土耳其语 [#634](https://github.com/NG-ZORRO/ng-zorro-antd/pull/634) [@Emrullah TUNCAY](https://github.com/etuncay) * 国际化支持繁体中文 [#687](https://github.com/NG-ZORRO/ng-zorro-antd/pull/687) * 所有 `boolean` 类型的属性支持直接以 `attribute` 方式使用 [#459](https://github.com/NG-ZORRO/ng-zorro-antd/pull/459) [@Trotyl Yu](https://github.com/trotyl) ### Bug Fixes * `Radio` 修复动态改变选项时的问题 [#677](https://github.com/NG-ZORRO/ng-zorro-antd/pull/677) [@Hsuan Lee](https://github.com/HsuanXyz) * `Select` 修复 `disabled` 选项可以使用方向键选中的问题 [#675](https://github.com/NG-ZORRO/ng-zorro-antd/pull/675) [@卡色](https://github.com/cipchk) * `Affix` 修复位置问题 [#672](https://github.com/NG-ZORRO/ng-zorro-antd/pull/672) [@卡色](https://github.com/cipchk) ### Refactor * 重构所有静态 `className` 绑定的方式 [#664](https://github.com/NG-ZORRO/ng-zorro-antd/pull/664) [@Trotyl Yu](https://github.com/trotyl) ### CI * 并行加速CI测试 [#655](https://github.com/NG-ZORRO/ng-zorro-antd/pull/655) [@Trotyl Yu](https://github.com/trotyl) ## 0.6.2 `2017-11-29` ### Features * `Steps` 支持动态数据更新 [#629](https://github.com/NG-ZORRO/ng-zorro-antd/pull/629) * `Slider` 支持 `nzMarks`属性动态更新 [#636](https://github.com/NG-ZORRO/ng-zorro-antd/pull/636) * `Table``Pagination` 支持自定义分页下拉数据 [#608](https://github.com/NG-ZORRO/ng-zorro-antd/pull/608) [@hllinc](https://github.com/hllinc) ## 0.6.1 `2017-11-26` ### Features * `DatePicker` 支持了全部 `momentjs` 的时间格式 [#593](https://github.com/NG-ZORRO/ng-zorro-antd/pull/593) [@JuniorTour](https://github.com/JuniorTour) ### Bug Fixes * `DatePicker` 修复 `nzDisabledDate``Today` 按钮不生效的问题 [#611](https://github.com/NG-ZORRO/ng-zorro-antd/pull/611) * `Select` 修复选项重复的问题 [#609](https://github.com/NG-ZORRO/ng-zorro-antd/pull/609) * `Transfer` 修复全选的问题 [#602](https://github.com/NG-ZORRO/ng-zorro-antd/pull/602) [@卡色](https://github.com/cipchk) ## 0.6.0 `2017-11-17` ### BREAK CHANGES * 兼容 `Angular 5.0` 版本,`Angular 4.x` 版本请使用 `0.5.5` 版本的 `NG-ZORRO` [#552](https://github.com/NG-ZORRO/ng-zorro-antd/pull/552) ### Features * 新增 `Transfer` 组件 [#578](https://github.com/NG-ZORRO/ng-zorro-antd/pull/578) [@卡色](https://github.com/cipchk) * `Tooltip` 支持 `Directive` 用法 [#545](https://github.com/NG-ZORRO/ng-zorro-antd/pull/545) * `Modal` 支持 `Esc` 键关闭选项 [#567](https://github.com/NG-ZORRO/ng-zorro-antd/pull/567) [@Hsuan Lee](https://github.com/HsuanXyz) * `TimePicker` 支持 `nzDisabledHours` 动态调整 [#568](https://github.com/NG-ZORRO/ng-zorro-antd/pull/568) [@Hsuan Lee](https://github.com/HsuanXyz) * `Steps``nzDescription` 选项支持传入 `Template` [#556](https://github.com/NG-ZORRO/ng-zorro-antd/pull/556) [@卡色](https://github.com/cipchk) ### Bug Fixes * Hover 后立刻点击 `Menu` 时不再隐藏二级菜单 [#576](https://github.com/NG-ZORRO/ng-zorro-antd/pull/576) * 修复 `Select` 在多选状态下粘贴时宽度不会改变的问题 [#575](https://github.com/NG-ZORRO/ng-zorro-antd/pull/575) * 修复 `Popover` `Title`无数据时仍然显示的问题 [#556](https://github.com/NG-ZORRO/ng-zorro-antd/pull/556) [@卡色](https://github.com/cipchk) ### Docs * 增加ISSUE助手功能,未按要求书写的ISSUE将会被关闭 [#565](https://github.com/NG-ZORRO/ng-zorro-antd/pull/565) * 在文档页面增加版本切换功能 [#577](https://github.com/NG-ZORRO/ng-zorro-antd/pull/577) ## 0.6.0-rc.3 `2017-11-04` ### Bug Fixes * 修复 `Tabs` 组件中重复渲染 `nzTabBarExtraContent` 的问题 [#489](https://github.com/NG-ZORRO/ng-zorro-antd/pull/489) [@Hsuan Lee](https://github.com/HsuanXyz) * 修复 `Pagination` 组件中 `nzPageIndexClickChange` 被错误触发的问题 [#486](https://github.com/NG-ZORRO/ng-zorro-antd/pull/486) [@Hsuan Lee](https://github.com/HsuanXyz) * 修复 `Affix` 锚点滚动时的问题 [#490](https://github.com/NG-ZORRO/ng-zorro-antd/pull/490) [@卡色](https://github.com/cipchk) ### Features * `DatePicker``month` 模式下支持 `nzDisabledDate` 属性 [#451](https://github.com/NG-ZORRO/ng-zorro-antd/pull/451) [@Hsuan Lee](https://github.com/HsuanXyz) ### Build * 修复 `rollup` 中的配置 [#509](https://github.com/NG-ZORRO/ng-zorro-antd/pull/509) * 同步集成测试中的依赖版本 [#469](https://github.com/NG-ZORRO/ng-zorro-antd/pull/469) [@Trotyl Yu](https://github.com/trotyl) ### Performance * 减少部分组件的不必要的样式更新 [#528](https://github.com/NG-ZORRO/ng-zorro-antd/pull/528) * 统一所有组件的request animation polyfill ## 0.6.0-rc.2 `2017-10-28` ### Build * 增加 `rollup` 中对部分 `rxjs` 操作符的支持 * 修复 `ngc` 不支持 `import from 'FOLDER_NAME'` 的方式 * 移除 `ci` 配置中多余的 `npm install` ### Features * 新增国际化支持(通过 `Locale` 模块实现) ### Docs * 增加 `国际化` 文案及使用介绍 * 增加 `Locale` 模块的具体使用方法,以及语言切换的代码演示 ### BREAKING CHANGES * `Table` 修复 `nzShowExpand` 值的语义表示错误(原默认值将改变) * 依赖 `@angular/cdk` 版本升级至 `2.0.0-beta.12`(大部分模块的使用方式改变) * 依赖 `angular` 版本升级至 `^4.4.4` * 依赖 `@angular/cli` 版本升级至 `1.4.7` ## 0.5.5 `2017-10-21` ### Features * `Steps``vertical` 模式下支持 `nzProgressDot` 属性 [#446](https://github.com/NG-ZORRO/ng-zorro-antd/pull/446) [@Hsuan Lee](https://github.com/HsuanXyz) * `Calendar` 增加年份变量至模板属性 [#465](https://github.com/NG-ZORRO/ng-zorro-antd/pull/465) ### Bug Fixes * `Dropdown` 修复特定情况下 `unsubscribe` 的问题 [#464](https://github.com/NG-ZORRO/ng-zorro-antd/pull/464) * `Dropdown` 修复 nzVisibleChange 事件触发的逻辑 [#466](https://github.com/NG-ZORRO/ng-zorro-antd/pull/466) ### Docs * 增加对 `Input``Textarea` 属性的说明 [#435](https://github.com/NG-ZORRO/ng-zorro-antd/pull/435) [@Liu, An-Chi](https://github.com/tigercosmos) ## 0.5.4 `2017-10-14` ### Features * `InputNumber` 增加对 `nzBlur`, `nzFocus` 属性(事件)的支持 [#406](https://github.com/NG-ZORRO/ng-zorro-antd/pull/406) [@Hsuan Lee](https://github.com/HsuanXyz) ### Bug Fixes * `DatePicker` 修复了当`nzMode`置为`month`时没有改变`ngModel`值的问题 [#421](https://github.com/NG-ZORRO/ng-zorro-antd/pull/421) [@Hsuan Lee](https://github.com/HsuanXyz) * `Modal` 修复了当弹出框显示后切换路由时,body滚动条没有恢复显示的问题 [#415](https://github.com/NG-ZORRO/ng-zorro-antd/pull/415) [@Hsuan Lee](https://github.com/HsuanXyz) ### Docs * 修正`Modal`文档中`nzClickHide`的默认值 [#408](https://github.com/NG-ZORRO/ng-zorro-antd/pull/408) [@zverbeta](https://github.com/zverbeta) ## 0.5.3 `2017-09-30` ### Features * `DatePicker` 支持了选择月份的功能 [#397](https://github.com/NG-ZORRO/ng-zorro-antd/pull/397) [@Hsuan Lee](https://github.com/HsuanXyz) * `Select` 支持Tab聚焦并可以使用回车和向下键展开 [#389](https://github.com/NG-ZORRO/ng-zorro-antd/pull/389) [@Hsuan Lee](https://github.com/HsuanXyz) * `Menu` 增加了 `Horizontal``Inline` 模式下的高度动画 [#330](https://github.com/NG-ZORRO/ng-zorro-antd/pull/330) [@刘晓军](https://github.com/Maroon1) * `Collapse` 支持自定义头部内容 [#383](https://github.com/NG-ZORRO/ng-zorro-antd/pull/383) [@SangKa.Z](https://github.com/SangKa) * 在发布包中导出了全部 `Component` 便于引用 [#404](https://github.com/NG-ZORRO/ng-zorro-antd/pull/404) ### Bug Fixes * `Table` 修复了 `nzIsPageIndexReset` 选项的问题 [#372](https://github.com/NG-ZORRO/ng-zorro-antd/pull/372) [#373](https://github.com/NG-ZORRO/ng-zorro-antd/pull/373) Alche * 修复了官方网站的性能问题 [#403](https://github.com/NG-ZORRO/ng-zorro-antd/pull/403) ### Docs * 增加了对 `Input``nzPlaceHolder` 的使用说明 [#379](https://github.com/NG-ZORRO/ng-zorro-antd/pull/379) [@Liu, An-Chi](https://github.com/tigercosmos) ## 0.5.2 `2017-09-23` ### Features * `Modal` 增加 `showConfirmLoading` 选项改变点击确认按钮时的loading状态 [#340](https://github.com/NG-ZORRO/ng-zorro-antd/pull/340) [@Alche](https://github.com/AlcheXie) * `Table` 增加确定数据变更后是否保留在数据变更前的页码的选项 `nzIsPageIndexReset` [#348](https://github.com/NG-ZORRO/ng-zorro-antd/pull/348) [#359](https://github.com/NG-ZORRO/ng-zorro-antd/pull/359) [@Alche](https://github.com/AlcheXie) * `Select` 增加在 `ngModel``undefined` 时的重置逻辑 [#363](https://github.com/NG-ZORRO/ng-zorro-antd/pull/363) ### Bug Fixes * `Menu`修复在特定情况下的 `ExpressionChangedAfterItHasBeenCheckedError` 问题 [#368](https://github.com/NG-ZORRO/ng-zorro-antd/pull/368) * `Select` 修复在 `Form` 表单 `inline` 状态的对齐问题 [#362](https://github.com/NG-ZORRO/ng-zorro-antd/pull/362) * `Carousel` 修复在 `nzAutoPlay` 下的播放问题 [#347](https://github.com/NG-ZORRO/ng-zorro-antd/pull/347) [@Bin](https://github.com/soulhat) * `Cascader` 修复 `label` 显示及在 `ReactiveForm` 下重置的问题 [#335](https://github.com/NG-ZORRO/ng-zorro-antd/pull/335) [#336](https://github.com/NG-ZORRO/ng-zorro-antd/pull/336) [#356](https://github.com/NG-ZORRO/ng-zorro-antd/pull/356) [@fbchen](https://github.com/fbchen) * `Select` 修复在同步加载数据情况的显示问题 [#338](https://github.com/NG-ZORRO/ng-zorro-antd/pull/338) [@Hsuan Lee](https://github.com/HsuanXyz) * `Table` 修复 `nzWidth``*ngIf` 结合使用时宽度错位的问题 [#349](https://github.com/NG-ZORRO/ng-zorro-antd/pull/349) * `Anchor` 修复点击时url改变的问题 [#343](https://github.com/NG-ZORRO/ng-zorro-antd/pull/343) [@卡色](https://github.com/cipchk) * 修改 `moment`的打包方式 [#331](https://github.com/NG-ZORRO/ng-zorro-antd/pull/331) [@LinBo len](https://github.com/LinBoLen) ### Docs * 修正文档中Angular官网的教程地址 [#325](https://github.com/NG-ZORRO/ng-zorro-antd/pull/325) [@JuniorTour](https://github.com/JuniorTour) * 增加 plunker的在线运行模板[#357](https://github.com/NG-ZORRO/ng-zorro-antd/pull/357) [@Trotyl Yu](https://github.com/trotyl) ### Other * `Badge` 格式化了template代码 [#314](https://github.com/NG-ZORRO/ng-zorro-antd/pull/314) [@Hsuan Lee](https://github.com/HsuanXyz) ## 0.5.1 `2017-09-16` ### Features * `Menu`支持子菜单选中时,父级菜单高亮显示 [#264](https://github.com/NG-ZORRO/ng-zorro-antd/pull/264) [HsuanXyz](https://github.com/HsuanXyz) ### Bug Fixes * `Pagination`修复`nzPageIndexChange`事件被多次触发 [#281](https://github.com/NG-ZORRO/ng-zorro-antd/pull/281) [HsuanXyz](https://github.com/HsuanXyz) * `Pagination`修复鼠标双击时,分页文本被选中的情况 [#268](https://github.com/NG-ZORRO/ng-zorro-antd/pull/268) [HsuanXyz](https://github.com/HsuanXyz) * `Input`修复类型错误提示 [#283](https://github.com/NG-ZORRO/ng-zorro-antd/pull/283) [deart1mer](https://github.com/deart1mer) * `Datepicker`修复年选择框范围错误 [#301](https://github.com/NG-ZORRO/ng-zorro-antd/pull/301) [giscafer](https://github.com/giscafer) * `Layout`修复手机下响应式布局行为不一致 [#299](https://github.com/NG-ZORRO/ng-zorro-antd/pull/299) ### Docs * `DEMO:Badge`参数使用错误 [#297](https://github.com/NG-ZORRO/ng-zorro-antd/pull/297) [HsuanXyz](https://github.com/HsuanXyz) * `DEMO:Select`移除未使用的变量 [#308](https://github.com/NG-ZORRO/ng-zorro-antd/pull/308) [tigercosmos](https://github.com/tigercosmos) * `DEMO:Select`增加nzShowSearch的说明 [#279](https://github.com/NG-ZORRO/ng-zorro-antd/pull/279) [SangKa.Z](https://github.com/SangKa) ## 0.5.0 `2017-09-09` ### Build * 重写了打包逻辑,提供了规范的package格式,兼容了更多打包工具 [#240](https://github.com/NG-ZORRO/ng-zorro-antd/pull/240) [Trotyl Yu](https://github.com/trotyl) ### Features * `Table`支持可展开和树形数据展示 [#259](https://github.com/NG-ZORRO/ng-zorro-antd/pull/259) * `Table`支持固定表头,自定义筛选,增加远程排序、表格行列排序、可编辑行等DEMO [#210](https://github.com/NG-ZORRO/ng-zorro-antd/pull/210) * `Input`支持`nzReadOnly`属性 [#236](https://github.com/NG-ZORRO/ng-zorro-antd/pull/236) [SangKa.Z](https://github.com/SangKa) * `Input`支持`nzAutoResize`属性 [#251](https://github.com/NG-ZORRO/ng-zorro-antd/pull/251) [Hsuan Lee](https://github.com/HsuanXyz) * `Menu`支持缩起内嵌菜单 [#225](https://github.com/NG-ZORRO/ng-zorro-antd/pull/225) [Hsuan Lee](https://github.com/HsuanXyz) * `Grid``Col`支持属性内嵌 [#247](https://github.com/NG-ZORRO/ng-zorro-antd/pull/247) ### Bug Fixes * `Form`修复了多种组件在表单中不必要的Control触发逻辑 [#257](https://github.com/NG-ZORRO/ng-zorro-antd/pull/257) * `CheckBox`修复了在safari中的选中问题 [#256](https://github.com/NG-ZORRO/ng-zorro-antd/pull/256) [SangKa.Z](https://github.com/SangKa) * `Carousel`修复了高度计算的问题 [#242](https://github.com/NG-ZORRO/ng-zorro-antd/pull/242) * `DropdownButton`修复了下拉菜单无法选中的问题 [#237](https://github.com/NG-ZORRO/ng-zorro-antd/pull/237) [LongYinan](https://github.com/Brooooooklyn) * `Datepicker`修复了与React版本顺序不一致的问题 [#243](https://github.com/NG-ZORRO/ng-zorro-antd/pull/243) [Nickbing Lao](https://github.com/giscafer) * `InputNumber`修复了数据校验逻辑 [#230](https://github.com/NG-ZORRO/ng-zorro-antd/pull/230) * `Cascader`修复了在`nzOptions`变化时不刷新的问题 [#221](https://github.com/NG-ZORRO/ng-zorro-antd/pull/221) [fbchen](https://github.com/fbchen) * `Form`修复了多种组件中`setDisabledState`不生效的问题 [#188](https://github.com/NG-ZORRO/ng-zorro-antd/pull/188) [Zhaoming Li](https://github.com/deart1mer) * `Select`,`Datepicker`,`Timepicker`修复了当disable时下拉菜单不收起的问题 [#222](https://github.com/NG-ZORRO/ng-zorro-antd/pull/222) [Zhaoming Li](https://github.com/deart1mer) * `Select`, `Datepicker`, `Timepicker`, `Radio`, `Checkbox`, `InputNumber`修复了`touched`状态不生效的问题 [#248](https://github.com/NG-ZORRO/ng-zorro-antd/pull/248) [Zhaoming Li](https://github.com/deart1mer) * `Input`修复了`nzSize`不生效的问题 [#209](https://github.com/NG-ZORRO/ng-zorro-antd/pull/209) [laobeiV5](https://github.com/gsbybb) * 修改了对`DOCUMENT`的错误依赖 [#233](https://github.com/NG-ZORRO/ng-zorro-antd/pull/233) [Trotyl Yu](https://github.com/trotyl) ### Refactor * 删除了不必要的`@angular/cdk`依赖 [#241](https://github.com/NG-ZORRO/ng-zorro-antd/pull/241) [Trotyl Yu](https://github.com/trotyl) ## 0.5.0-rc.4 `2017-08-31` ### Features * `Tooltip`,`Popconfirm`,`Popover`组件支持 OnPush [#143](https://github.com/NG-ZORRO/ng-zorro-antd/pull/143) [@csyszf](https://github.com/csyszf) * `Modal` 提供了 `open`,`close`,`setConfirmLoading`的新方法 [@giscafer](https://github.com/giscafer) ### Bug Fixes * 指定了 `@angular/cdk` 版本,修复因`@angular/cdk`不兼容升级导致的问题 * `Pagination` 修复了 `nzPageIndexChange` 事件在部分情况下不触发的问题 [#189](https://github.com/NG-ZORRO/ng-zorro-antd/pull/189) [@SangKa](https://github.com/SangKa) ### Refactor * `Dropdown` 中优化了`rxjs`的使用方式 [#148](https://github.com/NG-ZORRO/ng-zorro-antd/pull/148) [@Brooooooklyn](https://github.com/Brooooooklyn) * `Calendar` 不再使用 ngOutletContext [#200](https://github.com/NG-ZORRO/ng-zorro-antd/pull/200) [@chunghha](https://github.com/chunghha) ### Doc * 修正`Form`样例说明中`nz-demo-form-dynamic` [#186](https://github.com/NG-ZORRO/ng-zorro-antd/pull/186) [@thegatheringstorm](https://github.com/thegatheringstorm) * 修正`Datapicker`样例中事件范围的禁止选择范围 [#102](https://github.com/NG-ZORRO/ng-zorro-antd/pull/102) [@HsuanXyz](https://github.com/HsuanXyz) ## 0.5.0-rc.3 `2017-08-26` ### Features * `nz-root`不再作为必须项引入,提供了[新的方法](https://ng.ant.design/#/components/icon)配置本地字体文件,原有`nz-root`的使用方式继续兼容,但不建议继续使用 [#34](https://github.com/NG-ZORRO/ng-zorro-antd/issues/34) [@trotyl](https://github.com/trotyl) * 增加`BackTop`,`Anchor`,`Affix`,`Avatar`四个组件 [#88](https://github.com/NG-ZORRO/ng-zorro-antd/pull/88) [@cipchk](https://github.com/cipchk) ### Bug Fixes * 修复`checkbox`class名称丢失的问题 [#104](https://github.com/NG-ZORRO/ng-zorro-antd/issues/104) [@giscafer](https://github.com/giscafer) * 修复`input``touched`事件触发的问题 [#65](https://github.com/NG-ZORRO/ng-zorro-antd/issues/65) [#117](https://github.com/NG-ZORRO/ng-zorro-antd/issues/117) * 修复`select`中激活`option`样式的问题 [#139](https://github.com/NG-ZORRO/ng-zorro-antd/issues/139) [@SangKa](https://github.com/SangKa) * 修复`pgaination``nzPageIndex`双向绑定的问题 [#107](https://github.com/NG-ZORRO/ng-zorro-antd/issues/107) * 修复`select``multiple`情况下表单中reset时的问题 [#128](https://github.com/NG-ZORRO/ng-zorro-antd/issues/128) * 修复`input``disable`情况下样式未生效的问题 [#103](https://github.com/NG-ZORRO/ng-zorro-antd/issues/103) [@giscafer](https://github.com/giscafer) * 修复`carousel`中自动播放的问题 [#161](https://github.com/NG-ZORRO/ng-zorro-antd/issues/161) ### Doc * 文档页面切换路由时自动滚动至顶部 [#26](https://github.com/NG-ZORRO/ng-zorro-antd/issues/26) ## 0.5.0-rc.2 `2017-08-19` ### Features * `Input`组件增加`nzBlur``nzFocus`事件 [#73](https://github.com/NG-ZORRO/ng-zorro-antd/issues/73) [@giscafer](https://github.com/giscafer) ### Bug Fixes * 修复`Steps`组件在`Tabs`组件中使用时的样式BUG [#83](https://github.com/NG-ZORRO/ng-zorro-antd/issues/83) * 修复`Pagination`上一页和下一页样式BUG [#17](https://github.com/NG-ZORRO/ng-zorro-antd/issues/17) * 修复`Menu`组件在懒加载模块中与`routerLinkActive`冲突的BUG [#52](https://github.com/NG-ZORRO/ng-zorro-antd/issues/52) * 修复`Menu`组件在`Layout`收起状态下样式错误的BUG [#35](https://github.com/NG-ZORRO/ng-zorro-antd/issues/35) [#74](https://github.com/NG-ZORRO/ng-zorro-antd/issues/74) * 修复`Timeline`组件使用`ngFor`渲染时的BUG [#66](https://github.com/NG-ZORRO/ng-zorro-antd/issues/66) [@SangKa](https://github.com/SangKa) * 修复`Carousel`组件内容动态改变时的BUG [#56](https://github.com/NG-ZORRO/ng-zorro-antd/issues/56) * 修复`Pagination`中快速跳转时首页和尾页不会高亮的BUG [#37](https://github.com/NG-ZORRO/ng-zorro-antd/issues/37) [@HsuanXyz](https://github.com/HsuanXyz) * 修复安装时`package.json`文件定义导致的Angular版本冲突问题 [#23](https://github.com/NG-ZORRO/ng-zorro-antd/issues/23) * 修正文档中多处错误 [@SangKa](https://github.com/SangKa) ### Performance Improvements * 修改了`rxjs`的引入方式 [#29](https://github.com/NG-ZORRO/ng-zorro-antd/pull/29) [@trotyl](https://github.com/trotyl) ### Other * 修正了`HostBinding`的使用方式 [#19](https://github.com/NG-ZORRO/ng-zorro-antd/pull/19) [@trotyl](https://github.com/trotyl) ## 0.5.0-rc.0 `2017-08-15` ### Features * 对外第一个版本,暂时移除了不稳定和强依赖的组件部分,后续单独发布 * 新增 `Cascader``Tag`组件,感谢fbchen * Select增加了nzFilter属性 * 同步Ant Design样式至`2.12.5`版本 * 全站修改为LazyLoad * 调整部分文件夹名称 * 调整了快速上手等部分的说明 ### THANK YOU 感谢所有参与者的贡献 VTHINKXIE, Wilson Zeng, chensimeng, zjgzx1988, SunMing, fbchen, Trotyl Yu, 雪狼, afc163, xufei, lightningtgc ## 0.4.0 `2017-07-20` ### Features * `Select`,`DropDown`,`TimePicker`,`DatePicker`下拉菜单改为absolute布局,不再受父元素overflow限制 * `Select`,`DropDown`,`TimePicker`,`DatePicker`,`ContextMenu`下拉菜单位置跟随视窗边界自动切换 * `Select` 增加nzMode方法 * `Modal`增加`zIndex`选项用于配置多窗口时显示次序 * `Alert`增加关闭时动画效果 * `Tooltip`组件加入 ### Break Changes * `nz-table-sort`修复ascend和descend语义错误 * `Select`中nz-option修正输入语义,nzValue->nzLabel,nzKey->nzValue * `Tabs`组件重构,使用方法改变,具体见组件页面介绍 * `Select`组件不再支持位置选项,改为自动布局 * `Popover``Popconfirm``DropDown`重构,使用方法改变,具体组件页面介绍 * 根Module组件需要使用` NgZorroAntdModule.forRoot()`方法,不再需要手动在`Providers`中加入` NzContextMenuService,NzMessageService,NzNotificationService` ## 0.3.4 `2017-06-27` ### Features * `Popover`卡片内容:增加对原生DOM HTMLElement引用的支持 ### Bug Fixes * `Popover`修复removeChild移除不存在元素时报错的问题 ## 0.3.3 `2017-06-10` ### Features * `Select`组件支持位置选项 * `ContextMenu`右键菜单组件位置自动调整 * `Checkbox Group`组件支持nzDisable属性 * `Directory`组件动画时间调整 ### Bug Fixes * `Table`组件PageSizeChange属性在ViewInit之前不再会被触发 * `Tabs`修复组件使用NgIf初始化时Change After View Check的bug ## 0.3.2 `2017-05-26` ### Features * 增加`Slider`组件,感谢 @凌亦 提供 * `Graph`组件支持`ForeignObject`自动计算高度 * `Monaco Editor`组件支持动态调整字体、主题、换行等选项 ### Bug Fixes * 修复`Input`组件首次传值是调用`OnChanges`的Bug * 修复`Dir`组件Focus样式的Bug * 修复`DropDown`组件在首页使用时的Bug ## 0.3.1-beta.0 `2017-05-11` ### Features * 增加`G2`图表组件 * 增加`Carousel`组件 * 增加`Card`组件 * `Menu`组件增加`nzClickActive`属性 * `Select`组件增加远程搜索示例 ### Bug Fixes * 修复`Menu`在disable状态下点击样式,修复子菜单点击收起的bug * 修复`Steps`组件样式bug * 修复`Select`多选状态下初始化数据动画效果,支持更多异步加载环境 ## 0.3.0 `2017-05-09` ### Features *`ant design 2.9.3`同步样式 * 新增`Layout`组件 * 新增`Menu`组件 * 新增`Dropdown`组件 * 新增`Breadcrumb`组件 * `Button`新增`Danger`按钮,改变`Ghost按钮`的使用方式 * `Col`修改`gutter`生效逻辑,仅当父节点`Row`设置`gutter`后生效 * `Input`新增`search`类型,增加`prefix``suffix`标签功能 * `Checkbox`增加`nzIndeterminate`属性 * `Badge`组件重写,增加状态点功能 * `Calendar`组件增加自定义渲染数据功能 ### BREAKING CHANGES * 根组件必须加入`nz-root`标签,不再需要手动引入`iconfont.css`文件,加入`nz-root`后不再必须引入`nz-notifications``nz-messages``nz-context-menu`插座 * `Input`组件前置/后置标签使用方式修改,参照最新Demo * `Badge`组件包含数据方式修改,参照最新Demo ## 0.2.0 `2017-04-24` ### BREAKING CHANGES * 升级到Angular `4.0`版本,如果要使用Angular`2.x`请使用`0.2.0`之前的版本 * 修改了`nz-ace``nz-monaco-editor`的引入方法 * 修改`nzModalSubject`的名称为`NzModalSubject`,规范了所有component的命名方式 ## 0.1.9 `2017-04-20` * 增加iconfont文件引入说明 * 增加`nz-dir`组件的替换模板功能 ## 0.1.8 `2017-03-24` * 修改发布逻辑,当前npm发布包不再包含less文件 * 增加`nz-graph`组件的编辑功能 ## 0.1.7 `2017-03-21` * 增加`nz-graph`组件,增加复杂图显示模块 * 修复部分bug ## 0.1.6 `2017-03-08` * 修复了`select`组件,在多选状态下Enter键入的bug * 移除了部分不必要的引入 ## 0.1.5 `2017-03-07` * 新增了`nz-dir`组件,用于进行文件和文件夹管理 * 修复了`nz-dir`组件样式bug ## 0.1.3 `2017-02-26` * 修复`nz-input-number`在非focus时的校验 * 配合`@angular/cli``1.0.0-rc0`,升级步骤见`https://github.com/angular/angular-cli/blob/master/CHANGELOG.md` ## 0.1.1 `2017-02-15` * `modal-confirm`中增加maskCloseable选项 * 增加`context-menu`在LazyLoad中的使用规范 * 增加`nz-message`在LazyLoad中的使用规范 * 增加`nz-notification`在LazyLoad中的使用规范 ## 0.1.0 `2017-02-13` * 完善monaco-editor组件 * 兼容`@angular/cli``1.0.0@beta.31` ## 0.0.9 `2017-02-08` * 添加monaco-editor组件 * 修改nz-steps文件,兼容webpack打包方式 ## 0.0.8 `2017-02-06` * 兼容至angular`2.4.6`版本 * @angular/cli代替angular-cli * 支持LazyLoad和PreLoad方式加载 * 修复popover及popconfirm在2.4.6下typescript支持bug ## 0.0.7 `2017-01-17` * 修复Tabs标签页组件 ## 0.0.6 `2017-01-16` * 兼容angular 2.4.3 * 兼容angular-cli@@1.0.0-beta.25.5 * 修复webpack raw loader ## 0.0.5 `2017-01-12` * 增加Steps组件 * 修复Progress组件 ## 0.0.4 `2017-01-12` * 修复button group展示问题 * 增加Progress组件 * iconfont目录切换至本地 ## 0.0.3 `2017-01-11` * 与[ant.design 2.6.0](http://antd.alipay.net/changelog-cn#2.6.0)同步UI样式 * 重写DEMO站点样式 ## 0.0.2 `2016-12-25` * 启用angular-cli作为默认脚手架工具 * 支持AoT编译 * 加入单元测试 * 加入protractor e2e测试 ## 0.0.1 `2016-12-08` * 从NAZA-UI迁移成功