From 5c6ffcc482217ec5ec238505f2998ebfafb46470 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 8 Nov 2023 15:54:46 +0300 Subject: [PATCH] Api generator updates --- api-generator/components/breadcrumb.js | 6 ------ api-generator/components/contextmenu.js | 6 ------ api-generator/components/dock.js | 6 ------ api-generator/components/megamenu.js | 6 ------ api-generator/components/menu.js | 6 ------ api-generator/components/menubar.js | 6 ------ api-generator/components/panelmenu.js | 6 ------ api-generator/components/steps.js | 12 ++++++------ api-generator/components/tabmenu.js | 6 ------ api-generator/components/tieredmenu.js | 6 ------ 10 files changed, 6 insertions(+), 60 deletions(-) diff --git a/api-generator/components/breadcrumb.js b/api-generator/components/breadcrumb.js index 19625575f..84e1c106f 100644 --- a/api-generator/components/breadcrumb.js +++ b/api-generator/components/breadcrumb.js @@ -11,12 +11,6 @@ const BreadcrumbProps = [ default: 'null', description: 'Configuration for the home icon.' }, - { - name: 'exact', - type: 'boolean', - default: 'true', - description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." - }, { name: 'pt', type: 'any', diff --git a/api-generator/components/contextmenu.js b/api-generator/components/contextmenu.js index 9db7ca40d..b4cb01189 100644 --- a/api-generator/components/contextmenu.js +++ b/api-generator/components/contextmenu.js @@ -29,12 +29,6 @@ const ContextMenuProps = [ default: 'false', description: 'Attaches the menu to document instead of a particular item.' }, - { - name: 'exact', - type: 'boolean', - default: 'true', - description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." - }, { name: 'pt', type: 'any', diff --git a/api-generator/components/dock.js b/api-generator/components/dock.js index f2b6044e6..9d4b79c9d 100644 --- a/api-generator/components/dock.js +++ b/api-generator/components/dock.js @@ -23,12 +23,6 @@ const DockProps = [ default: 'null', description: 'Inline style of the element.' }, - { - name: 'exact', - type: 'boolean', - default: 'true', - description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." - }, { name: 'tooltipOptions', type: 'object', diff --git a/api-generator/components/megamenu.js b/api-generator/components/megamenu.js index c98c46026..f65e14042 100644 --- a/api-generator/components/megamenu.js +++ b/api-generator/components/megamenu.js @@ -11,12 +11,6 @@ const MegaMenuProps = [ default: 'horizontal', description: 'Defines the orientation, valid values are horizontal and vertical.' }, - { - name: 'exact', - type: 'boolean', - default: 'true', - description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." - }, { name: 'pt', type: 'any', diff --git a/api-generator/components/menu.js b/api-generator/components/menu.js index 99790cc95..d657acac3 100644 --- a/api-generator/components/menu.js +++ b/api-generator/components/menu.js @@ -29,12 +29,6 @@ const MenuProps = [ default: 'true', description: 'Whether to automatically manage layering.' }, - { - name: 'exact', - type: 'boolean', - default: 'true', - description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." - }, { name: 'pt', type: 'any', diff --git a/api-generator/components/menubar.js b/api-generator/components/menubar.js index 90ef2b5f5..446760098 100644 --- a/api-generator/components/menubar.js +++ b/api-generator/components/menubar.js @@ -5,12 +5,6 @@ const MenubarProps = [ default: 'null', description: 'An array of menuitems.' }, - { - name: 'exact', - type: 'boolean', - default: 'true', - description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." - }, { name: 'pt', type: 'any', diff --git a/api-generator/components/panelmenu.js b/api-generator/components/panelmenu.js index c0a2ab7e8..d1a2c8863 100644 --- a/api-generator/components/panelmenu.js +++ b/api-generator/components/panelmenu.js @@ -11,12 +11,6 @@ const PanelMenuProps = [ default: 'null', description: 'A map of keys to represent the expansion state in controlled mode.' }, - { - name: 'exact', - type: 'boolean', - default: 'true', - description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." - }, { name: 'pt', type: 'any', diff --git a/api-generator/components/steps.js b/api-generator/components/steps.js index 07df23eaf..f1db20305 100644 --- a/api-generator/components/steps.js +++ b/api-generator/components/steps.js @@ -11,18 +11,18 @@ const StepsProps = [ default: 'null', description: 'An array of menuitems.' }, + { + name: 'activeStep', + type: 'number', + default: '0', + description: 'Active step index of menuitem.' + }, { name: 'readonly', type: 'boolean', default: 'true', description: 'Whether the items are clickable or not.' }, - { - name: 'exact', - type: 'boolean', - default: 'true', - description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." - }, { name: 'pt', type: 'any', diff --git a/api-generator/components/tabmenu.js b/api-generator/components/tabmenu.js index 10800fedf..8a114e519 100644 --- a/api-generator/components/tabmenu.js +++ b/api-generator/components/tabmenu.js @@ -5,12 +5,6 @@ const TabMenuProps = [ default: 'null', description: 'An array of menuitems.' }, - { - name: 'exact', - type: 'boolean', - default: 'true', - description: 'Defines if active route highlight should match the exact route path.' - }, { name: 'activeIndex', type: 'number', diff --git a/api-generator/components/tieredmenu.js b/api-generator/components/tieredmenu.js index 0221fd814..3aced9452 100644 --- a/api-generator/components/tieredmenu.js +++ b/api-generator/components/tieredmenu.js @@ -29,12 +29,6 @@ const TieredMenuProps = [ default: 'true', description: 'Whether to automatically manage layering.' }, - { - name: 'exact', - type: 'boolean', - default: 'true', - description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." - }, { name: 'pt', type: 'any',