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

@@ -1,7 +0,0 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
"workingDir": "./temp/deploy/",
"account": "<!-- STORAGE ACCOUNT NAME -->",
"container": "mega-menu",
"accessKey": "<!-- ACCESS KEY -->"
}

View File

@@ -3,7 +3,7 @@
"solution": {
"name": "mega-menu-client-side-solution",
"id": "f4660e06-ce08-43ee-bfb7-5c4464e01133",
"version": "2.0.1.0",
"version": "2.1.0.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true
},

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
}
}
}