Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit 853b2ff

Browse files
authored
Merge pull request #12 from hapinessjs/next
release(version): v6.4.0
2 parents bfe6b8d + 54b8c56 commit 853b2ff

File tree

6 files changed

+168
-297
lines changed

6 files changed

+168
-297
lines changed

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hapiness/ng-elements-loader-cli",
3-
"version": "6.3.2",
3+
"version": "6.4.0",
44
"description": "Angular CLI project to manage @hapiness/ng-elements-loader and @hapiness/custom-elements-loader projects",
55
"scripts": {
66
"build:ng": "ng build 'ng-elements-loader' --prod",
@@ -46,35 +46,35 @@
4646
"url": "https://github.com/hapinessjs/ng-elements-loader/issues"
4747
},
4848
"dependencies": {
49-
"@angular/common": "^6.0.9",
50-
"@angular/core": "^6.0.9",
51-
"@angular/compiler": "^6.0.9",
52-
"@angular/animations": "^6.0.9",
53-
"@angular/elements": "^6.0.9",
54-
"@angular/platform-browser": "^6.0.9",
55-
"@angular/platform-browser-dynamic": "^6.0.9",
49+
"@angular/common": "^6.1.0",
50+
"@angular/core": "^6.1.0",
51+
"@angular/compiler": "^6.1.0",
52+
"@angular/animations": "^6.1.0",
53+
"@angular/elements": "^6.1.0",
54+
"@angular/platform-browser": "^6.1.0",
55+
"@angular/platform-browser-dynamic": "^6.1.0",
5656
"core-js": "^2.5.7",
5757
"document-register-element": "~1.8.1",
5858
"rxjs": "^6.2.2",
5959
"zone.js": "^0.8.26"
6060
},
6161
"devDependencies": {
62-
"@angular/compiler-cli": "^6.0.9",
63-
"@angular-devkit/build-ng-packagr": "~0.7.0-rc.3",
64-
"@angular-devkit/build-angular": "~0.7.0-rc.3",
65-
"ng-packagr": "^3.0.3",
62+
"@angular/compiler-cli": "^6.1.0",
63+
"@angular-devkit/build-ng-packagr": "~0.7.0",
64+
"@angular-devkit/build-angular": "~0.7.0",
65+
"ng-packagr": "^3.0.6",
6666
"tsickle": "^0.32.0",
6767
"tslib": "^1.9.3",
68-
"typescript": "~2.7.2",
69-
"@angular/cli": "^6.0.8",
70-
"@angular/language-service": "^6.0.9",
68+
"typescript": "~2.9.2",
69+
"@angular/cli": "^6.1.0",
70+
"@angular/language-service": "^6.1.0",
7171
"@types/jasmine": "~2.8.8",
7272
"@types/jasminewd2": "~2.0.3",
73-
"@types/node": "~10.5.2",
73+
"@types/node": "~10.5.3",
7474
"codelyzer": "~4.4.2",
7575
"jasmine-core": "~3.1.0",
7676
"jasmine-spec-reporter": "~4.2.1",
77-
"karma": "~2.0.4",
77+
"karma": "~2.0.5",
7878
"karma-chrome-launcher": "~2.2.0",
7979
"karma-coverage-istanbul-reporter": "~2.0.1",
8080
"karma-jasmine": "~1.1.2",

projects/custom-elements-loader/README.md

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
6868
@Component({
6969
selector: 'made-with-love',
7070
templateUrl: './made-with-love.component.html',
71-
encapsulation: ViewEncapsulation.Native
71+
encapsulation: ViewEncapsulation.ShadowDom
7272
})
7373
export class MadeWithLoveComponent implements OnInit {
7474
private _name: string;
@@ -125,7 +125,7 @@ export class MadeWithLoveComponent implements OnInit {
125125
}
126126
```
127127

128-
**Note**: Your component **must** have encapsulation equals to `ViewEncapsulation.Native`.
128+
**Note**: Your component **must** have encapsulation equals to `ViewEncapsulation.ShadowDom` if you want to have [shadowdomv1](https://developers.google.com/web/fundamentals/web-components/shadowdom) support else you can delete this line to have original support.
129129

130130
**projects/made-with-love/src/lib/made-with-love.component.html**:
131131

@@ -183,7 +183,7 @@ The minimum `package.json` file for your module is described below:
183183
"name": "made-with-love",
184184
"version": "1.0.0",
185185
"peerDependencies": {
186-
"@hapiness/custom-elements-loader": "^6.3.2"
186+
"@hapiness/custom-elements-loader": "^6.4.0"
187187
}
188188
}
189189
```
@@ -327,7 +327,7 @@ import { Component, EventEmitter, OnInit, Output, ViewEncapsulation } from '@ang
327327
selector: 'hello-world',
328328
templateUrl: './hello-world.component.html',
329329
styleUrls: ['./hello-world.component.scss'],
330-
encapsulation: ViewEncapsulation.Native
330+
encapsulation: ViewEncapsulation.ShadowDom
331331
})
332332
export class HelloWorldComponent implements OnInit {
333333
private _sayHello$: EventEmitter<string>;
@@ -408,36 +408,8 @@ document.querySelector('hello-world').addEventListener('sayHello', (event: any)
408408
[Back to top](#installation)
409409

410410
## Change History
411-
* v6.3.2 (2018-07-19)
412-
* Latest packages' versions
413-
* Documentation
414-
* v6.3.1 (2018-06-20)
415-
* Delete `ShadowDomV1Renderer` factory because not compatible with multi-components
416-
* v6.3.0 (2018-06-20)
417-
* Use `ShadowDomV1Renderer` factory from `@hapiness/ng-shadow-dom-renderer` to fix angular issue [#24397](https://github.com/angular/angular/issues/24397)
418-
* Latest packages' versions
419-
* Documentation
420-
* v6.1.1 (2018-06-12)
421-
* Downgrade `document-register-element` to `v1.8.1` to fix angular issue [#24390](https://github.com/angular/angular/issues/24390)
422-
* Latest packages' versions
423-
* Documentation
424-
* v6.1.0 (2018-06-04)
425-
* Expose `BrowserAnimationsModule` instead of `BrowserModule` to support module with animations.
426-
* Fix configuration in `ng-package*.json`
427-
* Latest packages' versions
428-
* Documentation
429-
* v6.0.3 (2018-05-25)
430-
* `Angular v6.0.3+`
431-
* Documentation
432-
* v6.0.2 (2018-05-13)
433-
* Delete barrels
434-
* Documentation
435-
* v6.0.1 (2018-05-11)
436-
* `Angular v6.0.1+`
437-
* Documentation
438-
* v6.0.0 (2018-05-07)
439-
* `Angular v6.0.0+`
440-
* Implementation of `ElementsLoader` factory
411+
* v6.4.0 (2018-07-26)
412+
* `Angular v6.1.0+`
441413
* Documentation
442414

443415
[Back to top](#installation)

projects/custom-elements-loader/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hapiness/custom-elements-loader",
3-
"version": "6.3.2",
3+
"version": "6.4.0",
44
"description": "Factory to load Angular Custom Elements inside JavaScript's applications like React.js, Vue.js or just standalone",
55
"private": false,
66
"repository": {
@@ -42,14 +42,14 @@
4242
"url": "https://github.com/hapinessjs/ng-elements-loader/issues"
4343
},
4444
"dependencies": {
45-
"@angular/animations": "^6.0.9",
46-
"@angular/common": "^6.0.9",
47-
"@angular/core": "^6.0.9",
48-
"@angular/compiler": "^6.0.9",
49-
"@angular/elements": "^6.0.9",
50-
"@angular/platform-browser": "^6.0.9",
51-
"@angular/platform-browser-dynamic": "^6.0.9",
52-
"@hapiness/ng-elements-loader": "^6.3.2",
45+
"@angular/animations": "^6.1.0",
46+
"@angular/common": "^6.1.0",
47+
"@angular/core": "^6.1.0",
48+
"@angular/compiler": "^6.1.0",
49+
"@angular/elements": "^6.1.0",
50+
"@angular/platform-browser": "^6.1.0",
51+
"@angular/platform-browser-dynamic": "^6.1.0",
52+
"@hapiness/ng-elements-loader": "^6.4.0",
5353
"core-js": "^2.5.7",
5454
"document-register-element": "~1.8.1",
5555
"rxjs": "^6.2.2",

projects/ng-elements-loader/README.md

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
This module exposes an `Angular's` service to load easily [custom elements](https://angular.io/guide/elements) in your `Angular` application.
3434

35-
We support `Angular` version `6+`.
35+
We support `Angular` version `6.1.0+`.
3636

3737
## Installation
3838

@@ -68,7 +68,7 @@ import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
6868
@Component({
6969
selector: 'made-with-love',
7070
templateUrl: './made-with-love.component.html',
71-
encapsulation: ViewEncapsulation.Native
71+
encapsulation: ViewEncapsulation.ShadowDom
7272
})
7373
export class MadeWithLoveComponent implements OnInit {
7474
private _name: string;
@@ -125,7 +125,7 @@ export class MadeWithLoveComponent implements OnInit {
125125
}
126126
```
127127

128-
**Note**: Your component **must** have encapsulation equals to `ViewEncapsulation.Native`.
128+
**Note**: Your component **must** have encapsulation equals to `ViewEncapsulation.ShadowDom` if you want to have [shadowdomv1](https://developers.google.com/web/fundamentals/web-components/shadowdom) support else you can delete this line to have original support.
129129

130130
**projects/made-with-love/src/lib/made-with-love.component.html**:
131131

@@ -183,8 +183,8 @@ The minimum `package.json` file for your module is described below:
183183
"name": "made-with-love",
184184
"version": "1.0.0",
185185
"peerDependencies": {
186-
"@angular/common": "^6.0.9",
187-
"@angular/core": "^6.0.9",
186+
"@angular/common": "^6.1.0",
187+
"@angular/core": "^6.1.0",
188188
"@hapiness/ng-elements-loader": "^6.4.0"
189189
}
190190
}
@@ -323,7 +323,7 @@ import { Component, EventEmitter, OnInit, Output, ViewEncapsulation } from '@ang
323323
selector: 'hello-world',
324324
templateUrl: './hello-world.component.html',
325325
styleUrls: ['./hello-world.component.scss'],
326-
encapsulation: ViewEncapsulation.Native
326+
encapsulation: ViewEncapsulation.ShadowDom
327327
})
328328
export class HelloWorldComponent implements OnInit {
329329
private _sayHello$: EventEmitter<string>;
@@ -406,29 +406,8 @@ this._rd.listen(element, 'sayHello', (event: any) => this.alertHello(event.detai
406406
[Back to top](#installation)
407407

408408
## Change History
409-
* v6.3.2 (2018-07-19)
410-
* Latest packages' versions
411-
* Documentation
412-
* v6.1.1 (2018-06-12)
413-
* Downgrade `document-register-element` to `v1.8.1` to fix angular issue [#24390](https://github.com/angular/angular/issues/24390)
414-
* Latest packages' versions
415-
* Documentation
416-
* v6.1.0 (2018-06-04)
417-
* Fix configuration in `ng-package*.json`
418-
* Latest packages' versions
419-
* Documentation
420-
* v6.0.3 (2018-05-25)
421-
* `Angular v6.0.3+`
422-
* Documentation
423-
* v6.0.2 (2018-05-13)
424-
* Delete barrels for `universal` rendering
425-
* Documentation
426-
* v6.0.1 (2018-05-11)
427-
* `Angular v6.0.1+`
428-
* Documentation
429-
* v6.0.0 (2018-05-07)
430-
* `Angular v6.0.0+`
431-
* Implementation of `ElementsLoaderService`
409+
* v6.4.0 (2018-07-26)
410+
* `Angular v6.1.0+`
432411
* Documentation
433412

434413
[Back to top](#installation)

projects/ng-elements-loader/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hapiness/ng-elements-loader",
3-
"version": "6.3.2",
3+
"version": "6.4.0",
44
"description": "Service to load Angular Custom Elements inside Angular's applications",
55
"private": false,
66
"repository": {
@@ -39,12 +39,12 @@
3939
"url": "https://github.com/hapinessjs/ng-elements-loader/issues"
4040
},
4141
"peerDependencies": {
42-
"@angular/common": "^6.0.9",
43-
"@angular/core": "^6.0.9",
44-
"@angular/compiler": "^6.0.9",
45-
"@angular/elements": "^6.0.9",
46-
"@angular/platform-browser": "^6.0.9",
47-
"@angular/platform-browser-dynamic": "^6.0.9",
42+
"@angular/common": "^6.1.0",
43+
"@angular/core": "^6.1.0",
44+
"@angular/compiler": "^6.1.0",
45+
"@angular/elements": "^6.1.0",
46+
"@angular/platform-browser": "^6.1.0",
47+
"@angular/platform-browser-dynamic": "^6.1.0",
4848
"core-js": "^2.5.7",
4949
"document-register-element": "~1.8.1",
5050
"rxjs": "^6.2.2",

0 commit comments

Comments
 (0)