Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Commit a63aa91

Browse files
committed
comments
1 parent fb7d4b8 commit a63aa91

File tree

6 files changed

+26
-2
lines changed

6 files changed

+26
-2
lines changed

packages/terra-overlay/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Unreleased
44

55
* Added
6-
* Added a deprecated notice.
6+
* Added a deprecation notice.
77

88
## 3.62.0 - (February 2, 2021)
99

packages/terra-overlay/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Any apps that currently use terra-overlay will continue to work as-is.
1313
However, the terra-overlay package will no longer continue to be supported / developed.
1414

1515
## Why?
16-
Terra Overlay design is a bad pattern and hence it is being deprecated.
16+
The reason behind Terra-Overlay deprecation is to integrate the presentation of overlays with the overall application framework to ensure better accessibility.
1717

1818
## How to replace this package?
1919
This package can be replaced with [terra-application-loading-overlay](https://engineering.cerner.com/terra-ui/application/terra-application/components/application-loading-overlay)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Deprecation Notice
2+
3+
The terra-overlay npm package is deprecated as of `3.62.0`. terra-overlay will be removed from the repo in a future version, but the package will remain on npm.
4+
5+
### What deprecation means
6+
Any apps that currently use terra-overlay will continue to work as-is.
7+
However, the terra-overlay package will no longer continue to be supported / developed.
8+
9+
## Why?
10+
The reason behind Terra-Overlay deprecation is to integrate the presentation of overlays with the overall application framework to ensure better accessibility.
11+
12+
## How to replace this package?
13+
This package can be replaced with [terra-application-loading-overlay](https://engineering.cerner.com/terra-ui/application/terra-application/components/application-loading-overlay)

packages/terra-overlay/src/terra-dev-site/doc/overlay/Overlay.1.doc.mdx

+11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Badge } from 'terra-overlay/package.json?dev-site-package';
2+
import { Notice } from '@cerner/terra-docs';
23

34
import OverlayExample from '../example/OverlayExample?dev-site-example';
45
import LoadingOverlayExample from '../example/LoadingOverlayExample?dev-site-example';
@@ -10,6 +11,16 @@ import LoadingOverlayPropsTable from 'terra-overlay/src/LoadingOverlay?dev-site-
1011
<Badge />
1112

1213
# Terra Overlay
14+
<Notice variant='maintenance'>
15+
16+
This component has been moved to [terra-application](/application/terra-application/components/application-loading-overlay) and should be imported from that package. While this is the final major version of this component we will release, this component will continue to receive minor updates until terra adopts react 17.
17+
18+
```diff
19+
- import Overlay from 'terra-overlay';
20+
+ import ApplicationLoadingOverlay from 'terra-application/lib/application-loading-overlay';
21+
```
22+
23+
</Notice>
1324
The Overlay component is a component that creates an semi-transparent overlay screen that blocks interactions with the elements underneath the display. There are two types of overlays: fullscreen and relative to its container.
1425

1526
When creating as an overlay relative to its container, place the overlay component within the overlay wrapper and the element(s) which should be hidden by overlay within the content(children) wrapper of Overlay Container subcomponent.

0 commit comments

Comments
 (0)