Skip to content

Commit

Permalink
Remove deprecated EuiLoadingContent component (#6754)
Browse files Browse the repository at this point in the history
* Fully remove `EuiLoadingContent`

* changelog
  • Loading branch information
cee-chen authored May 8, 2023
1 parent 7255125 commit 439e6b9
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 88 deletions.
17 changes: 0 additions & 17 deletions src-docs/src/views/loading/loading_example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
EuiLoadingElastic,
EuiLoadingSpinner,
EuiLoadingChart,
EuiCallOut,
} from '../../../../src/components';

import {
Expand Down Expand Up @@ -137,21 +136,5 @@ export const LoadingExample = {
snippet: '<EuiLoadingSpinner size="m" />',
playground: loadingSpinnerConfig,
},
{
title: 'Text content',
text: (
<EuiCallOut
title="EuiLoadingContent has been deprecated"
iconType="symlink"
>
<p>
<strong>EuiLoadingContent</strong> has been deprecated in favor of{' '}
<strong>EuiSkeletonText</strong>. Head on over to the{' '}
<Link to="/display/skeleton">Skeleton documentation page</Link> to
see more loading skeleton usages.
</p>
</EuiCallOut>
),
},
],
};
25 changes: 0 additions & 25 deletions src/components/loading/__snapshots__/loading_content.test.tsx.snap

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/loading/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ export type { EuiLoadingElasticProps } from './loading_elastic';
export { EuiLoadingElastic } from './loading_elastic';
export type { EuiLoadingChartProps } from './loading_chart';
export { EuiLoadingChart } from './loading_chart';
export type { EuiLoadingContentProps } from './loading_content';
export { EuiLoadingContent } from './loading_content';
export type { EuiLoadingSpinnerProps } from './loading_spinner';
export { EuiLoadingSpinner } from './loading_spinner';
export type { EuiLoadingLogoProps } from './loading_logo';
Expand Down
21 changes: 0 additions & 21 deletions src/components/loading/loading_content.test.tsx

This file was deleted.

23 changes: 0 additions & 23 deletions src/components/loading/loading_content.tsx

This file was deleted.

3 changes: 3 additions & 0 deletions upcoming_changelogs/6754.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Breaking changes**

- Removed deprecated `EuiLoadingContent`. Use the `EuiSkeleton` components instead.

0 comments on commit 439e6b9

Please sign in to comment.