Skip to content

Commit

Permalink
release(1.0.0-rc.0): release 1.0.0-rc.0 (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisherspy committed Sep 16, 2019
1 parent abb3a0a commit fde3d82
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 25 deletions.
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# [1.0.0-rc.0](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/compare/1.0.0-beta.2...1.0.0-rc.0) (2019-09-16)

### Bug Fixes

* **carousel:** fix carousel ignore vertical event when set left or right direction ([#581](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/581)) ([abb3a0a](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/abb3a0a))

* **carousel:** fix carousel style int other content error ([#582](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/582)) ([004e4e0](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/004e4e0))

* **toast:** fix toast z-index ([#580](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/580)) ([7350600](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/7350600))

* **steps:** fix steps status icon ([#577](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/577)) ([fef7568](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/fef7568))

* **accordion:** fix accordion not automatic expand bug ([#575](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/575)) ([19b90da](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/19b90da))

* **pull-to-refresh:** fix pull-to-refresh not work bug ([#573](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/573)) ([6df7d7c](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/6df7d7c))

* **textarea-item:** fix textarea-item autoheight issues([#571](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/571)) ([5aa3149](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/5aa3149))

* **swipe-action:** fix swipe-action not work in ionic bug ([#569](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/569)) ([f2d1600](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/f2d1600))

# [1.0.0-beta.2](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/compare/1.0.0-beta.1...1.0.0-beta.2) (2019-09-05)

### Bug Fixes
Expand All @@ -8,7 +28,7 @@

* **codebox:** fix stackblitz package dependencies error ([#561](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/561)) ([61dcc28](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/61dcc28))

* **codebox:** fix copy code error error ([#560](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/560)) ([630f63c](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/630f63c))
* **codebox:** fix copy code error ([#560](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/560)) ([630f63c](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/630f63c))

* **codebox:** fix rawCode convert bug ([#558](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/558)) ([ddb89cb](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/ddb89cb))

Expand Down
2 changes: 1 addition & 1 deletion components/accordion/accordion.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class AccordionComponent implements AfterContentInit, OnDestroy, OnChange
init() {
if (this.expandAll && this.groups && this.groups.length > 0) {
this._oldGroups = this.groups.toArray();
this._oldGroups.forEach((group) => {
this._oldGroups.forEach(group => {
group.openOnInitialization();
});
this._subscription = this.groups.changes.subscribe(change => {
Expand Down
2 changes: 1 addition & 1 deletion components/accordion/demo/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Component, ViewChild, AfterViewInit, OnInit } from '@angular/core';
`
})
export class DemoAccordionBasicComponent implements OnInit {
@ViewChild('title1', {static: true}) title1: ViewChild;
@ViewChild('title1', { static: true }) title1: ViewChild;
accordions: Array<any> = [];

activeKey = [0, 1];
Expand Down
2 changes: 1 addition & 1 deletion components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-zorro-antd-mobile",
"version": "1.0.0-beta.2",
"version": "1.0.0-rc.0",
"description": "An enterprise-class mobile UI components based on Ant Design and Angular",
"schematics": "./schematics/collection.json",
"keywords": [
Expand Down
10 changes: 2 additions & 8 deletions components/pull-to-refresh/pull-to-refresh.component.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<div class="am-pull-to-refresh-content-wrapper">
<div class="am-pull-to-refresh-content" [ngClass]="transtionCls" [ngStyle]="style">
<div
*ngIf="refreshDown"
class="am-pull-to-refresh-indicator am-pull-to-refresh-header-indicator"
>
<div *ngIf="refreshDown" class="am-pull-to-refresh-indicator am-pull-to-refresh-header-indicator">
<ng-template
*ngIf="isTemplateRef(headerIndicator[state.currentState])"
[ngTemplateOutlet]="headerIndicator[state.currentState]"
Expand All @@ -27,10 +24,7 @@
}}</ng-container>
</div>
</div>
<div
*ngIf="refreshUp"
class="am-pull-to-refresh-indicator am-pull-to-refresh-footer-indicator"
>
<div *ngIf="refreshUp" class="am-pull-to-refresh-indicator am-pull-to-refresh-footer-indicator">
<ng-template
*ngIf="isTemplateRef(footerIndicator[state.currentState])"
[ngTemplateOutlet]="footerIndicator[state.currentState]"
Expand Down
5 changes: 1 addition & 4 deletions components/pull-to-refresh/pull-to-refresh.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,7 @@ export class PullToRefreshComponent implements ControlValueAccessor {
const contentOffset = evt.target.scrollTop;
this._lastContentOffset = contentOffset;
if (this._direction === '') {
if (
contentOffset > 0 &&
evt.target.scrollTop + this.ele.nativeElement.clientHeight === evt.target.scrollHeight
) {
if (contentOffset > 0 && evt.target.scrollTop + this.ele.nativeElement.clientHeight === evt.target.scrollHeight) {
setTimeout(() => {
this._endReach = true;
}, 100);
Expand Down
4 changes: 2 additions & 2 deletions components/steps/steps.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class StepsComponent implements OnInit, AfterContentInit {
@HostBinding('class.am-steps-horizontal')
clsStepsHztl: boolean;

constructor(private _elf: ElementRef, private _render: Renderer2) { }
constructor(private _elf: ElementRef, private _render: Renderer2) {}

setStepStyle() {
const itemCount = this.stepItems.length;
Expand All @@ -87,7 +87,7 @@ export class StepsComponent implements OnInit, AfterContentInit {
}
} else if (step.status && !icon) {
switch (step.status) {
case StepStatusEnum.FINISH:
case StepStatusEnum.FINISH:
icon = 'check-circle-o';
break;
case StepStatusEnum.ERROR:
Expand Down
4 changes: 2 additions & 2 deletions components/textarea-item/textarea-item.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class TextareaItemComponent implements OnInit, AfterContentChecked, Contr
this._el = element.nativeElement;
}

_onChange = (_: any) => { };
_onChange = (_: any) => {};

setCls() {
this.hasCount = this._count > 0 && this._rows > 1;
Expand Down Expand Up @@ -302,7 +302,7 @@ export class TextareaItemComponent implements OnInit, AfterContentChecked, Contr
this._onChange = fn;
}

registerOnTouched(fn: any): void { }
registerOnTouched(fn: any): void {}

ngOnInit() {
this.textRef.nativeElement.value = this._value;
Expand Down
22 changes: 21 additions & 1 deletion docs/changelog.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@ timeline: true
- Monthly release: minor version at the end of every month for new features.
- Major version release is not included in this schedule for breadking change and new features.

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

### Bug Fixes

* **carousel:** fix carousel ignore vertical event when set left or right direction ([#581](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/581)) ([abb3a0a](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/abb3a0a))

* **carousel:** fix carousel style int other content error ([#582](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/582)) ([004e4e0](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/004e4e0))

* **toast:** fix toast z-index ([#580](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/580)) ([7350600](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/7350600))

* **steps:** fix steps status icon ([#577](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/577)) ([fef7568](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/fef7568))

* **accordion:** fix accordion not automatic expand bug ([#575](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/575)) ([19b90da](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/19b90da))

* **pull-to-refresh:** fix pull-to-refresh not work bug ([#573](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/573)) ([6df7d7c](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/6df7d7c))

* **textarea-item:** fixe textarea-item autoheight issues([#571](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/571)) ([5aa3149](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/5aa3149))

* **swipe-action:** fix swipe-action not work in ionic bug ([#569](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/569)) ([f2d1600](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/f2d1600))

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

### Bug Fixes
Expand All @@ -23,7 +43,7 @@ timeline: true

* **codebox:** fix stackblitz package dependencies error ([#561](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/561)) ([61dcc28](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/61dcc28))

* **codebox:** fix copy code error error ([#560](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/560)) ([630f63c](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/630f63c))
* **codebox:** fix copy code error ([#560](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/560)) ([630f63c](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/630f63c))

* **codebox:** fix rawCode convert bug ([#558](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/558)) ([ddb89cb](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/ddb89cb))

Expand Down
20 changes: 20 additions & 0 deletions docs/changelog.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@ timeline: true
- 次版本号:每月发布一个带有新特性的向下兼容的版本。
- 主版本号:含有破坏性更新和新特性,不在发布周期内。

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

### Bug Fixes

* **carousel:** 当设置为左右滑动方向时忽略垂直方向的事件 ([#581](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/581)) ([abb3a0a](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/abb3a0a))

* **carousel:** 修复走马灯样式错误 ([#582](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/582)) ([004e4e0](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/004e4e0))

* **toast:** 修复 toast z-index ([#580](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/580)) ([7350600](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/7350600))

* **steps:** 修复 steps 状态icon错误 ([#577](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/577)) ([fef7568](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/fef7568))

* **accordion:** 修复 accordion 无法自动展开错误 ([#575](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/575)) ([19b90da](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/19b90da))

* **pull-to-refresh:** 修复 pull-to-refresh direction属性为空时的运行错误 ([#573](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/573)) ([6df7d7c](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/6df7d7c))

* **textarea-item:** 修复 textarea-item 自动高度错误 ([#571](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/571)) ([5aa3149](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/5aa3149))

* **swipe-action:** 修复 swipe-action 在 ionic 中无法正常运行错误 ([#569](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/pull/569)) ([f2d1600](https://github.com/NG-ZORRO/ng-zorro-antd-mobile/commit/f2d1600))

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

### Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions scripts/site/_site/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ export class AppComponent implements OnInit, AfterViewInit {
docsearch = null;
kitchenUrl = window.location.origin + '/#/kitchen-sink?lang=zh-CN';
language = 'zh';
versionList = ['0.12.x', '1.0.0-beta.0', '1.0.0-beta.2'];
versionMap = {'0.12.x': '0.12.5', '1.0.0-beta.0': '1.0.00', '1.0.0-beta.2': '1.0.07'};
currentVersion = '1.0.0-beta.2';
versionList = ['0.12.x', '1.0.0-beta.0', '1.0.0-beta.2', '1.0.0-rc.0'];
versionMap = {'0.12.x': '0.12.5', '1.0.0-beta.0': '1.0.00', '1.0.0-beta.2': '1.0.07', '1.0.0-rc.0': '1.0.08'};
currentVersion = '1.0.0-rc.0';
isHomeURL = true;
isKitchenURL = false;
demoTitle = '';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ export class AppModule { }
'core-js': '^2.5.4',
'rxjs': '^6.3.3',
'zone.js': '^0.9.0',
'ng-zorro-antd-mobile': '1.0.0-beta.2'
'ng-zorro-antd-mobile': '1.0.0-rc.0'
},
tags: ['stackblitz', 'sdk']
});
Expand Down

0 comments on commit fde3d82

Please sign in to comment.