-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refactor_for_angular9'
# Conflicts: # README.md # package.json # src/index.ts # src/lib/ngx-image-zoom.component.ts
- Loading branch information
Showing
30 changed files
with
14,735 additions
and
791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,30 @@ | ||
# Node | ||
node_modules/* | ||
npm-debug.log | ||
|
||
# TypeScript | ||
src/*.js | ||
src/*.map | ||
src/*.d.ts | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# JetBrains | ||
.idea | ||
.project | ||
.settings | ||
.idea/* | ||
*.iml | ||
# compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
|
||
# Windows | ||
Thumbs.db | ||
Desktop.ini | ||
# dependencies | ||
/node_modules | ||
|
||
# Ngc generated files | ||
**/*.ngfactory.ts | ||
# profiling files | ||
chrome-profiler-events*.json | ||
speed-measure-plugin*.json | ||
|
||
# Build files | ||
dist/* | ||
.tmp/* | ||
# IDEs and editors | ||
/.idea | ||
|
||
# Playground tmp files | ||
.playground | ||
playground/* | ||
# misc | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
yarn-error.log | ||
testem.log | ||
/typings | ||
|
||
# Probably not needed either | ||
.travis.yml | ||
.yo-rc.json | ||
bs-config.json | ||
package-lock.json | ||
# System Files | ||
.DS_Store | ||
Thumbs.db |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<a name="0.5.0"></a> | ||
# 0.5.0 | ||
|
||
### Breaking changes | ||
* To comply with recommendaing naming conventions the follow name changes have been done: | ||
* Changed tag name from *ngx-image-zoom* to *lib-ngx-image-zoom* ([style 02-07](https://angular.io/guide/styleguide#style-02-07)) | ||
* Changed output *onZoomScroll* to *zoomScroll* ([style 05-16](https://angular.io/guide/styleguide#style-05-16)) | ||
* Changed output *onZoomPosition* to *zoomPosition* ([style 05-16](https://angular.io/guide/styleguide#style-05-16)) | ||
* With the upgrade *.forRoot()* is no longer needed when importing the NgxImageZoomModule in your project. | ||
|
||
### Features | ||
* Completely redid the library wrapping for Angular 9 support. | ||
* Library is now in Angular Package Format for better compatibility. | ||
* Added a new input scrollParentSelector to further control zooming in complex layouts. | ||
|
||
### Bugfixes | ||
* Clean up event listeners when component is destroyed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "./", | ||
"projects": { | ||
"ngx-image-zoom": { | ||
"projectType": "library", | ||
"root": "./", | ||
"sourceRoot": "src", | ||
"prefix": "lib", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-ng-packagr:build", | ||
"options": { | ||
"tsConfig": "tsconfig.lib.json", | ||
"project": "ng-package.json" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"tsConfig": "tsconfig.lib.prod.json" | ||
} | ||
} | ||
}, | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"main": "src/test.ts", | ||
"tsConfig": "tsconfig.spec.json", | ||
"karmaConfig": "karma.conf.js" | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"tsconfig.lib.json", | ||
"tsconfig.spec.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
}}, | ||
"defaultProject": "ngx-image-zoom" | ||
} |
Oops, something went wrong.