Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release(0.5.0-rc.3): pre-release 0.5.0-rc.3 #166

Merged
merged 1 commit into from
Aug 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ before_script:
- npm install -g @angular/cli
- npm install -g karma
- npm install
- ng build --prod
- ng build

script:
- npm run test
Expand Down
2 changes: 1 addition & 1 deletion README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# NG-ZORRO
[![Build Status](https://travis-ci.org/NG-ZORRO/ng-zorro-antd.svg?branch=master)](https://travis-ci.org/NG-ZORRO/ng-zorro-antd)
[![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
[![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg)](https://www.npmjs.org/package/ng-zorro-antd)
[![Gitter](https://badges.gitter.im/ng-zorro/ng-zorro-antd.svg)](https://gitter.im/ng-zorro/ng-zorro-antd?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

这里是 Ant Design 的 Angular 4.0 实现,开发和服务于企业级后台产品。
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# NG-ZORRO
[![Build Status](https://travis-ci.org/NG-ZORRO/ng-zorro-antd.svg?branch=master)](https://travis-ci.org/NG-ZORRO/ng-zorro-antd)
[![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
[![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg)](https://www.npmjs.org/package/ng-zorro-antd)
[![Gitter](https://badges.gitter.im/ng-zorro/ng-zorro-antd.svg)](https://gitter.im/ng-zorro/ng-zorro-antd?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

An enterprise-class UI components based on Ant Design and Angular.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-zorro-antd",
"version": "0.5.0-rc.2",
"version": "0.5.0-rc.3",
"license": "MIT",
"description": "An enterprise-class UI components based on Ant Design and Angular",
"scripts": {
Expand Down
20 changes: 15 additions & 5 deletions src/showcase/nz-demo-icon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,21 @@

## 本地部署

图标默认托管在 [iconfont.cn](http://iconfont.cn),默认公网可访问。如需本地部署,可以下载<a href="./assets/download/fonts.zip">iconfont</a>文件,解压后放在 `assets/fonts`或其他公网可访问的文件夹下,通过定义`nz-root`的 `nzExtraFontName`和 `nzExtraFontUrl`来自定义图标文件地址

```html
<nz-root [nzExtraFontName]="'anticon'" [nzExtraFontUrl]="'./assets/fonts/iconfont'">
</nz-root>
图标默认托管在 [iconfont.cn](http://iconfont.cn),默认公网可访问。如需本地部署,可以下载<a href="./assets/download/fonts.zip">iconfont</a>文件,解压后放在 `assets/fonts`或其他公网可访问的文件夹下

> `NgZorroAntdModule.forRoot()` 方法能够接受一个可选的配置对象,用于引入外部的字体文件,类型为 `{ extraFontName: string, extraFontUrl: string }`。

例如
```typescript
@NgModule({
...
imports: [
...
NgZorroAntdModule.forRoot({ extraFontName: 'anticon', extraFontUrl: './assets/fonts/iconfont' })
...
]
...
})
```
## 图标列表

Expand Down
19 changes: 19 additions & 0 deletions src/showcase/nz-intro-changelog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,25 @@

更新日志也可以在[Github](https://github.com/NG-ZORRO/ng-zorro-antd/releases)查看

## 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) [@cipchk](https://github.com/cipchk)
* 修复`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) [@cipchk](https://github.com/cipchk)
* 修复`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`

Expand Down
2 changes: 1 addition & 1 deletion src/showcase/nz-intro-getting-started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $ npm install ng-zorro-antd --save

直接用下面的代码替换 `/src/app/app.module.ts` 的内容

> **注意**:在根 module 中使用 `NgZorroAntdModule.forRoot()`,在子 module 中使用 `NgZorroAntdModule` 即可
> **注意**:在根 module 中需要使用 `NgZorroAntdModule.forRoot()`,在子 module 需要使用 `NgZorroAntdModule`

```typescript
import { BrowserModule } from '@angular/platform-browser';
Expand Down
2 changes: 1 addition & 1 deletion src/showcase/nz-intro-index/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ NG-ZORRO [![GitHub stars](https://img.shields.io/github/stars/NG-ZORRO/ng-zorro-

## 版本

- [![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
- [![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg)](https://www.npmjs.org/package/ng-zorro-antd)

## 支持环境

Expand Down