Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Commit 6454d84

Browse files
author
Miller
committed
update to 6.1.0
1 parent 74f9724 commit 6454d84

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

angular.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,7 @@
2323
"src/assets"
2424
],
2525
"styles": [
26-
"src/styles.css",
27-
"src/assets/css/bootstrap.min.css",
28-
"src/assets/css/busy.css",
29-
"src/assets/css/desert.css",
30-
"src/assets/css/doxy.css",
31-
"src/assets/css/prettify.css",
32-
"src/assets/css/sunburst.css",
33-
"src/assets/css/sons-of-obsidian.css"
26+
"src/styles.css"
3427
],
3528
"scripts": [
3629
"node_modules/code-prettify/loader/prettify.js"

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,28 @@
33
"version": "0.0.0",
44
"scripts": {
55
"ng": "ng",
6-
"start": "ng serve",
6+
"start": "ng build ng-busy && ng serve",
77
"build": "ng build",
88
"test": "ng test",
99
"lint": "ng lint",
1010
"e2e": "ng e2e"
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular/animations": "^6.0.0",
14+
"@angular/animations": "^6.1.4",
15+
"@angular/cdk": "^6.4.6",
1516
"@angular/common": "^6.0.0",
1617
"@angular/compiler": "^6.0.0",
1718
"@angular/core": "^6.0.0",
1819
"@angular/forms": "^6.0.0",
1920
"@angular/http": "^6.0.0",
21+
"@angular/material": "^6.4.6",
2022
"@angular/platform-browser": "^6.0.0",
2123
"@angular/platform-browser-dynamic": "^6.0.0",
2224
"@angular/router": "^6.0.0",
2325
"code-prettify": "^0.1.0",
2426
"core-js": "^2.5.4",
25-
"rxjs": "^6.0.0",
27+
"rxjs": "6.2.2",
2628
"zone.js": "^0.8.26"
2729
},
2830
"devDependencies": {
@@ -32,8 +34,8 @@
3234
"ng-packagr": "^3.0.0-rc.2",
3335
"tsickle": ">=0.25.5",
3436
"tslib": "^1.7.1",
35-
"typescript": "~2.7.2",
36-
"@angular/cli": "~6.0.0",
37+
"typescript": "~2.9.2",
38+
"@angular/cli": "6.1.5",
3739
"@angular/language-service": "^6.0.0",
3840
"@types/jasmine": "~2.8.6",
3941
"@types/jasminewd2": "~2.0.3",
@@ -50,4 +52,4 @@
5052
"ts-node": "~5.0.1",
5153
"tslint": "~5.9.1"
5254
}
53-
}
55+
}

projects/ng-busy/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ In other words, you may use flexible syntax:
134134
| template | Optional | A default template component | The template can be a template or a component. If provided, the custom template will be shown in place of the default indicatory template. The scope can be augmented with a `{{message}}` field containing the indicator message text. |
135135
| delay | Optional | 0 | The amount of time to wait until showing the indicator. Specified in milliseconds.
136136
| minDuration | Optional | 0 | The amount of time to keep the indicator showing even if the busy thing was completed quicker. Specified in milliseconds.|
137+
| disableAnimation | Optional | false | Disable the animation when the spinner appear |
137138
| wrapperClass | Optional | 'ng-busy' | The name(s) of the CSS classes to be applied to the wrapper element of the indicator. |
138139

139140

@@ -197,7 +198,12 @@ export class AppModule
197198
`,
198199
})
199200
export class CustomBusyComponent {
200-
constructor(@Inject('message')public message: string) {};
201+
constructor(@Inject('instanceConfigHolder') private instanceConfigHolder: InstanceConfigHolderService) {
202+
}
203+
204+
get message() {
205+
return this.instanceConfigHolder.config.message;
206+
}
201207
}
202208
```
203209

projects/ng-busy/ng-package.prod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3-
"dest": "../../dist/lib",
3+
"dest": "../../dist/ng-busy",
44
"lib": {
55
"entryFile": "src/public_api.ts"
66
},

projects/ng-busy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ng-busy",
3-
"version": "6.0.1-alpha1",
3+
"version": "6.1.0",
44
"description": "Show busy/loading indicators on any promise or subscription",
55
"author": "victos",
66
"license": "MIT",

0 commit comments

Comments
 (0)