diff --git a/README-zh_CN.md b/README-zh_CN.md index 36f9466b..048c966b 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -38,7 +38,7 @@ ## Angular 支持 -现在支持 Angular `^15.0.0`. +现在支持 Angular `^16.0.0`. ## 安装 diff --git a/README.md b/README.md index 52a84969..82551021 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ This is the **Angular** implementation of **Ant Design Mobile** specification, s ## Angular Support -Now Supports Angular `^15.0.0`. +Now Supports Angular `^16.0.0`. ## Installation diff --git a/components/core/util/position.ts b/components/core/util/position.ts index b001823f..3c5634e5 100644 --- a/components/core/util/position.ts +++ b/components/core/util/position.ts @@ -37,7 +37,7 @@ export function getPosition(element) { let elPosition; let parentOffset = { width: 0, height: 0, top: 0, bottom: 0, left: 0, right: 0 }; if (getStyle(element, 'position') === 'fixed') { - elPosition = element.getBoundingClientRect(); + elPosition = { ...element.getBoundingClientRect() }; } else { let offsetParentEl = getOffsetParent(element); elPosition = getOffset(element); diff --git a/components/package.json b/components/package.json index 8c602eba..022f4f1c 100644 --- a/components/package.json +++ b/components/package.json @@ -1,6 +1,6 @@ { "name": "ng-zorro-antd-mobile", - "version": "8.0.0", + "version": "9.0.0", "description": "An enterprise-class mobile UI components based on Ant Design and Angular", "schematics": "./schematics/collection.json", "keywords": [ @@ -22,26 +22,26 @@ "url": "https://github.com/NG-ZORRO/ng-zorro-antd-mobile/issues" }, "dependencies": { - "@angular/animations": "^15.0.3", - "@angular/cdk": "^15.0.2", - "@angular/common": "^15.0.3", - "@angular/compiler": "^15.0.3", - "@angular/core": "^15.0.3", - "@angular/forms": "^15.0.3", - "@angular/platform-browser": "^15.0.3", - "@angular/platform-browser-dynamic": "^15.0.3", - "@angular/router": "^15.0.3", - "@ant-design/icons-angular": "^15.0.0" + "@angular/animations": "^16.0.0", + "@angular/cdk": "^16.0.0", + "@angular/common": "^16.0.0", + "@angular/compiler": "^16.0.0", + "@angular/core": "^16.0.0", + "@angular/forms": "^16.0.0", + "@angular/platform-browser": "^16.0.0", + "@angular/platform-browser-dynamic": "^16.0.0", + "@angular/router": "^16.0.0", + "@ant-design/icons-angular": "^16.0.0" }, "devDependencies": { - "@angular/upgrade": "^15.0.3", - "@angular-devkit/build-angular": "^15.0.3", - "@angular/cli": "^15.0.3", - "@angular/compiler-cli": "^15.0.3", - "@angular/platform-server": "^15.0.3", + "@angular/upgrade": "^16.0.0", + "@angular-devkit/build-angular": "^16.0.0", + "@angular/cli": "^16.0.0", + "@angular/compiler-cli": "^16.0.0", + "@angular/platform-server": "^16.0.0", "tslib": "^2.4.1", "tslint": "~6.1.3", - "typescript": "~4.8.4" + "typescript": "~5.0.4" }, "lint-staged": { "{src,docs}/**/*.{scss}": [ diff --git a/docs/introduce.en-US.md b/docs/introduce.en-US.md index fcf4b9b1..152d8255 100755 --- a/docs/introduce.en-US.md +++ b/docs/introduce.en-US.md @@ -133,7 +133,7 @@ This is the **Angular** implementation of **Ant Design Mobile** specification, s ## Angular Support -Now Supports Angular `^15.0.0`. +Now Supports Angular `^16.0.0`. ## Installation diff --git a/docs/introduce.zh-CN.md b/docs/introduce.zh-CN.md index e0e704a8..f4420587 100755 --- a/docs/introduce.zh-CN.md +++ b/docs/introduce.zh-CN.md @@ -133,7 +133,7 @@ title: Ant Design Mobile of Angular