From 6c0edbffb1ddd1d8f0f2c1aeb1ebad7f303599d3 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sat, 11 May 2024 11:33:40 +0300 Subject: [PATCH] Tokens for MegaMenu --- components/lib/megamenu/MegaMenu.d.ts | 10 +- components/lib/megamenu/MegaMenuSub.vue | 6 +- .../lib/megamenu/style/MegaMenuStyle.js | 167 ++++++++++-------- components/lib/themes/aura/megamenu/index.js | 62 ++++++- components/lib/themes/lara/megamenu/index.js | 77 +++++++- 5 files changed, 222 insertions(+), 100 deletions(-) diff --git a/components/lib/megamenu/MegaMenu.d.ts b/components/lib/megamenu/MegaMenu.d.ts index f403774a8..2fb28fcd6 100755 --- a/components/lib/megamenu/MegaMenu.d.ts +++ b/components/lib/megamenu/MegaMenu.d.ts @@ -87,9 +87,9 @@ export interface MegaMenuPassThroughOptions { */ submenuIcon?: MegaMenuPassThroughOptionType; /** - * Used to pass attributes to the panel's DOM element. + * Used to pass attributes to the overlay DOM element. */ - panel?: MegaMenuPassThroughOptionType; + overlay?: MegaMenuPassThroughOptionType; /** * Used to pass attributes to the grid's DOM element. */ @@ -101,15 +101,11 @@ export interface MegaMenuPassThroughOptions { /** * Used to pass attributes to the submenu item's DOM element. */ - submenuItem?: MegaMenuPassThroughOptionType; + submenuLabel?: MegaMenuPassThroughOptionType; /** * Used to pass attributes to the submenu's DOM element. */ submenu?: MegaMenuPassThroughOptionType; - /** - * Used to pass attributes to the submenu item label's DOM element. - */ - submenuItemLabel?: MegaMenuPassThroughOptionType; /** * Used to pass attributes to the separator's DOM element. */ diff --git a/components/lib/megamenu/MegaMenuSub.vue b/components/lib/megamenu/MegaMenuSub.vue index ad1b2dcdd..e76c83f04 100644 --- a/components/lib/megamenu/MegaMenuSub.vue +++ b/components/lib/megamenu/MegaMenuSub.vue @@ -1,6 +1,6 @@