@zambon-dev/library 1.6.2 → 1.6.3

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/README.md +90 -0
  3. package/package.json +4 -2
package/CHANGELOG.md CHANGED
@@ -23,6 +23,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
23
 
24
24
  ### ⚠ Breaking Changes / Migration
25
25
 
26
+ ## [1.6.3] - 2026-09-20
27
+
28
+ ### Fixed
29
+
30
+ - Declared `ngx-resize-observer` and `rxjs` in `peerDependencies`. `DataGridRowComponent` imports
31
+ `ngx-resize-observer` at runtime, but the package was never declared, so installing
32
+ `@zambon-dev/library` on its own left the dependency unresolved.
33
+ - Added a README to the published package.
34
+
26
35
  ## [1.6.2] - 2026-09-20
27
36
 
28
37
  ### Fixed
@@ -315,7 +324,8 @@ config options and the `getUserProfile()` method still exist but are no longer c
315
324
  available via [GitHub Releases](https://github.com/RicardoZambon/ZLibraries/releases) and the
316
325
  `library-v*` tags.
317
326
 
318
- [Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/library-v1.6.2...HEAD
327
+ [Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/library-v1.6.3...HEAD
328
+ [1.6.3]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.6.3
319
329
  [1.6.2]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.6.2
320
330
  [1.6.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.6.1
321
331
  [1.6.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.6.0
package/README.md ADDED
@@ -0,0 +1,90 @@
1
+ # @zambon-dev/library
2
+
3
+ Angular UI components and shared presentation utilities for Zambon applications.
4
+
5
+ This is the presentation layer of [ZLibraries](https://github.com/RicardoZambon/ZLibraries). It has no
6
+ knowledge of authentication, routing shells or backend contracts — those live in
7
+ [`@zambon-dev/framework`](https://www.npmjs.com/package/@zambon-dev/framework) and
8
+ [`@zambon-dev/shared`](https://www.npmjs.com/package/@zambon-dev/shared), both of which build on this package.
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ npm install @zambon-dev/library
14
+ ```
15
+
16
+ ### Peer dependencies
17
+
18
+ All peers must be present in the consuming application:
19
+
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
+ | `@ngx-translate/core` | `^16.0.4` |
28
+ | `ngx-resize-observer` | `^3.0.0` |
29
+ | `rxjs` | `^7.8.0` |
30
+
31
+ ## Usage
32
+
33
+ Every component is standalone, so import only what a given component needs:
34
+
35
+ ```ts
36
+ import { Component } from '@angular/core';
37
+ import { DataGridComponent, FormInputComponent } from '@zambon-dev/library';
38
+
39
+ @Component({
40
+ selector: 'app-customers',
41
+ imports: [DataGridComponent, FormInputComponent],
42
+ templateUrl: './customers.component.html',
43
+ })
44
+ export class CustomersComponent {}
45
+ ```
46
+
47
+ `LibraryModule` is also exported for applications that are still NgModule-based, and re-exports every
48
+ component, directive and pipe listed below.
49
+
50
+ ## Styles
51
+
52
+ The package ships SCSS that the components expect. Import it once, at the application root:
53
+
54
+ ```scss
55
+ @use '@zambon-dev/library/styles' as library;
56
+ ```
57
+
58
+ That entry point resolves to `styles/variables.scss` and is also reachable as
59
+ `@zambon-dev/library/styles/variables`.
60
+
61
+ ## What's included
62
+
63
+ **Components** — `BaseComponent`, `CatalogSelectComponent`, `DataGridComponent`, `DataGridRowComponent`,
64
+ `FormInputComponent`, `FormInputGroupComponent`, `FormGroupComponent`, `GroupAccordionComponent`,
65
+ `GroupContainerComponent`, `GroupScrollSpyComponent`, `ModalComponent`, `MultiEditorComponent`,
66
+ `MultiSelectComponent`, `MultiSelectResultGridComponent`, `SidebarComponent`, `RibbonComponent`,
67
+ `RibbonButtonComponent`, `RibbonGroupComponent`
68
+
69
+ **Directives** — `ScrollSpyDirective`
70
+
71
+ **Pipes** — `EnumTranslatePipe`, `ReplacePipe`, `ReplaceManyPipe`
72
+
73
+ Helpers, models, configuration providers, services and validators are exported from the package root as well.
74
+
75
+ ## Documentation
76
+
77
+ Component behaviour and variants are documented as Storybook stories alongside the source. To browse them:
78
+
79
+ ```bash
80
+ npm run storybook:library
81
+ ```
82
+
83
+ ## Contributing
84
+
85
+ See the [workspace README](https://github.com/RicardoZambon/ZLibraries#readme) for the development setup,
86
+ and [CHANGELOG.md](./CHANGELOG.md) for release history.
87
+
88
+ ## License
89
+
90
+ MIT © Ricardo Zambon
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zambon-dev/library",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "Angular UI components and shared presentation utilities for Zambon applications.",
5
5
  "keywords": [
6
6
  "angular",
@@ -26,7 +26,9 @@
26
26
  "@angular/core": "^19.1.0",
27
27
  "@angular/forms": "^19.1.0",
28
28
  "@angular/router": "^19.1.0",
29
- "@ngx-translate/core": "^16.0.4"
29
+ "@ngx-translate/core": "^16.0.4",
30
+ "ngx-resize-observer": "^3.0.0",
31
+ "rxjs": "^7.8.0"
30
32
  },
31
33
  "publishConfig": {
32
34
  "access": "public"