@zambon-dev/library 2.0.0 → 2.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/CHANGELOG.md +19 -9
- package/README.md +9 -9
- package/fesm2022/zambon-dev-library.mjs +200 -329
- package/fesm2022/zambon-dev-library.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/variables.scss +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -23,6 +23,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
23
23
|
|
|
24
24
|
### ⚠ Breaking Changes / Migration
|
|
25
25
|
|
|
26
|
+
## [2.0.1] - 2026-09-21
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- `RibbonComponent`, `FormGroupComponent` and `GroupContainerComponent` now use
|
|
31
|
+
`ChangeDetectionStrategy.OnPush`. They render from their inputs only, so behaviour is
|
|
32
|
+
unchanged, but consuming applications no longer check them on every change detection pass.
|
|
33
|
+
|
|
26
34
|
## [2.0.0] - 2026-09-21
|
|
27
35
|
|
|
28
36
|
### Changed
|
|
@@ -62,17 +70,18 @@ catch the mismatch.
|
|
|
62
70
|
|
|
63
71
|
Rename the bindings in your templates:
|
|
64
72
|
|
|
65
|
-
| Before
|
|
66
|
-
|
|
|
67
|
-
| `(blur)`
|
|
68
|
-
| `(change)` | `(changed)`
|
|
69
|
-
| `(focus)`
|
|
70
|
-
| `(input)`
|
|
73
|
+
| Before | After |
|
|
74
|
+
| ---------- | ---------------- |
|
|
75
|
+
| `(blur)` | `(blurred)` |
|
|
76
|
+
| `(change)` | `(changed)` |
|
|
77
|
+
| `(focus)` | `(focused)` |
|
|
78
|
+
| `(input)` | `(inputChanged)` |
|
|
71
79
|
|
|
72
80
|
`(fixedValueChanged)` is unchanged, but its payload type is now `string` instead of `any` --
|
|
73
81
|
matching what it always emitted.
|
|
74
82
|
|
|
75
83
|
If you were relying on the double-fire, expect one call per event now instead of two.
|
|
84
|
+
|
|
76
85
|
## [1.6.2] - 2026-09-20
|
|
77
86
|
|
|
78
87
|
### Fixed
|
|
@@ -154,7 +163,7 @@ If you were relying on the double-fire, expect one call per event now instead of
|
|
|
154
163
|
The point is where the grouping lives. `region` is a label repeated on every item that belongs to
|
|
155
164
|
a group, matched by exact string equality: a typo silently splits one area into two, and the
|
|
156
165
|
area has no row of its own to carry an order or a translation. Derived from the tree, the area
|
|
157
|
-
|
|
166
|
+
_is_ a menu row — it already has a translated label and an order — and nothing has to be
|
|
158
167
|
duplicated across its items.
|
|
159
168
|
|
|
160
169
|
The children of an area are fetched **eagerly**, at load, because they are rendered without a
|
|
@@ -284,7 +293,7 @@ and want external items too, add a subscription to `menuExternalUrlSelected`.
|
|
|
284
293
|
`lib-multi-editor` now sends rows that `newData()` pre-filled but the user never edited. Nothing to do
|
|
285
294
|
if your `newData()` returns an empty object (`{}`) — the common "blank row" convention — since a
|
|
286
295
|
value-less row is still skipped and the posted batch is byte-for-byte what it was before. If your
|
|
287
|
-
`newData()`
|
|
296
|
+
`newData()` _does_ return field values, those rows now reach `saveData()` where they were previously
|
|
288
297
|
dropped, so a batch may contain entries it did not before; verify your backend rejects or defaults
|
|
289
298
|
them as you expect.
|
|
290
299
|
|
|
@@ -365,7 +374,8 @@ config options and the `getUserProfile()` method still exist but are no longer c
|
|
|
365
374
|
available via [GitHub Releases](https://github.com/RicardoZambon/ZLibraries/releases) and the
|
|
366
375
|
`library-v*` tags.
|
|
367
376
|
|
|
368
|
-
[Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/library-v2.0.
|
|
377
|
+
[Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/library-v2.0.1...HEAD
|
|
378
|
+
[2.0.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v2.0.1
|
|
369
379
|
[2.0.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v2.0.0
|
|
370
380
|
[1.6.4]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.6.4
|
|
371
381
|
[1.6.3]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.6.3
|
package/README.md
CHANGED
|
@@ -17,16 +17,16 @@ npm install @zambon-dev/library
|
|
|
17
17
|
|
|
18
18
|
All peers must be present in the consuming application:
|
|
19
19
|
|
|
20
|
-
| Package
|
|
21
|
-
|
|
|
22
|
-
| `@angular/cdk`
|
|
23
|
-
| `@angular/common`
|
|
24
|
-
| `@angular/core`
|
|
25
|
-
| `@angular/forms`
|
|
26
|
-
| `@angular/router`
|
|
20
|
+
| Package | Range |
|
|
21
|
+
| --------------------- | --------- |
|
|
22
|
+
| `@angular/cdk` | `^19.1.5` |
|
|
23
|
+
| `@angular/common` | `^19.1.0` |
|
|
24
|
+
| `@angular/core` | `^19.1.0` |
|
|
25
|
+
| `@angular/forms` | `^19.1.0` |
|
|
26
|
+
| `@angular/router` | `^19.1.0` |
|
|
27
27
|
| `@ngx-translate/core` | `^16.0.4` |
|
|
28
|
-
| `ngx-resize-observer` | `^3.0.0`
|
|
29
|
-
| `rxjs`
|
|
28
|
+
| `ngx-resize-observer` | `^3.0.0` |
|
|
29
|
+
| `rxjs` | `^7.8.0` |
|
|
30
30
|
|
|
31
31
|
## Usage
|
|
32
32
|
|