diff --git a/api-generator/components/breadcrumb.js b/api-generator/components/breadcrumb.js index d9f30c127..9026db2fd 100644 --- a/api-generator/components/breadcrumb.js +++ b/api-generator/components/breadcrumb.js @@ -13,10 +13,18 @@ const BreadcrumbProps = [ } ]; +const BreadcrumbSlots = [ + { + name: "item", + description: "Template of a menuitem." + } +]; + module.exports = { breadcrumb: { name: "Breadcrumb", description: "Breadcrumb provides contextual information about page hierarchy.", - props: BreadcrumbProps + props: BreadcrumbProps, + slots: BreadcrumbSlots } }; diff --git a/api-generator/components/contextmenu.js b/api-generator/components/contextmenu.js index ecf499389..4717620b4 100644 --- a/api-generator/components/contextmenu.js +++ b/api-generator/components/contextmenu.js @@ -31,10 +31,18 @@ const ContextMenuProps = [ } ]; +const ContextMenuSlots = [ + { + name: "item", + description: "Template of a menuitem." + } +]; + module.exports = { contextmenu: { name: "ContextMenu", description: "ContextMenu displays an overlay menu on right click of its target.", - props: ContextMenuProps + props: ContextMenuProps, + slots: ContextMenuSlots } }; diff --git a/api-generator/components/megamenu.js b/api-generator/components/megamenu.js index f35c51e37..90d0b90e4 100644 --- a/api-generator/components/megamenu.js +++ b/api-generator/components/megamenu.js @@ -13,10 +13,18 @@ const MegaMenuProps = [ } ]; +const MegaMenuSlots = [ + { + name: "item", + description: "Template of a menuitem." + } +]; + module.exports = { megamenu: { name: "MegaMenu", description: "MegaMenu is navigation component that displays submenus together.", - props: MegaMenuProps + props: MegaMenuProps, + slots: MegaMenuSlots } }; diff --git a/api-generator/components/menu.js b/api-generator/components/menu.js index 1067c2628..946e28718 100644 --- a/api-generator/components/menu.js +++ b/api-generator/components/menu.js @@ -31,10 +31,18 @@ const MenuProps = [ } ]; +const MenuSlots = [ + { + name: "item", + description: "Template of a menuitem." + } +]; + module.exports = { menu: { name: "Menu", description: "Menu is a navigation / command component that supports dynamic and static positioning.", - props: MenuProps + props: MenuProps, + slots: MenuSlots } }; diff --git a/api-generator/components/menubar.js b/api-generator/components/menubar.js index 3ad9730ba..549d8c047 100644 --- a/api-generator/components/menubar.js +++ b/api-generator/components/menubar.js @@ -15,6 +15,10 @@ const MenubarSlots = [ { name: "end", description: "Custom content after the content" + }, + { + name: "item", + description: "Template of a menuitem." } ]; diff --git a/api-generator/components/panelmenu.js b/api-generator/components/panelmenu.js index ef12ca758..506ac8c1f 100644 --- a/api-generator/components/panelmenu.js +++ b/api-generator/components/panelmenu.js @@ -7,10 +7,18 @@ const PanelMenuProps = [ } ]; +const PanelMenuSlots = [ + { + name: "item", + description: "Template of a menuitem." + } +]; + module.exports = { panelmenu: { name: "PanelMenu", description: "PanelMenu is a hybrid of Accordion and Tree components", - props: PanelMenuProps + props: PanelMenuProps, + slots: PanelMenuSlots } }; diff --git a/api-generator/components/steps.js b/api-generator/components/steps.js index e33eb0949..87a4f88a0 100644 --- a/api-generator/components/steps.js +++ b/api-generator/components/steps.js @@ -19,10 +19,18 @@ const StepsProps = [ } ]; +const StepsSlots = [ + { + name: "item", + description: "Template of a menuitem." + } +]; + module.exports = { steps: { name: "steps", description: "Steps components is an indicator for the steps in a wizard workflow.", - props: StepsProps + props: StepsProps, + slots: StepsSlots } }; diff --git a/api-generator/components/tabmenu.js b/api-generator/components/tabmenu.js index 25e1b4a74..dbe2ad7f5 100644 --- a/api-generator/components/tabmenu.js +++ b/api-generator/components/tabmenu.js @@ -13,10 +13,18 @@ const TabMenuProps = [ } ]; +const TabMenuSlots = [ + { + name: "item", + description: "Template of a menuitem." + } +]; + module.exports = { tabmenu: { name: "TabMenu", description: "TabMenu is a navigation component that displays items as tab headers.", - props: TabMenuProps + props: TabMenuProps, + slots: TabMenuSlots } }; diff --git a/api-generator/components/tieredmenu.js b/api-generator/components/tieredmenu.js index d99bf878b..3d76587ab 100644 --- a/api-generator/components/tieredmenu.js +++ b/api-generator/components/tieredmenu.js @@ -31,10 +31,18 @@ const TieredMenuProps = [ } ]; +const TieredMenuSlots = [ + { + name: "item", + description: "Template of a menuitem." + } +]; + module.exports = { tieredmenu: { name: "TieredMenu", description: "TieredMenu displays submenus in nested overlays.", - props: TieredMenuProps + props: TieredMenuProps, + slots: TieredMenuSlots } }; diff --git a/src/components/breadcrumb/Breadcrumb.vue b/src/components/breadcrumb/Breadcrumb.vue index 15d8501b8..2b317dee9 100755 --- a/src/components/breadcrumb/Breadcrumb.vue +++ b/src/components/breadcrumb/Breadcrumb.vue @@ -1,10 +1,10 @@