ngx-skeleton-loader 7.0.0 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -334
- package/{esm2020 → esm2022}/lib/ngx-skeleton-loader-config.types.mjs +1 -1
- package/esm2022/lib/ngx-skeleton-loader.component.mjs +96 -0
- package/esm2022/lib/ngx-skeleton-loader.module.mjs +26 -0
- package/{fesm2020 → fesm2022}/ngx-skeleton-loader.mjs +12 -18
- package/fesm2022/ngx-skeleton-loader.mjs.map +1 -0
- package/lib/ngx-skeleton-loader-config.types.d.ts +1 -1
- package/lib/ngx-skeleton-loader.component.d.ts +3 -5
- package/package.json +7 -14
- package/CHANGELOG.md +0 -562
- package/CODE_OF_CONDUCT.md +0 -77
- package/CONTRIBUTING.md +0 -34
- package/esm2020/lib/ngx-skeleton-loader.component.mjs +0 -100
- package/esm2020/lib/ngx-skeleton-loader.module.mjs +0 -25
- package/fesm2015/ngx-skeleton-loader.mjs +0 -137
- package/fesm2015/ngx-skeleton-loader.mjs.map +0 -1
- package/fesm2020/ngx-skeleton-loader.mjs.map +0 -1
- /package/{esm2020 → esm2022}/ngx-skeleton-loader.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-skeleton-loader.mjs","sources":["../../../projects/ngx-skeleton-loader/src/lib/ngx-skeleton-loader-config.types.ts","../../../projects/ngx-skeleton-loader/src/lib/ngx-skeleton-loader.component.ts","../../../projects/ngx-skeleton-loader/src/lib/ngx-skeleton-loader.html","../../../projects/ngx-skeleton-loader/src/lib/ngx-skeleton-loader.module.ts","../../../projects/ngx-skeleton-loader/src/public-api.ts","../../../projects/ngx-skeleton-loader/src/ngx-skeleton-loader.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport type NgxSkeletonLoaderConfigTheme = {\n // It enforces a combination of `fromRoot` styles with component `styles` attribute\n extendsFromRoot?: boolean;\n // This is required since ngStyle is using `any` as well\n // More details in https://angular.io/api/common/NgStyle\n [k: string]: any;\n} | null;\n\nexport interface NgxSkeletonLoaderConfig {\n appearance: 'circle' | 'line' | 'custom-content' | '';\n animation: 'progress' | 'progress-dark' | 'pulse' | 'false' | false;\n theme: NgxSkeletonLoaderConfigTheme;\n loadingText: string;\n count: number;\n ariaLabel: string;\n}\n\nexport const NGX_SKELETON_LOADER_CONFIG = new InjectionToken<NgxSkeletonLoaderConfig>('ngx-skeleton-loader.config');\n","import {\n Component,\n OnInit,\n Input,\n isDevMode,\n ChangeDetectionStrategy,\n OnChanges,\n SimpleChanges,\n Optional,\n Inject,\n} from '@angular/core';\nimport {\n NgxSkeletonLoaderConfig,\n NgxSkeletonLoaderConfigTheme,\n NGX_SKELETON_LOADER_CONFIG,\n} from './ngx-skeleton-loader-config.types';\n\n@Component({\n selector: 'ngx-skeleton-loader',\n templateUrl: './ngx-skeleton-loader.html',\n styleUrls: ['./ngx-skeleton-loader.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgxSkeletonLoaderComponent implements OnInit, OnChanges {\n static ngAcceptInputType_count: number | string;\n static ngAcceptInputType_animation: boolean | string;\n\n @Input()\n count: NgxSkeletonLoaderConfig['count'];\n\n @Input()\n loadingText: NgxSkeletonLoaderConfig['loadingText'];\n\n @Input()\n appearance: NgxSkeletonLoaderConfig['appearance'];\n\n @Input()\n animation: NgxSkeletonLoaderConfig['animation'];\n\n @Input()\n ariaLabel: NgxSkeletonLoaderConfig['ariaLabel'];\n\n @Input()\n theme: NgxSkeletonLoaderConfigTheme;\n\n items: Array<any>;\n\n constructor(@Inject(NGX_SKELETON_LOADER_CONFIG) @Optional() private config?: NgxSkeletonLoaderConfig) {\n const {\n appearance = 'line',\n animation = 'progress',\n theme = null,\n loadingText = 'Loading...',\n count = 1,\n ariaLabel = 'loading',\n } = config || {};\n\n this.appearance = appearance;\n this.animation = animation;\n this.theme = theme;\n this.loadingText = loadingText;\n this.count = count;\n this.items = [];\n this.ariaLabel = ariaLabel;\n }\n\n ngOnInit() {\n this.validateInputValues();\n }\n\n private validateInputValues() {\n // Checking if it's receiving a numeric value (string having ONLY numbers or if it's a number)\n if (!/^\\d+$/.test(`${this.count}`)) {\n // Shows error message only in Development\n if (isDevMode()) {\n console.error(\n `\\`NgxSkeletonLoaderComponent\\` need to receive 'count' a numeric value. Forcing default to \"1\".`,\n );\n }\n this.count = 1;\n }\n\n //Force count to 1 when custom-content is used\n if (this.appearance === 'custom-content') {\n // Shows error message only in Development\n if (isDevMode() && this.count !== 1) {\n console.error(\n `\\`NgxSkeletonLoaderComponent\\` enforces elements with \"custom-content\" appearance as DOM nodes. Forcing \"count\" to \"1\".`,\n );\n this.count = 1;\n }\n }\n this.items.length = this.count;\n\n const allowedAnimations = ['progress', 'progress-dark', 'pulse', 'false'];\n if (allowedAnimations.indexOf(String(this.animation)) === -1) {\n // Shows error message only in Development\n if (isDevMode()) {\n console.error(\n `\\`NgxSkeletonLoaderComponent\\` need to receive 'animation' as: ${allowedAnimations.join(\n ', ',\n )}. Forcing default to \"progress\".`,\n );\n }\n this.animation = 'progress';\n }\n\n if (['circle', 'line', 'custom-content', ''].indexOf(String(this.appearance)) === -1) {\n // Shows error message only in Development\n if (isDevMode()) {\n console.error(\n `\\`NgxSkeletonLoaderComponent\\` need to receive 'appearance' as: circle or line or custom-content or empty string. Forcing default to \"''\".`,\n );\n }\n this.appearance = '';\n }\n\n // Optional chaining is only supported on Angular CLI v12\n // - more details in this comment https://github.com/angular/angular-cli/issues/20471#issuecomment-815599616\n // So the main issue here is on the consumer's side.\n // Options are use v6.0.0 or upgrade your Angular CLI to >= v12, as described in https://github.com/willmendesneto/ngx-skeleton-loader/issues/150#issuecomment-1638612329\n if (Boolean(this.config?.theme?.extendsFromRoot) && this.theme !== null) {\n // Shows error message only in Development\n this.theme = { ...this.config!.theme, ...this.theme };\n }\n }\n\n ngOnChanges(changes: SimpleChanges) {\n // Avoiding multiple calls for the same input in case there's no changes in the fields\n // Checking if the fields that require validation are available and if they were changed\n // In case were not changed, we stop the function. Otherwise, `validateInputValues` will be called.\n if (\n ['count', 'animation', 'appearance'].find(\n key =>\n changes[key] && (changes[key].isFirstChange() || changes[key].previousValue === changes[key].currentValue),\n )\n ) {\n return;\n }\n\n this.validateInputValues();\n }\n}\n","<div\n *ngFor=\"let item of items\"\n class=\"skeleton-loader\"\n [attr.aria-label]=\"ariaLabel\"\n aria-busy=\"true\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [attr.aria-valuetext]=\"loadingText\"\n role=\"progressbar\"\n tabindex=\"-1\"\n [ngClass]=\"{\n 'custom-content': appearance === 'custom-content',\n circle: appearance === 'circle',\n progress: animation === 'progress',\n 'progress-dark': animation === 'progress-dark',\n pulse: animation === 'pulse'\n }\"\n [ngStyle]=\"theme\"\n>\n <ng-content *ngIf=\"appearance === 'custom-content'\"></ng-content>\n</div>\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { NgxSkeletonLoaderComponent } from './ngx-skeleton-loader.component';\nimport { NgxSkeletonLoaderConfig, NGX_SKELETON_LOADER_CONFIG } from './ngx-skeleton-loader-config.types';\n\n@NgModule({\n declarations: [NgxSkeletonLoaderComponent],\n imports: [CommonModule],\n exports: [NgxSkeletonLoaderComponent],\n})\nexport class NgxSkeletonLoaderModule {\n static forRoot(config?: Partial<NgxSkeletonLoaderConfig>): ModuleWithProviders<NgxSkeletonLoaderModule> {\n return {\n ngModule: NgxSkeletonLoaderModule,\n providers: [{ provide: NGX_SKELETON_LOADER_CONFIG, useValue: config }],\n };\n }\n}\n","/*\n * Public API Surface of ngx-skeleton-loader\n */\n\nexport * from './lib/ngx-skeleton-loader.component';\nexport * from './lib/ngx-skeleton-loader.module';\nexport * from './lib/ngx-skeleton-loader-config.types';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAmBa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YAAA,EAAA,CAAA,0BAA0B,CAC/B,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,0BAA0B,CAAA,EAAA,CAAA,CAAA,EAAA;AAEzB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAHxB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGX,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,0BAA0B,CAAC;oBAC1C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACtC,iBAAA,CAAA;;;ACVD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OnInit,
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { NgxSkeletonLoaderConfig, NgxSkeletonLoaderConfigTheme } from './ngx-skeleton-loader-config.types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NgxSkeletonLoaderComponent implements OnInit,
|
|
4
|
+
export declare class NgxSkeletonLoaderComponent implements OnInit, OnChanges {
|
|
5
5
|
private config?;
|
|
6
6
|
static ngAcceptInputType_count: number | string;
|
|
7
7
|
static ngAcceptInputType_animation: boolean | string;
|
|
@@ -16,8 +16,6 @@ export declare class NgxSkeletonLoaderComponent implements OnInit, AfterViewInit
|
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
private validateInputValues;
|
|
18
18
|
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
-
ngAfterViewInit(): void;
|
|
20
|
-
ngOnDestroy(): void;
|
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSkeletonLoaderComponent, [{ optional: true; }]>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxSkeletonLoaderComponent, "ngx-skeleton-loader", never, { "count": "count"; "loadingText": "loadingText"; "appearance": "appearance"; "animation": "animation"; "ariaLabel": "ariaLabel"; "theme": "theme"; }, {}, never, ["*"], false, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxSkeletonLoaderComponent, "ngx-skeleton-loader", never, { "count": { "alias": "count"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
23
21
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-skeleton-loader",
|
|
3
3
|
"description": "Make beautiful, animated loading skeletons that automatically adapt to your Angular apps",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "8.0.1",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/common": ">=
|
|
7
|
-
"@angular/core": ">=
|
|
6
|
+
"@angular/common": ">=16.0.0",
|
|
7
|
+
"@angular/core": ">=16.0.0"
|
|
8
8
|
},
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"keywords": [
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"animation"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"perf-marks": "^1.13.4",
|
|
25
24
|
"tslib": "^2.0.0"
|
|
26
25
|
},
|
|
27
26
|
"repository": {
|
|
@@ -32,11 +31,7 @@
|
|
|
32
31
|
"url": "https://github.com/willmendesneto/ngx-skeleton-loader/issues"
|
|
33
32
|
},
|
|
34
33
|
"homepage": "https://github.com/willmendesneto/ngx-skeleton-loader#readme",
|
|
35
|
-
"module": "
|
|
36
|
-
"es2020": "fesm2020/ngx-skeleton-loader.mjs",
|
|
37
|
-
"esm2020": "esm2020/ngx-skeleton-loader.mjs",
|
|
38
|
-
"fesm2020": "fesm2020/ngx-skeleton-loader.mjs",
|
|
39
|
-
"fesm2015": "fesm2015/ngx-skeleton-loader.mjs",
|
|
34
|
+
"module": "fesm2022/ngx-skeleton-loader.mjs",
|
|
40
35
|
"typings": "index.d.ts",
|
|
41
36
|
"exports": {
|
|
42
37
|
"./package.json": {
|
|
@@ -44,11 +39,9 @@
|
|
|
44
39
|
},
|
|
45
40
|
".": {
|
|
46
41
|
"types": "./index.d.ts",
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"node": "./fesm2015/ngx-skeleton-loader.mjs",
|
|
51
|
-
"default": "./fesm2020/ngx-skeleton-loader.mjs"
|
|
42
|
+
"esm2022": "./esm2022/ngx-skeleton-loader.mjs",
|
|
43
|
+
"esm": "./esm2022/ngx-skeleton-loader.mjs",
|
|
44
|
+
"default": "./fesm2022/ngx-skeleton-loader.mjs"
|
|
52
45
|
}
|
|
53
46
|
},
|
|
54
47
|
"sideEffects": false
|
package/CHANGELOG.md
DELETED
|
@@ -1,562 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
6
|
-
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
7
|
-
|
|
8
|
-
## [Unreleased][]
|
|
9
|
-
|
|
10
|
-
## [7.0.0][] - 2023-02-04
|
|
11
|
-
|
|
12
|
-
### Added
|
|
13
|
-
|
|
14
|
-
- Adding support for extending global theme added via `NgxSkeletonLoaderModule.forRoot({ theme: /* ...list of CSS atributes */} })`
|
|
15
|
-
|
|
16
|
-
By default when using `NgxSkeletonLoaderModule.forRoot({ theme: /* ...list of CSS atributes */} })` the application is using this value as source of truth, overriding any local theming passed to `<ngx-skeleton-loader>` component via `[theme]` input.
|
|
17
|
-
|
|
18
|
-
By using `NgxSkeletonLoaderModule.forRoot({ theme: { extendsFromRoot: true, /* ...list of CSS atributes */} })` in your application, you should also be aware that:
|
|
19
|
-
|
|
20
|
-
- By default, every `<ngx-skeleton-loader>` component will use `theme` coming from `NgxSkeletonLoaderModule.forRoot()` as the source of truth
|
|
21
|
-
- If there's any CSS attribute on the component locally which overrides the CSS spec, it combines both themes, but overriding global CSS attributes in favor of local ones.
|
|
22
|
-
|
|
23
|
-
```html
|
|
24
|
-
<!--
|
|
25
|
-
// ... E.G: App is using this configuration below
|
|
26
|
-
|
|
27
|
-
NgxSkeletonLoaderModule.forRoot({
|
|
28
|
-
theme: {
|
|
29
|
-
// Enabliong theme combination
|
|
30
|
-
extendsFromRoot: true,
|
|
31
|
-
// ... list of CSS theme attributes
|
|
32
|
-
height: '30px',
|
|
33
|
-
},
|
|
34
|
-
}),
|
|
35
|
-
-->
|
|
36
|
-
|
|
37
|
-
<div class="item">
|
|
38
|
-
<ngx-skeleton-loader></ngx-skeleton-loader>
|
|
39
|
-
<!-- above line will produce a skeleton component using `height: 30px;`" -->
|
|
40
|
-
<ngx-skeleton-loader [theme]="{background: 'blue'}"></ngx-skeleton-loader>
|
|
41
|
-
<!-- above line will produce a skeleton component using `height: 30px; background: blue;`" -->
|
|
42
|
-
<ngx-skeleton-loader [theme]="{height: '50px', background: 'red'}"></ngx-skeleton-loader>
|
|
43
|
-
<!-- above line will produce a skeleton component using `height: 50px; background: red;`" -->
|
|
44
|
-
</div>
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
- Adding new `custom-content` appearance. From now on, consumers can now add their own content inside `<ng-skeleton-loader></ng-skeleton-loader>` component. So that, they can add some custom content, such as SVG, as an example
|
|
48
|
-
- Adding examples for `custom-content` usage
|
|
49
|
-
|
|
50
|
-
### Updated
|
|
51
|
-
|
|
52
|
-
- Updagrading module to Angular v15
|
|
53
|
-
|
|
54
|
-
### Fixed
|
|
55
|
-
|
|
56
|
-
- Removing build warnings
|
|
57
|
-
|
|
58
|
-
## [6.0.0][] - 2022-08-18
|
|
59
|
-
|
|
60
|
-
### Updated
|
|
61
|
-
|
|
62
|
-
- Adding Publishing setup using NPX
|
|
63
|
-
- Replacing CSS class namespace from `.loader` to `.skeleton-loader`
|
|
64
|
-
|
|
65
|
-
#### Breaking Change
|
|
66
|
-
|
|
67
|
-
The CSS class used as namespace was changed. Previously, it was called `.loader` and now is `.skeleton-loader`. It might cause some issues in cases of `:host` DOM style scoping usage. For the sake of semantic versioning, please bear in mind this scenario in case of `:host` usage.
|
|
68
|
-
|
|
69
|
-
## [5.0.0][] - 2022-02-08
|
|
70
|
-
|
|
71
|
-
### Updated
|
|
72
|
-
|
|
73
|
-
> Thanks @yharaskrik
|
|
74
|
-
|
|
75
|
-
#### Breaking Change
|
|
76
|
-
|
|
77
|
-
Bundle distribution are now `esm2020`, `fesm2015` and `fesm2020`. UMD and CommonJS versions were support were removed from Angular CLI directly. So the next version for the package will be a major version to cover these changes accordingly.
|
|
78
|
-
|
|
79
|
-
- Updating package bundle distribution
|
|
80
|
-
- Updating `@angular/cli` to v13
|
|
81
|
-
- Applying project changes to v13
|
|
82
|
-
- Updating bundlesize check to point to `fesm2020`
|
|
83
|
-
|
|
84
|
-
## [4.0.0][] - 2021-07-28
|
|
85
|
-
|
|
86
|
-
### Fixed
|
|
87
|
-
|
|
88
|
-
#### Breaking Change
|
|
89
|
-
|
|
90
|
-
- Rolling back "Adding mechanism to prevents calling `forRoot()` more than once if module is loaded asynchronously in a submodule.". Unfortunately, this was affecting consumers and it needed to be reverted to avoid friction in other applications.
|
|
91
|
-
|
|
92
|
-
If you need to have this feature in place, the suggestion is to create a specific module in your app and apply the changes on your application.
|
|
93
|
-
|
|
94
|
-
## [3.0.0][] - 2021-07-23
|
|
95
|
-
|
|
96
|
-
### Added
|
|
97
|
-
|
|
98
|
-
#### Breaking Change
|
|
99
|
-
|
|
100
|
-
- Adding mechanism to prevents calling `forRoot()` more than once if module is loaded asynchronously in a submodule. This is required in order to avoid issues in consumers. To avoid that, consumers should load the module once on the main module instead - if loading submodules async.
|
|
101
|
-
|
|
102
|
-
## [2.10.1][] - 2021-07-13
|
|
103
|
-
|
|
104
|
-
### Fixed
|
|
105
|
-
|
|
106
|
-
- Ensures every ARIA progressbar node has an accessible name. This is caused by missing aria-label on the `<span>` element.
|
|
107
|
-
|
|
108
|
-
Thanks @rkristelijn for raising the issue and the pull request!
|
|
109
|
-
|
|
110
|
-
## [2.10.0][] - 2021-06-15
|
|
111
|
-
|
|
112
|
-
### Added
|
|
113
|
-
|
|
114
|
-
- Adding module configuration support via `forRoot()` method. Now you can add configure your module via `forRoot()`. You can now set the default of `appearance`, `animation`, `theme`, `loadingText`, `count` and/or `items`.E.G.
|
|
115
|
-
|
|
116
|
-
```ts
|
|
117
|
-
|
|
118
|
-
@NgModule({
|
|
119
|
-
// ...
|
|
120
|
-
imports: [NgxSkeletonLoaderModule.forRoot({ appearance: 'circle', count: 3 )],
|
|
121
|
-
// ...
|
|
122
|
-
})
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
## [2.9.2][] - 2021-04-11
|
|
126
|
-
|
|
127
|
-
### Updated
|
|
128
|
-
|
|
129
|
-
- Updating link in README.md
|
|
130
|
-
|
|
131
|
-
### Fixed
|
|
132
|
-
|
|
133
|
-
- Bumping dev dependencies to avoid security issues
|
|
134
|
-
|
|
135
|
-
## [2.9.1][] - 2021-02-20
|
|
136
|
-
|
|
137
|
-
### Fixed
|
|
138
|
-
|
|
139
|
-
- Adding `appearance` attribute to be checked via `ngOnChanges`
|
|
140
|
-
|
|
141
|
-
### Updated
|
|
142
|
-
|
|
143
|
-
- Updating examples with new features
|
|
144
|
-
|
|
145
|
-
## [2.9.0][] - 2021-02-19
|
|
146
|
-
|
|
147
|
-
### Added
|
|
148
|
-
|
|
149
|
-
- Adding validation for @Input attributes that needs internal manipulation. After these changes:
|
|
150
|
-
- if `count` is not a numeric value, it will use the default value as `1`
|
|
151
|
-
- if `animation` is not a valid attribute, it will use the default value as `progress`
|
|
152
|
-
- PS: The other values alredy have a fallback, so nothing to worry here
|
|
153
|
-
- Adding error feedback for `appearance` attribute in case of wrong configuration. Now it will show a error message on the console in case of receiving a wrong value
|
|
154
|
-
|
|
155
|
-
### Updated
|
|
156
|
-
|
|
157
|
-
- Adding `ngOnChange` to validate `count` input in case of changes via binding
|
|
158
|
-
- Updating `README.md` with information about `appearance` and `theme` usage.
|
|
159
|
-
|
|
160
|
-
## [2.8.0][] - 2021-02-18
|
|
161
|
-
|
|
162
|
-
### Fixed
|
|
163
|
-
|
|
164
|
-
- Using `ngAcceptInputType_count` for template checking in count input. That solves issue https://github.com/willmendesneto/ngx-skeleton-loader/issues/59. You can find more details about it in https://angular.io/guide/template-typecheck
|
|
165
|
-
- Fixing type issues on `yarn build:ssr` command
|
|
166
|
-
|
|
167
|
-
### Updated
|
|
168
|
-
|
|
169
|
-
- Updating `perf-marks` to `v1.14.1`
|
|
170
|
-
- Adding strict mode support in module
|
|
171
|
-
- Updating types for `theme` to match with `ngStyle`. More details in https://angular.io/api/common/NgStyle#properties
|
|
172
|
-
|
|
173
|
-
## [2.7.0][] - 2021-02-06
|
|
174
|
-
|
|
175
|
-
### Added
|
|
176
|
-
|
|
177
|
-
- Adding new `loadingText` attribute to be used as WAI-ARIA `aria-valuetext`. In this case, it will render the component using "Please wait ...". Otherwise, it defaults to "Loading..."
|
|
178
|
-
|
|
179
|
-
```html
|
|
180
|
-
<!-- Passing loading text to be used as WAI-ARIA `aria-valuetext` -->
|
|
181
|
-
<!-- In this case, it will render the component using "Please wait ..." -->
|
|
182
|
-
<!-- Otherwise, it defaults to "Loading..." -->
|
|
183
|
-
<div class="skeleton-with-specific-loading-text">
|
|
184
|
-
<ngx-skeleton-loader loadingText="Please wait ..."></ngx-skeleton-loader>
|
|
185
|
-
</div>
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
### Updated
|
|
189
|
-
|
|
190
|
-
- Using OnPush as changeDetection mechanism into ngx-skeleton-loader component
|
|
191
|
-
- Adding ability to pass `false` as string or boolean (coming from variable value via binding) on `animation` attribute in `ngx-skeleton-loader` component configuration. animation will receive `false` as string when attribute field it's not using binding. Component now can receive `false` (boolean), "false" (string), or any other animation type via binding.
|
|
192
|
-
|
|
193
|
-
```html
|
|
194
|
-
<div class="item">
|
|
195
|
-
<!-- Disables the animation -->
|
|
196
|
-
<ngx-skeleton-loader animation="false"></ngx-skeleton-loader>
|
|
197
|
-
<!-- Disables the animation, but receiving boolean value from binding -->
|
|
198
|
-
<!-- Via binding it can receive `false` (boolean), "false" (string), or any other animation type -->
|
|
199
|
-
<ngx-skeleton-loader [animation]="classAttributeWithBooleanFalseValue"></ngx-skeleton-loader>
|
|
200
|
-
<!-- Uses `progress` as animation -->
|
|
201
|
-
<ngx-skeleton-loader animation="progress"></ngx-skeleton-loader>
|
|
202
|
-
<ngx-skeleton-loader></ngx-skeleton-loader>
|
|
203
|
-
<!-- Uses `pulse` as animation -->
|
|
204
|
-
<ngx-skeleton-loader animation="pulse"></ngx-skeleton-loader>
|
|
205
|
-
</div>
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
## [2.6.2][] - 2020-12-08
|
|
209
|
-
|
|
210
|
-
### Fixed
|
|
211
|
-
|
|
212
|
-
- Removing Lighthouse "Avoid non-composited animations" issue. Lighthouse shows warnings from ngx-skeleton-loader.scss -file (progress).
|
|
213
|
-
|
|
214
|
-
- "Avoid non-composited animations":
|
|
215
|
-
- "Animations which are not composited can be janky and contribute to CLS"
|
|
216
|
-
|
|
217
|
-
To solve that, instead of using CSS `background-position` the module is now using CSS `translate3d`, which improves the animation by using GPU instead of CPU. Issue fixed and performance boost added 🎉
|
|
218
|
-
|
|
219
|
-
## [2.6.1][] - 2020-11-30
|
|
220
|
-
|
|
221
|
-
### Fixed
|
|
222
|
-
|
|
223
|
-
- Solving `forRoot()` types error `Generic type 'ModuleWithProviders<T>' requires 1 type argument(s)`. Closes https://github.com/willmendesneto/ngx-skeleton-loader/issues/51
|
|
224
|
-
|
|
225
|
-
## [2.6.0][] - 2020-11-15
|
|
226
|
-
|
|
227
|
-
### Added
|
|
228
|
-
|
|
229
|
-
- Adding `NgxSkeletonLoaderModule.forRoot()` method. Usage:
|
|
230
|
-
|
|
231
|
-
```js
|
|
232
|
-
import { NgModule } from '@angular/core';
|
|
233
|
-
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
|
|
234
|
-
// ... list of other app dependencies
|
|
235
|
-
|
|
236
|
-
import { AppComponent } from './app.component';
|
|
237
|
-
// ... list of other app components/modules
|
|
238
|
-
|
|
239
|
-
@NgModule({
|
|
240
|
-
declarations: [AppComponent],
|
|
241
|
-
imports: [NgxSkeletonLoaderModule.forRoot()],
|
|
242
|
-
providers: [],
|
|
243
|
-
bootstrap: [AppComponent],
|
|
244
|
-
})
|
|
245
|
-
export class AppModule {}
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
## [2.5.0][] - 2020-10-10
|
|
249
|
-
|
|
250
|
-
### Fixed
|
|
251
|
-
|
|
252
|
-
- Fixing bundle size command on CircleCI pipeline
|
|
253
|
-
|
|
254
|
-
### Updated
|
|
255
|
-
|
|
256
|
-
- Upgrading NodeJS to v14.11.0
|
|
257
|
-
- Updating `perf-marks` package to v1.14.0
|
|
258
|
-
- Improving skeleton animations fps by using `cubic-bezier` instead of `ease-in-out`
|
|
259
|
-
|
|
260
|
-
## [2.4.4][] - 2020-08-21
|
|
261
|
-
|
|
262
|
-
### Fixed
|
|
263
|
-
|
|
264
|
-
- Remove check requirements if perf-marks is running in a browser or not in Angular apps 🔥
|
|
265
|
-
|
|
266
|
-
### Added
|
|
267
|
-
|
|
268
|
-
- Adding Angular Universal support for examples. Now we can run `npm run dev:ssr` and access `http://localhost:4200/index.html` and the page will run using angular universal 💪
|
|
269
|
-
- Adding `.prettierrc` file with some of the code styling rules
|
|
270
|
-
|
|
271
|
-
## [2.4.3][] - 2020-08-13
|
|
272
|
-
|
|
273
|
-
### Fixed
|
|
274
|
-
|
|
275
|
-
- Avoiding perf-marks call if running in Angular Universal applications
|
|
276
|
-
|
|
277
|
-
## [2.4.2][] - 2020-08-01
|
|
278
|
-
|
|
279
|
-
### Updated
|
|
280
|
-
|
|
281
|
-
- Bumping `perf-marks` to latest version
|
|
282
|
-
|
|
283
|
-
## [2.4.1][] - 2020-08-01
|
|
284
|
-
|
|
285
|
-
### Updated
|
|
286
|
-
|
|
287
|
-
- Bumping `perf-marks` to latest version
|
|
288
|
-
|
|
289
|
-
## [2.4.0][] - 2020-08-01
|
|
290
|
-
|
|
291
|
-
### Added
|
|
292
|
-
|
|
293
|
-
- Adding User Timing API to track component render and content loader time
|
|
294
|
-
|
|
295
|
-
### Updated
|
|
296
|
-
|
|
297
|
-
- Updating examples with new skeleton simulation
|
|
298
|
-
- Adding Stackblitz link for user card skeleton loading demo
|
|
299
|
-
|
|
300
|
-
## [2.3.0][] - 2020-08-01
|
|
301
|
-
|
|
302
|
-
### Added
|
|
303
|
-
|
|
304
|
-
- Adding User Timing API to track component render and content loader time
|
|
305
|
-
|
|
306
|
-
### Updated
|
|
307
|
-
|
|
308
|
-
- Updating examples with new skeleton simulation
|
|
309
|
-
- Adding Stackblitz link for user card skeleton loading demo
|
|
310
|
-
|
|
311
|
-
## [2.2.1][] - 2020-06-30
|
|
312
|
-
|
|
313
|
-
### Fixed
|
|
314
|
-
|
|
315
|
-
- For compatibility with IE11 by using indexOf instead of `includes`
|
|
316
|
-
|
|
317
|
-
### Updated
|
|
318
|
-
|
|
319
|
-
- Updating `npm run postinstall` command to follow the new rules from update.angular.io website
|
|
320
|
-
|
|
321
|
-
## [2.2.0][] - 2020-06-01
|
|
322
|
-
|
|
323
|
-
### Added
|
|
324
|
-
|
|
325
|
-
- Using `prefers-reduced-motion` to respect user’s OS option to `Reduce Motion`. More details about `prefers-reduced-motion` in https://web.dev/prefers-reduced-motion/
|
|
326
|
-
|
|
327
|
-
## [2.1.0][] - 2020-06-01
|
|
328
|
-
|
|
329
|
-
### Updated
|
|
330
|
-
|
|
331
|
-
- Upgrading @angular/cli to version 9
|
|
332
|
-
- 🎉 Decreasing bundle size to 1.17KB 🎉
|
|
333
|
-
|
|
334
|
-
## [2.0.0][] - 2020-05-15
|
|
335
|
-
|
|
336
|
-
### Updated
|
|
337
|
-
|
|
338
|
-
- Upgrading NodeJS to v12.16.2
|
|
339
|
-
- Updating documentation with `animation` attribute
|
|
340
|
-
|
|
341
|
-
### Added
|
|
342
|
-
|
|
343
|
-
- Supporting for new animation `progress-dark` to enable users when using theme with darker color schema
|
|
344
|
-
- Supporting for different animations 🎉
|
|
345
|
-
|
|
346
|
-
Now we can define the animation we want to use in `<ngx-skeleton-loader>` component via `animation` input. It's a string that can defined the animation used during the loading, having as options:
|
|
347
|
-
|
|
348
|
-
- `false`: it will disable the animation;
|
|
349
|
-
- `progress` - _default_: it will use it `progress` as animation;
|
|
350
|
-
- `pulse`: it will use `pulse` as animation;
|
|
351
|
-
|
|
352
|
-
> `progress` is the default animation, used as the single one previously. If you don't pass the animation attribute, it defaults to `progress`.
|
|
353
|
-
|
|
354
|
-
```html
|
|
355
|
-
<div class="item">
|
|
356
|
-
<!-- Disables the animation -->
|
|
357
|
-
<ngx-skeleton-loader animation="false"></ngx-skeleton-loader>
|
|
358
|
-
<!-- Uses `progress` as animation -->
|
|
359
|
-
<ngx-skeleton-loader animation="progress"></ngx-skeleton-loader>
|
|
360
|
-
<ngx-skeleton-loader></ngx-skeleton-loader>
|
|
361
|
-
<!-- Uses `pulse` as animation -->
|
|
362
|
-
<ngx-skeleton-loader animation="pulse"></ngx-skeleton-loader>
|
|
363
|
-
</div>
|
|
364
|
-
```
|
|
365
|
-
|
|
366
|
-
- Supporting enabling/disabling animations.
|
|
367
|
-
Now the users will be able to enable/disable animations by using `animation` input. It's a string with `false` as value that the component receives to check if it should not load progress animation.
|
|
368
|
-
|
|
369
|
-
> It works only to disable it. In case you want to keep enable it
|
|
370
|
-
|
|
371
|
-
```js
|
|
372
|
-
<div class="item">
|
|
373
|
-
<ngx-skeleton-loader animation="false"></ngx-skeleton-loader>
|
|
374
|
-
</div>
|
|
375
|
-
```
|
|
376
|
-
|
|
377
|
-
## [1.2.7][] - 2020-04-13
|
|
378
|
-
|
|
379
|
-
### Updated
|
|
380
|
-
|
|
381
|
-
- Decreasing bundle size after disable Ivy in production build
|
|
382
|
-
- Adding description, keywords and github information on `package.json` files
|
|
383
|
-
|
|
384
|
-
## [1.2.6][] - 2020-02-26
|
|
385
|
-
|
|
386
|
-
### Fixed
|
|
387
|
-
|
|
388
|
-
- Changing angular library configuration to prod and forcing it at publish time
|
|
389
|
-
|
|
390
|
-
## [1.2.5][] - 2020-02-25
|
|
391
|
-
|
|
392
|
-
### Fixed
|
|
393
|
-
|
|
394
|
-
- Changing angular library configuration to prod
|
|
395
|
-
|
|
396
|
-
## [1.2.4][] - 2020-02-25
|
|
397
|
-
|
|
398
|
-
### Updated
|
|
399
|
-
|
|
400
|
-
- Updating Github templates
|
|
401
|
-
- Updating Angular CLI to v9
|
|
402
|
-
|
|
403
|
-
## [1.2.3][] - 2020-02-25
|
|
404
|
-
|
|
405
|
-
### Fixed
|
|
406
|
-
|
|
407
|
-
- Solving peerDependency warning when installing library in an Angular 9 project
|
|
408
|
-
|
|
409
|
-
## [1.2.2][] - 2019-06-22
|
|
410
|
-
|
|
411
|
-
### Fixed
|
|
412
|
-
|
|
413
|
-
- Fixing component dimensions via theme
|
|
414
|
-
|
|
415
|
-
## [1.2.1][] - 2019-06-08
|
|
416
|
-
|
|
417
|
-
### Updated
|
|
418
|
-
|
|
419
|
-
- Updating Angular CLI to v8
|
|
420
|
-
|
|
421
|
-
## [1.2.0][] - 2019-04-19
|
|
422
|
-
|
|
423
|
-
### Updated
|
|
424
|
-
|
|
425
|
-
- Updating Angular CLI to 7.3.8
|
|
426
|
-
|
|
427
|
-
## [1.1.2][] - 2019-01-07
|
|
428
|
-
|
|
429
|
-
### Added
|
|
430
|
-
|
|
431
|
-
- Adding badges for stackblitz, bundlephobia and license
|
|
432
|
-
|
|
433
|
-
### Updated
|
|
434
|
-
|
|
435
|
-
- Removing unnecessary CSS styles for skeleton
|
|
436
|
-
|
|
437
|
-
## [1.1.1][] - 2018-12-17
|
|
438
|
-
|
|
439
|
-
### Fixed
|
|
440
|
-
|
|
441
|
-
- Fixing Stackblitz link demo link
|
|
442
|
-
|
|
443
|
-
## [1.1.0][] - 2018-12-17
|
|
444
|
-
|
|
445
|
-
### Added
|
|
446
|
-
|
|
447
|
-
- Added GitHub urls into `package.json`
|
|
448
|
-
- Added Circle CI integration
|
|
449
|
-
- Added Coveralls integration
|
|
450
|
-
- Added GitHub templates
|
|
451
|
-
- Added `CODE_OF_CONDUCT.md` with the Code of conduct
|
|
452
|
-
- Added unit tests for skeletons and demo components
|
|
453
|
-
|
|
454
|
-
### Updated
|
|
455
|
-
|
|
456
|
-
- Decreased bundle size
|
|
457
|
-
- New gif showing `ngx-skeleton-loader` in action
|
|
458
|
-
|
|
459
|
-
## [1.0.2][] - 2018-12-16
|
|
460
|
-
|
|
461
|
-
### Fixed
|
|
462
|
-
|
|
463
|
-
- Added markdown files in dist folder in build time
|
|
464
|
-
|
|
465
|
-
## [1.0.1][] - 2018-12-16
|
|
466
|
-
|
|
467
|
-
### Fixed
|
|
468
|
-
|
|
469
|
-
- Added markdown files in dist folder in build time
|
|
470
|
-
|
|
471
|
-
## [1.0.0][] - 2018-12-16
|
|
472
|
-
|
|
473
|
-
### Fixed
|
|
474
|
-
|
|
475
|
-
- Fixed build script
|
|
476
|
-
|
|
477
|
-
## [0.0.1][] - 2018-12-16
|
|
478
|
-
|
|
479
|
-
### Added
|
|
480
|
-
|
|
481
|
-
- Created `ngx-skeleton-loader`
|
|
482
|
-
- Created test automation for the module
|
|
483
|
-
|
|
484
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v0.0.1...HEAD
|
|
485
|
-
[0.0.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v0.0.1
|
|
486
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.0.0...HEAD
|
|
487
|
-
[1.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.0.0
|
|
488
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.0.2...HEAD
|
|
489
|
-
[1.0.2]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.0.1...v1.0.2
|
|
490
|
-
[1.0.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.0.1
|
|
491
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.0.2...HEAD
|
|
492
|
-
[1.0.2]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.0.2
|
|
493
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.1.0...HEAD
|
|
494
|
-
[1.1.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.1.0
|
|
495
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.1.1...HEAD
|
|
496
|
-
[1.1.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.1.1
|
|
497
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.4...HEAD
|
|
498
|
-
[1.2.4]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.3...v1.2.4
|
|
499
|
-
[1.2.3]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.2...v1.2.3
|
|
500
|
-
[1.2.2]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.1...v1.2.2
|
|
501
|
-
[1.2.1]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.0...v1.2.1
|
|
502
|
-
[1.2.0]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.1.2...v1.2.0
|
|
503
|
-
[1.1.2]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.1.2
|
|
504
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.5...HEAD
|
|
505
|
-
[1.2.5]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.2.5
|
|
506
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.6...HEAD
|
|
507
|
-
[1.2.6]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.2.6
|
|
508
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.7...HEAD
|
|
509
|
-
[1.2.7]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.2.7
|
|
510
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.0.0...HEAD
|
|
511
|
-
[2.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.0.0
|
|
512
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.1.0...HEAD
|
|
513
|
-
[2.1.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.1.0
|
|
514
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.2.0...HEAD
|
|
515
|
-
[2.2.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.2.0
|
|
516
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.2.1...HEAD
|
|
517
|
-
[2.2.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.2.1
|
|
518
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.3.0...HEAD
|
|
519
|
-
[2.3.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.3.0
|
|
520
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.4.0...HEAD
|
|
521
|
-
[2.4.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.4.0
|
|
522
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.4.1...HEAD
|
|
523
|
-
[2.4.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.4.1
|
|
524
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.4.2...HEAD
|
|
525
|
-
[2.4.2]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.4.2
|
|
526
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.4.3...HEAD
|
|
527
|
-
[2.4.3]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.4.3
|
|
528
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.4.4...HEAD
|
|
529
|
-
[2.4.4]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.4.4
|
|
530
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.5.0...HEAD
|
|
531
|
-
[2.5.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.5.0
|
|
532
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.6.0...HEAD
|
|
533
|
-
[2.6.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.6.0
|
|
534
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.6.1...HEAD
|
|
535
|
-
[2.6.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.6.1
|
|
536
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.6.2...HEAD
|
|
537
|
-
[2.6.2]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.6.2
|
|
538
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.7.0...HEAD
|
|
539
|
-
[2.7.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.7.0
|
|
540
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.8.0...HEAD
|
|
541
|
-
[2.8.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.8.0
|
|
542
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.9.0...HEAD
|
|
543
|
-
[2.9.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.9.0
|
|
544
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.9.1...HEAD
|
|
545
|
-
[2.9.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.9.1
|
|
546
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.9.2...HEAD
|
|
547
|
-
[2.9.2]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.9.2
|
|
548
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.10.0...HEAD
|
|
549
|
-
[2.10.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.10.0
|
|
550
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.10.1...HEAD
|
|
551
|
-
[2.10.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.10.1
|
|
552
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v4.0.0...HEAD
|
|
553
|
-
[4.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v3.0.0...v4.0.0
|
|
554
|
-
[3.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v3.0.0
|
|
555
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v5.0.0...HEAD
|
|
556
|
-
[5.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v5.0.0
|
|
557
|
-
[unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v6.0.0...HEAD
|
|
558
|
-
[6.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v6.0.0
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
[Unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v7.0.0...HEAD
|
|
562
|
-
[7.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v7.0.0
|