Skip to content

Commit 0bfbdef

Browse files
committed
feat: update package to angular v11
1 parent bc3a66c commit 0bfbdef

File tree

24 files changed

+131
-110
lines changed

24 files changed

+131
-110
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "miscellaneous",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"author": "craftsjs",
55
"description": "Material alert library for angular",
66
"license": "MIT",
@@ -30,10 +30,10 @@
3030
"@ngrx/store": "^10.1.2",
3131
"@ngx-translate/core": "^13.0.0",
3232
"perfect-scrollbar": "^1.5.0",
33-
"rxjs": "~6.5.4",
33+
"rxjs": "~6.6.3",
3434
"scss-bundle": "^3.1.1",
3535
"tslib": "^2.0.0",
36-
"zone.js": "~0.10.2"
36+
"zone.js": "0.11.3"
3737
},
3838
"devDependencies": {
3939
"@angular-devkit/build-angular": "^0.1100.6",
@@ -74,4 +74,4 @@
7474
"modal",
7575
"notifier"
7676
]
77-
}
77+
}

projects/craftsjs/alert/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Choose the version corresponding to your Angular version:
1313

1414
| Angular | @craftsjs/alert |
1515
| ------- | --------------- |
16+
| 11 | 2.x |
1617
| 10 | 1.x |
1718

1819
```
@@ -138,4 +139,4 @@ body.theme-default{
138139

139140
```html
140141
<body class="theme-default"></body>
141-
```
142+
```

projects/craftsjs/alert/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "@craftsjs/alert",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"author": "craftsjs",
55
"description": "Material alert library for angular",
66
"license": "MIT",
77
"homepage": "https://github.com/addapptables/angular-miscellaneous",
88
"peerDependencies": {
9-
"@angular/common": ">= 10.0.0 < 11.0.0",
10-
"@angular/core": ">= 10.0.0 < 11.0.0",
11-
"@angular/material": ">= 10.0.0 < 11.0.0",
12-
"@angular/cdk": ">= 10.0.0 < 11.0.0",
13-
"@angular/animations": ">= 10.0.0 < 11.0.0",
9+
"@angular/common": ">= 11.0.0 < 12.0.0",
10+
"@angular/core": ">= 11.0.0 < 12.0.0",
11+
"@angular/material": ">= 11.0.0 < 12.0.0",
12+
"@angular/cdk": ">= 11.0.0 < 12.0.0",
13+
"@angular/animations": ">= 11.0.0 < 12.0.0",
1414
"@ngx-translate/core": ">= 13.0.0 < 14.0.0",
15-
"@craftsjs/core": ">=1.0.0 < 2.0.0"
15+
"@craftsjs/core": ">=2.0.0 < 3.0.0"
1616
},
1717
"repository": {
1818
"type": "git",
@@ -32,4 +32,4 @@
3232
"dependencies": {
3333
"tslib": "^2.0.0"
3434
}
35-
}
35+
}

projects/craftsjs/card/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Choose the version corresponding to your Angular version:
1313

1414
Angular | @craftsjs/card
1515
----------- | -------------------
16-
10 | 1.x
16+
11 | 2.x
17+
10 | 1.x
1718

1819
```
1920
npm i @craftsjs/card --S
@@ -108,4 +109,4 @@ body.theme-default {
108109

109110
```html
110111
<body class="theme-default"></body>
111-
```
112+
```

projects/craftsjs/card/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "@craftsjs/card",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"author": "Craftsjs",
55
"description": "Material card library for angular",
66
"license": "MIT",
77
"homepage": "https://github.com/addapptables/angular-miscellaneous",
88
"peerDependencies": {
9-
"@angular/common": ">= 10.0.0 < 11.0.0",
10-
"@angular/core": ">= 10.0.0 < 11.0.0",
11-
"@angular/animations": ">= 10.0.0 < 11.0.0",
12-
"@angular/material": ">= 10.0.0 < 11.0.0",
13-
"@angular/cdk": ">= 10.0.0 < 11.0.0"
9+
"@angular/common": ">= 11.0.0 < 12.0.0",
10+
"@angular/core": ">= 11.0.0 < 12.0.0",
11+
"@angular/animations": ">= 11.0.0 < 12.0.0",
12+
"@angular/material": ">= 11.0.0 < 12.0.0",
13+
"@angular/cdk": ">= 11.0.0 < 12.0.0"
1414
},
1515
"repository": {
1616
"type": "git",
@@ -28,4 +28,4 @@
2828
"dependencies": {
2929
"tslib": "^2.0.0"
3030
}
31-
}
31+
}

