From 66f3a4b59ee360622eeab42f4feda46f41dc50f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 31 May 2023 13:48:03 +0300 Subject: [PATCH] .d.ts fixes --- components/lib/menubar/Menubar.d.ts | 8 ++++---- components/lib/tieredmenu/TieredMenu.d.ts | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/components/lib/menubar/Menubar.d.ts b/components/lib/menubar/Menubar.d.ts index ccb05d868..6e113f0bf 100755 --- a/components/lib/menubar/Menubar.d.ts +++ b/components/lib/menubar/Menubar.d.ts @@ -59,10 +59,6 @@ export interface MenubarPassThroughOptions { * Uses to pass attributes to the submenu icon's DOM element. */ submenuIcon?: MenubarPassThroughOptionType; - /** - * Uses to pass attributes to the submenu's DOM element. - */ - submenu?: MenubarPassThroughOptionType; /** * Uses to pass attributes to the separator's DOM element. */ @@ -75,6 +71,10 @@ export interface MenubarPassThroughOptions { * Uses to pass attributes to the mobile popup menu button icon's DOM element. */ popupIcon?: MenubarPassThroughOptionType; + /** + * Uses to pass attributes to the submenu's DOM element. + */ + submenu?: MenubarPassThroughOptionType; /** * Uses to pass attributes to the start of the component. */ diff --git a/components/lib/tieredmenu/TieredMenu.d.ts b/components/lib/tieredmenu/TieredMenu.d.ts index ff341bf06..ee98a1bd7 100755 --- a/components/lib/tieredmenu/TieredMenu.d.ts +++ b/components/lib/tieredmenu/TieredMenu.d.ts @@ -59,19 +59,14 @@ export interface TieredMenuPassThroughOptions { * Uses to pass attributes to the submenu icon's DOM element. */ submenuIcon?: TieredMenuPassThroughOptionType; - /** - * Uses to pass attributes to the submenu's DOM element. - */ - submenu?: TieredMenuPassThroughOptionType; /** * Uses to pass attributes to the separator's DOM element. */ separator?: TieredMenuPassThroughOptionType; /** - * When enabled, it removes component related styles in the core. - * @defaultValue false + * Uses to pass attributes to the submenu's DOM element. */ - unstyled?: boolean; + submenu?: TieredMenuPassThroughOptionType; } /** @@ -200,6 +195,11 @@ export interface TieredMenuProps { * @type {TieredMenuPassThroughOptions} */ pt?: TieredMenuPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /**