ngx-skeleton-loader 4.0.0 → 5.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 DELETED
@@ -1,482 +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
- ## [4.0.0][] - 2021-07-28
11
-
12
- ### Fixed
13
-
14
- #### Breaking Change
15
-
16
- - 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.
17
-
18
- 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.
19
-
20
- ## [3.0.0][] - 2021-07-23
21
-
22
- ### Added
23
-
24
- #### Breaking Change
25
-
26
- - 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.
27
-
28
- ## [2.10.1][] - 2021-07-13
29
-
30
- ### Fixed
31
-
32
- - Ensures every ARIA progressbar node has an accessible name. This is caused by missing aria-label on the `<span>` element.
33
-
34
- Thanks @rkristelijn for raising the issue and the pull request!
35
-
36
- ## [2.10.0][] - 2021-06-15
37
-
38
- ### Added
39
-
40
- - 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.
41
-
42
- ```ts
43
-
44
- @NgModule({
45
- // ...
46
- imports: [NgxSkeletonLoaderModule.forRoot({ appearance: 'circle', count: 3 )],
47
- // ...
48
- })
49
- ```
50
-
51
- ## [2.9.2][] - 2021-04-11
52
-
53
- ### Updated
54
-
55
- - Updating link in README.md
56
-
57
- ### Fixed
58
-
59
- - Bumping dev dependencies to avoid security issues
60
-
61
- ## [2.9.1][] - 2021-02-20
62
-
63
- ### Fixed
64
-
65
- - Adding `appearance` attribute to be checked via `ngOnChanges`
66
-
67
- ### Updated
68
-
69
- - Updating examples with new features
70
-
71
- ## [2.9.0][] - 2021-02-19
72
-
73
- ### Added
74
-
75
- - Adding validation for @Input attributes that needs internal manipulation. After these changes:
76
- - if `count` is not a numeric value, it will use the default value as `1`
77
- - if `animation` is not a valid attribute, it will use the default value as `progress`
78
- - PS: The other values alredy have a fallback, so nothing to worry here
79
- - 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
80
-
81
- ### Updated
82
-
83
- - Adding `ngOnChange` to validate `count` input in case of changes via binding
84
- - Updating `README.md` with information about `appearance` and `theme` usage.
85
-
86
- ## [2.8.0][] - 2021-02-18
87
-
88
- ### Fixed
89
-
90
- - 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
91
- - Fixing type issues on `yarn build:ssr` command
92
-
93
- ### Updated
94
-
95
- - Updating `perf-marks` to `v1.14.1`
96
- - Adding strict mode support in module
97
- - Updating types for `theme` to match with `ngStyle`. More details in https://angular.io/api/common/NgStyle#properties
98
-
99
- ## [2.7.0][] - 2021-02-06
100
-
101
- ### Added
102
-
103
- - 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..."
104
-
105
- ```html
106
- <!-- Passing loading text to be used as WAI-ARIA `aria-valuetext` -->
107
- <!-- In this case, it will render the component using "Please wait ..." -->
108
- <!-- Otherwise, it defaults to "Loading..." -->
109
- <div class="skeleton-with-specific-loading-text">
110
- <ngx-skeleton-loader loadingText="Please wait ..."></ngx-skeleton-loader>
111
- </div>
112
- ```
113
-
114
- ### Updated
115
-
116
- - Using OnPush as changeDetection mechanism into ngx-skeleton-loader component
117
- - 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.
118
-
119
- ```html
120
- <div class="item">
121
- <!-- Disables the animation -->
122
- <ngx-skeleton-loader animation="false"></ngx-skeleton-loader>
123
- <!-- Disables the animation, but receiving boolean value from binding -->
124
- <!-- Via binding it can receive `false` (boolean), "false" (string), or any other animation type -->
125
- <ngx-skeleton-loader [animation]="classAttributeWithBooleanFalseValue"></ngx-skeleton-loader>
126
- <!-- Uses `progress` as animation -->
127
- <ngx-skeleton-loader animation="progress"></ngx-skeleton-loader>
128
- <ngx-skeleton-loader></ngx-skeleton-loader>
129
- <!-- Uses `pulse` as animation -->
130
- <ngx-skeleton-loader animation="pulse"></ngx-skeleton-loader>
131
- </div>
132
- ```
133
-
134
- ## [2.6.2][] - 2020-12-08
135
-
136
- ### Fixed
137
-
138
- - Removing Lighthouse "Avoid non-composited animations" issue. Lighthouse shows warnings from ngx-skeleton-loader.scss -file (progress).
139
-
140
- - "Avoid non-composited animations":
141
- - "Animations which are not composited can be janky and contribute to CLS"
142
-
143
- 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 🎉
144
-
145
- ## [2.6.1][] - 2020-11-30
146
-
147
- ### Fixed
148
-
149
- - Solving `forRoot()` types error `Generic type 'ModuleWithProviders<T>' requires 1 type argument(s)`. Closes https://github.com/willmendesneto/ngx-skeleton-loader/issues/51
150
-
151
- ## [2.6.0][] - 2020-11-15
152
-
153
- ### Added
154
-
155
- - Adding `NgxSkeletonLoaderModule.forRoot()` method. Usage:
156
-
157
- ```js
158
- import { NgModule } from '@angular/core';
159
- import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
160
- // ... list of other app dependencies
161
-
162
- import { AppComponent } from './app.component';
163
- // ... list of other app components/modules
164
-
165
- @NgModule({
166
- declarations: [AppComponent],
167
- imports: [NgxSkeletonLoaderModule.forRoot()],
168
- providers: [],
169
- bootstrap: [AppComponent],
170
- })
171
- export class AppModule {}
172
- ```
173
-
174
- ## [2.5.0][] - 2020-10-10
175
-
176
- ### Fixed
177
-
178
- - Fixing bundle size command on CircleCI pipeline
179
-
180
- ### Updated
181
-
182
- - Upgrading NodeJS to v14.11.0
183
- - Updating `perf-marks` package to v1.14.0
184
- - Improving skeleton animations fps by using `cubic-bezier` instead of `ease-in-out`
185
-
186
- ## [2.4.4][] - 2020-08-21
187
-
188
- ### Fixed
189
-
190
- - Remove check requirements if perf-marks is running in a browser or not in Angular apps 🔥
191
-
192
- ### Added
193
-
194
- - 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 💪
195
- - Adding `.prettierrc` file with some of the code styling rules
196
-
197
- ## [2.4.3][] - 2020-08-13
198
-
199
- ### Fixed
200
-
201
- - Avoiding perf-marks call if running in Angular Universal applications
202
-
203
- ## [2.4.2][] - 2020-08-01
204
-
205
- ### Updated
206
-
207
- - Bumping `perf-marks` to latest version
208
-
209
- ## [2.4.1][] - 2020-08-01
210
-
211
- ### Updated
212
-
213
- - Bumping `perf-marks` to latest version
214
-
215
- ## [2.4.0][] - 2020-08-01
216
-
217
- ### Added
218
-
219
- - Adding User Timing API to track component render and content loader time
220
-
221
- ### Updated
222
-
223
- - Updating examples with new skeleton simulation
224
- - Adding Stackblitz link for user card skeleton loading demo
225
-
226
- ## [2.3.0][] - 2020-08-01
227
-
228
- ### Added
229
-
230
- - Adding User Timing API to track component render and content loader time
231
-
232
- ### Updated
233
-
234
- - Updating examples with new skeleton simulation
235
- - Adding Stackblitz link for user card skeleton loading demo
236
-
237
- ## [2.2.1][] - 2020-06-30
238
-
239
- ### Fixed
240
-
241
- - For compatibility with IE11 by using indexOf instead of `includes`
242
-
243
- ### Updated
244
-
245
- - Updating `npm run postinstall` command to follow the new rules from update.angular.io website
246
-
247
- ## [2.2.0][] - 2020-06-01
248
-
249
- ### Added
250
-
251
- - 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/
252
-
253
- ## [2.1.0][] - 2020-06-01
254
-
255
- ### Updated
256
-
257
- - Upgrading @angular/cli to version 9
258
- - 🎉 Decreasing bundle size to 1.17KB 🎉
259
-
260
- ## [2.0.0][] - 2020-05-15
261
-
262
- ### Updated
263
-
264
- - Upgrading NodeJS to v12.16.2
265
- - Updating documentation with `animation` attribute
266
-
267
- ### Added
268
-
269
- - Supporting for new animation `progress-dark` to enable users when using theme with darker color schema
270
- - Supporting for different animations 🎉
271
-
272
- 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:
273
-
274
- - `false`: it will disable the animation;
275
- - `progress` - _default_: it will use it `progress` as animation;
276
- - `pulse`: it will use `pulse` as animation;
277
-
278
- > `progress` is the default animation, used as the single one previously. If you don't pass the animation attribute, it defaults to `progress`.
279
-
280
- ```html
281
- <div class="item">
282
- <!-- Disables the animation -->
283
- <ngx-skeleton-loader animation="false"></ngx-skeleton-loader>
284
- <!-- Uses `progress` as animation -->
285
- <ngx-skeleton-loader animation="progress"></ngx-skeleton-loader>
286
- <ngx-skeleton-loader></ngx-skeleton-loader>
287
- <!-- Uses `pulse` as animation -->
288
- <ngx-skeleton-loader animation="pulse"></ngx-skeleton-loader>
289
- </div>
290
- ```
291
-
292
- - Supporting enabling/disabling animations.
293
- 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.
294
-
295
- > It works only to disable it. In case you want to keep enable it
296
-
297
- ```js
298
- <div class="item">
299
- <ngx-skeleton-loader animation="false"></ngx-skeleton-loader>
300
- </div>
301
- ```
302
-
303
- ## [1.2.7][] - 2020-04-13
304
-
305
- ### Updated
306
-
307
- - Decreasing bundle size after disable Ivy in production build
308
- - Adding description, keywords and github information on `package.json` files
309
-
310
- ## [1.2.6][] - 2020-02-26
311
-
312
- ### Fixed
313
-
314
- - Changing angular library configuration to prod and forcing it at publish time
315
-
316
- ## [1.2.5][] - 2020-02-25
317
-
318
- ### Fixed
319
-
320
- - Changing angular library configuration to prod
321
-
322
- ## [1.2.4][] - 2020-02-25
323
-
324
- ### Updated
325
-
326
- - Updating Github templates
327
- - Updating Angular CLI to v9
328
-
329
- ## [1.2.3][] - 2020-02-25
330
-
331
- ### Fixed
332
-
333
- - Solving peerDependency warning when installing library in an Angular 9 project
334
-
335
- ## [1.2.2][] - 2019-06-22
336
-
337
- ### Fixed
338
-
339
- - Fixing component dimensions via theme
340
-
341
- ## [1.2.1][] - 2019-06-08
342
-
343
- ### Updated
344
-
345
- - Updating Angular CLI to v8
346
-
347
- ## [1.2.0][] - 2019-04-19
348
-
349
- ### Updated
350
-
351
- - Updating Angular CLI to 7.3.8
352
-
353
- ## [1.1.2][] - 2019-01-07
354
-
355
- ### Added
356
-
357
- - Adding badges for stackblitz, bundlephobia and license
358
-
359
- ### Updated
360
-
361
- - Removing unnecessary CSS styles for skeleton
362
-
363
- ## [1.1.1][] - 2018-12-17
364
-
365
- ### Fixed
366
-
367
- - Fixing Stackblitz link demo link
368
-
369
- ## [1.1.0][] - 2018-12-17
370
-
371
- ### Added
372
-
373
- - Added GitHub urls into `package.json`
374
- - Added Circle CI integration
375
- - Added Coveralls integration
376
- - Added GitHub templates
377
- - Added `CODE_OF_CONDUCT.md` with the Code of conduct
378
- - Added unit tests for skeletons and demo components
379
-
380
- ### Updated
381
-
382
- - Decreased bundle size
383
- - New gif showing `ngx-skeleton-loader` in action
384
-
385
- ## [1.0.2][] - 2018-12-16
386
-
387
- ### Fixed
388
-
389
- - Added markdown files in dist folder in build time
390
-
391
- ## [1.0.1][] - 2018-12-16
392
-
393
- ### Fixed
394
-
395
- - Added markdown files in dist folder in build time
396
-
397
- ## [1.0.0][] - 2018-12-16
398
-
399
- ### Fixed
400
-
401
- - Fixed build script
402
-
403
- ## [0.0.1][] - 2018-12-16
404
-
405
- ### Added
406
-
407
- - Created `ngx-skeleton-loader`
408
- - Created test automation for the module
409
-
410
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v0.0.1...HEAD
411
- [0.0.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v0.0.1
412
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.0.0...HEAD
413
- [1.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.0.0
414
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.0.2...HEAD
415
- [1.0.2]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.0.1...v1.0.2
416
- [1.0.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.0.1
417
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.0.2...HEAD
418
- [1.0.2]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.0.2
419
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.1.0...HEAD
420
- [1.1.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.1.0
421
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.1.1...HEAD
422
- [1.1.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.1.1
423
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.4...HEAD
424
- [1.2.4]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.3...v1.2.4
425
- [1.2.3]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.2...v1.2.3
426
- [1.2.2]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.1...v1.2.2
427
- [1.2.1]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.0...v1.2.1
428
- [1.2.0]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.1.2...v1.2.0
429
- [1.1.2]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.1.2
430
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.5...HEAD
431
- [1.2.5]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.2.5
432
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.6...HEAD
433
- [1.2.6]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.2.6
434
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v1.2.7...HEAD
435
- [1.2.7]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v1.2.7
436
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.0.0...HEAD
437
- [2.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.0.0
438
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.1.0...HEAD
439
- [2.1.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.1.0
440
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.2.0...HEAD
441
- [2.2.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.2.0
442
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.2.1...HEAD
443
- [2.2.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.2.1
444
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.3.0...HEAD
445
- [2.3.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.3.0
446
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.4.0...HEAD
447
- [2.4.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.4.0
448
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.4.1...HEAD
449
- [2.4.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.4.1
450
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.4.2...HEAD
451
- [2.4.2]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.4.2
452
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.4.3...HEAD
453
- [2.4.3]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.4.3
454
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.4.4...HEAD
455
- [2.4.4]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.4.4
456
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.5.0...HEAD
457
- [2.5.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.5.0
458
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.6.0...HEAD
459
- [2.6.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.6.0
460
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.6.1...HEAD
461
- [2.6.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.6.1
462
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.6.2...HEAD
463
- [2.6.2]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.6.2
464
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.7.0...HEAD
465
- [2.7.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.7.0
466
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.8.0...HEAD
467
- [2.8.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.8.0
468
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.9.0...HEAD
469
- [2.9.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.9.0
470
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.9.1...HEAD
471
- [2.9.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.9.1
472
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.9.2...HEAD
473
- [2.9.2]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.9.2
474
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.10.0...HEAD
475
- [2.10.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.10.0
476
- [unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v2.10.1...HEAD
477
- [2.10.1]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v2.10.1
478
-
479
-
480
- [Unreleased]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v4.0.0...HEAD
481
- [4.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/compare/v3.0.0...v4.0.0
482
- [3.0.0]: https://github.com/willmendesneto/ngx-skeleton-loader/tree/v3.0.0
@@ -1,77 +0,0 @@
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
-
package/CONTRIBUTING.md DELETED
@@ -1,34 +0,0 @@
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)!