feat: Add support for flyout menu mode in MegaMenu

- Introduced `MegaMenuMode` type and `normalizeMegaMenuMode` function to handle menu modes.
- Updated `MegaMenuApplicationCustomizer` to accept `menuMode` property.
- Enhanced `MegaMenuRenderer` to render flyout menus based on the selected mode.
- Created new HTML previews for both flyout and mega menu modes.
- Removed unused mock services and user custom action service interfaces.
This commit is contained in:
Torsten Brendgen
2026-07-20 20:37:32 +02:00
parent e75b11117f
commit bc61166267
27 changed files with 1320 additions and 1833 deletions

View File

@@ -10,7 +10,9 @@
"location": "ClientSideExtension.ApplicationCustomizer",
"properties": {
"termSetName": "Horizontale Navigation",
"additionalCssUrl": "/siteAssets/Navigation/Navigation.css"
"cacheMinutes": 15,
"menuMode": "megaMenu",
"debug": true
}
}
}
@@ -21,7 +23,10 @@
"c0abbffb-355d-4d4e-bd38-9e15fb811506": {
"location": "ClientSideExtension.ApplicationCustomizer",
"properties": {
"testMessage": "Test message"
"termSetName": "Global Navigation",
"cacheMinutes": 15,
"menuMode": "flyout",
"debug": true
}
}
}