design-angular-kit
design-angular-kit copied to clipboard
feat(tab): add responsive vertical breakpoint support
Closes #577
Adds a verticalBreakpoint input to ItTabContainerComponent that enables responsive vertical tab layout. When set, the vertical layout activates only when the viewport width is at or above the specified Bootstrap breakpoint (sm/md/lg/xl/xxl).
Changes
- New
BootstrapBreakpointexported type - New
verticalBreakpointinput onItTabContainerComponent isVerticalcomputed getter replaces directverticalusage in the template- Uses
window.matchMediafor responsive switching with proper cleanup - Template updated to use
isVerticalfor all class bindings - 6 new tests covering static vertical, responsive breakpoint, and cleanup
Usage
<it-tab-container [vertical]="true">...</it-tab-container>
<it-tab-container [vertical]="true" verticalBreakpoint="md">...</it-tab-container>
Testing
- 115/115 tests passing (ChromeHeadless)
- 0 lint errors
- Double gate verified
⚠️ This reopens #645 which was accidentally closed due to fork deletion.
@giulio-leone is attempting to deploy a commit to the dip-trasformazione-digitale Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| design-angular-kit | Preview | Mar 27, 2026 3:41pm |
@astagi this PR needs a deeper investigation