@zambon-dev/framework 1.1.1 → 1.2.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 CHANGED
@@ -23,24 +23,50 @@ 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.1.1] - 2026-06-20
26
+ ## [1.2.1] - 2026-07-29
27
27
 
28
28
  ### Fixed
29
29
 
30
- - `framework-button-export` now forwards its `iconSize` input to the underlying ribbon button,
31
- so setting `iconSize` correctly resizes the export button's icon. Previously the input was
32
- ignored and the icon always rendered at the default size.
30
+ - Lint configuration only: the library's ESLint selector rules now accept the `framework-` prefix
31
+ that every `@framework` component already uses. They previously still expected the Angular
32
+ scaffold's `lib` prefix, so the entire component surface reported
33
+ `@angular-eslint/component-selector` errors. No selector was renamed, and no published API or
34
+ runtime behavior changed — nothing to do on upgrade.
35
+
36
+ ### ⚠ Breaking Changes / Migration
37
+
38
+ None.
39
+
40
+ ## [1.2.0] - 2026-07-24
41
+
42
+ ### Added
43
+
44
+ - `AppConfig` now accepts optional application metadata through a second `options` argument:
45
+ `appName`, `companyName`, `environment`, `logoUrl`, `version`, `notificationsEnabled`, and
46
+ `notificationsUrl`. These are consumed by the shared application shell (top bar + navigation).
47
+ Existing `new AppConfig(baseUrl)` calls continue to work unchanged (`notificationsEnabled`
48
+ defaults to `false`, other new fields to empty strings).
33
49
 
34
50
  ### ⚠ Breaking Changes / Migration
35
51
 
36
52
  None.
37
53
 
54
+ ## [1.1.1] - 2026-06-20
55
+
56
+ ### Fixed
57
+
58
+ - `framework-button-export` now forwards its `iconSize` input to the underlying ribbon button,
59
+ so setting `iconSize` correctly resizes the export button's icon. Previously the input was
60
+ ignored and the icon always rendered at the default size.
61
+
38
62
  ## [1.1.0] - 2026-06-02
39
63
 
40
64
  - Baseline release: the changelog starts being tracked from this version. Earlier history is
41
65
  available via [GitHub Releases](https://github.com/RicardoZambon/ZLibraries/releases) and the
42
66
  `framework-v*` tags.
43
67
 
44
- [Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/framework-v1.1.1...HEAD
68
+ [Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/framework-v1.2.1...HEAD
69
+ [1.2.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/framework-v1.2.1
70
+ [1.2.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/framework-v1.2.0
45
71
  [1.1.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/framework-v1.1.1
46
72
  [1.1.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/framework-v1.1.0
@@ -3602,8 +3602,29 @@ const APP_CONFIG = new InjectionToken('Manually constructed AppConfig', {
3602
3602
  });
3603
3603
  class AppConfig {
3604
3604
  BASE_URL;
3605
- constructor(baseUrl) {
3605
+ /** Application name shown in the top bar brand block. */
3606
+ appName;
3607
+ /** Company name shown beneath the application name. */
3608
+ companyName;
3609
+ /** Environment key (e.g. 'DEV', 'QA', 'STG', 'PROD'). Empty string when unset. */
3610
+ environment;
3611
+ /** Optional brand logo URL shown in the top bar. */
3612
+ logoUrl;
3613
+ /** Whether the top-bar notifications feature (bell + badge) is enabled. */
3614
+ notificationsEnabled;
3615
+ /** SignalR hub URL the notifications service connects to when enabled. */
3616
+ notificationsUrl;
3617
+ /** Application version string (e.g. '1.4.0'), shown at the bottom of the navigation. */
3618
+ version;
3619
+ constructor(baseUrl, options) {
3606
3620
  this.BASE_URL = baseUrl;
3621
+ this.appName = options?.appName ?? '';
3622
+ this.companyName = options?.companyName ?? '';
3623
+ this.environment = options?.environment ?? '';
3624
+ this.logoUrl = options?.logoUrl;
3625
+ this.notificationsEnabled = options?.notificationsEnabled ?? false;
3626
+ this.notificationsUrl = options?.notificationsUrl ?? '';
3627
+ this.version = options?.version ?? '';
3607
3628
  }
3608
3629
  }
3609
3630