Refactoring based on feedback
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
@@ -800,9 +800,6 @@ export function MissingAnnotationEmptyState(
|
||||
props: Props_3,
|
||||
): React_2.JSX.Element;
|
||||
|
||||
// @public @deprecated (undocumented)
|
||||
export type MissingAnnotationEmptyStateClassKey = 'code';
|
||||
|
||||
// @public
|
||||
export const MobileSidebar: (
|
||||
props: MobileSidebarProps,
|
||||
|
||||
@@ -49,12 +49,6 @@ type Props = {
|
||||
readMoreUrl?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* @public
|
||||
* @deprecated This component is deprecated, please use {@link @backstage/plugin-catalog-react#MissingAnnotationEmptyStateClassKey} instead
|
||||
*/
|
||||
export type MissingAnnotationEmptyStateClassKey = 'code';
|
||||
|
||||
const useStyles = makeStyles(
|
||||
theme => ({
|
||||
code: {
|
||||
|
||||
@@ -18,4 +18,3 @@ export { EmptyState } from './EmptyState';
|
||||
export type { EmptyStateClassKey } from './EmptyState';
|
||||
export type { EmptyStateImageClassKey } from './EmptyStateImage';
|
||||
export { MissingAnnotationEmptyState } from './MissingAnnotationEmptyState';
|
||||
export type { MissingAnnotationEmptyStateClassKey } from './MissingAnnotationEmptyState';
|
||||
|
||||
@@ -25,7 +25,6 @@ import {
|
||||
DismissableBannerClassKey,
|
||||
EmptyStateClassKey,
|
||||
EmptyStateImageClassKey,
|
||||
MissingAnnotationEmptyStateClassKey,
|
||||
ErrorPanelClassKey,
|
||||
FeatureCalloutCircleClassKey,
|
||||
HeaderIconLinkRowClassKey,
|
||||
@@ -107,7 +106,6 @@ type BackstageComponentsNameToClassKey = {
|
||||
BackstageDismissableBanner: DismissableBannerClassKey;
|
||||
BackstageEmptyState: EmptyStateClassKey;
|
||||
BackstageEmptyStateImage: EmptyStateImageClassKey;
|
||||
BackstageMissingAnnotationEmptyState: MissingAnnotationEmptyStateClassKey;
|
||||
BackstageErrorPanel: ErrorPanelClassKey;
|
||||
BackstageFeatureCalloutCircular: FeatureCalloutCircleClassKey;
|
||||
BackstageHeaderIconLinkRow: HeaderIconLinkRowClassKey;
|
||||
@@ -117,7 +115,7 @@ type BackstageComponentsNameToClassKey = {
|
||||
BackstageMarkdownContent: MarkdownContentClassKey;
|
||||
BackstageLoginRequestListItem: LoginRequestListItemClassKey;
|
||||
BackstageLogViewer: LogViewerClassKey;
|
||||
OAuthRequestDialog: OAuthRequestDialogClassKey;
|
||||
BackstageOAuthRequestDialog: OAuthRequestDialogClassKey;
|
||||
BackstageOverflowTooltip: OverflowTooltipClassKey;
|
||||
BackstageGauge: GaugeClassKey;
|
||||
BackstageGaugeCard: GaugeCardClassKey;
|
||||
@@ -173,7 +171,7 @@ type BackstageComponentsNameToClassKey = {
|
||||
BackstageTabbedCard: TabbedCardClassKey;
|
||||
BackstageTabbedCardBoldHeader: BoldHeaderClassKey;
|
||||
BackstageCardTab: CardTabClassKey;
|
||||
Link: LinkClassKey;
|
||||
BackstageLink: LinkClassKey;
|
||||
BackstageFavoriteToggleIcon: FavoriteToggleIconClassKey;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user