projects/craftsjs/core/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Choose the version corresponding to your Angular version:
99

1010
Angular | @addapptables/core
1111
----------- | -------------------
12+
11 | 2.x
1213
10 | 1.x
1314

1415
```
@@ -19,4 +20,4 @@ npm i @crafsjs/core --S
1920

2021
```scss
2122
@import '~@crafsjs/core/crafsjs-grid.theme';
22-
```
23+
```

projects/craftsjs/core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@craftsjs/core",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"author": "Craftsjs",
55
"description": "Craftsjs core library for angular",
66
"license": "MIT",
77
"homepage": "https://github.com/addapptables/angular-miscellaneous",
88
"peerDependencies": {
9-
"@angular/common": ">= 10.0.0 < 11.0.0",
10-
"@angular/core": ">= 10.0.0 < 11.0.0"
9+
"@angular/common": ">= 11.0.0 < 12.0.0",
10+
"@angular/core": ">= 11.0.0 < 12.0.0"
1111
},
1212
"repository": {
1313
"type": "git",
@@ -24,4 +24,4 @@
2424
"dependencies": {
2525
"tslib": "^2.0.0"
2626
}
27-
}
27+
}

projects/craftsjs/menu-admin/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Choose the version corresponding to your Angular version:
1313

1414
| Angular | @craftsjs/menu-admin |
1515
| ------- | -------------------- |
16+
| 11 | 2.x |
1617
| 10 | 1.x |
1718

1819
```

projects/craftsjs/menu-admin/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "@craftsjs/menu-admin",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"author": "craftsjs",
55
"description": "Material menu library for angular",
66
"license": "MIT",
77
"homepage": "https://github.com/addapptables/angular-miscellaneous",
88
"peerDependencies": {
9-
"@angular/common": ">= 10.0.0 < 11.0.0",
10-
"@angular/core": ">= 10.0.0 < 11.0.0",
11-
"@angular/router": ">= 10.0.0 < 11.0.0",
12-
"@angular/material": ">= 10.0.0 < 11.0.0",
13-
"@angular/cdk": ">= 10.0.0 < 11.0.0",
9+
"@angular/common": ">= 11.0.0 < 12.0.0",
10+
"@angular/core": ">= 11.0.0 < 12.0.0",
11+
"@angular/router": ">= 11.0.0 < 12.0.0",
12+
"@angular/material": ">= 11.0.0 < 12.0.0",
13+
"@angular/cdk": ">= 11.0.0 < 12.0.0",
1414
"@ngx-translate/core": ">= 13.0.0 < 14.0.0",
15-
"@ngrx/store": ">= 10.0.0 < 11.0.0",
16-
"@craftsjs/core": ">=1.0.0 < 2.0.0",
17-
"@craftsjs/ngrx-action": ">=1.0.0 < 2.0.0",
18-
"@craftsjs/perfect-scrollbar": ">=1.0.0 < 2.0.0"
15+
"@ngrx/store": ">= 10.0.0 < 12.0.0",
16+
"@craftsjs/core": ">=2.0.0 < 3.0.0",
17+
"@craftsjs/ngrx-action": ">=2.0.0 < 3.0.0",
18+
"@craftsjs/perfect-scrollbar": ">=2.0.0 < 3.0.0"
1919
},
2020
"repository": {
2121
"type": "git",
@@ -37,4 +37,4 @@
3737
"dependencies": {
3838
"tslib": "^2.0.0"
3939
}
40-
}
40+
}

projects/craftsjs/menu-admin/src/lib/_craftsjs-menu.theme.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
$primary: map-get($theme, primary);
1010
$foreground: map-get($theme, foreground);
1111
.menu {
12+
a {
13+
text-decoration: none;
14+
color: white;
15+
display: flex;
16+
}
1217
color: map-get($variables, text);
1318
width: 300px;
1419
background-color: mat-color($primary, 1);
@@ -192,4 +197,4 @@
192197
}
193198
}
194199
@include menu-children();
195-
}
200+
}

0 commit comments

Comments
 (0)