Rename SidebarSubItemDropDownItem to SidebarSubmenuItemDropDownItem, update api-reports

Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
This commit is contained in:
hiba-aldalaty
2021-11-26 11:44:52 +00:00
parent de81ed2cd0
commit 32cac66991
4 changed files with 12 additions and 12 deletions
+7 -7
View File
@@ -1981,12 +1981,6 @@ export const SidebarSpacer: React_2.ComponentType<
}
>;
// @public
export type SidebarSubItemDropDownItem = {
title: string;
to: string;
};
// @public
export const SidebarSubmenu: ({
title,
@@ -1998,12 +1992,18 @@ export const SidebarSubmenuItem: (
props: SidebarSubmenuItemProps,
) => JSX.Element;
// @public
export type SidebarSubmenuItemDropDownItem = {
title: string;
to: string;
};
// @public
export type SidebarSubmenuItemProps = {
title: string;
to: string;
icon: IconComponent;
dropdownItems?: SidebarSubItemDropDownItem[];
dropdownItems?: SidebarSubmenuItemDropDownItem[];
};
// @public
@@ -87,7 +87,7 @@ const useStyles = makeStyles<BackstageTheme>(theme => ({
*
* @public
*/
export type SidebarSubItemDropDownItem = {
export type SidebarSubmenuItemDropDownItem = {
title: string;
to: string;
};
@@ -105,7 +105,7 @@ export type SidebarSubmenuItemProps = {
title: string;
to: string;
icon: IconComponent;
dropdownItems?: SidebarSubItemDropDownItem[];
dropdownItems?: SidebarSubmenuItemDropDownItem[];
};
/**
@@ -20,7 +20,7 @@ export { SidebarSubmenu } from './SidebarSubmenu';
export type { SidebarSubmenuProps } from './SidebarSubmenu';
export type {
SidebarSubmenuItemProps,
SidebarSubItemDropDownItem,
SidebarSubmenuItemDropDownItem,
} from './SidebarSubmenuItem';
export type { SidebarClassKey } from './Bar';
export { SidebarPage, SidebarPinStateContext } from './Page';
+2 -2
View File
@@ -41,10 +41,10 @@ export type BackstagePaletteAdditions = {
indicator: string;
color: string;
selectedColor: string;
navItem: {
navItem?: {
hoverBackground: string;
};
submenu: {
submenu?: {
background: string;
};
};