@su-labs/notifications 20.3.0 → 20.3.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/CHANGELOG.md +5 -0
- package/README.md +7 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [22.3.1] - 2026-11-16
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Uses `@su-labs/core` 1.9.0 (was 1.3.0), the same version as every other `@su-labs` package, so apps using several of them install core once
|
|
14
|
+
|
|
10
15
|
## [22.3.0] - 2026-11-07
|
|
11
16
|
|
|
12
17
|
### Added
|
package/README.md
CHANGED
|
@@ -61,22 +61,24 @@ A highly customizable Angular notification library built with modern practices,
|
|
|
61
61
|
You can install this library via npm:
|
|
62
62
|
|
|
63
63
|
```sh
|
|
64
|
-
npm install @su-labs/notifications
|
|
64
|
+
npm install @su-labs/notifications@ng20
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
+
This is the Angular 20 version. For the newest Angular, install `@su-labs/notifications` without a tag. Before Angular 20.2, notifications show and hide without the slide animation.
|
|
68
|
+
|
|
67
69
|
## Peer Dependencies
|
|
68
70
|
|
|
69
71
|
This library requires the following peer dependencies:
|
|
70
72
|
|
|
71
73
|
```sh
|
|
72
|
-
npm install @angular/common@^
|
|
74
|
+
npm install @angular/common@^20 @angular/core@^20
|
|
73
75
|
```
|
|
74
76
|
|
|
75
77
|
## Quick Start
|
|
76
78
|
|
|
77
79
|
```typescript
|
|
78
80
|
// 1. Install
|
|
79
|
-
npm install @su-labs/notifications
|
|
81
|
+
npm install @su-labs/notifications@ng20
|
|
80
82
|
|
|
81
83
|
// 2. Add component to your app template
|
|
82
84
|
// app.component.html
|
|
@@ -331,7 +333,7 @@ The component's icons are rendered using `[innerHTML]` to safely inject SVG mark
|
|
|
331
333
|
Works in all modern browsers that support:
|
|
332
334
|
- CSS Flexbox
|
|
333
335
|
- CSS Animations
|
|
334
|
-
- Angular
|
|
336
|
+
- Angular 20
|
|
335
337
|
- ES2022+
|
|
336
338
|
|
|
337
339
|
| Browser | Version |
|
|
@@ -366,7 +368,7 @@ Set the position property during app initialization using `provideAppInitializer
|
|
|
366
368
|
|
|
367
369
|
### TypeScript errors?
|
|
368
370
|
|
|
369
|
-
Ensure you have Angular
|
|
371
|
+
Ensure you have Angular 20 and TypeScript 5.8+ installed.
|
|
370
372
|
|
|
371
373
|
## Support
|
|
372
374
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@su-labs/notifications",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"angular",
|
|
6
6
|
"notifications",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@angular/core": "^20.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@su-labs/core": "1.
|
|
39
|
+
"@su-labs/core": "1.9.0",
|
|
40
40
|
"tslib": "^2.3.0"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|