ngx-skeleton-loader 5.0.0 → 7.0.0

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/CHANGELOG.md ADDED
@@ -0,0 +1,562 @@
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
@@ -0,0 +1,77 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+ level of experience, education, socio-economic status, nationality, personal
10
+ appearance, race, religion, or sexual identity and orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+ [homepage]: https://www.contributor-covenant.org
74
+
75
+ For answers to common questions about this code of conduct, see
76
+ https://www.contributor-covenant.org/faq
77
+
@@ -0,0 +1,34 @@
1
+ # How to start
2
+
3
+ **Note** requires node v10.x.x or higher and npm 6.x.x.
4
+
5
+ ```bash
6
+ git clone https://github.com/willmendesneto/ngx-skeleton-loader.git
7
+ cd ngx-skeleton-loader
8
+ npm install
9
+ npm start
10
+ ```
11
+
12
+ # Running test
13
+
14
+ ```bash
15
+ npm test
16
+ ```
17
+
18
+ ## Submitting Pull Requests
19
+
20
+ **Please follow these basic steps to simplify pull request reviews - if you don't you'll probably just be asked to anyway.**
21
+
22
+ - Please rebase your branch against the current master
23
+ - Run `npm install` to make sure your development dependencies are up-to-date
24
+ - Please ensure that the test suite passes **and** that code is lint free before submitting a PR by running:
25
+ - `npm test`
26
+ - If you've added new functionality, **please** include tests which validate its behaviour
27
+ - Make reference to possible [issues](https://github.com/willmendesneto/ngx-skeleton-loader/issues) on PR comment
28
+ - This module follows Angular commit message standard, so please make sure that you are following this standard.
29
+
30
+ ## Submitting bug reports
31
+
32
+ - Please detail the affected browser(s) and operating system(s)
33
+ - Please be sure to state which version of node **and** npm you're using
34
+ - Please use try to simulate your bug based on [the demo on Stackblitz](https://ngx-skeleton-loader-sample.stackblitz.io)!