更新日志

发布周期

  • 修订版本号:每周末会进行日常 bugfix 更新。(如果有紧急的 bugfix,则任何时候都可发布)
  • 次版本号:每月发布一个带有新特性的向下兼容的版本。
  • 主版本号:含有破坏性更新和新特性,不在发布周期内。
  • accordion: 不再支持 innerHtml ( (6ac0642)
  • action-sheet: import TouchFeedbackDirective ( (c5da920)
  • date-picker: 修复 mindate 改变月份错误 ( (21e4df9)
  • datepickerview: 修复 datePickerOptions 单例 ( (3a32fdd)
  • grid: 修复 columnNum 与 carouselMaxRow 无法正常运行问题 ( (920676d)
  • picker: 修复 binding 赋值问题 ( (f2ac758)
  • stackblitz: 修复 stackblitz @angular/cdk 依赖版本 ( (6b27539)
  • tabs: 修复 tabs 宽度计算精度丢失的问题 ( (c1fc617)
  • textarea-item: 修复ngModel写入后计数器没有运行的问题 ( (45f9759)
  • pulltorefresh: 修复元素高度 ( (5db6c0b)

Features

1.0.6(2020-06-11)

Bug Fixes

  • date-picker: 修复 mindate 改变月份错误 ( (6ebc91c)
  • grid: 修复 columnNum 与 carouselMaxRow 无法正常运行问题 ( (6e3fd25)
  • picker: 修复 binding 赋值问题 ( (0974096)
  • pulltorefresh: 修复元素高度 ( (eb9fd9c)

2.0.1(2020-04-13)

Bug Fixes

  • locale-provider: 修复 provider 中依赖 LocaleProviderModule 引发的错误 ( (7f52fca)

2.0.0(2020-04-07)

Features

1.0.5(2020-03-17)

Features

  • steps: step title&description input 增加 templateRef 类型 ( (bb41050)

1.0.4(2020-03-10)

Bug Fixes

  • carousel: 修复走马灯slide宽度问题 ( (b26eb8c)
  • input-item: 修复光标一直返回到最后的问题 ( (0f032ad)

1.0.3(2020-01-08)

Bug Fixes

  • date-picker: 修复时间选择范围问题 ( (2225539)
  • date-picker: 修复 mode:time 状态下时间选择范围问题 ( (e685ffa)
  • datepicker: 修复单测失败例子 ( (7183052)
  • drawer: 修复无法遮盖背景元素的问题 ( (8794e89)

1.0.2(2019-12-04)

Bug Fixes

  • accordion: 修复快速点击 accordion 展开时错误( (567ff59)
  • calendar: 从 cell 而非 row 中获取 extra cell class 名( (0a11514)
  • carousel: 修复 resize 时 carousel slide 展示错误 ( (3ff1894)
  • checkbox: 修复 disabled 状态为 true 时已点击的初始状态( (85511ca)
  • datepicker: 修复中文提示文案错误 ( (71576bb)
  • list: 修复 inputitem demo ( (0a50951)
  • list&range: 删除 console.log ( (762f200)
  • pagination: 修复设置 locale 不生效错误 ( (756f5be)
  • searchbar: 修复用户提交时键盘未收起的问题 ( (5e20a54)
  • steps: 修复 step import async 错误 ( (ef4153c)
  • tabs: 让 popup类组件在Tabs和TabBar里正常的面板里弹出 ( (89bd218)

1.0.1(2019-09-24)

Bug Fixes

  • picker: 去除对 lodash isEqual 的引用 ( (ee6f4b6)

1.0.0(2019-09-23)

Bug Fixes

  • date-picker: 修复快速滑动时显示NAN的错误 ( (3e63d20)

  • picker: 修复 data input 为一个函数时引发的选择错误 ( (26a07d7)

1.0.0-rc.0(2019-09-16)

Bug Fixes

  • carousel: 当设置为左右滑动方向时忽略垂直方向的事件 ( (abb3a0a)

  • carousel: 修复走马灯样式错误 ( (004e4e0)

  • toast: 修复 toast z-index ( (7350600)

  • steps: 修复 steps 状态icon错误 ( (fef7568)

  • accordion: 修复 accordion 无法自动展开错误 ( (19b90da)

  • pull-to-refresh: 修复 pull-to-refresh direction属性为空时的运行错误 ( (6df7d7c)

  • swipe-action: 修复 swipe-action 在 ionic 中无法正常运行错误 ( (f2d1600)

1.0.0-beta.2(2019-09-05)

Bug Fixes

  • list: 修复 typescript 格式导致的编译报错 ( (46e66f2)

  • website: 修复官网 version 映射 ( (3744833)

  • codebox: 修复 stackblitz package 依赖展示错误 ( (61dcc28)

  • codebox: 修复复制代码为对象的错误 ( (630f63c)

  • codebox: 修复 rawCode 转换错误 ( (ddb89cb)

  • website: 修复官网运行错误 ( (b44a095)

Bug Fixes

  • stepper: 修复用户输入时按钮状态错误 ( (0739e2c)

Features

  • All: 支持 Angular 8.0 ( (c2fd82d)

1.0.0-beta.0(2019-08-21)

BreakChange

  • toast: toast 重构 ()

  • picker & modal & action-sheet: popup 相关重构 (62c4d60)

  • input-item: 增加 label content API ( (109dbd6)

Bug Fixes

  • modal: 修复 visable 默认值为false ( (1f6391e)
  • radio: 删除重复API ( (2fc7350)
  • textarea-item: 修复自动高度错误( (#502 ()
  • picker: 修复 okText & dismissText API (#499 ()

Features

  • action-sheet: 增加单元测试 (#515 ()
  • carousel: 增加单元测试 (#511 ()
  • input-item: 增加 label content API (#527 ()
  • input-item: 修复 input-item cursor bug (#500 ()
  • README: 增加 CodeFactor&Twitter 标签 (#490 ()

0.12.5(2019-06-25)

Bug Fixes

  • carousel: 修复只包含一个元素时的宽度错误 (#482 ()

0.12.4 (2019-06-24)

Bug Fixes

  • carousel: 修复竖直模式时宽度错误 (#477 ()
  • date-picker: 增加 minuteStep 支持 (#479 ()

Features

  • calendar: 增加单测覆盖范围 (#474 ()
  • input-item: 修复 clear 时出现的值错误 (#472 ()

0.12.3 (2019-06-05)

Bug Fixes

  • date-picker: 修复时间计算错误 (#456 ()
  • date-picker: 修复在safari中日期初始化可能出现无效日期 (#454 ()
  • radio-item-group: 修复可选项在运行时变更时导致选中状态出错 (#458 ( (0e3ca04)
  • stackblitz: 为 @angular/compiler 设置正确的版本 ( (3bc4053)
  • picker: 修复返回结果错误 ( (eeabc11)

0.12.2 (2019-05-21)

  • popupservice: 在相关组件的providers里添加 popupservice ( (a14ea6b)

Features

  • toast: 支持 top 和 bottom 两种位置 ( (77c326a)

0.12.1 (2019-05-20)

Bug Fixes

  • calendar: 修复 calendar timepicker 显示标题错误 ( (7ad01ba)
  • mobile site: 修复无线站点中的组件名称格式错误 ( (f106942)
  • picker: 修复 picker 样式错误 ( (c09b85e)
  • badge: 修复文案从空到非空时 badge 错误 ( (fab7312)
  • carousel: 修复横竖屏切换时未动态调整的错误 ( (4ff06d9)

Features

  • imagepicker: 增加 capture&disableDelete API ( (cfd733e)
  • swipe-action: 增加 className api ( (3a976c5)
  • toast: 提供一种新的API方案自注入 ( (ad31989)

0.12.0 (2019-04-30)

BreakChange

  • tabbar: 使用TabBarItem 替代 TabPane和TabBarTab, 使用上更加简单
  • grid: 将 OnClick 修改为 onClick

Bug Fixes

  • grid: 将 OnClick 修改为 onClick ( (bf3039a)
  • schematics: 将 url 从 https 切换到 http ( (0c3ad0f)
  • stepper: 修复 stepper 不可用的问题 ( (acb2a95)

Features

  • all: 公开导出组件库 API ( (dd9af23)
  • checkboxitem&radioitem: 支持 wrap API ( (db8a6c8)
  • checkboxItem&radioItem: API 与 listItem 同步 ( (6cf232f)
  • dependencies: 更新三方依赖 ( (dcf4a61)
  • docs: 更新 README.md ( (80bd1b5)
  • styles: 与 ant design mobile of react 样式同步 ( (5c77b8c)
  • tabs&tabbar: tabs&tabbar 重构,支持动态增加面板、预加载以及自定义设置标签页尺寸,提升整体性能 ( (f82ceab)

Performance Improvements

  • code-box: 优化stackblitz中demo参数. ( (9c39051)
  • site: 更新首页 ( (92ae470)
  • tabs&tabbar: 默认将 prerenderingSiblingsNumber设置为-1,预加载逻辑与React版本能保持一致 ( (1db49eb)

0.11.9 (2019-04-18)

Bug Fixes

  • calendar: 修复样式更新后出现的样式问题 ( (cee534a)
  • datepickerview: 修复日选择无法选中31号的问题 ( (aac65b6)
  • inputitem: 修复样式更新后出现的样式问题 ( (97bf63e)
  • picker: 修复样式更新后出现的样式问题 ( (d5128af)
  • carousel: 修复走马灯不在视图内且页面没重新渲染的情况下会停止轮播的问题 ( (362245f)

Features

  • styles: 与React版本进行样式同步 ( (0c4b966)
  • textarea: 更改样式 ( (bcd5d1f)

Performance Improvements

  • site: 资源链接默认使用https ( (cc693e5)

0.11.8 (2019-04-04)

Bug Fixes

  • tabbar: 修复 tabbar 设置 activeTab 错误并修改 demo ( (3f8becd)
  • accordion: 修复 accordion 支持异步加载 accordionPanel ( (924bcc2)
  • carousel: 修复 carousel vertical 模式异常 ( (e9ae898)
  • inputitem: 修复 inputitem extra 模板支持 ( (aeb3cbe)
  • inputitem: 修复 inputitem label 样式初始化问题 ( (bd11c54)
  • picker: 修复 异步 picker 需要更新选中数据 ( (fbcc0cf)
  • picker: 修复 picker wrap z-index 与 mask保持一致 ( (3f2a83c)

Features

  • carousel: carousel 支持拖拽 ( (5dc49a4)

Performance Improvements

  • modal: modal 引入 coremodule ( (a3b9014)

0.11.7 (2019-03-12)

Bug Fixes

  • assets: 修复 logo 名称 ( (475eb14)
  • grid: 修复 contentType 返回错误 ( (dd88a52)
  • input-item: 修复 custom keyboard input 值 ( (a73a7e8)
  • popupservice: 修复 popupservice 获取 component 名称时 运行时报错 ( (b69ee5a)
  • textarea-item: 修复 textarea-item 值保护 ( (ffe4f8d)

0.11.6 (2019-03-04)

Bug Fixes

  • accordion: 修复 accordion template 支持 ( (15f90a6)
  • carousel: 修复 carousel 检测高度变化 ( (86be97d)
  • carousel: 修复设置selecedindex值超出当前最大值的问题 ( (193a4d6)
  • drawer: 更新文档 ( (1d53a15)
  • inputitem: 修复输入中文时 onChange 不响应的问题 ( (e7a925d)
  • PopupService: 修复多 PopupService 运行错误 ( (3717db7)
  • swipe-action: 修复无法响应滚动事件问题( (98bd525)
  • tabs: 禁止 descendants ( (5ed613e)

Features

  • list: renderHeader 和 renderFooter 支持 String和 Template 输入 ( (546b38d)

Performance Improvements

  • logo: 更换全新的logo ( (a66be30)

Bug Fixes

  • actionsheet: 将模板中 title 改成 message ( (f850e1a)
  • date-picker-view: 修复 input 不生效的问题 ( (7d74e54)
  • stepper: 修复 float 计算bug ( (5cd1f6c)
  • swipe-action: 修复 autoclose 不生效bug ( (acb180e)

Performance Improvements

  • tabbar: 扩大 tabbartab 点击区域 ( (5830cd6)

0.11.4 (2019-02-14)

Bug Fixes

  • carousel: 修复设置 Carousel 选中序列失败的问题 ( (55ae6d2)
  • input-item: 修复 iOS9 中文字符输入问题 ( (f421746)
  • notice-bar: 修复 notice-bar-card 颜色问题 ( (53f5b45)
  • searchbar: 修复 iOS9 中文字符输入问题 ( (3e7efd4)
  • date-picker: 修复不使用onOK导致的下一次显示失败问题 ( (2f5fc79)
  • date-picker: 修复设置最大最小日期后打开 Picker 显示错误 ( (41f20f5)
  • date-picker: 修复选择最早最晚时间时的 interval ( (3fa56dc)
  • date-picker: 修复设置minDate错误 ( (8fdbe8f)
  • pulltorefresh: 修复上划然后下划时导致的 refresh 信号错误 ( (5fd57d7)

Features

  • button: 增加 dashed 样式 ( (8759db0)
  • grid: Grid 中支持动态的 ng-content ( (2a579a2)
  • grid: 支持 自定义 icon 和本地静态资源 ( (eafe8ec)
  • picker: 删除成员默认值 ( (ec748c3)

0.11.2 (2019-01-11)

Bug Fixes

  • actionsheet: 修复 Actionsheet 没有销毁 locale 订阅问题 ( (d719496)
  • carousel: 修复 Carousel 选中序列初始化失败问题 ( (5482cb2)
  • pulltorefresh: 修复没有使用 NgModel 出现的错误 ( (5a3ba5d)

Features

  • actionsheet: 支持 locale 国际化 ( (39870da)
  • carousel: 仅有1个元素时禁止drag ( (799ce51)
  • datepicker: 增加disabled 属性 ( (8f772a9)
  • picker: 增加 disabled 属性 ( (02733b4)
  • switch: 根据选中状态在子元素设置类名 ( (1117c7c)
  • showcase: 在 kitchen-sink 中设置 “user-select: none” ( (65ad469)

Performance Improvements

  • actionsheet: 使用 cdk 优化实现( (9a9988a)

0.11.1 (2019-01-08)

Bug Fixes

  • calendar: 修复 timepicker 选择报错( (03ffa9e)
  • codebox: 升级ng-zorro-antd-mobile的版本号 ( (3fb41f1)
  • modal: 修复无 actions 报错. ( (25b7aec)
  • package.json: 升级ng-zorro-antd依赖 ( (b53ff31)
  • showcase: 修复文档官网 icon 显示问题 ( (bfe2b3d)

Performance Improvements

  • modal: 优化 modal service 的使用 ( (4fca40a)

0.11.0 (2018-12-29)

Bug Fixes

  • ActionSheet: 修复当无标题或消息时头部不为空的问题 ( (b0f41b7)
  • checkbox: 修复初始值为选中时checkbox状态不对的问题 ( (0293e85)
  • input-item: 修复 input 值不能为空字符串或0的问题 ( (59e0ea8)
  • input-item: 修复 inputitem 值保护问题 ( (883c2ba)
  • package.json: 修复 Invalid Host/Origin header 导致的循环问题 ( (450c66a)
  • picker: 修复当使用服务并点击 OK 按钮抛错的问题 ( (40a8fee)
  • picker: 修复点击取消无响应的问题 ( (bee4fc4)
  • textarea-item: 修复 textarea 值不能为空字符串或0的问题 ( (0759f65)
  • textarea-item: 修复 textarea-item 值保护问题 ( (e2c0157)

Features

  • Framework: 支持 Angular 7.0
  • date-picker: date-picker 支持 ngmodel ( (c1e6d11)
  • picker-view: picker-view 支持 ngModel ( (500c893)
  • pulltorefresh: 支持 scrollendrefresh 和 上、下两个方向滑动刷新 ( (149c461)
  • range: range 支持 ngmodel ( (26d019d)
  • searchbar: searchbar 支持 ngModel ( (8bd39d7)
  • slider: slider 支持 ngModel ( (3db39ae)
  • stepper: stepper 支持 ngModel ( (23f36c1)
  • modal: 增加 modal closable 和 maskClosable 演示样例 ( (d3d3478)

Performance Improvements

  • picker-view: perf docs and demo ( (fc9627d)

0.10.1 (2018-12-20)

Bug Fixes

  • checkbox: disabled 状态为 true 时 checked 状态应该锁定 ( (5fe311f)
  • step and slider-marks: 修复AOT build 错误 ( (94cb387)
  • button: 修复 loading input 只在第一次启动时生效的问题. ( (b54bd04)

Features

  • calendar: ngModel 支持 ( (327d33b)
  • checkbox&radio: ngModel&Onpush 支持 ( (b1b4807)
  • inputitem: 增加 fontColor input ( (0ef2620)
  • picker: ngModel 支持 ( (b4af7c7)
  • progress: nzm-progress 支持 大于100%的进度 ( (021f7d8)
  • switch: ngModel 支持 ( (6998e40)
  • textarea-item: ngModel 支持 ( (6b60cca)

0.9.10 (2018-12-06)

Bug Fixes

  • calendar: 引入 LocalProvider Module ( (37f20ae)
  • checkbox&radio: 修复回调状态错误( (e709b86)
  • popover: 修复 Visable Input 除初始化外无效 ( (05313a4)
  • Searchbar: 修复 LocaleProviderService 依赖问题 ( (1ac6008)
  • TabBar: 移除对 TabsModule 的依赖( (eab449b)

Features

  • badge: 在 text 文案外层增加 span 标签 ( (e362320)
  • popover: 增加自定义样式支持 ( (26bbe53), closes
  • PickerView: 引入 PickerModule 和 LocaleProviderModule (#141 ()
  • popover: 增加是否使用组件内部的点击自动关闭 opover (#130 ()

0.9.9 (2018-11-27)

Bug Fixes

  • locale-provider: 让 locale-provider 跨模块生效; (#113 ()
  • picker: 引入 OverlayModule (#111 ()
  • grid: 修复item数超过数量会出错的bug (#119 ()

Features

  • locale: 增加丹麦语 locale (5361536)

0.9.7 (2018-11-14)

Bug Fixes

  • action-sheet: 修复点击item事件会响应背景点击事件 ( (b24bcbc)
  • action-sheet: 修复遗漏点击item事件 ( (1697cda)
  • badge: 修复 badge 单测错误 ( (43eb155)
  • carousel: 修复只有一个 item 时宽度不对的问题 ( (bb59fe7)
  • date-picker: 修复没有 locale 输入时报错 ( (2aa43aa)
  • input-item: 使用 ngzone.run set value ( (ed2b243)
  • LocaleProvider: 导出 LOCAL_PROVIDER_TOKEN ( (16922a2)
  • tabs: 修复 MacOS Safari及 iOS 9.3以下版本的显示问题 ( (ba9e43b)
  • Toast: 修复 toast 在 init 初始化时报错 ( (49d52be)
  • showcase: 更改展开代码 icon ( (8bcfda5)

Features

  • date-picker-view: 增加indicatorStyle参数 ( (e97acbd)
  • picker: 增加动态初始化方式 ( (90866df)

0.9.6 (2018-10-24)

Bug Fixes

  • carousel: 触摸响应时禁止冒泡传递( (c44ba59)
  • carousel: 当vertical:false时修复走马灯无宽度问题( (8dd703f)
  • carousel: 只有2页幻灯片时修复 mousemove 问题 ( (bc02951)
  • icon: 修复 icon 的 line-height ( (#47 ()
  • pulltorefresh: 修复 drag up touch 问题 (#51 ()
  • textarea: 修复 textarea-item test case 错误 (#50 ()
  • showcase: 替换正确的钉钉QR码 (#74 ()

0.9.5 (2018-10-15)

Bug Fixes

  • codebox: 修复英文网站中弹出代码框显示中文“返回“bug (#35 ()
  • codebox: 修复StackBliz中的问题 (#41 ()
  • package.json: 取消Package Json的版本号 (#27 ()
  • popover: 为 PopoverOptions 加入providers (#30 ()
  • textarea: 修复textarea test case错误 (#36 ()
  • package.json: 修复npm run start在windows中无法运行的错误 (#42 ()
  • tabs: 修复swipeable为false时useOnPan依然生效的问题 (#43 ()

Features

  • nav-bar: 增加 icon string类型支持 (#38 ()

Docs

  • README: 在README中增加更多的状态指示 (#44 ()

0.9.4 (2018-10-10)

Bug Fixes

  • button: 修复Button带自定义icon显示问题(a3c6150)
  • ci: 修复ci node版本号 ()
  • components: 改变Subject引用方式 (88864ab)
  • date-picker: 修复iOS上无效日期问题 ()
  • demo: 修复展开代码不可见问题 (6d65ebb)
  • pulltorefresh: 修复下拉刷新的Demo ()
  • input-item: 修复custom-keyboard无法隐藏问题 (#21 ()
  • carousel: 修复走马灯最后一页偶现白屏问题 (2c5cd92)
  • tabs: 修复TabBar与Tabs混用导致第一次加载时Tabs高亮下划线无法正常渲染问题 ( (6502082)
  • steps: 更新setTimeout时间 ()
  • ci: 更新ci的配置 (0b178c4)
  • list-item: 移除className依赖 ( (e0850f6)
  • modal: 增加Modal测试 ( (7c59b61)
  • template: 增加issue和PR模板 ()

NG-ZORRO 组件库从设计初期就包含了桌面端与无线端两套。

从 2016 年下半年开始,阿里巴巴集团数据技术及产品部无线团队就开始基于 Ant Design Mobile 设计规范进行 Angular 2 代及以上的无线组件研发,并应用在了数据无线业务中。

在 2017 年下半年,Ant Design Mobile React 版本开始进行 2.x 重构。为了保持与 React 版本同步,NG-ZORRO-MOBILE 中止了对标 Ant Design Mobile 1.x 的工作,开始整体组件重构对标 React 2.x 版本。

现在 NG-ZORRO-MOBILE 已完成了与 Ant Design Mobile 2.x 45 个组件的同步工作,基于最新的 Angular ^6.0.0RxJS ^6.0.0 构建,与 @angular/cli 进行了深度整合。同时我们与 NG-ZORRO DESKTOP 组件库共享文档和官网构建系统,保持风格统一。

undefined