feat(appui-tabs): add closeable tabs and auto-hide behavior for content tabs, plus API and events to control them

This commit is contained in:
2025-12-29 23:33:38 +00:00
parent 7b39c871f3
commit 5f67bcfb71
9 changed files with 369 additions and 5 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2025-12-29 - 3.10.0 - feat(appui-tabs)
add closeable tabs and auto-hide behavior for content tabs, plus API and events to control them
- Add closeable tab support: IMenuItem.closeable & IMenuItem.onClose; dees-appui-tabs renders a close button, invokes onClose, and emits a 'tab-close' event.
- Add auto-hide feature: dees-appui-tabs (autoHide, autoHideThreshold) and corresponding properties in dees-appui-maincontent/dees-appui-base to hide tabs when count ≤ threshold.
- Expose new API: dees-appui-base.setContentTabsAutoHide(enabled, threshold) and update appconfig interface to include setContentTabsAutoHide.
- Re-emit 'tab-close' events from dees-appui-maincontent and dees-appui-base so parent components can react to tab closures.
- Add interactive demos (demo-closeable-tabs, demo-autohide-tabs) demonstrating the new closeable and auto-hide behaviors and controls.
## 2025-12-29 - 3.9.0 - feat(dees-appui-mainmenu)
add status badges to main menu items with theme-aware styling