@zambon-dev/library 1.1.1 → 1.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 ADDED
@@ -0,0 +1,96 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@zambon-dev/library` are documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ > **Upgrading?** Each release lists what changed and, under
9
+ > **⚠ Breaking Changes / Migration**, the concrete steps required to move to that version.
10
+ > When no migration is needed, that subsection is omitted.
11
+
12
+ ## [Unreleased]
13
+
14
+ ### Added
15
+
16
+ ### Changed
17
+
18
+ ### Deprecated
19
+
20
+ ### Removed
21
+
22
+ ### Fixed
23
+
24
+ ### ⚠ Breaking Changes / Migration
25
+
26
+ ## [1.3.0] - 2026-07-28
27
+
28
+ ### Added
29
+
30
+ - Semantic `--sidebar-*` design tokens covering the sidebar's surfaces, text, selection, glass, and
31
+ radii (`--sidebar-bg`, `--sidebar-nav-bg`, `--sidebar-text`, `--sidebar-text-muted`,
32
+ `--sidebar-item-hover-bg`, `--sidebar-item-selected-bg`, `--sidebar-blur`, `--sidebar-shadow`,
33
+ `--sidebar-tree-line`, `--sidebar-radius`, `--sidebar-item-radius`, …) so consumers can re-theme
34
+ the sidebar entirely via CSS custom properties.
35
+ - **Menu regions**: an optional `SidebarMenu.region` label groups top-level items under an uppercase
36
+ group header (e.g. "MAIN"). Items without a `region` render ungrouped, so it stays
37
+ backward-compatible. When the rail is collapsed, each header cross-fades to a short separator line
38
+ so the groups remain visually distinct. The grouping type is exported as `SidebarRegion`.
39
+
40
+ ### Changed
41
+
42
+ - Selected menu items now render as a rounded **pill** highlight (inset when expanded) instead of the
43
+ previous 4px left accent bar.
44
+ - The sidebar is now a **translucent, blurred "glass" panel** — rounded corners, a soft drop shadow,
45
+ and a semi-transparent brand surface — rather than a solid, square, edge-to-edge rail (all
46
+ token-driven via `--sidebar-bg`, `--sidebar-blur`, `--sidebar-shadow`, `--sidebar-radius`).
47
+ - **Child (sub-menu) items** now render a rounded **tree-connector** line instead of a menu icon;
48
+ top-level items keep their icons.
49
+ - Collapsing/expanding the rail is now **animated end to end**: the toggle chevron and the
50
+ expandable-parent caret rotate in the same direction, the selection pill inset and item icons ease
51
+ into place, and region headers cross-fade to their separators — all in sync with the rail width.
52
+
53
+ ### ⚠ Breaking Changes / Migration
54
+
55
+ The sidebar surface is now **translucent** ("glass"). If your app does not place a colored backdrop
56
+ behind the sidebar, the rail will look faint over plain/neutral content — either add a
57
+ colored/gradient backdrop behind it (see `@shared`'s `--app-backdrop` in `MainLayoutComponent`) or
58
+ override `--sidebar-bg` (and the other `--sidebar-*` surface tokens) with opaque values to keep a
59
+ solid rail.
60
+
61
+ ## [1.2.0] - 2026-07-24
62
+
63
+ ### Added
64
+
65
+ - `SidebarComponent` now renders its own collapse/expand toggle: a light circular chevron "handle"
66
+ that straddles the sidebar's right edge (`angle-left` to collapse when expanded, `angle-right` to
67
+ expand when collapsed), matching the conventional rail-collapse affordance.
68
+ - `SidebarComponent` now has a content-projection slot (`<ng-content>`) rendered as a footer at the
69
+ bottom of the sidebar — for extra elements after the menu (e.g. an app version). It is hidden when
70
+ the rail is collapsed and collapses entirely when nothing is projected.
71
+
72
+ ### Changed
73
+
74
+ - `SidebarComponent` no longer renders the logo or the user-profile header — it now shows only the
75
+ navigation toggle and menu. Application branding and user identity are expected to live in the top
76
+ bar (`shared-top-bar` in `@shared`).
77
+ - Sidebar menu items now use an on-palette hover surface (a subtle light overlay) instead of the
78
+ previous off-palette `slate-700`.
79
+
80
+ ### ⚠ Breaking Changes / Migration
81
+
82
+ If you relied on the sidebar's logo (`SidebarConfigs.logoCollapsedPath` / `logoExpandedPath`) or its
83
+ user profile (`SidebarService.getUserProfile()`), move that presentation to the top bar. Those
84
+ config options and the `getUserProfile()` method still exist but are no longer consumed by
85
+ `SidebarComponent`.
86
+
87
+ ## [1.1.1] - 2026-06-17
88
+
89
+ - Baseline release: the changelog starts being tracked from this version. Earlier history is
90
+ available via [GitHub Releases](https://github.com/RicardoZambon/ZLibraries/releases) and the
91
+ `library-v*` tags.
92
+
93
+ [Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/library-v1.3.0...HEAD
94
+ [1.3.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.3.0
95
+ [1.2.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.2.0
96
+ [1.1.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/library-v1.1.1